why do this anyway? the link doesn't work.

Johan Compagner wrote:
> hmm that does seem weird.
> Strange thing is that we don't do it for the onclick .. only for the 
> href attribute..
> 
> that comment is in my code at another place
> 
> it is this:
>  // generate the href attribute
>  tag.put("href", Strings.replaceAll(url, "&", "&"));
> 
> and
> 
> // or generate an onclick JS handler directly
> tag.put("onclick", "location.href='" + url + "';");
> 
> johan
> 
> 
> On 8/10/06, *Ittay Dror* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     in ExternalLink.onComponentTag, if the href is not null, this is the
>     code:
>             // or generate an onclick JS handler directly
>             tag.put("href", Strings.replaceAll(hrefValue.toString(),
>     "&", "&amp;"));
> 
> 
>     first, the comment seems odd
>     second, why replace '&' with '&amp;'? can't i have an href like
>     'http://mysite.com/page?arg1=val1&arg2=val2
>     <http://mysite.com/page?arg1=val1&arg2=val2> '? (we're trying to use
>     such an href, and it doesn't work)
> 
>     thanks,
>     ittay
> 
>     --
>     ===================================
>     Ittay Dror,
>     Chief architect, openQRM group leader,
>     R&D, Qlusters Inc.
>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     +972-3-6081994 Fax: +972-3-6081841
> 
>     http://www.openQRM.org
>     - Keeps your Data-Center Up and Running
> 
>     -------------------------------------------------------------------------
> 
>     Using Tomcat but need to do more? Need to support web services,
>     security?
>     Get stuff done quickly with pre-integrated technology to make your
>     job easier
>     Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>     _______________________________________________
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user


-- 
===================================
Ittay Dror, 
Chief architect, openQRM group leader, 
R&D, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to