Re: [Wicket-user] Directly map a bean to HTML form
That's sound interesting. Is that old code still available somewhere? If you agree we could create a new wicket-stuff project starting from it. Thanks, Paolo On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we dropped it from extensions because there was not enough interest in it and it was a pita to maintain. if there is interest now then you guys can feel free to start a wicket-stuff project, once it has evolved there to something useful we wouldnt mind readding it to extensions. -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How can I do URL mapping in wicket?
that is pretty weird, what is your servlet mapping? -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no, you shouldnt, its really funny that it forwards to your logon page, is that your homepage? No, my homepage is other class. And eventually I found the solution, If I do mountBookmarkablePage(/signup, Registration.class); Then it forward to login page, but mountBookmarkablePage(/signup/, Registration.class); Then it work as expected... I guess wicket is looking for a url directory like http://localhost:8080/wicket/app/signup/ ?? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
im not sure, check svn history? dont remember if it was removed before or after our move to svn. -igor On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: That's sound interesting. Is that old code still available somewhere? If you agree we could create a new wicket-stuff project starting from it. Thanks, Paolo On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we dropped it from extensions because there was not enough interest in it and it was a pita to maintain. if there is interest now then you guys can feel free to start a wicket-stuff project, once it has evolved there to something useful we wouldnt mind readding it to extensions. -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Also, check the wicket-contrib-.*bean.* project in Wicket Stuff. It hasn't been maintained very well, but could be used as a starting point Martijn On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: im not sure, check svn history? dont remember if it was removed before or after our move to svn. -igor On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: That's sound interesting. Is that old code still available somewhere? If you agree we could create a new wicket-stuff project starting from it. Thanks, Paolo On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we dropped it from extensions because there was not enough interest in it and it was a pita to maintain. if there is interest now then you guys can feel free to start a wicket-stuff project, once it has evolved there to something useful we wouldnt mind readding it to extensions. -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Why I recommended Wicket...
And InfoQ picked up this thread: http://www.infoq.com/news/2006/12/wicket-vs-springmvc-and-jsf Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: That's sound interesting. Is that old code still available somewhere? If you agree we could create a new wicket-stuff project starting from it. Thanks, Paolo Hi Paolo, I'm interested too in re-creating such a component in wicket-stuff... so count me in -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Strange... http://cwiki.apache.org/WICKET/wicket-stuff.html Mentions a bean edit project, but I can't find it on the SVN repository. Any one know what happened to it? Martijn On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: That's sound interesting. Is that old code still available somewhere? If you agree we could create a new wicket-stuff project starting from it. Thanks, Paolo Hi Paolo, I'm interested too in re-creating such a component in wicket-stuff... so count me in -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Good question. I've found the BeanFormPanel source in a old 1.1.1 wicket-extensions release. If the project bean-edit is missing I could start it again together with Filippo. Paolo On 12/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Strange... http://cwiki.apache.org/WICKET/wicket-stuff.html Mentions a bean edit project, but I can't find it on the SVN repository. Any one know what happened to it? Martijn - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How can I do URL mapping in wicket?
Thanks for remind, actually this is what the problem occur... If it is just servlet-mapping servlet-namewicket/servlet-name url-pattern/app/*/url-pattern /servlet-mapping Then everything is alright, but I had do is putting servlet-mapping servlet-namewicket/servlet-name url-pattern/app/*/url-pattern /servlet-mapping servlet-mapping servlet-namewicket/servlet-name url-pattern/app/login/url-pattern /servlet-mapping servlet-mapping servlet-namewicket/servlet-name url-pattern/app/signup/url-pattern /servlet-mapping servlet-mapping servlet-namewicket/servlet-name url-pattern/app/report/url-pattern /servlet-mapping servlet-mapping servlet-namewicket/servlet-name url-pattern/app/edit_profile/url-pattern /servlet-mapping to web.xml. That make cause problems that I encounter before. The reason of adding these is I don't know mount feature before and try to write my own forwarding logic in my Application class. In order to doing that I need to do that otherwise it will complaint about resource not found. On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: that is pretty weird, what is your servlet mapping? -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no, you shouldnt, its really funny that it forwards to your logon page, is that your homepage? No, my homepage is other class. And eventually I found the solution, If I do mountBookmarkablePage(/signup, Registration.class); Then it forward to login page, but mountBookmarkablePage(/signup/, Registration.class); Then it work as expected... I guess wicket is looking for a url directory like http://localhost:8080/wicket/app/signup/ ?? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Russian community
I'm russian but IMHO wicket community is not large enough to divide it into local parts. Konstantin wrote: Are there russian/ukrainian speaking people here ? It would be great to form a community if such is not already somewhere there :-) -- Andrew Klochkov - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Good question. I've found the BeanFormPanel source in a old 1.1.1 wicket-extensions release. If the project bean-edit is missing I could start it again together with Filippo. Yes! I've just done a quick check and the latest wicket-stuff revision with this project is the 639... (unfortunataly I'm not able to check it out... maybe some issues with my platform) Anyway, if you have the sourcecode of 1.1.1 it will be enough to start. -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Ok, but it is possible to commit on wicket-stuff with an anonymous access? Paolo On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Good question. I've found the BeanFormPanel source in a old 1.1.1 wicket-extensions release. If the project bean-edit is missing I could start it again together with Filippo. Yes! I've just done a quick check and the latest wicket-stuff revision with this project is the 639... (unfortunataly I'm not able to check it out... maybe some issues with my platform) Anyway, if you have the sourcecode of 1.1.1 it will be enough to start. -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Ok, but it is possible to commit on wicket-stuff with an anonymous access? Paolo Not with an anonymous access, but I should also have commit access since I'm listed as 'developer' in wicket-stuff -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Can you grant the same role to me or whoever else can do that? Paolo On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Ok, but it is possible to commit on wicket-stuff with an anonymous access? Paolo Not with an anonymous access, but I should also have commit access since I'm listed as 'developer' in wicket-stuff -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
I've just committed a copy of the project that I had locally back to SVN, but it's not something I was working on, so may be older than the last modified one. Feel free to delete it if it doesn't help. /Gwyn On 20/12/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Can you grant the same role to me or whoever else can do that? Paolo On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Ok, but it is possible to commit on wicket-stuff with an anonymous access? Paolo Not with an anonymous access, but I should also have commit access since I'm listed as 'developer' in wicket-stuff -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2.3 now! - http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Nice one. How to gain 'developer' access to that project ? Paolo On 12/20/06, Gwyn Evans [EMAIL PROTECTED] wrote: I've just committed a copy of the project that I had locally back to SVN, but it's not something I was working on, so may be older than the last modified one. Feel free to delete it if it doesn't help. /Gwyn - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
If you provide me with your sourceforge.net ID, then I'll add you to the committers list of wicket-stuff On 12/20/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Nice one. How to gain 'developer' access to that project ? Paolo On 12/20/06, Gwyn Evans [EMAIL PROTECTED] wrote: I've just committed a copy of the project that I had locally back to SVN, but it's not something I was working on, so may be older than the last modified one. Feel free to delete it if it doesn't help. /Gwyn - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Fine, my id on sourceforge is paolodt . Thanks. Paolo On 12/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote: If you provide me with your sourceforge.net ID, then I'll add you to the committers list of wicket-stuff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Added On 20/12/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Fine, my id on sourceforge is paolodt . Thanks. Paolo On 12/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote: If you provide me with your sourceforge.net ID, then I'll add you to the committers list of wicket-stuff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2.3 now! - http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Russian community
I didn't wanted to divide the community. But sometimes it's hard to formulate problem in english and ask appropriate question or enter search terms in search engine. Also I want to start russian language blog on wicket tips and tricks ... and wanted to know if there already are such blogs. Andrew Klochkov wrote: I'm russian but IMHO wicket community is not large enough to divide it into local parts. Konstantin wrote: Are there russian/ukrainian speaking people here ? It would be great to form a community if such is not already somewhere there :-) -- Andrew Klochkov - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Russian-community-tf2847957.html#a7989899 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
On 12/19/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: this is not so difficult to do on a base level in wicket...it just that i wished the wicket committers could work on a very robust infastructure for this because really we eventually get tired of typing textfields for each property in various beans. there used to be bean panel in wicket but suddenly they dropped it from the extensions. I think we asked on the list before dropping it, but I'm not sure. Anyway, sorry if removing that component caused inconvenience for you. The reason it was dropped is that is was far from perfect, and there is just so much you can (and should) support with a generic bean panel, that I did't see it getting finished anytime soon. The plan was to make it an example instead, but I haven't been able to find the time to seriously work on that since then. Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom AttributeModifier - Add attribute even when not pre-existing?
Or use the constructor with the boolean argument and provide true. Eelco On 12/19/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Use SimpleAttributeModifier instead, or in the case of appending the value to your attribute, use AttributeAppender Martijn On 12/19/06, Jonathan Sharp [EMAIL PROTECTED] wrote: I wrote a custom AttributeModifier as below and it works great if there's an existing CSS class attached to a tag. Is there another method I could implement? c.add(new AttributeModifier(class, new Model(cls)) { private static final long serialVersionUID = 1L; protected String newValue(final String currentValue, final String replacementValue) { System.out.println(Current, New: + currentValue + , + replacementValue); return + replacementValue + + currentValue; } }); Cheers, -js - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Login to wicket-app from another site
Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class. That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the login behind the scenes succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
and here is a small prototype i worked on for wicket 2.0 dont know if the code is complete but it might give you some ideas -igor On 12/20/06, Eelco Hillenius [EMAIL PROTECTED] wrote: On 12/19/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: this is not so difficult to do on a base level in wicket...it just that i wished the wicket committers could work on a very robust infastructure for this because really we eventually get tired of typing textfields for each property in various beans. there used to be bean panel in wicket but suddenly they dropped it from the extensions. I think we asked on the list before dropping it, but I'm not sure. Anyway, sorry if removing that component caused inconvenience for you. The reason it was dropped is that is was far from perfect, and there is just so much you can (and should) support with a generic bean panel, that I did't see it getting finished anytime soon. The plan was to make it an example instead, but I haven't been able to find the time to seriously work on that since then. Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user bean.rar Description: Binary data - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class. That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the login behind the scenes succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
Thanks Igor, I 'll try this and get back with results tomorrow, Konstantinos - Original Message From: Igor Vaynberg [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Wednesday, December 20, 2006 7:04:10 PM Subject: Re: [Wicket-user] Login to wicket-app from another site i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class . That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the login behind the scenes succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Persistence Question in Wicket
I am working on a wicket app where i have entities that will require lots of lazy loading. i actually plan to keep my persistence context open for the duration of my page rendering process so that lazy-loading relationships can be easily resolved, now what i do is to override onEndRequest() in RequestCycle. is that all to this? anybody has a specific pattern that makes this perfect. thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] NoRecordsToolbar Not Displaying - Wicket 1.2.3
i dont have 1.2.3 checked out, but the toolbar is working fine in 1.x whats on 93? return getTable().getRowCount() == 0; ? if thats the case then the toolbar is not added to the table? -igor On 12/16/06, Nick Heudecker [EMAIL PROTECTED] wrote: I added the breakpoint to line 93 and it doesn't appear to be called. On 12/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote: can you debug and see why? set a breakpoint in isvisible of the toolbar -igor On 12/16/06, Nick Heudecker [EMAIL PROTECTED] wrote: The subject says it all. I've added a NoRecordsToolbar to the top toolbar of my DefaultDataTable and it's not displaying when the DataProvider returns a count of 0. Let me know if I should file a bug. Thanks. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Persistence Question in Wicket
It should work. Another approach is to use a open-view-in-session filter, described here -- http://www.hibernate.org/43.html Paolo On 12/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: I am working on a wicket app where i have entities that will require lots of lazy loading. i actually plan to keep my persistence context open for the duration of my page rendering process so that lazy-loading relationships can be easily resolved, now what i do is to override onEndRequest() in RequestCycle. is that all to this? anybody has a specific pattern that makes this perfect. thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Persistence Question in Wicket
most of persistence frameworks provide an open session in view filter that you can use -igor On 12/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: I am working on a wicket app where i have entities that will require lots of lazy loading. i actually plan to keep my persistence context open for the duration of my page rendering process so that lazy-loading relationships can be easily resolved, now what i do is to override onEndRequest() in RequestCycle. is that all to this? anybody has a specific pattern that makes this perfect. thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket and Resource Injection in EJB3
How easy will it be to take advantage of container resource injection when deploying wicket as client tier in glassfish server for instance. In servlets according to EJB3 and glassfish, we can simply public class MyServlet extends HttpServlet{ @PersistenceUnit(unitName=myunit) EntityManagerFactory emf; } Now can I in my wicket application do something like this, public class MyWicketServlet extends WicketServlet { @PersistenceUnit(unitName=myunit) EntityManagerFactory emf; //...call all the supers(...) public EntityManagerFactory getEmf() { return emf; } } then set web.xml , WicketServlet as MyWicketServlet? thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Resource Injection in EJB3
http://www.nabble.com/Java-EE-5-support-for-wicket-pages-tf2836998.html -igor On 12/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: How easy will it be to take advantage of container resource injection when deploying wicket as client tier in glassfish server for instance. In servlets according to EJB3 and glassfish, we can simply public class MyServlet extends HttpServlet{ @PersistenceUnit(unitName=myunit) EntityManagerFactory emf; } Now can I in my wicket application do something like this, public class MyWicketServlet extends WicketServlet { @PersistenceUnit(unitName=myunit) EntityManagerFactory emf; //...call all the supers(...) public EntityManagerFactory getEmf() { return emf; } } then set web.xml , WicketServlet as MyWicketServlet? thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Persistence Question in Wicket
Paolo Di Tommaso wrote: It should work. It does: http://databinder.net/wsvn/Databinder/databinder/r1.0/src/main/java/net/databinder/DataRequestCycle.java?op=file Or, using ManagedSessionContext: http://databinder.net/wsvn/Databinder/databinder/trunk/src/main/java/net/databinder/DataRequestCycle.java?op=file Nathan - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Get Application from a Servlet
I'm using 1.3 with the WicketFilter. I have to interface with my legacy JSP app. My old app is the main processing unit and I am planning on running wicket side-by-side making calls to wicket pages as necessary until the entire app can be rehosted. My old app uses a Servlet at startup to do its configuration. I want to get the ContextPath and Root Path from the WebApplication object but since the WicketFilter isn't being used to access the Serlvet, it doesn't associate a Appication object with the current thread (Application.get() fails). I want to know what the best way to get to my Application object would be in this scenario. I had thought I would subclass the WicketFilter and make it a Singleton to allow me to get to the instantiated object but the WebApplication reference is private, so that is of no help. So, how can I get at the Application object or WicketFilter object at server init? Chuck -- View this message in context: http://www.nabble.com/Get-Application-from-a-Servlet-tf2861903.html#a7996841 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Get Application from a Servlet
you could use Application.get(String) On 12/20/06, ChuckDeal [EMAIL PROTECTED] wrote: I'm using 1.3 with the WicketFilter. I have to interface with my legacy JSP app. My old app is the main processing unit and I am planning on running wicket side-by-side making calls to wicket pages as necessary until the entire app can be rehosted. My old app uses a Servlet at startup to do its configuration. I want to get the ContextPath and Root Path from the WebApplication object but since the WicketFilter isn't being used to access the Serlvet, it doesn't associate a Appication object with the current thread (Application.get() fails). I want to know what the best way to get to my Application object would be in this scenario. I had thought I would subclass the WicketFilter and make it a Singleton to allow me to get to the instantiated object but the WebApplication reference is private, so that is of no help. So, how can I get at the Application object or WicketFilter object at server init? Chuck -- View this message in context: http://www.nabble.com/Get-Application-from-a-Servlet-tf2861903.html#a7996841 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
my question is is SiteA on the same server? I have worked on another one that is really van SiteA on ServerA to a ServerB with the wicket app. Then that SiteA just goes to a special mount in wicket. With the username and a special uuid. johan On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class . That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the login behind the scenes succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Get Application from a Servlet
Thanks, I missed that method when I was glancing through that class. When I did this, I do get a handle to my Application object, but it is not fully populated. getApplicationSettings().getContextPath() returns null and getRootPath() throws a NPE. Both methods return the correct value when called from within a Page. So, it leads me to believe that Application initialization is sort of lazy. Do I need to do something else to force my Application to get fully initialized earlier? Chuck Johan Compagner wrote: you could use Application.get(String) On 12/20/06, ChuckDeal [EMAIL PROTECTED] wrote: I'm using 1.3 with the WicketFilter. I have to interface with my legacy JSP app. My old app is the main processing unit and I am planning on running wicket side-by-side making calls to wicket pages as necessary until the entire app can be rehosted. My old app uses a Servlet at startup to do its configuration. I want to get the ContextPath and Root Path from the WebApplication object but since the WicketFilter isn't being used to access the Serlvet, it doesn't associate a Appication object with the current thread (Application.get() fails). I want to know what the best way to get to my Application object would be in this scenario. I had thought I would subclass the WicketFilter and make it a Singleton to allow me to get to the instantiated object but the WebApplication reference is private, so that is of no help. So, how can I get at the Application object or WicketFilter object at server init? Chuck -- View this message in context: http://www.nabble.com/Get-Application-from-a-Servlet-tf2861903.html#a7996841 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Get-Application-from-a-Servlet-tf2861903.html#a7997830 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Get Application from a Servlet
ahh no that is not going to work The context path is only there when one request is happened Thats the stupid thing of the servlet spec. You can't ask the context path on the servlet context. only from a request. johan On 12/20/06, ChuckDeal [EMAIL PROTECTED] wrote: Thanks, I missed that method when I was glancing through that class. When I did this, I do get a handle to my Application object, but it is not fully populated. getApplicationSettings().getContextPath() returns null and getRootPath() throws a NPE. Both methods return the correct value when called from within a Page. So, it leads me to believe that Application initialization is sort of lazy. Do I need to do something else to force my Application to get fully initialized earlier? Chuck Johan Compagner wrote: you could use Application.get(String) On 12/20/06, ChuckDeal [EMAIL PROTECTED] wrote: I'm using 1.3 with the WicketFilter. I have to interface with my legacy JSP app. My old app is the main processing unit and I am planning on running wicket side-by-side making calls to wicket pages as necessary until the entire app can be rehosted. My old app uses a Servlet at startup to do its configuration. I want to get the ContextPath and Root Path from the WebApplication object but since the WicketFilter isn't being used to access the Serlvet, it doesn't associate a Appication object with the current thread (Application.get() fails). I want to know what the best way to get to my Application object would be in this scenario. I had thought I would subclass the WicketFilter and make it a Singleton to allow me to get to the instantiated object but the WebApplication reference is private, so that is of no help. So, how can I get at the Application object or WicketFilter object at server init? Chuck -- View this message in context: http://www.nabble.com/Get-Application-from-a-Servlet-tf2861903.html#a7996841 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Get-Application-from-a-Servlet-tf2861903.html#a7997830 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
if they are on a different server then just use an sso [1] solution [1] http://www.ja-sig.org/products/cas/ -igor On 12/20/06, Johan Compagner [EMAIL PROTECTED] wrote: my question is is SiteA on the same server? I have worked on another one that is really van SiteA on ServerA to a ServerB with the wicket app. Then that SiteA just goes to a special mount in wicket. With the username and a special uuid. johan On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i suppose sitea can put the username into session then either your login page looks for that username in session and if there uses restartresponseexception to redirect to home page or if you are using an authorization strategy then that bypass the login page -igor On 12/20/06, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi all, I have a wicket application running, that has a login page, where user puts username and password and continues to Home.class . That works fine. Now I need to bypass the login page, coming from a site (e.g. siteA, with its own username and passwd fields and not using wicket) and go directly to Home.class (only if the login behind the scenes succeeds). The problems are a) how should the url to the wicket app look like? (to use at siteA) b) how to get username and passwd from siteA? Any suggestions? Cheers, Konstantinos __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Resource Injection in EJB3
On 12/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: How easy will it be to take advantage of container resource injection when deploying wicket as client tier in glassfish server for instance. Hi Ayodeji, as Igor has already pointed out, I've written a patch to extend JEE dependency injection to wicket pages. At the moment, the only supported annotation is @EJB, which means that you have to write a stateless session bean which performs the persistence logic, and use the @EJB annotation in your wicket pages. Something like: @Stateless public class MyDao { @PersistenceContext EntityManager em; public void create(PersistentObject po) { // and public class MyWicketServlet extends WicketServlet { @EJB private MyDao dao; //... IMHO using the EntityManager API directly in the web page is not so elegant, nevertheless it shouldn't be difficult to add this functionality. -- Filippo Diotalevi [EMAIL PROTECTED] http://www.diotalevi.com/weblog http://www.jugmilano.it - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Resource Injection in EJB3
take a look at @SpringBean, it would be trivial to extend the base clases to create an @EjbBean or some such to inject directly into components, all you need is to implement IFieldValueFactory to do that -igor On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: How easy will it be to take advantage of container resource injection when deploying wicket as client tier in glassfish server for instance. Hi Ayodeji, as Igor has already pointed out, I've written a patch to extend JEE dependency injection to wicket pages. At the moment, the only supported annotation is @EJB, which means that you have to write a stateless session bean which performs the persistence logic, and use the @EJB annotation in your wicket pages. Something like: @Stateless public class MyDao { @PersistenceContext EntityManager em; public void create(PersistentObject po) { // and public class MyWicketServlet extends WicketServlet { @EJB private MyDao dao; //... IMHO using the EntityManager API directly in the web page is not so elegant, nevertheless it shouldn't be difficult to add this functionality. -- Filippo Diotalevi [EMAIL PROTECTED] http://www.diotalevi.com/weblog http://www.jugmilano.it - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Resource Injection in EJB3
On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: take a look at @SpringBean, it would be trivial to extend the base clases to create an @EjbBean or some such to inject directly into components, all you need is to implement IFieldValueFactory to do that Yes... the @EJB annotation support, which is in the patch (WICKET-174 ), works exacly as @SpringBean (I borrowed quite a lot of code). I'll add support also for @PersistenceContext and @Resource -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Resource Injection in EJB3
in 2.0 most of the code is factored out into the extensions package so you wont need to borrow it -igor On 12/20/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: take a look at @SpringBean, it would be trivial to extend the base clases to create an @EjbBean or some such to inject directly into components, all you need is to implement IFieldValueFactory to do that Yes... the @EJB annotation support, which is in the patch (WICKET-174 ), works exacly as @SpringBean (I borrowed quite a lot of code). I'll add support also for @PersistenceContext and @Resource -- filippo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Why I recommended Wicket...
someone else picked it up too ;-) http://www.nabble.com/Can-you-comment-on-this--tf2858705.html regards Karthik On 12/20/06, Martijn Dashorst [EMAIL PROTECTED] wrote: And InfoQ picked up this thread: http://www.infoq.com/news/2006/12/wicket-vs-springmvc-and-jsf Martijn -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- -- karthik -- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user