Deep Link Parameter Question

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Deep Link Parameter Question

Postby chico » Sun Dec 19, 2010 6:20 am

Hi, I followed the information on the Servoy Wiki

Here's the link I'm using:

http://127.0.0.1:8080/servoy-webclient/ ... 1|125|2114

Basically, I want to send 3 arguments.

My issue is the argument puts all into the [0] argument... and doesn't divide them up.

This is what I get:

Code: Select all
Arguments {0:"67431|125|2114",length:1}


I know I could probably use some trickery code to parse it... but isn't there a way to send it so it's passed as separate arguments?

We are using Servoy 4.1.7

Thanks.
--------------------------------------------
Servoy Version: 6.0.3
DB: MySQL 5.1
Win XP/Vista/7 - Java 5u20 / 6u22
OS X - 10.6.5 - Java 5/6 update 3
chico
 
Posts: 271
Joined: Tue Nov 20, 2007 6:34 am

Re: Deep Link Parameter Question

Postby mboegem » Sun Dec 19, 2010 8:29 pm

chico wrote:I know I could probably use some trickery code to parse it... but isn't there a way to send it so it's passed as separate arguments?


As far as I know this is it, arguments in a webclient aren't split.

But if you do something like this, you're all set I guess:
Code: Select all
_arg = '' + arguments[0]; // make sure it's a string
_argSplit = _arg.split('|');


Best of all: no trickery code at all ;-)

Hope this helps
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Web Development

Who is online

Users browsing this forum: No registered users and 4 guests