[Wicket-user] Link to anchor?
Hay guys; I have been doing some coding today, and I came across a need to an anchor, I though that this will be a part of 1.2 release? Regards, Ali ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to anchor?
Sorry, that's not implemented yet. It's filed here http://sourceforge.net/tracker/index.php?func=detailaid=1491239group_id=119783atid=684978 When someone of us can find time for it, we'll implement it for the 1.2 branch and the 2.0 branch. Eelco On 6/1/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay guys; I have been doing some coding today, and I came across a need to an anchor, I though that this will be a part of 1.2 release? Regards, Ali ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
Yeah, I like that. I'll try to give it a look today. Eelco On 5/18/06, nato [EMAIL PROTECTED] wrote: So, would the named anchor be supported in the next version of Wicket? BTW, I vote for Link.setAnchor() so that I could set the anchor dynamically. I also vote for the proposed a href=#anAnchor wicket:id=anchoredLinkan href with # followed by a word is automatically an anchor/a is IMO benificial too. --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
So, would the named anchor be supported in the next version of Wicket?BTW, I vote for Link.setAnchor() so that I could set the anchor dynamically. I also vote for the proposed a href="" wicket:id=anchoredLinkan href with # followed by a word is automatically an anchor/a is IMO benificial too.
[Wicket-user] Link to Anchor
Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href=#clientPanel wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
So something like this?Link: protected final void onComponentTag(final ComponentTag tag) { // Default handling for tag super.onComponentTag(tag); // Set href to link to this link's linkClicked method CharSequence url = "">String maybeAnchor = tag.getAttributes().getString(href); if(maybeAnchor != null maybeAnchor.startsWith(#)) { // it is anchor append it to url: url = "" + maybeAnchor; }On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote:Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented,I think I file a request for this, let me explainif I have a link that saya href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor,the way I do it now is@Overrideprotected CharSequence getURL() { return super.getURL() + #clientPanel;} I think link should be able to read the what's in href and do thatautomatically ;), I think this is more wicket way than have to insersome html thing in java.--Regards, Ali-Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D---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?cmdlnkkid0709bid3057dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
+1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href=#clientPanel wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
I'd rather have a setter added to Link called setAnchor which appends the #anchor automatically to the url. On 5/11/06, Vincent Jenks [EMAIL PROTECTED] wrote:+1 - I think that's pretty cool!Couldn't that be done w/ an ExternalLink?AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D--- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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 Geronimohttp://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
Link.setAnchor () +1 dabar On 5/11/06, Andrew Berman [EMAIL PROTECTED] wrote: I'd rather have a setter added to Link called setAnchor which appends the #anchor automatically to the url. On 5/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - I think that's pretty cool!Couldn't that be done w/ an ExternalLink?AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/awhen redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D--- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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 Geronimohttp://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
Hay Guys; Glad you like the idea, as for adding a setter, I don't think it's any different than overridding the method as above, as wicket always does, it uses what in HTML, and this will help in design time too. On 5/11/06, Andrew Berman [EMAIL PROTECTED] wrote: I'd rather have a setter added to Link called setAnchor which appends the #anchor automatically to the url. On 5/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href=#clientPanel wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; Glad you like the idea, as for adding a setter, I don't think it's any different than overridding the method as above, as wicket always does Yeah, you got a point there too. So we don't have to add the property, unless it's a clear win for people. Which it might be as not everyone will immediately find out how to add an anchor by overriding getUrl Eelco --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it. On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: [Wicket-user] Link to Anchor
yeaha href="" wicket:id=blahyou need that # so the link renders like a link when you preview in the browser.-IgorOn 5/11/06, Philip A. Chapman [EMAIL PROTECTED] wrote: You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it. On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQBEY2VwAdpynRSGw3URAvbBAJ9pFQxk7MKs7AgmZcLMDj7oD2agfQCcCsrIybI6wST1Z1xCxPWPfhVVEWQ==TINi-END PGP SIGNATURE-
Re: [Wicket-user] Link to Anchor
I guess it wouldn't be too hard to satisfy both camps? if setLink() isn't called, look in the template to see if an anchor was indicated. if setLink() was called, use the passed value. Is that too much black magic? On Thu, 2006-05-11 at 19:16 +0300, Ali Zaid wrote: Hay Guys; Glad you like the idea, as for adding a setter, I don't think it's any different than overridding the method as above, as wicket always does, it uses what in HTML, and this will help in design time too. On 5/11/06, Andrew Berman [EMAIL PROTECTED] wrote: I'd rather have a setter added to Link called setAnchor which appends the #anchor automatically to the url. On 5/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: [Wicket-user] Link to Anchor
The only reason why I like the setAnchor over overriding the getUrl() method is that it gives it a more standard feel to add anchors. Overriding getUrl() to me signifies that you really want to do something more complicated to the URL than just adding an anchor. Just my two cents. On 5/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yeaha href="" wicket:id=blahyou need that # so the link renders like a link when you preview in the browser.-Igor On 5/11/06, Philip A. Chapman [EMAIL PROTECTED] wrote: You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it. On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQBEY2VwAdpynRSGw3URAvbBAJ9pFQxk7MKs7AgmZcLMDj7oD2agfQCcCsrIybI6wST1Z1xCxPWPfhVVEWQ==TINi-END PGP SIGNATURE-
Re: [Wicket-user] Link to Anchor
in prevoius post I did suggest to check what after #, I would also like to suggest adding something like setResponsePage(somePage, someAnchor), it may not only be needed for a link, we may need to jump to that anchor after sumitting a link :), don't hate me guys ;) On 5/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yeaha href="" wicket:id=blahyou need that # so the link renders like a link when you preview in the browser.-Igor On 5/11/06, Philip A. Chapman [EMAIL PROTECTED] wrote: You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it. On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQBEY2VwAdpynRSGw3URAvbBAJ9pFQxk7MKs7AgmZcLMDj7oD2agfQCcCsrIybI6wST1Z1xCxPWPfhVVEWQ==TINi-END PGP SIGNATURE- -- Regards, Ali-Fight back spam! Download the Blue Frog.http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
Re: [Wicket-user] Link to Anchor
Sorry, I ment submitting a formOn 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: in prevoius post I did suggest to check what after #, I would also like to suggest adding something like setResponsePage(somePage, someAnchor), it may not only be needed for a link, we may need to jump to that anchor after sumitting a link :), don't hate me guys ;) On 5/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yeaha href="" wicket:id=blahyou need that # so the link renders like a link when you preview in the browser.-Igor On 5/11/06, Philip A. Chapman [EMAIL PROTECTED] wrote: You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it. On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href="" wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)iD8DBQBEY2VwAdpynRSGw3URAvbBAJ9pFQxk7MKs7AgmZcLMDj7oD2agfQCcCsrIybI6wST1Z1xCxPWPfhVVEWQ==TINi-END PGP SIGNATURE- -- Regards, Ali-Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D -- Regards, Ali-Fight back spam! Download the Blue Frog.http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D
Re: [Wicket-user] Link to Anchor
What about both? Btw, I'm not sure whether anchor is the best name, as any a tag technically is an anchor. That said, I wouldn't know an alternative. So, what we could do is use that property if it is set. If it is not set we look at whether the attribute value starts with #, and when that's not the case, we don't do anything. Personally, if I have to choose between the two, I like the variant of having it in the markup file better, as that is where your anchor targets are defined in the first place. But I can think of cases where you would want to do it programatically too. Eelco On 5/11/06, Andrew Berman [EMAIL PROTECTED] wrote: I'd rather have a setter added to Link called setAnchor which appends the #anchor automatically to the url. On 5/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href=#clientPanel wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
I don't see why we can't have both, but really, I think we need to set anchors in setResponsePage() too, it will be good for forms too. On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: What about both? Btw, I'm not sure whether anchor is the best name, as any a tag technically is an anchor. That said, I wouldn't know an alternative. So, what we could do is use that property if it is set. If it is not set we look at whether the attribute value starts with #, and when that's not the case, we don't do anything. Personally, if I have to choose between the two, I like the variant of having it in the markup file better, as that is where your anchor targets are defined in the first place. But I can think of cases where you would want to do it programatically too. Eelco On 5/11/06, Andrew Berman [EMAIL PROTECTED] wrote: I'd rather have a setter added to Link called setAnchor which appends the #anchor automatically to the url. On 5/11/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? Eelco On 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href=#clientPanel wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link to Anchor
Yeah, I do that all the time too. But having an url that ends with # is no problem. Though, if nothing comes behind it we might ditch it too. Eelco On 5/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yeah a href=# wicket:id=blah you need that # so the link renders like a link when you preview in the browser. -Igor On 5/11/06, Philip A. Chapman [EMAIL PROTECTED] wrote: You might want to check for content after the #. As a general rule, I put # in the href of my template's a tags. I picked that up from examples and such. I think it'd work fine to have the # hanging on the end, but there's no need for it. On Thu, 2006-05-11 at 08:21 -0600, Vincent Jenks wrote: +1 - I think that's pretty cool! Couldn't that be done w/ an ExternalLink? AttributeModifier? On 5/11/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, I like that idea. So, if the contents of the url start with #, we append that to the url... that's the idea, right? What do other people think/ votes? EelcoOn 5/11/06, Ali Zaid [EMAIL PROTECTED] wrote: Hay Guys; I was testing RC3 and I have noticed that anchors are not implemented, I think I file a request for this, let me explain if I have a link that say a href=#clientPanel wicket:id=newClinetLink new Client/a when redirect to the new client page it should jump to that anchor, the way I do it now is @Override protected CharSequence getURL() { return super.getURL() + #clientPanel; } I think link should be able to read the what's in href and do that automatically ;), I think this is more wicket way than have to inser some html thing in java. -- Regards, Ali - Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=YWxsb2NoaTI5Nzk%3D--- 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?cmdlnkkid0709bid3057dat1642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBEY2VwAdpynRSGw3URAvbBAJ9pFQxk7MKs7AgmZcLMDj7oD2agfQCcCsrI ybI6wST1Z1xCxPWPfhVVEWQ= =TINi -END PGP SIGNATURE- --- 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=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user