[Wicket-user] Moving mailing list?
Now that Wicket is an official Apache project are there any plans for moving the mailing lists over? SourceForge's digest mode leaves a lot to be desired. Gili signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Tapestry in Netbeans tutorial
http://www.netbeans.org/kb/55/quickstart-tapestry-in-netbeans.html Would be nice to have similar integration for Wicket. It is especially nice how you get to specify Tapestry as a framework your Web Project uses and it then integrates nicely throughout. Gili signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Good Tutorial on core wicket
I wonder why the indentation is all screwed up for the code at the bottom, the markup text looks correct to me... Gili Scott Swank wrote: Have you seen this in the wiki? It's a reasonable start on the sort of thing that I _think_ you're asking for. http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html Scott - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Google Guice
http://video.google.com/videoplay?docid=6068447410873108038q=user%3A%22Google+engEDU This might be of interest to Wicket and its users. I personally like their design :) Gili signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Classloader for selectively reload web tier
I'm not sure it's that easy or else they would have done it. In any case you should probably post to their forum instead of here :) Gili Johan Compagner wrote: sun should first improve the method change/delete/rename/add thing that ibm already can do. That shouldn't be to hard because the internal memory of the instance doesn't have to be changed then After that i think what they should try to do is have a depricated class version of something So all instances that are currently in the vm just stay that way and use the old class version only new instances are created with the new class version. This does result in strange problems of course like class cast exceptions and how should an instance of check work then on an old and new instance? johan On 4/6/07, *Eelco Hillenius* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Seems there might not be a full-proof fix for this problem: http://forum.java.sun.com/thread.jspa?threadID=572396tstart=0 http://forum.java.sun.com/thread.jspa?threadID=572396tstart=0 But at least they're working on it, and any improvement would be welcome imo. 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: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 signature.asc Description: OpenPGP digital signature - 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] Classloader for selectively reload web tier
Seems there might not be a full-proof fix for this problem: http://forum.java.sun.com/thread.jspa?threadID=572396tstart=0 Gili Carlos Pita wrote: See wicket.protocol.http.ReloadingWicketFilter. YMMV though, as Wicket I will give this filter a try. I see it's included in the trunk but not in 1.2.x releases. Is it compatible with wicket 1.2.5? the JDK provides. Some SDK implementations are working on improved support (I think Johan has some experience with IBM JDK: http://www-128.ibm.com/developerworks/java/jdk/eclipse/ ?) and see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4910812 (and vote!). Yes, I'm using ibm jdk too, but still get a lot of hot replacement errors, specially during preliminary instances of page development which are subject to more refactoring. Btw, I gave a chance to java hot-code-replacement but it's very limited (it lets you modify inside methods but do nothing that alters the class schema/interface, someone out there would say it sucks) See that issue at SUN. :) I've read http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4910812 before. It make me feel kinda sad. Cheers, Carlos 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 - 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 signature.asc Description: OpenPGP digital signature - 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] Joost uses Wicket
If they use Wicket why doesn't it show at all on their website at joost.com? I am expecting to at least see some evidence of a servlet context path... Gili Brian Topping wrote: Here I thought they were cool, then they use Ant?!? :b On Mar 12, 2007, at 8:45 AM, mraible wrote: Thought y'all might be interested: http://opensource.joost.com/ Joost is a new company started by the founders of Skype: http://en.wikipedia.org/wiki/Joost Matt -- View this message in context: http://www.nabble.com/Joost-uses- Wicket-tf3390296.html#a9437082 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 signature.asc Description: OpenPGP digital signature - 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] Joost uses Wicket
My point is that you can't do that with Wicket, unless you know something I don't...? Gili Ryan wrote: In any public application I deploy I remove the servlet context path (wicket or no wicket). Ryan On 3/12/07, cowwoc [EMAIL PROTECTED] wrote: If they use Wicket why doesn't it show at all on their website at joost.com? I am expecting to at least see some evidence of a servlet context path... Gili Brian Topping wrote: Here I thought they were cool, then they use Ant?!? :b On Mar 12, 2007, at 8:45 AM, mraible wrote: Thought y'all might be interested: http://opensource.joost.com/ Joost is a new company started by the founders of Skype: http://en.wikipedia.org/wiki/Joost Matt -- View this message in context: http://www.nabble.com/Joost-uses- Wicket-tf3390296.html#a9437082 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 - 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 signature.asc Description: OpenPGP digital signature - 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] Joost uses Wicket
Hi Brian, Yes you can probably do that for a Wicket site with no external references (i.e. static files hosted outside the scope of the servlet such as images) but last time I checked the Wicket developers were recommending against such a configuration. Gili Brian Topping wrote: Gili, I think I did this on http://www.autoscraper.com... Brian On Mar 12, 2007, at 5:30 PM, cowwoc wrote: My point is that you can't do that with Wicket, unless you know something I don't...? Gili Ryan wrote: In any public application I deploy I remove the servlet context path (wicket or no wicket). Ryan On 3/12/07, cowwoc [EMAIL PROTECTED] wrote: If they use Wicket why doesn't it show at all on their website at joost.com? I am expecting to at least see some evidence of a servlet context path... Gili Brian Topping wrote: Here I thought they were cool, then they use Ant?!? :b On Mar 12, 2007, at 8:45 AM, mraible wrote: Thought y'all might be interested: http://opensource.joost.com/ Joost is a new company started by the founders of Skype: http://en.wikipedia.org/wiki/Joost Matt -- View this message in context: http://www.nabble.com/Joost-uses- Wicket-tf3390296.html#a9437082 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 - 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 signature.asc Description: OpenPGP digital signature - 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
Re: [Wicket-user] Joost uses Wicket
That's news to me :) Thanks! I tried reading more about it on the Wiki but I couldn't find an example that maps the root. The example in http://cwiki.apache.org/WICKET/migrate-13.html maps the application to /app. Do you have another example or documentation somewhere? Gili Igor Vaynberg wrote: it is ok to do that (use /* mapping) if you use WicketFilter instead of WicketServlet -igor On 3/12/07, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Brian, Yes you can probably do that for a Wicket site with no external references (i.e. static files hosted outside the scope of the servlet such as images) but last time I checked the Wicket developers were recommending against such a configuration. Gili Brian Topping wrote: Gili, I think I did this on http://www.autoscraper.com... Brian On Mar 12, 2007, at 5:30 PM, cowwoc wrote: My point is that you can't do that with Wicket, unless you know something I don't...? Gili Ryan wrote: In any public application I deploy I remove the servlet context path (wicket or no wicket). Ryan On 3/12/07, cowwoc [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If they use Wicket why doesn't it show at all on their website at joost.com http://joost.com? I am expecting to at least see some evidence of a servlet context path... Gili Brian Topping wrote: Here I thought they were cool, then they use Ant?!? :b On Mar 12, 2007, at 8:45 AM, mraible wrote: Thought y'all might be interested: http://opensource.joost.com/ Joost is a new company started by the founders of Skype: http://en.wikipedia.org/wiki/Joost http://en.wikipedia.org/wiki/Joost Matt -- View this message in context: http://www.nabble.com/Joost-uses- http://www.nabble.com/Joost-uses- Wicket-tf3390296.html#a9437082 Sent from the Wicket - User mailing list archive at Nabble.com http://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 mailto: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 http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user 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 mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https
Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0
How about a hybrid system? Is there a clear-cut way to know up-front which components have an immutable parent versus others that might require it to change during rendering time? If so, couldn't you require the use of constructors that take a parent for components whose parents are immutable and then for all other components use the add() paradigm? It seems to me that any component that knows up-front that its parent is supposed to change between renderings will not run any operations that depend on that parent until render time -- hence no need to add a isInitialized() sanity check from all your methods. All methods that depend on the parent should only be invoked at render time and if the component has no parent it will never be rendered in the first place hence there is no reason to check isInitialized() again. On the other hand, other components that require an immutable parent can then require it in their constructor and their methods can implicitly assume it exists without that isInitialized() check. Gili signature.asc Description: OpenPGP digital signature - 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] IMPORTANT: your opinion on the constructor change in2.0
Alternatively: 1) Components are POJOs. Users can define whatever constructor they want. 2) Users always use add() to associate a parent with a component but you move the component wiring out of the constructor and into a onWire() method. Now, whenever the hierarchy/parent changes onWire() gets invoked. So components with dynamic hierarchies get onWire() once per rendering whereas components with static hierarchies only have this method invoked once. Users can then remove isInitialized() so long as they invoke their methods from inside onWire(). Gili Eelco Hillenius wrote: How about a hybrid system? Is there a clear-cut way to know up-front which components have an immutable parent versus others that might require it to change during rendering time? If so, couldn't you require the use of constructors that take a parent for components whose parents are immutable and then for all other components use the add() paradigm? The largest problem with that would be that it would be inconsistent for users. So apart from whether this is achievable, I wouldn't like it as it would be too confusing. 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 signature.asc Description: OpenPGP digital signature - 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] IMPORTANT: your opinion on the constructor change in2.0
That's why I used the terminology onWire() as opposed to onAdd(). My point was that you should shift the burden of isInitialized() away from the end-user over to Wicket. When a component's ancestors (all the way up to the top-most component) are connected the first time or changed at some later time Wicket invokes onWire(), at which point the component modifies its state accordingly. This behavior differs from onAttach() in that the latter assumes that wiring will always take place at render time. onWire() allows you to do the wiring either shortly after construction time or at render-time depending on whether all ancestors have been defined or not. It guarantees that errors will be thrown as soon as technically possible. Gili Eelco Hillenius wrote: The problem with that is that the 2.0 constructor actually forced the whole parent hierarchy to be in place, while add in 1.x just means it is added to the parent without any guarantee the parent is added to the parent yet. So even if we would provide onWire (though onAdd would be better then) it wouldn't be safe to do things like getMarkupId. onAttach is safe for that, as by then the rendering phase is reached. Eelco On 3/8/07, cowwoc [EMAIL PROTECTED] wrote: Alternatively: 1) Components are POJOs. Users can define whatever constructor they want. 2) Users always use add() to associate a parent with a component but you move the component wiring out of the constructor and into a onWire() method. Now, whenever the hierarchy/parent changes onWire() gets invoked. So components with dynamic hierarchies get onWire() once per rendering whereas components with static hierarchies only have this method invoked once. Users can then remove isInitialized() so long as they invoke their methods from inside onWire(). Gili Eelco Hillenius wrote: How about a hybrid system? Is there a clear-cut way to know up-front which components have an immutable parent versus others that might require it to change during rendering time? If so, couldn't you require the use of constructors that take a parent for components whose parents are immutable and then for all other components use the add() paradigm? The largest problem with that would be that it would be inconsistent for users. So apart from whether this is achievable, I wouldn't like it as it would be too confusing. 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 - 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 signature.asc Description: OpenPGP digital signature - 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] IMPORTANT: your opinion on the constructor change in2.0
The point *was* that onWire should get called whenever the parent changes (i.e. when moving a component to another parent). If one wishes to listen for hierarchy changes one could implement some event listener mechanism to that effect by overriding onWire() of the ancestor nodes and have them fire an event down to interested descendants when onWire() gets fired on them. I don't claim to solve all theoretical use-cases that users might come up with, I am simply commenting on the existing use-cases that have been brought up. Gili Igor Vaynberg wrote: what happens when you move the component to another parent? will onWire be called again? and if not can we have a method that will please? and then another method if the component's hierarchy changes - a components ancestor is moved. point being only a small percentage of wicket components care about this, and we provide a general solution which is onattach and ondetach, and will not provide ten thousand other solutions that cover ten thousand esoteric usecases users can come up with. just my 2c. -igor On 3/8/07, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: That's why I used the terminology onWire() as opposed to onAdd(). My point was that you should shift the burden of isInitialized() away from the end-user over to Wicket. When a component's ancestors (all the way up to the top-most component) are connected the first time or changed at some later time Wicket invokes onWire(), at which point the component modifies its state accordingly. This behavior differs from onAttach() in that the latter assumes that wiring will always take place at render time. onWire() allows you to do the wiring either shortly after construction time or at render-time depending on whether all ancestors have been defined or not. It guarantees that errors will be thrown as soon as technically possible. Gili Eelco Hillenius wrote: The problem with that is that the 2.0 constructor actually forced the whole parent hierarchy to be in place, while add in 1.x just means it is added to the parent without any guarantee the parent is added to the parent yet. So even if we would provide onWire (though onAdd would be better then) it wouldn't be safe to do things like getMarkupId. onAttach is safe for that, as by then the rendering phase is reached. Eelco On 3/8/07, cowwoc [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Alternatively: 1) Components are POJOs. Users can define whatever constructor they want. 2) Users always use add() to associate a parent with a component but you move the component wiring out of the constructor and into a onWire() method. Now, whenever the hierarchy/parent changes onWire() gets invoked. So components with dynamic hierarchies get onWire() once per rendering whereas components with static hierarchies only have this method invoked once. Users can then remove isInitialized() so long as they invoke their methods from inside onWire(). Gili Eelco Hillenius wrote: How about a hybrid system? Is there a clear-cut way to know up-front which components have an immutable parent versus others that might require it to change during rendering time? If so, couldn't you require the use of constructors that take a parent for components whose parents are immutable and then for all other components use the add() paradigm? The largest problem with that would be that it would be inconsistent for users. So apart from whether this is achievable, I wouldn't like it as it would be too confusing. 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: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
Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0
Why does code explosion happen as a consequence of the constructor change? Gili Igor Vaynberg wrote: pros: * free to call any method in the constructor like getpage(), urlfor(), etc. * access to markup attributes in constructor as opposed to render time * fail at component instantiation time rather then render time if there is a hierarchy-java mismatch - so you get a java line-precise error as opposed to our error webpage cons: * code explosion 2.0: http://papernapkin.org/pastebin/view/4900 1.3: http://papernapkin.org/pastebin/view/4908 http://papernapkin.org/pastebin/view/4908 * hacks necessary for nontrivial components GridView.populate() http://papernapkin.org/pastebin/view/4902 notice fake1,fake2 parents necessary for child item instantiation and which are later removed * more limited in how the hierarchy is created since it MUST be created top-down * replacing components is less explicit. 1.3: a.replaceWith(new B()); 2.0: new B(a.getParent(), a.getId()); -igor On 3/6/07, *Jonathan Locke* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: i would like to see a list of what we'd lose by not supporting the constructor change. i actually prefer the add() usage and always have. i just don't want us to forget why we originally wanted to make the constructor change. the only two things i can recall are: - better diagnostics, but i can't recall exactly /what/ diagnostics we thought we'd get - ability to make component init dependent on parental context. this might be either xml association or component data somehow. i can't think of any times i've been screaming to do this, but can anyone give some of the best examples so we can evaluate what we'd be losing here? Eelco Hillenius wrote: Hi, We (Wicket's developers) are having some discussion over 1.3 vs 2.0 and how difficult it is as a nun-funded project to spend so much time synchronizing the branches. A major issue in the discussion is that not everyone is convinced anymore that the constructor change in 2.0 is for the better. There are pros and cons for sure, but we want to get your opinion on this. Please help us out giving your opinion. We want to know: 1) Who uses 2.0 for serious projects? 2) What do you think of the constructor change? Do you prefer 1.3's add style or 2.0's style of passing in the parent construction time. 3) If we would ever backtrack on the constructor change (*if*, don't panic for now) how much trouble would that give you? Please don't be shy giving your opinion. This is an important issue in the future development of Wicket. Regards, 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/IMPORTANT%3A-your-opinion-on-the-constructor-change-in-2.0-tf3358738.html#a9342589 http://www.nabble.com/IMPORTANT%3A-your-opinion-on-the-constructor-change-in-2.0-tf3358738.html#a9342589 Sent from the Wicket - User mailing list archive at Nabble.com http://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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: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
Re: [Wicket-user] Wicket-contrib-javaee 1.0 release
Any JPA library in the works? Specifically I am looking for a replacement for wicket-stuff-hibernate-3.0 Gili Filippo Diotalevi wrote: Hi, just a quick post to announce that tonight I've released the first public version of wicket-contrib-javaee (1.0), a module for Wicket that provides integration with Java EE 5 With wicket-javaee you can use in your wicket pages three annotations * @EJB * @PersistenceUnit * @Resource This release works with Wicket 1.2.x; a version for Wicket 2 is under construction. The release is available at: https://sourceforge.net/project/showfiles.php?group_id=134391package_id=219263 the documentation is available at: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee -- Filippo Diotalevi http://www.diotalevi.com 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 signature.asc Description: OpenPGP digital signature - 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] Interesting alternatives to Hibernate
Anyone ever look into Mr. Persister? Is it any good? http://www.jenkov.com/mrpersister/introduction.tmpl Thanks, Gili signature.asc Description: OpenPGP digital signature - 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] Tapestry 5 instantaneous reloads
heh, if I had to choose between: http://www.google.com/Start.html and http://www.google.com/Main/Start?wicket:interface=:0:: I'd choose the first time time and time again. There is the interface part which I'd love to hide from users (they shouldn't ever be explicitly pasting that anyway because you'll end up with Page Expired) and there is also the fact that they don't seem to require some sort of base context path or there is some sort of magic going on to hide it. Either way it looks better than Wicket :) Gili Matej Knopp wrote: Nice URLS? Well.. I don't know, to me it doesn't look that great. I mean it seem to miss an information. What happens if you open the page in multiple browser windows? If the URL is same, how will tapestry reconstruct the data? And also, does the Tapestry 5 finally supports dynamically changing components hierarchy? Or nested components? Or is it still the [1]page [0..n]Components approach? In Wicket the URLs will look much better in 2.0 than they look now - as we will persist the mount path after requests, but it will take some time to implement. -Matej cowwoc wrote: Two questions about: http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html 1) How did they get instantaneous page reloads working? 2) How did they get their URLs to remain nice even though the underlying state is changing? and what is the implications for Wicket? I suspect you guys have seen this before. Can you please comment on why Wicket does not do something similar? Is it something to do with the amount of client-side state they use? Thanks, Gili - 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 signature.asc Description: OpenPGP digital signature - 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] Tapestry 5 instantaneous reloads
I think you're missing a very important use-case. I created a Wicket webapp at work, what happens on a weekly basis is that someone sees something he wants to discuss so he copy/pastes the URL from his browser into an email. Non-nice URLs shouldn't even be visible for people to mistakenly export. Sometimes someone just wants to give someone else a link to my webapp (not expecting it to display anything in particular) and it just so happens their browser has it open with a non-nice URL. Again, they will copy/paste that and the receiver will get an ugly URL and Page Expired. Gili Johan Compagner wrote: when do you choose an url? urls only have to be nice when they are exported like links you click on in external resources, mails for example internally it doesn't matter to much for the webapplications you make with wicket. johan On 11/22/06, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: heh, if I had to choose between: http://www.google.com/Start.html and http://www.google.com/Main/Start?wicket:interface=:0:: I'd choose the first time time and time again. There is the interface part which I'd love to hide from users (they shouldn't ever be explicitly pasting that anyway because you'll end up with Page Expired) and there is also the fact that they don't seem to require some sort of base context path or there is some sort of magic going on to hide it. Either way it looks better than Wicket :) Gili Matej Knopp wrote: Nice URLS? Well.. I don't know, to me it doesn't look that great. I mean it seem to miss an information. What happens if you open the page in multiple browser windows? If the URL is same, how will tapestry reconstruct the data? And also, does the Tapestry 5 finally supports dynamically changing components hierarchy? Or nested components? Or is it still the [1]page [0..n]Components approach? In Wicket the URLs will look much better in 2.0 than they look now - as we will persist the mount path after requests, but it will take some time to implement. -Matej cowwoc wrote: Two questions about: http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html 1) How did they get instantaneous page reloads working? 2) How did they get their URLs to remain nice even though the underlying state is changing? and what is the implications for Wicket? I suspect you guys have seen this before. Can you please comment on why Wicket does not do something similar? Is it something to do with the amount of client-side state they use? Thanks, Gili - 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - 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 http://www.techsay.com
Re: [Wicket-user] Tapestry 5 instantaneous reloads
If you can't copy/paste that additional information anyway (because you'll get a Page Expired) then it shouldn't be visible at all so people don't even make the mistake of including it. I agree with you that Wicket somehow has to know that window1 has a different state than window2 and if this isn't reflected somehow in the URL then where is it stored? But I am also saying that Tapestry seems to do that *somehow* and if we can do the same then we should do so. Gili Matej Knopp wrote: Again and again. What would do if you open the start.html page in two browsers windows? Or don't your users do that? The additional information in url is not there for fun. There is a good reason for that. And give us some time, after the refactor planed for 2.0 it should be possible to get rid of the wicket thing from url. -Matej cowwoc wrote: heh, if I had to choose between: http://www.google.com/Start.html and http://www.google.com/Main/Start?wicket:interface=:0:: I'd choose the first time time and time again. There is the interface part which I'd love to hide from users (they shouldn't ever be explicitly pasting that anyway because you'll end up with Page Expired) and there is also the fact that they don't seem to require some sort of base context path or there is some sort of magic going on to hide it. Either way it looks better than Wicket :) Gili Matej Knopp wrote: Nice URLS? Well.. I don't know, to me it doesn't look that great. I mean it seem to miss an information. What happens if you open the page in multiple browser windows? If the URL is same, how will tapestry reconstruct the data? And also, does the Tapestry 5 finally supports dynamically changing components hierarchy? Or nested components? Or is it still the [1]page [0..n]Components approach? In Wicket the URLs will look much better in 2.0 than they look now - as we will persist the mount path after requests, but it will take some time to implement. -Matej cowwoc wrote: Two questions about: http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html 1) How did they get instantaneous page reloads working? 2) How did they get their URLs to remain nice even though the underlying state is changing? and what is the implications for Wicket? I suspect you guys have seen this before. Can you please comment on why Wicket does not do something similar? Is it something to do with the amount of client-side state they use? Thanks, Gili - 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 signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Tapestry 5 instantaneous reloads
Again, I refer you to Tapestry. Obviously I wouldn't want the kind of URL you pasted but if you look at Tapestry's screencast they don't add *anything* to the URL. Now, it could very well be that this is something specific to small examples and does not work for bigger ones but it could also very well be that Tapestry is handling this in some way we're not familiar with. Gili Igor Vaynberg wrote: yeah? and what happens when your component property is not a primitive? are you then happy with http://www.google.com/Start.html?param1=A98AS98AA8947A8947A8947A89478A97A94879A847A9879A8479A8479A847A9847A9487A4987A4987A498A749A8749A8479A84789A7498A7498A7498A47A9847A984789A7498A4 which would be the base64 encoded string of that non primitive? or would you like to make everything into a post and have client pages get huge? or do you only restrict component properties to primitives? -igor On 11/22/06, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: heh, if I had to choose between: http://www.google.com/Start.html and http://www.google.com/Main/Start?wicket:interface=:0:: I'd choose the first time time and time again. There is the interface part which I'd love to hide from users (they shouldn't ever be explicitly pasting that anyway because you'll end up with Page Expired) and there is also the fact that they don't seem to require some sort of base context path or there is some sort of magic going on to hide it. Either way it looks better than Wicket :) Gili Matej Knopp wrote: Nice URLS? Well.. I don't know, to me it doesn't look that great. I mean it seem to miss an information. What happens if you open the page in multiple browser windows? If the URL is same, how will tapestry reconstruct the data? And also, does the Tapestry 5 finally supports dynamically changing components hierarchy? Or nested components? Or is it still the [1]page [0..n]Components approach? In Wicket the URLs will look much better in 2.0 than they look now - as we will persist the mount path after requests, but it will take some time to implement. -Matej cowwoc wrote: Two questions about: http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html 1) How did they get instantaneous page reloads working? 2) How did they get their URLs to remain nice even though the underlying state is changing? and what is the implications for Wicket? I suspect you guys have seen this before. Can you please comment on why Wicket does not do something similar? Is it something to do with the amount of client-side state they use? Thanks, Gili - 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - 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
Re: [Wicket-user] Tapestry 5 instantaneous reloads
When Wicket 2.0 is released and I can use bookmarkable forms I will quite gladly use it. I am simply pointing out the problems with the current design. BTW, Wicket 2.0 does completely solve this, right? Gili Eelco Hillenius wrote: I think you're missing a very important use-case. I created a Wicket webapp at work, what happens on a weekly basis is that someone sees something he wants to discuss so he copy/pastes the URL from his browser into an email. Non-nice URLs shouldn't even be visible for people to mistakenly export. Sometimes someone just wants to give someone else a link to my webapp (not expecting it to display anything in particular) and it just so happens their browser has it open with a non-nice URL. Again, they will copy/paste that and the receiver will get an ugly URL and Page Expired. So PLAN for that then. If you want a URL to be bookmarkable implement that! What about step X of wizard Y? The checkout part of an online store? Stuff like that... did you ever try to send an email with a link like that and expect it to work? 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 signature.asc Description: OpenPGP digital signature - 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] Tapestry 5 instantaneous reloads
Eelco, one of the points I tried making (and seemed to have gotten lost in the loop) is this: 1) User is viewing a non-bookmarkable page http://www.google.com/Main/Start?wicket:interface=:0:: but wicket displays http://www.google.com/Start in his URL bar instead (not sure if this is technically possible, but assume it is this for a moment) 2) If the user then tries copy/pasting the URL into someone else's browser it'll display the original bookmarkable page which led to the non-bookmarkable page. The benefit there is that the user will never get a Page Expired page and instead get behavior we already see on other commercial websites which is basically that users understand that Amazon stores some some personal information in your browser cookie and *some* URLs you cannot simply copy/pasted to your friend and if you do it'll take you to some alternate page instead. For example, if you go to Amazon, add some book to your cart do checkout and copy/paste that the URL into someone else's browser it'll recover gracefully by redirecting you to some page displaying something related to cart (maybe it displays your cart as empty) or some page displaying a list of products. The point is that it handles this gracefully instead of displaying any sort of oops you screwed up page. I am suggesting you might consider making this behavior default in Wicket production mode. Even if you can't hide the non-bookmarkable URLs in step 1, consider making it such that if a user pastes it into a browser it redirects him to the original bookmarkable instead of the Page Expired page (or you could make this behavior further configurable by adding some hooks). Just food for thought. It might be a good idea or not. Gili Eelco Hillenius wrote: Look, this discussion every time again is getting old. It has been stated many times before: the difference between Wicket and many other frameworks is that Wicket's URL are 'safe' *by default*; if you want them to be public (bookmarkable), you have to be explicit about it. With other frameworks, you have to do something extra to make the URL's secure. Imo, and certainly for the desktop-like apps I'm building, the safe by default option is better. For public facing, open apps, this might be inconvenient. But it is not much work to make pages bookmarkable, and we're still working (Matej had some cool ideas) to improve URLs so that even non-bookmarkable pages are recoverable to some extend. However, Wicket will be a safe by default framework in future too. If that's something that is problematic for you, you can always consider using another framework. But you'll find there is always something *not* to like about a framework. Eelco On 11/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I think you're missing a very important use-case. I created a Wicket webapp at work, what happens on a weekly basis is that someone sees something he wants to discuss so he copy/pastes the URL from his browser into an email. Non-nice URLs shouldn't even be visible for people to mistakenly export. Sometimes someone just wants to give someone else a link to my webapp (not expecting it to display anything in particular) and it just so happens their browser has it open with a non-nice URL. Again, they will copy/paste that and the receiver will get an ugly URL and Page Expired. So PLAN for that then. If you want a URL to be bookmarkable implement that! What about step X of wizard Y? The checkout part of an online store? Stuff like that... did you ever try to send an email with a link like that and expect it to work? 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 signature.asc Description: OpenPGP digital signature - 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] Tapestry 5 instantaneous reloads
Thank you :) So assuming bookmarkable forms are 100% solved in Wicket 2.0 I think this covers all bases. Gili Eelco Hillenius wrote: For example, if you go to Amazon, add some book to your cart do checkout and copy/paste that the URL into someone else's browser it'll recover gracefully by redirecting you to some page displaying something related to cart (maybe it displays your cart as empty) or some page displaying a list of products. The point is that it handles this gracefully instead of displaying any sort of oops you screwed up page. Yes, that is planned. See Matej's RFE. 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 signature.asc Description: OpenPGP digital signature - 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 stuff stuff
I'd much prefer JPA integration. I don't see one as part of databinder. I know Cheeser was working on one. Has anyone got a finished version we could use? Gili Igor Vaynberg wrote: wicket-contrib-data-hibernate-3.0 can prob go to the glue factory now that databinder.net http://databinder.net is around -igor On 11/21/06, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: James McLaughlin wrote: wicket-contrib-auth-class-roles cowwoc wicket-contrib-data cowwoc wicket-contrib-data-hibernate-3.0 cowwoc I am the owner of the first one and yes I plan on maintaining it. I am not the owner of the last two though I committed Netbeans project files for them. Gili - 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: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 signature.asc Description: OpenPGP digital signature - 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] Tapestry 5 instantaneous reloads
Two questions about: http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html 1) How did they get instantaneous page reloads working? 2) How did they get their URLs to remain nice even though the underlying state is changing? and what is the implications for Wicket? I suspect you guys have seen this before. Can you please comment on why Wicket does not do something similar? Is it something to do with the amount of client-side state they use? Thanks, Gili signature.asc Description: OpenPGP digital signature - 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] DropDownChoice.onSelectionChanged() and Form button
Hi, If I have a form with a single DropDownChoice with a onSelectionChanged listener then it gets invoked fine when I change the selection. The moment I add a Submit button into the form alongside the DropDownChoice, then the event no longer gets fired when I change the selection. FireFox's JS engine fails with: Error: document.getElementById(unassignUserForm).submit is not a function In other words, it is no longer legal to invoke form.submit() the moment a button is added into the form. Is this some sort of bug in FireFox or Wicket? Or is this some sort of feature of HTML and if so is there a workaround? Environment: FireFox 2.0, Wicket 1.2.3 Thanks, Gili signature.asc Description: OpenPGP digital signature - 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] DropDownChoice.onSelectionChanged() and Form button
Arrgh! Problem solved: http://www.webprodevelopment.com/BrightLight/archives/17-this.form.submit-is-not-a-function.-Really,-its-an-object!.html BTW: This issue was aggravated by the fact that I had wicket:id=submit and Wicket copied that value over to an attribute name also equal to submit. It would be nice if Wicket would be smart enough to avoid these kinds of reserved words, especially in light of how confusing the error message is :) Gili cowwoc wrote: Hi, If I have a form with a single DropDownChoice with a onSelectionChanged listener then it gets invoked fine when I change the selection. The moment I add a Submit button into the form alongside the DropDownChoice, then the event no longer gets fired when I change the selection. FireFox's JS engine fails with: Error: document.getElementById(unassignUserForm).submit is not a function In other words, it is no longer legal to invoke form.submit() the moment a button is added into the form. Is this some sort of bug in FireFox or Wicket? Or is this some sort of feature of HTML and if so is there a workaround? Environment: FireFox 2.0, Wicket 1.2.3 Thanks, Gili signature.asc Description: OpenPGP digital signature - 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] [Fwd: Emory Utilities]
Cross-post from the JINI mailing list that might be of some interest to the wicket development team. Can't you use this to fix the JAR reloading problem you discussed earlier? Gili Original Message Seems like some of these classes (especially the URIClassLoader that fixes some URLCLassLoader issues wrt reloading of classes) may be of use in the community. Anybody have any experience or thoughts about these utilities? http://dcl.mathcs.emory.edu/util/features.php Dennis signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Nice Url
What about bookmarkable pages containing Forms? Is this still in the works? Gili Korbinian Bachl wrote: Hi, yes it is possible, look here for detailed: http://www.javalobby.org/java/forums/t68753.html you can then provide parameters via the PageParameter param - if this doesnt satisfy you (e.g: some special needs for URL) then you may also use a own implementation of IRequestTargetURLCodingStrategy - a good beginnning there is examining the WOOGLE project and look at its URL Strategy (/q/queryword/page) - best Regards, Korbinian Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dipu Gesendet: Donnerstag, 19. Oktober 2006 14:37 An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] Nice Url HI all, Is there anyway to make the non bookmarkable page urls look nicer. I am using the wicket version 1.2.1 I need to display the urls like /x /x/searching /x/searchresults /x/payment /x/confirmation Kind Regards Dipu - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket-contrib-data-ejb3
Hi, There exists a module called wicket-contrib-data-hibernate-3.0. Are there plans for releasing wicket-contrib-data-ejb3 in the near future? I know Cheeser was working on one but I don't know how far along it is. Thanks, Gili signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket-stuff commit rights
Hi Martijn, I wanted to commit some updated to the wicket-contrib-auth-class-roles module which I am the author of but SVN won't accept my sourceforge username/password. Is it possible my commit rights went away again? Please verify what the problem is and let me know when I can commit the changes. The username is cowwoc Thanks, Gili signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-stuff commit rights
Sorry for mistakenly posting this to the entire list :( Serves me right for clicking Reply all :) On a sidenote, this turned out to be due to sf.net weirdness. I needed to explicitly logout, change my password and log back in to my sf.net account and that seemed to resolve it. Gili cowwoc wrote: Hi Martijn, I wanted to commit some updated to the wicket-contrib-auth-class-roles module which I am the author of but SVN won't accept my sourceforge username/password. Is it possible my commit rights went away again? Please verify what the problem is and let me know when I can commit the changes. The username is cowwoc Thanks, Gili signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] JBOSS Reload Classes
uh :) I understand he mentioned he's having issues with JBOSS but baring that I would agree with him that developing under one platform and deploying into another is asking for trouble. Jetty can't possibly behave 100% like your target platform. I personally use Netbeans with Tomcat or Glassfish. It integrates quite nice (auto reloads and all). Gili Gwyn Evans wrote: Dude, you'd have been better to stop at I'm not here to get into an argument. The point that you missed is that Wicket can normally be developed very well using Jetty on my laptop as the most convienient way of running the web-app, then deployed onto whatever production appserver is required - personally, I deploy to a WebLogic system on Solaris. /Gwyn On 06/10/06, craigdd [EMAIL PROTECTED] wrote: Dude, I'm not here to get into an argument here, but you obviously haven't worked in many corporate settings, you don't always get to pick and choose which app servers you are using. Jetty is NOT an option for us. As for the redeployment, that is a fine idea, however with the size of our application redeploying is extremely slow, way worse then compiling to the WEB-INF/classes dir and bouncing the container. igor.vaynberg wrote: mainstream enough to attract developers that are smart enough to figure out that the path of least resistence is to develop on jetty and deploy on jboss :) if you need app server features like ejb then the solution is not to restart the server, but to force it to redeploy your app. -Igor On 10/6/06, craigdd [EMAIL PROTECTED] wrote: Yes, my next step is to check the jboss forums, I sort of figured a lot of people that where using wicket might also be using jboss and had figured out this issue because it greatly affects the efficiency of development. I'm getting the impression that most people are using jetty with wicket which makes me wonder how main stream this framework is. igor.vaynberg wrote: why not ask on the jboss forums? what you want to ask is that if jboss can be launched to take advantage of jvm's hotswap. -Igor On 10/6/06, craigdd [EMAIL PROTECTED] wrote: So in other words the out come to my question is that NO, jboss can not be configured to reloaded changed classes without restarting the container. Erik van Oosten wrote: Martijn Dashorst wrote: Doesn't JBoss IDE start the jboss container in debug mode? Indeed, it does start jboss in debug mode. craigdd wrote: I don't think debug mode in jboss allows the reloading of classes, i believe it it just for remote debugging. Indeed again, JBoss is directly started from Eclipse (as all programs you start from Eclipse). Strictly there is no class reloading, but you _can_ change classes on the fly. Just remember that when you restart JBoss, you must recompile and redeploy your changed classes. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.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 -- View this message in context: http://www.nabble.com/JBOSS-Reload-Classes-tf2393072.html#a6683715 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/JBOSS-Reload-Classes-tf2393072.html#a6684139 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the
Re: [Wicket-user] Re : Session.get() behaviour
I'm in favor of Session.get() returning null in 2.0, if not earlier. You could add exists() in 1.3 and deprecate it in 2.0. Gili Frank Bille wrote: I guess it would be more like a Session.exists() :) +1 for that. it's backportable. Frank On 8/26/06, *Jaime De La Jara* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think Igor proposal, session.exists(), is correct and it could be added without any impact. Jaime. i think thats better then an npe, didnt even know we were doing that. so either this or add a session.exists() so you can test for it. -Igor On 8/25/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I thought about that myself too. I'd be fine letting RequestCycle.get (), Session.get() and Application.get() return null if the thread local is not set. What do others think of this? Eelco On 8/25/06, Jaime De La Jara [EMAIL PROTECTED] wrote: Hi, I was wondering why Session.get() throws a WicketRuntimeException if the session does not exists, in my app I define an AuthorizationStrategy and I'm also using some spring interceptors where I get a user object that is saved in the session but I had to include a try/catch block in each case to prevent a NEP in the former case. If the session is null why it does not return it? Thanks. Jaime. All-new Yahoo! Mail http://us.rd.yahoo.com/evt=43256/*http://advision.webevents.yahoo.com/mailbeta- Fire up a more powerful email and get things done faster. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Javaref.com
I personally dislike their UI. The technology might be nice and well but they need some UI guy to clean things up. Just my 2 cents. Gili Nathan Hamblen wrote: Take a look, if you haven't already: it's VERY well done. And it's done in Tapestry. Yay for second-gen Web frameworks, or something. Nathan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [Spam] Re: CSS background images
Upon first glance, looks good ;) Maybe you guys should roll it up into core hint hint Gili Al Maw wrote: Igor Vaynberg wrote: i guess it is not something that we support right now, but something that is cleary needed. we need to build a resource that can load a css file, parse for images, replace them, and then serve the altered content. i know almaw has been working on something like this but i dont know how far he got. a patch would be welcome, if not then i guess you will have to wait until one of the core devels has the time. Sorry for the late reply - been on holiday. Please find attached something that might be useful. You'll need to change CssResource#getResourceStream() to understand how to tell if your app is in debug mode or not (see discussion on the dev list a week or two ago about that). Best regards, Al Maw package foo.wicket.resources; import wicket.Application; import wicket.AttributeModifier; import wicket.Component; import wicket.ResourceReference; import wicket.SharedResources; import wicket.markup.ComponentTag; import wicket.markup.html.WebMarkupContainer; import wicket.model.IModel; import wicket.model.Model; import wicket.util.value.ValueMap; /** * Created on 03-May-2006. * @author Alastair Maw */ public class CssReference extends WebMarkupContainer { private static final long serialVersionUID = 1L; /** * Construct. * @param id component id * @param referer the class that is refering; is used as the relative * root for gettting the resource * @param file reference as a string */ public CssReference(final String id, final Class referer, final String file) { this(id, referer, new Model(file)); } public CssReference(final String id, final Class referer, final IModel file) { super(id); IModel srcReplacement = new Model() { private static final long serialVersionUID = 1L; public Object getObject(Component component) { Object o = file.getObject(component); if (o == null) { throw new IllegalArgumentException(The model must provide a non-null object (component == + component + )); } if (!(o instanceof String)) { throw new IllegalArgumentException(The model must provide an instance of String); } String f = (String)component.getConverter().convert(file.getObject(component), String.class); final SharedResources sharedResources = Application.get().getSharedResources(); CssResource resource = (CssResource)sharedResources.get(referer, f, getLocale(), getStyle(), true); if (resource == null) { resource = new CssResource(getRequestCycle(), referer, file.getObject(component).toString()); sharedResources.add(referer, f, null, null, resource); } String url = getRequestCycle().urlFor(new ResourceReference(referer, f)).toString(); return url; } }; add(new AttributeModifier(href, true, srcReplacement)); } /** * @see wicket.Component#onComponentTag(wicket.markup.ComponentTag) */ protected void onComponentTag(ComponentTag tag) { // Must be attached to a style tag checkComponentTag(tag, link); ValueMap attributes = tag.getAttributes(); attributes.put(rel, stylesheet); attributes.put(type, text/css); } } package foo.wicket.resources; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import wicket.Application; import wicket.RequestCycle; import wicket.Resource; import wicket.ResourceReference; import wicket.WicketRuntimeException; import wicket.markup.html.PackageResourceReference; import wicket.markup.html.WebResource; import wicket.util.lang.Packages; import wicket.util.resource.IResourceStream; import wicket.util.resource.ResourceStreamNotFoundException; import wicket.util.resource.StringBufferResourceStream; import wicket.util.resource.locator.IResourceStreamLocator; import wicket.util.time.Time; /** * Created on 03-May-2006. * @author Alastair Maw */ public class CssResource extends WebResource { private static final long serialVersionUID = 1L; private static Log log = LogFactory.getLog(CssResource.class); /** CSS definition */ private StringBufferResourceStream css = new StringBufferResourceStream(); private
[Wicket-user] Button and its model
Hi, I'd like to pass in a non-String model into a Button so I can use it for onSubmit() but then the Button text ends up being crap (hashcode of the model object). I can workaround this issue using an AttributeModifier(value) but this seems like a hack to me that might break in future versions. Shouldn't there be a formal hook for doing this in Button? I mean, I could always override getModelAsObjectString() but there is no guarantee that the code won't use getModel().toString() in the future. Gili signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to customize multiple validate message in ListView ?
I also ran into similar problems. I had a NumberValidator and the default message was: '0' is not in the range 1-65535 (limits which I had set), which is nice and all but it would be nice if it mentioned which field contained the invalid value instead. For example, I would have preferred a default of Field 'port' must have values in the range 1-65535. Just my 2 cents... Gili Ingram Chen wrote: I have a table of data need to do form submission: Name Data === Item1 [ ] Item2 [ ] new ListView(items, items) { populateItem(ListItem item) { item.add(new Lebel(name) item.add(new RequiredTextField(data)); } } ; if I leave all data blank, I will got multiple messages with the same messages: 'data' is required. 'data' is required. which is useless for client It seems that RequiredValidator, NumberValidator... etc don't allow to do things like: data.RequiredValidator= Data of ${0} is required. and produce messages as: Data of Item1 is required. Data of Item2 is required. Should I need to write my own Validator ? if so, how to do that ? Thanks. -- Ingram Chen Java [EMAIL PROTECTED] Institue of BioMedical Sciences Academia Sinica Taiwan blog: http://www.javaworld.com.tw/roller/page/ingramchen Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital 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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket emailaddress validation incorrect
Instead of using some super long regex why not code the logic by hand (the old fashion way without regex). I find that often the resulting code is easier to read and in this case it might actually turn out to be shorter. Maybe :) Gili Frank Bille Jensen wrote: On Wed, 2006-06-21 at 12:02 -0400, Michael Day wrote: I only glanced quickly at the larger expression, but it seems to allow for quite a bit that you would NOT want. I think it's more geared toward mail servers. For example, I think it will evaluate the following as a valid email address (possibly with random tabs and spaces throughout): [EMAIL PROTECTED] Below are some (according to the RFC) valid email adresses. I think the ones to notice is the ones with a space in 'em. VALID_EMAIL1.setAddress([EMAIL PROTECTED]); VALID_EMAIL2.setAddress([EMAIL PROTECTED]); VALID_EMAIL3.setAddress([EMAIL PROTECTED]); VALID_EMAIL4.setAddress([EMAIL PROTECTED]); VALID_EMAIL5.setAddress([EMAIL PROTECTED]); VALID_EMAIL6.setAddress(my @email.com); VALID_EMAIL7.setAddress(my@ email.com); VALID_EMAIL8.setAddress(\Ulrik Jensen\@email.com); Is this what most people want? Probably not. I would prefer to ensure the email address is in a format like this: [EMAIL PROTECTED] And I think the smaller expression will validate emails in this format just fine. I agree. If Wicket used the RFC correct validation pattern and developers forgot to check whether there mailing systems actually were able to handle such email addresses they would probably be quite frustrated. How about having a RfcCompliantEmailAddressPatternValidator living next to the normal EmailAddressPatternValidator? Then developers would only pick the RFC compliant version if they actually needed it. Just a thought. Regards Frank Bille Avaleo All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Is there a shuttle(?) component?
There seems to be a bug in this example. I select the last entry, and keep on clicking on the first button. Eventually, it moves the entry from the right side to the left, even though I am clicking on the arrow pointing from left to right. I am expecting the entry to remain on the right. Can anyone else reproduce this? Gili Philip A. Chapman wrote: The palette component: http://www.wicket-library.com/wicket-examples/compref;jsessionid=1964CEEDBD5270FCDA54CFE3AFAE4CB7?wicket:bookmarkablePage=:wicket.examples.compref.PalettePage On Wed, 2006-05-31 at 23:32 -0300, Bruno Borges wrote: I don't know how to name it, but Shuttle was the name I've seen people using to specify this kind of component: | Item 1 || Item 3 | | Item 2 | | Item 4 | || || || || |||| Where: : move all right : move all selected right ... same, but to left side If there's nothing like this ready-to-use, can somebody shot an idea on how to implement? Some first steps would be nice... :) In the model, would be something like: - In the left select, a list of available categories - In the right select, a list of associated categories I think on something like this: ShuttleList s = new ShuttleList(shuttle, new ShuttleModel(availableItems, selectedItems) { public void populateItem(Item i) { ... } })); And then: List newSelectedItems ((ShuttleModel) s.getModel()).getSelectedItems(); Now, 'newSelectedItems' should have objects that came from 'availableItems' and shouldn't have objects removed from 'selectedItems'. []'s -- Bruno Borges Summa Technologies Inc. www.summa-tech.com http://www.summa-tech.com (11) 8565-7739 - (11) 3846-1622 -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Prettier page for new Wicket-related open source project
Very cool! I especially like the refactoring support and detection of mismatches between HTML and Java code. Keep up the good work! :) Gili Geertjan Wielenga wrote: Hi all, Take a look: https://nbwicketsupport.dev.java.net/ Gj --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] weird javascript header
Johan, I am fairly sure I told you guys to use: !--/*--![CDATA[/*!--*/ body /*--]]*/ notice you use // instead of /* */ which is incorrect and might be responsible for this problem. Gili Johan Compagner wrote: this is what we did get from the people who wants there pages completely xhtml. Because plain javascript is not possible then so you have to escape it. johan On 5/26/06, *Wouter de Vaal* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I would like to express my concern on how wicket currently outputs JavaScript, my page outputs this header: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head link href=/mycss.css rel= stylesheet type=text/css media=all script type=text/javascript src=/shop/app/resources/wicket.markup.html.WebPage/cookies.js /script script type=text/javascript!--//--![CDATA[//!-- var pagemapcookie = getWicketCookie('pm-null/shopShop4AllApplication'); if(!pagemapcookie pagemapcookie != '1'){setWicketCookie('pm-null/myApplication',1);} else {document.location.href = '/shop/app/admin/EditUsage/wicket:pageMapName/wicket-0';} //--!]]/script /head Now I'm no JavaScript expert, but this seems quite strange to me. When I try to validate using Firefox's web developer (tools-validate local html), I get a validation error: Error /Line 14 column 6/: end tag for HEAD which is not finished. |/head* *| It looks to me that this originates from the strange (non-)nesting of the interesting comments+CDATA combination, because everything else seemds ok (right?). I have no JavaScript in my code/templates whatsoever. I also changed everything to xhtml and I get the same error. So, is it incorrect? If not, what's wrong then? Thanx, Wouter signature.asc Description: OpenPGP digital signature
[Wicket-user] Reverse Ajax
Article that may be of interest to the Wicket team: http://www.theserverside.com/news/thread.tss?thread_id=40650 Gili signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Reverse Ajax
Darn it ;) This is like slashdot.org -- it's impossible to post first! :) Gili Igor Vaynberg wrote: too late http://www.nabble.com/Wicket+1.2+released%21-t1673750.html#a4548599 -Igor On 5/25/06, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Article that may be of interest to the Wicket team: http://www.theserverside.com/news/thread.tss?thread_id=40650 Gili signature.asc Description: OpenPGP digital signature
Re: [Spam] Re: [Wicket-user] ENABLING WAR: Celebrity Christians and the realDa vinci Code
Why buy the book when I can summarize it for you for free? Executive summary: It's a conspiracy! (isn't everything?) Jews control the world! Join us in finding new creative ways to blame them for all our problems so we can murder more of them. Man, I'm tired of this sort of crap. Makes me wonder how humanity has made it to the 21st century. Gili Dorel Vaida wrote: this is too long to read. they should split it. [EMAIL PROTECTED] wrote: Reply-To: cecarl http://straitgateministry.net/ 345-page ONE NATION UNDER ISRAEL Almost FREE (see end) Published by Truths Press ENABLING WAR: HOW A BIBLE PUBLISHER CORRUPTED CHRIST'S WORDS Why Celebrity leaders accept a form of Judaism and call it Christianity By Charles E. Carlson (Director of We Hold These Truths) This study is not written to convince anyone of what Jesus said; it quotes a small but important part of the Christian New Testament of Jesus, explaining how these words have been reinterpreted to justify serial wars. This analysis is important to persons of all beliefs, faiths, and races who are trying to understand why wars dominate our world, and why many of those who call themselves by Jesus Christ's name find themselves pitted in support of wars against other races. It is undeniable that our current wars are directed at Islamic populations. We focus on one bible that is used every day as a war enabler. This is a re-written and abbreviated version of our more far reaching 2006 series, The Sheep and the Goats Parts 1 2, which are drawn from a study of book of Matthew, chapter 25. Your author is responding to requests that we more clearly prove and document the essence of popular biblical distortion about Heaven and Hell in the book of Matthew. Chapters 24-25, which evangelical believe to contain Jesus' words, are intentionally distorted by these same persons, both in the text and footnotes to the text in most popular bible study versions. Self professed CHRISTIAN-ZIONISTS at the pulpit of mega-churches are left with an untenable problem. It is impossible for them to tell the truth about what certain New Testament Bible passages say, or even to read them, without contradicting their own support for wars and for the constantly warring state of Israel. Evangelical teaching and preaching often directly contradict that which Jesus taught about love and peace, and more surprisingly, celebrity Christian statements often directly conflict with Jesus' statements about Heaven and Hell. Church economics may be a factor in scriptural compromise. Opposition to war is less popular than ignoring or accepting it. Celebrity Christian leaders may feel financial pressure to warp the New Testament into a wide and easy path interpretation, which they say points, not to Heaven and Hell, but to a second coming. Simply stated, pastors have learned they can't fill 10,000 seat arenas by leaning too heavily on sin, repentance and judgment as Jesus portrayed it in this carefully worded chapter. It is just not good for mega-church business. Nor do they want to refute what is public policy at the highest levels. Some pastors no doubt justify compromise to choose the wide path to build their own empires in contrast to what Christ called the narrow path or Strait gate. Our government's public policy includes war, which has also become many churches' policy. Evangelical celebrities generally believe in politically activism, and every politician knows it pays to be born again. Thus an unspoken, unholy alliance has been created between financially successful biblical teachers on one hand, and politically successful politicians and businessmen who thrive on serial wars, on the other. The cost has been untold lives in several unholy wars in the 20 years. But where to the war-accepting pastors find their scriptural support for war? We will examine only once example in a corrupted version of the book of Matthew, in one corrupted bible the Scofield Reference Bible 1967 version. Oh that my adversary would write a book The famous Scofield Reference Bible, perhaps the most powerfully promoted Bible ever written, is the godfather of modern bible distortion, which is now emulating and even exceeding in radicalism by other popular study bibles including the NIV Study Bible and the MacArthur Study Bible. Matthew 25 contains one of the most directly written and clearly self-explained passages on Heaven and Hell, which was once taken at face value in most churches. But the explanation of Matthew 25 we find so simple and straight forward is now rejected in almost every evangelical (Christian Zionist) church. And the Oxford/Scofield re-write is increasingly influential in a growing number of mainline churches where are members attend dispensational bible studies, and while there hours before celebrity-Christian media. Members of most Catholic or mainline protestant church are also deeply
Re: [Wicket-user] ENABLING WAR: Celebrity Christians and the real Da vinci Code
Can you guys add some sort of Capcha authentication to the mailing list subscription so we don't get this sort of antisemitism by spam in the future? Thanks, Gili [EMAIL PROTECTED] wrote: Reply-To: cecarl http://straitgateministry.net/ 345-page ONE NATION UNDER ISRAEL Almost FREE (see end) Published by Truths Press ENABLING WAR: HOW A BIBLE PUBLISHER CORRUPTED CHRIST'S WORDS Why Celebrity leaders accept a form of Judaism and call it Christianity By Charles E. Carlson (Director of We Hold These Truths) This study is not written to convince anyone of what Jesus said; it quotes a small but important part of the Christian New Testament of Jesus, explaining how these words have been reinterpreted to justify serial wars. This analysis is important to persons of all beliefs, faiths, and races who are trying to understand why wars dominate our world, and why many of those who call themselves by Jesus Christ's name find themselves pitted in support of wars against other races. It is undeniable that our current wars are directed at Islamic populations. We focus on one bible that is used every day as a war enabler. This is a re-written and abbreviated version of our more far reaching 2006 series, The Sheep and the Goats Parts 1 2, which are drawn from a study of book of Matthew, chapter 25. Your author is responding to requests that we more clearly prove and document the essence of popular biblical distortion about Heaven and Hell in the book of Matthew. Chapters 24-25, which evangelical believe to contain Jesus' words, are intentionally distorted by these same persons, both in the text and footnotes to the text in most popular bible study versions. Self professed CHRISTIAN-ZIONISTS at the pulpit of mega-churches are left with an untenable problem. It is impossible for them to tell the truth about what certain New Testament Bible passages say, or even to read them, without contradicting their own support for wars and for the constantly warring state of Israel. Evangelical teaching and preaching often directly contradict that which Jesus taught about love and peace, and more surprisingly, celebrity Christian statements often directly conflict with Jesus' statements about Heaven and Hell. Church economics may be a factor in scriptural compromise. Opposition to war is less popular than ignoring or accepting it. Celebrity Christian leaders may feel financial pressure to warp the New Testament into a wide and easy path interpretation, which they say points, not to Heaven and Hell, but to a second coming. Simply stated, pastors have learned they can't fill 10,000 seat arenas by leaning too heavily on sin, repentance and judgment as Jesus portrayed it in this carefully worded chapter. It is just not good for mega-church business. Nor do they want to refute what is public policy at the highest levels. Some pastors no doubt justify compromise to choose the wide path to build their own empires in contrast to what Christ called the narrow path or Strait gate. Our government's public policy includes war, which has also become many churches' policy. Evangelical celebrities generally believe in politically activism, and every politician knows it pays to be born again. Thus an unspoken, unholy alliance has been created between financially successful biblical teachers on one hand, and politically successful politicians and businessmen who thrive on serial wars, on the other. The cost has been untold lives in several unholy wars in the 20 years. But where to the war-accepting pastors find their scriptural support for war? We will examine only once example in a corrupted version of the book of Matthew, in one corrupted bible the Scofield Reference Bible 1967 version. Oh that my adversary would write a book The famous Scofield Reference Bible, perhaps the most powerfully promoted Bible ever written, is the godfather of modern bible distortion, which is now emulating and even exceeding in radicalism by other popular study bibles including the NIV Study Bible and the MacArthur Study Bible. Matthew 25 contains one of the most directly written and clearly self-explained passages on Heaven and Hell, which was once taken at face value in most churches. But the explanation of Matthew 25 we find so simple and straight forward is now rejected in almost every evangelical (Christian Zionist) church. And the Oxford/Scofield re-write is increasingly influential in a growing number of mainline churches where are members attend dispensational bible studies, and while there hours before celebrity-Christian media. Members of most Catholic or mainline protestant church are also deeply influenced by the “end times controversy. Matthew, the first book in the New Testament, contains the most outrageous example of added words that directly contradicts Jesus words. A quote from the
[Wicket-user] Google Web Toolkit
I'm sure by now you've all heard of http://code.google.com/webtoolkit/ I was wondering if this would help with any back button issues in Wicket? http://code.google.com/webtoolkit/documentation/com.google.gwt.user.client.History.html I have no decent background in AJAX so I don't know how this framework compares to others which are already around. If this is any good, you might consider some sort of Wicket integration for it as well. Gili signature.asc Description: OpenPGP digital signature
[Wicket-user] HibernateDatabaseObject null patch
Just curious: Long already supports null, why add this -1 hack? Gili [EMAIL PROTECTED] wrote: Revision: 698 Author: jonathanlocke Date: 2006-05-01 13:49:22 -0700 (Mon, 01 May 2006) ViewCVS: http://svn.sourceforge.net/wicket-stuff/?rev=698view=rev Log Message: --- Fixed setId so that -1 is a special indicator of null id. Modified Paths: -- trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java Modified: trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java === --- trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java 2006-05-01 19:47:06 UTC (rev 697) +++ trunk/wicket-contrib-database/src/java/wicket/contrib/database/hibernate/HibernateDatabaseObject.java 2006-05-01 20:49:22 UTC (rev 698) @@ -59,7 +59,14 @@ */ public final void setId(Long id) { - this.id = id; + if (id.longValue() == -1) + { + this.id = null; + } + else + { + this.id = id; + } } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-autocvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/wicket-autocvs signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Links to images and .css
What does it mean to namespace it in the context of Wicket? Gili Igor Vaynberg wrote: there is already a plan to namespace that directory for v2, or so i thought. -Igor On 4/27/06, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Personally, I dislike how Wicket prevents the use of reserved paths such as /resources. There should be a better way, somehow. Why not let users bind whatever resources they want to /resources and if Wicket (or another user-call) tries binding to that same path you throw an exception? It would be up to the user to ensure he doesn't produce conflicts (which I think are extremely rare in the first place). Anyway, just food for thought. Gili Eelco Hillenius wrote: I'm afraid /resources/ is a reserved path with Wicket. I guess it's not the best name we choose, as it's kind of an obvious path to use for people. Maybe we should use another path, like '/wicket-shared-resources/' or something. Eelco On 4/27/06, Rui Pacheco [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: My problem is, the images and css files can't be found by the html pages. I am calling them as if I was using a static page: link href=universal.css rel=stylesheet type=text/css Images follow a similar pattern. On 4/27/06, Igor Vaynberg [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: how are you referring to those files inside your css? -Igor On 4/27/06, Rui Pacheco [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all. My application, as with all applications, uses stylesheets and images. Those files are stored under $TOMCAT_HOME/webapps/my_app/resources, but when I launch my wicket application I see an error on my logs saying that the file can't be found, even though I can see it on the filesystem. How can I make my files appear on the application? -- Cumprimentos, Rui Pacheco -- Cumprimentos, Rui Pacheco --- 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=kkid0709bid3057dat1642 http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
[Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()
I vote in favor of renaming setUseOptimizedItemRemoval() to setReuseItems() because I feel it is more descriptive of what it actually does. What do the rest of you think? Thanks, Gili signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] WebPage generated script problem
They basically push for people to use application/xhtml+xml, which I believe all browsers support -- except Internet Explorer ;) So we're back to using text/html. They seem to imply that when you migrate your code from text/html to application/xhtml+xml stuff will break because your old code wasn't really XHTML but the browser was more relaxed because your choice of doctype... I personally think this is much ado about nothing. I've used text/html for a long time and the CDATA thing below and to date I haven't run into any problems. And if I do in the future, I'll just fix it ;) Gili Eelco Hillenius wrote: Maybe I misread, but it looks like you have to follow a different path according to the doctype statement? Eelco On 4/18/06, cowwoc [EMAIL PROTECTED] wrote: Reference: http://hixie.ch/advocacy/xhtml So... !--/*--![CDATA[/*!--*/ blah /*--]]*/ Gili Eelco Hillenius wrote: So, Index: /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java === --- /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java (revision 5459) +++ /Users/eelcohillenius/Documents/workspace/wicket/src/java/wicket/util/string/JavascriptUtils.java (working copy) @@ -28,10 +28,10 @@ public class JavascriptUtils { /** Script open tag */ - public final static String SCRIPT_OPEN_TAG = script type=\text/javascript\; + public final static String SCRIPT_OPEN_TAG = script type=\text/javascript\![CDATA[; /** Script close tag */ - public final static String SCRIPT_CLOSE_TAG = /script; + public final static String SCRIPT_CLOSE_TAG = ]]/script; /** The response object */ private Response response; Should fix that. Before comitting something like that, I'd like to make sure that won't introduce additional problems though. Eelco On 4/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Also, will this give trouble for pages that are not explicitly XHTML complient? Eelco On 4/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Without the // I think? So instead of //![CDATA[ function isXhtmlFriendly() { alert('Yes, I am XHTML friendly'); alert('quotes , less than , and ampersand used in this javascript code do not yield to XHTML validation error'); } //]] it's ![CDATA[ function isXhtmlFriendly() { alert('Yes, I am XHTML friendly'); alert('quotes , less than , and ampersand used in this javascript code do not yield to XHTML validation error'); } ]] Or did you have a special reason to include those slashes? Eelco On 4/18/06, nato [EMAIL PROTECTED] wrote: May I suggest that you inlude ![CDATA[ ... ]] inside the script element. For example, script type=text/javascript //![CDATA[ function isXhtmlFriendly() { alert('Yes, I am XHTML friendly'); alert('quotes , less than , and ampersand used in this javascript code do not yield to XHTML validation error'); } //]] /script The opening and closing CDATA inside the script tag do not affect the javascript code because it is javascript-commented. It is a w3c recommendation that we enclose the javascript code inside CDATA if the document type is xhtml. Please see http://www.w3.org/TR/xhtml1/#h-4.8 I really need to make all my html pages to be valid XHTML because my moron boss requires it. It will be an advance christmas gift for me if this issue be fixed in Wicket-1.2final. Thanks to all. On 4/17/06, Johan Compagner [EMAIL PROTECTED] wrote: we should add it everywhere: http://www.w3schools.com/tags/tag_script.asp it is a required tag. And language is depricated and shouldn't be used. johan On 4/17/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: Searching through the code there are quite some locations where we just do script Juergen On 4/17/06, Mark Derricutt [EMAIL PROTECTED] wrote: language=text/javascript I hope thats just a major typo from type=text/javascript ? On 4/17/06, Johan Compagner [EMAIL PROTECTED] wrote: that can't be done. Because if i do this: script language= text/javascript var pagemapcookie = getWicketCookie('pagemap-null'); if(!pagemapcookie pagemapcookie != '1'){setWicketCookie('pagemap-null',1);} else { document.location.href = '/wicket/niceurl/the/homepage/path/wicket:pageMapName/wicket-0';} /script then the script is not executed. That can only be used for including a script file. johan --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
Re: [Wicket-user] WebPage generated script problem
Like I said, I've never had any problems with text/html with the CDATA blocks I mentioned. Gili Eelco Hillenius wrote: On 4/18/06, cowwoc [EMAIL PROTECTED] wrote: I personally think this is much ado about nothing. I've used text/html for a long time and the CDATA thing below and to date I haven't run into any problems. And if I do in the future, I'll just fix it ;) Gili Unfortunately, we have to find something that always works, as we're developing a framework rather than one application. Eelco --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Re: zero session state/stateless pages
It's taking the original workaround idea and moving it further along. I think it's a good idea. But we need to find out the impact of a page's outgoing links being reduced and pointing to the same # url. Will it decrease the PageRank? There are pseudo calculations out there that tell you approximately how your PageRank will be affected by the number of incoming and outgoing links. Gili Igor Vaynberg wrote: i had an idea last night that might make this less painful. what if we have a spider toggle on request cycle? we toggle it on if we know its the spider performing the request. with the spider mode on urlFor calls for non-bookmarkable pages will return # and bookmarkable urls will not be rewritten. this will basically only make bookmarkable urls visible to the spider and since it doesnt need a session to crawl bookmarkable urls its ok if jsessionid is not appended. feedback? -Igor On 4/12/06, *Johan Compagner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: defering the creation of the session and the whole google crawler thing are 2 seperate issues for me. Because a bookmarkable url could be a non stateless page anyway because of a form or link on it. And then you do have the session. And urls with jsessionid will be generated after that for every page, bookmarkable mountable or whatever, that is hit after that. johan On 4/12/06, *Michael Day* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Apr 11, 2006, at 6:40 PM, Nathan Hamblen wrote: It looks like Wicket is doing all the right things. I don't think it should try too hard to avoid generating a session for bookmarkable links cause the googlebot could always find those same links after it has created a session elsewhere, muddying things just as much. Not really - the correct action would be to use a robots.txt to prevent the spider from going to pages which require a session in the first place. Instead, search conscious sites (and what big site isn't?) should just disable url rewriting in a WebRequest subclass. Users without cookies, and Google, will still be able to browse the non-interactive parts of the site through bookmarkable urls. You'd have to hack essential (search) forms, but that's no harder than doing the same form in a caveman framework. Then you'd customize the session expired page to explain that cookies are required for interactivity. Okay, but I don't think you should require cookies just because you want to be search-engine friendly. URL rewriting is a great and useful feature. I don't see why we should give it up if we don't have to. The question is really whether it is *possible* for wicket to defer creating a session. If it is possible, then let's defer it. If not, then we have no choice but to use workarounds like this. But let's be realistic - these *are* workarounds. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Re: zero session state/stateless pages
Wicket has to take *some* responsibility for this mess. Other web frameworks are not nearly as Session-dependent as Wicket, so it makes more sense for it to handle this automatically if possible. Gili Nathan Hamblen wrote: Right, manually. I think the only problem here is that Wicket does so many things automatically that people are expecting it to manage search crawlers too. One day, it will. signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Re: zero session state/stateless pages
Off the top of my head, because you are likely using an older version of Wicket where we did not encode the URL. I believe that was a bug ;) The most current version always encodes the URL. Remember, if you do not encode the URL, you risk losing the session without warning. Gili Michael Day wrote: Wicket is not adding jsessionid to my URLs. I have a simple page called Home that contains a BookmarkablePageLink to Page2, but the URL for Page2 does not get jsessionid appended to the URL on the first hit, even with cookies disabled. Why is this? Michael Day On Apr 11, 2006, at 5:11 PM, Johan Compagner wrote: but it is up to wicket. We do call response.encodeUrl if we don't do that then jsessionid is not inserted into the url. But if we don't do that then sessions could be lost when a browser has cookies disabled.. johan On 4/11/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Michael Day wrote: If not, then wicket cannot be used for public web sites (news, online store, etc) that need to be indexed in today's search engines. Johan Compagner wrote: If you want a really stateless page/site. Then everything must be bookmarkable/mountable links..and you can't use our form components [...] Yes. Ample bookmarkable links are all you need for good indexing. Try googling British Lemon Meringue Pie and see that the second result is in fact a Wicket demo application. I wouldn't worry about forms too much since Google doesn't follow them anyway. As long as you can get to the content through bookmarkable links, it will be indexed. The fact that a session always exists is irrelevant and entirely normal. (Even ASP 3.0 created a session on the very first hit.) My only wish is to get rid of that silly ;jsessionid=66kiemewvs53 but I don't think that's up to Wicket. Nathan --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Re: zero session state/stateless pages
The problem is that: 1) GoogleBot will hit the same page with different JSESSIONID each time. It'll think that these are different pages and lower your page rank because (from its point of view) your website contains different page URLs with the same content (looks like you're trying to trick it). 2) Secondly, since GoogleBot gets a different JSESSIONID each time, when a remote website links to you, it'll give off a different JSESSIONID as well. Which means your overall ranking goes down yet again because instead of 1000s of websites linking to the same URL you get different ones linking to different URLs. I think there are other problems too but I forget off the top of my head. You can't just get rid of JSESSIONID because browsers with cookie support disabled will not be able to retain a session across multiple pages. One possible solution we are looking into is dropping JSESSIONID if GoogleBot is detected so only the crawler will keep on losing the session, not normal users. As far as I can tell, Google warns against this approach (showing different pages to users and crawlers) and I am uncertain how reliable it is. Maybe someone else has a better idea? Gili Nathan Hamblen wrote: Michael Day wrote: If not, then wicket cannot be used for public web sites (news, online store, etc) that need to be indexed in today's search engines. Johan Compagner wrote: If you want a really stateless page/site. Then everything must be bookmarkable/mountable links..and you can't use our form components [...] Yes. Ample bookmarkable links are all you need for good indexing. Try googling British Lemon Meringue Pie and see that the second result is in fact a Wicket demo application. I wouldn't worry about forms too much since Google doesn't follow them anyway. As long as you can get to the content through bookmarkable links, it will be indexed. The fact that a session always exists is irrelevant and entirely normal. (Even ASP 3.0 created a session on the very first hit.) My only wish is to get rid of that silly ;jsessionid=66kiemewvs53 but I don't think that's up to Wicket. Nathan --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Re: zero session state/stateless pages
I think you're being overeager here. There is no good reason for disallowing normal users with cookies disabled to not use URL rewriting. Stripping JSESSIONID *only* for crawlers still sounds like the best workaround/hack to me. Gili Nathan Hamblen wrote: cowwoc wrote: 1) GoogleBot will hit the same page with different JSESSIONID each time. It'll think that these are different pages and lower your page rank because (from its point of view) your website contains different page URLs with the same content (looks like you're trying to trick it). I think the bot may be smarter than that, but still.. [...] Maybe someone else has a better idea? It looks like Wicket is doing all the right things. I don't think it should try too hard to avoid generating a session for bookmarkable links cause the googlebot could always find those same links after it has created a session elsewhere, muddying things just as much. Instead, search conscious sites (and what big site isn't?) should just disable url rewriting in a WebRequest subclass. Users without cookies, and Google, will still be able to browse the non-interactive parts of the site through bookmarkable urls. You'd have to hack essential (search) forms, but that's no harder than doing the same form in a caveman framework. Then you'd customize the session expired page to explain that cookies are required for interactivity. That's how pretty much every shopping site, etc works already. Wicket (via J2EE) is just being too nice to cookieless users, and making its nice-to-have sessions conspicuous in the process. Nathan --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] Re: zero session state/stateless pages
Using robots.txt isn't really an option because correctly all Wicket pages require a Session. You are right that all these suggestions are nothing more than workarounds and ideally we should be deferring Session creation inside Wicket... somehow :) Gili Michael Day wrote: On Apr 11, 2006, at 6:40 PM, Nathan Hamblen wrote: It looks like Wicket is doing all the right things. I don't think it should try too hard to avoid generating a session for bookmarkable links cause the googlebot could always find those same links after it has created a session elsewhere, muddying things just as much. Not really - the correct action would be to use a robots.txt to prevent the spider from going to pages which require a session in the first place. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] zero session state/stateless pages
Just to clarify... 1) It makes no sense to expect Googlebot to retain a session (contains PageMap, etc) for stateless pages because multiple bots hit the website at the same time in a non-linear order. If we try to force some sort of linear state on Google it might end up with Page is expired where it does not make sense. 2) Page indexability is *very* important to me, even more important than page expiration and back-button support. Not sure about how it affects other users. If one of the developers could post more technical details behind this problem maybe other users on this list will have some ideas on how to solve it. I'm sure Wicket isn't the first framework to run into this sort of problem, how did others solve it? Gili Michael Day wrote: Hi, We have been discussing this quite a bit on IRC, but I want to bring it to the list for more exposure. As far as I understand, wicket currently has a concept of stateless pages, which are pages that are not stored in the session. Unfortunately, there is no way to avoid session creation on the very first hit. This means that any user hitting your application will be assigned a sessionid. This is very bad because for a couple of reasons: 1. Search engines obviously don't like sessions and they don't support cookies. This prevents your site from being crawled and indexed properly. 2. Performance - creating a session means that it must be serialized in a cluster (even if there is no data?). Why do this when there is no technical justification? With the recent changes regarding PageMaps, is it possible to defer session creation until a user hits a stateful page? If not, then wicket cannot be used for public web sites (news, online store, etc) that need to be indexed in today's search engines. Thanks, Michael Day --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] FrameworkSettings.getVersion() seems to be buggy
If it is internal, why read it from a property file at all? Why isn't this hard-coded into the code? Gili Igor Vaynberg wrote: i dont see a problem with having a wicket-internal.properties. this can be used for all the internal things we use, version now, and maybe some other stuff. this will only be used by wicket so we can be guaranteed no collissions. lets keep wicket.properties for more general things. -Igor On 3/30/06, *Martijn Dashorst* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: So how do we process the wicket.properties files for getting the initializers? That does work for the initializers for all the new jar file, why not for wicket.version? Martijn On 3/30/06, *Johan Compagner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: yes exactly like igors says,. Because we are looking up for a wicket properties file (and only one) which one does it return?? It could be the one from the extentions or the one users do provide. We don't have control of that. We need one single unique properties file for that. Else we can't load it and be sure we have the right one just like jan was saying. I already mentioned this before in an email but i think i send it to maurice by mistake. johan On 3/30/06, * Igor Vaynberg* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: but the problem with wicket.properties is that it is also used by our users! what we need is a unique property file that our users wont have in their classpath - so that we can be sure we are reading the proper one. call it wicket-internal.properties or some such. -Igor On 3/30/06, *Martijn Dashorst* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: So you propose that for every property we want to put into Wicket we should add a new property file? wicket.properties is already there. Why introduce another file? Martijn On 3/30/06, *Johan Compagner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: yes i think i already did mention that before it should be looking for an unique text file. like wicket-version.properties. Can maven generate that file martijn? So that we look for this? johan On 3/30/06, *jan_bar* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I tried FrameworkSettings.getVersion(), but it seems to read wicket.properties of my application instead from wicketXX.jar. Does it work for you? Thanks, Jan --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket 1.2 is coming! Write Ajax applications without touching JavaScript! -- http://wicketframework.org -- Wicket 1.2 is coming! Write Ajax applications without touching JavaScript! -- http://wicketframework.org signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] FrameworkSettings.getVersion() seems to be buggy
+1 Gili Gwyn Evans wrote: I thought we were going to be reading this from the MANIFEST.MF in the wicket jar? /Gwyn On 30/03/06, cowwoc [EMAIL PROTECTED] wrote: If it is internal, why read it from a property file at all? Why isn't this hard-coded into the code? Gili --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user signature.asc Description: OpenPGP digital signature
[Wicket-user] wicket-xhtml1-strict.dtd
Hi, Is this file (included in the root directory in SVN) functional or is it a work in progress? Is there a reason none of the example code seems to use it? Thanks, Gili signature.asc Description: OpenPGP digital signature
Re: [Wicket-user] users: your opinions please!
but isn't the point of info()/error() that the feedback goes into the webpage in response to user input? So if he puts in invalid data, you info(Password must be longer than 6 characters) for example... Gili David Leangen wrote: I generally use commons logging. I understand that some of the logging levels are not used so much, but you don't think that just sticking with a known interface (used in many other projects) is a good thing? Some people may prefer to use a third party logging service, no? Maybe I'm missing something from the early discussions... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eelco Hillenius Sent: 26 March 2006 09:36 To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] users: your opinions please! (was: feedback messages) Hey Wicket users, please tell us whether or not you are using those different levels. We are about to remove them for a next version, so *if* you feel attached to them, you should shout out now before it is too late. Eelco On 3/25/06, Martijn Dashorst [EMAIL PROTECTED] wrote: You are right about the fatal and debug messages. And somehow I'd rather rename the info/error/warn messages to something else, as they confuse the hell out of me with commons-logging. Martijn On 3/25/06, Igor Vaynberg [EMAIL PROTECTED] wrote: ok i can see warn being useful, but what about fatal and debug? isnt that what the log is for? we have 5 methods info/warn/error/debug/fatal, now i also have to add all five of these to the Session. i think this is a bit much but i guess i have no choice? i think for now i will add info/warn/error only. -Igor On 3/25/06, Martijn Dashorst [EMAIL PROTECTED] wrote: We are using them I think. I hate to see them removed. info(Person has been saved); warn(Make sure you check the balance before ...); error(Can't find a identifying number for this person); Martijn On 3/24/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Or, in other words, who think all the other levels of feedbackmessages should go as they are useless/ result in API bloat? :) Eelco On 3/23/06, Igor Vaynberg [EMAIL PROTECTED] wrote: just out of curioisity, is anyone out there using feedback methods other then info/error ? -Igor --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Cast your final vote for Wicket in the SourceForge.net 2006 Community Choice Awards! http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php -- Cast your final vote for Wicket in the SourceForge.net 2006 Community Choice Awards! http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user