Re: [Wicket-user] ExternalLink weirdness
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 placeit is this:// generate the href attribute tag.put(href, Strings.replaceAll(url, , amp;));and// or generate an onclick JS handler directlytag.put(onclick, location.href='';); johanOn 8/10/06, Ittay Dror [EMAIL PROTECTED] wrote: in ExternalLink.onComponentTag, if the href is not null, this is the code:// or generate an onclick JS handler directlytag.put(href, Strings.replaceAll(hrefValue.toString(), , amp;)); first, the comment seems oddsecond, why replace '' with 'amp;'? can't i have an href like 'http://mysite.com/page?arg1=val1arg2=val2 '? (we're trying to use such an href, and it doesn't work)thanks,ittay--===Ittay Dror,Chief architect, openQRM group leader,RD, Qlusters Inc. [EMAIL PROTECTED]+972-3-6081994 Fax: +972-3-6081841http://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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ExternalLink weirdness
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, , amp;)); 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=val1arg2=val2 http://mysite.com/page?arg1=val1arg2=val2 '? (we're trying to use such an href, and it doesn't work) thanks, ittay -- === Ittay Dror, Chief architect, openQRM group leader, RD, 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=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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, RD, 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ExternalLink weirdness
did you also fix Link:522 tag.put(href, Strings.replaceAll(url, , amp;)); ?-IgorOn 8/10/06, Johan Compagner [EMAIL PROTECTED] wrote: fixed in 1.2.x and 2.0On 8/10/06, Ittay Dror [EMAIL PROTECTED] wrote: 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 attributetag.put(href, Strings.replaceAll(url, , amp;)); and // or generate an onclick JS handler directly tag.put(onclick, location.href='';); 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=val1arg2=val2 http://mysite.com/page?arg1=val1arg2=val2 '? (we're trying to use such an href, and it doesn't work) thanks, ittay -- === Ittay Dror, Chief architect, openQRM group leader, RD, 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=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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,RD, 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user