[opencms-dev] Is possible to add a query string to the link element?
M Butcher
mbutcher at grcomputing.net
Wed Nov 12 17:50:02 CET 2003
Pierre,
Not sure that I understand the question, but I'll give it a try.
So, when you do this: cms.link(main?arg1=a&arg2=b) you get
"main?arg1=a". Is that right?
You can get around that by doing
String myurl = cms.link("main") + "?arg1=a&arg2=b";
Matt
Pierre Tissot wrote:
> Hi:
>
> When you create a link element in the explorer is possible to add a query
> string to the link?
>
> I can put a link like this:
>
> ../../main?task=core
>
> But when I tried to put this:
>
> ../../main?task=core&status=ACTIVE
>
> OpenCMS only stores the "../../main?task=core" without the "&status=ACTIVE".
>
> I think that this is not correct, a link can always be follow by a query
> string. How can I resolve this problem....any Ideia?
>
> Cheers
> Pierre Tissot
>
>
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list