Re: [Wicket-user] Setting html-tags properties
Wauw! Can also do that with more properties? Something like input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key,type=key2/ ? Erik. Igor Vaynberg wrote: input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key/ make sure you have WicketMessageTagHandler added to markupparser. -igor -- Erik van Oosten http://www.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
Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods
Just making sure it didn't get lost in some sourceforge tracker. Thx for submitting! Martijn On 1/18/07, beboris [EMAIL PROTECTED] wrote: Yes, it is. I am sorry. I guess I confused some transaction ID with an issue ID... Eelco Hillenius wrote: It's this http://issues.apache.org/jira/browse/WICKET-220 Eelco On 1/18/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Where did you create this issue? in Jira at apache? The issue id doesn't seem to fit the profile. For the core projects (found at the download site at http://sf.net/projects/wicket) we exclusively use JIRA at apache. Martijn On 1/18/07, beboris [EMAIL PROTECTED] wrote: Done (issue ID=12360795) Eelco Hillenius wrote: If you could open up a feature request for that Boris, we can put it in the next version. Eelco Also, please let me know what your plans for making method protected are (starting with which version)... - 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/Impossible-to-customize-multi-part-POST-s-from-Form-s-in-Wicket-due-to-%22final%22-methods-tf3025509.html#a8436538 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 -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Impossible-to-customize-multi-part-POST-s-from-Form-s-in-Wicket-due-to-%22final%22-methods-tf3025509.html#a8440976 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 -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
Re: [Wicket-user] Setting html-tags properties
Thanks a lot. - Juha Igor Vaynberg wrote: input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key/ make sure you have WicketMessageTagHandler added to markupparser. -igor On 1/18/07, *Juha Alatalo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Is there any way to set html components property values in html file based on resource file? For example text can be set nicely using wicket:message wicket:message key=hereSomething/. However as far as I know for tag properties input wicket:id=somethingButton type=submit value=hereSomething/ has to be set in code using AttributeModifier. Am I correct or is there some way to do that all in html? - Juha Alatalo - 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 - 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] Race Conditions and Detachable Models
And the locking on session should or can be removed i guess. Because it is not really used anymore.. Because the lock for the component hierarchy is done on the pagemap level when the page is get from the session. But i can't completely see what happens if we really remove it But if we move Session.attach/detach to a guarded block or sync block. Then it has to be drilled down so it will be called much much later.. And then still we don't know it for sure because SharedResources and so on don't do a lock anyway. So i think we just have to tell people: Session is not thread save. johan On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: this is sort of a gray area just because we havent come up with a formal contract. usually during processing of a request the session is used as the lock object to sync threads, so during those times the session and page are threadsafe (thats why you dont need to worry about syncs in your component hierarchy) however, there are exceptions, for example shared resource requests do not lock the session also session.attach/detach is called before the session is locked so these methods are not threadsafe - thus your problem we need to decide what we want the behavior to be, lets discuss -igor On 1/18/07, Ryan [EMAIL PROTECTED] wrote: I don't want to alarm anyone in that I have not seen this in the wild however I came across a problem in my code recently that got me thinking about race conditions and detachable models. I had a detachable model that I was storing in my session object and decided that Session.detach () and Session.attach() should go ahead and pass the message on to its child detachable models (later I have realized this is probably not a good idea). The behavior i was seeing was that when two requests for the same session were made in rapid succession I would get a null pointer exception. It appeared that thread2 attached the module, thread1 detached the model, and then thread2 continued with a detached model. Could something similar to this happen with a model that is stored in the page map? What if a user clicked on a stateful link twice quickly? Does wicket protect against this potential issue? Ryan - 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
[Wicket-user] Customizing StringValidator
I have been having problems customizing my StringValidator message from Wickets defaults: 'mysecretpass' must be between 6 and 9 chars. this is not working: passwordForm.newPassword.StringValidator.minimum=Passwords must be greater than 6 Characters passwordForm.newPassword.StringValidator.maximum=Passwords must be less than 10 Characters every other validator works but these any tips thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Custom Databinder Login html
In databinder-1.0.jar ,How to Customer DataRegisterPanel.html ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket visual designer
Is there any project about a Wicket Visual Designer? I think it would be a huge help for Wicket developers. Paolo - 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 visual designer
at least something that can help to quickly mock up pages and components wont be bad. Hopefully IDEs communities like netbeans and Eclipse can see the beauty of the framework and support this visual designer project. JSP visual designer for netbeans is great example, since its now open source, something like dat could be used someday to create something wonderful for wicket. drag drop textfield, drag drop label, set properties, drag drop data grids, Listviews components in the palettes...wonderful but since I know this is a dream that wont be fulfilled too soon. I am sure the wicket developers are working hard to ensure the framework really matures. maybe by the time we have Wicket 4.x, we would start seeing this. I have grown to be so used to NB and DW, infact my NB is full of wicket templates (sign in templates, register templates, all sorts of form templates) that my speed is significantly increasing in getting a quick start ready but for newbies and more industry adoption, i think wicket needs a visual designer On 1/19/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Is there any project about a Wicket Visual Designer? I think it would be a huge help for Wicket developers. Paolo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Highlighting error components
Hello All, I have the following question: Doing the business validation I need to say that compoents a, b ,c d out of the form that has 10-15 components are invalid and show just 1 error message. In other words I can not use the build in valdiation by itself since all those fields by themselves are fine but their combination is not valid. ANd the business wants to see jsut one error message on top, but have all of the fields that failed validation highlighted. What would you suggest is a best way to approach it. THank you Genandiy - 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] Setting html-tags properties
yes you can :) -igor On 1/19/07, Erik van Oosten [EMAIL PROTECTED] wrote: Wauw! Can also do that with more properties? Something like input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key,type=key2/ ? Erik. Igor Vaynberg wrote: input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key/ make sure you have WicketMessageTagHandler added to markupparser. -igor -- Erik van Oosten http://www.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 - 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] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods
handleMultiPart() has been made protected non-final -igor On 1/19/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Just making sure it didn't get lost in some sourceforge tracker. Thx for submitting! Martijn On 1/18/07, beboris [EMAIL PROTECTED] wrote: Yes, it is. I am sorry. I guess I confused some transaction ID with an issue ID... Eelco Hillenius wrote: It's this http://issues.apache.org/jira/browse/WICKET-220 Eelco On 1/18/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Where did you create this issue? in Jira at apache? The issue id doesn't seem to fit the profile. For the core projects (found at the download site at http://sf.net/projects/wicket) we exclusively use JIRA at apache. Martijn On 1/18/07, beboris [EMAIL PROTECTED] wrote: Done (issue ID=12360795) Eelco Hillenius wrote: If you could open up a feature request for that Boris, we can put it in the next version. Eelco Also, please let me know what your plans for making method protected are (starting with which version)... - 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/Impossible-to-customize-multi-part-POST-s-from-Form-s-in-Wicket-due-to-%22final%22-methods-tf3025509.html#a8436538 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 -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Impossible-to-customize-multi-part-POST-s-from-Form-s-in-Wicket-due-to-%22final%22-methods-tf3025509.html#a8440976 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 -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! http://wicketframework.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
Re: [Wicket-user] Highlighting error components
On Fri, 19 Jan 2007, [EMAIL PROTECTED] wrote: message. In other words I can not use the build in valdiation by itself since all those fields by themselves are fine but their combination is not valid. ANd the business wants to see jsut one error message on top, but have all of the fields that failed validation highlighted. What would you suggest is a best way to approach it. I would look at Form.add(IFormValidator validator). To put a common error message at top, just add a FeedbackPanel that is a direct child of the form. - Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom Databinder Login html
you might want to send this to the databinder mailing list -igor On 1/19/07, la guo [EMAIL PROTECTED] wrote: In databinder-1.0.jar ,How to Customer DataRegisterPanel.html ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Highlighting error components
final Form form...; add(new WebMarkupContainer(form-error) { isvisible() { return form.hasError(); }}); div wicket:id=form-errorForm contains errors/div ^wrap in a panel instead of wmc to make reusable class ErrorHighglither extends AbstractBehavior { private FormComponent fc; public void bind(Component c) { /// check c is formcomponent this.fc=(formcomponent)c; } public void oncomponenttag(tag) { if (!fc.isvalid()) { tag.put(class, error); } } } new TextField(foo).add(new ErrorHighglighter(); } -igor On 1/19/07, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Fri, 19 Jan 2007, [EMAIL PROTECTED] wrote: message. In other words I can not use the build in valdiation by itself since all those fields by themselves are fine but their combination is not valid. ANd the business wants to see jsut one error message on top, but have all of the fields that failed validation highlighted. What would you suggest is a best way to approach it. I would look at Form.add(IFormValidator validator). To put a common error message at top, just add a FeedbackPanel that is a direct child of the form. - Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Race Conditions and Detachable Models
I vaguely remember WebSession#attach was meant for occasions where you run in clustered mode and you want some way to resurrect session variables. I think it has been in Wicket for a very long time. But if no-one is using it we better remove it. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont even understand why we have session.attach(), we dont need it. -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] [AjaxSubmitBehaviour Upload] No Behaviour
hi there, I have got a form with radioChoice (AjaxSubmitBehaviour) and an FileUploadField (alike the wicket-expample) on it. The problem is, that the SubmitBehaviour works without the uploadfield but don´t, when I integrate the upload. Can you give me a hint, if there is s.th. in development, or do I s.th. wrong? Let me know, if you need some code thanx Henning - 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] Race Conditions and Detachable Models
but that can be done lazily! we dont have imodel.attach() -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I vaguely remember WebSession#attach was meant for occasions where you run in clustered mode and you want some way to resurrect session variables. I think it has been in Wicket for a very long time. But if no-one is using it we better remove it. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont even understand why we have session.attach(), we dont need it. -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [AjaxSubmitBehaviour Upload] No Behaviour
afik ajax requests do not support multipart forms -igor On 1/19/07, Henning Bredel [EMAIL PROTECTED] wrote: hi there, I have got a form with radioChoice (AjaxSubmitBehaviour) and an FileUploadField (alike the wicket-expample) on it. The problem is, that the SubmitBehaviour works without the uploadfield but don´t, when I integrate the upload. Can you give me a hint, if there is s.th. in development, or do I s.th. wrong? Let me know, if you need some code thanx Henning - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Race Conditions and Detachable Models
I know, I'm not defending it, just explaining what I think was the original idea behind it a long time ago. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: but that can be done lazily! we dont have imodel.attach() -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I vaguely remember WebSession#attach was meant for occasions where you run in clustered mode and you want some way to resurrect session variables. I think it has been in Wicket for a very long time. But if no-one is using it we better remove it. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont even understand why we have session.attach(), we dont need it. -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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] Race Conditions and Detachable Models
I think session#attach and #detach are some what undesirable for the purpose of clustering since attach and detach are called on every request rather than only on requests that bounce between servers. I would suggest removing it if it does not provide much value for people... Gives less of a chance for a wicket new comer like myself to make a mistake. Ryan On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I know, I'm not defending it, just explaining what I think was the original idea behind it a long time ago. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: but that can be done lazily! we dont have imodel.attach() -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I vaguely remember WebSession#attach was meant for occasions where you run in clustered mode and you want some way to resurrect session variables. I think it has been in Wicket for a very long time. But if no-one is using it we better remove it. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont even understand why we have session.attach(), we dont need it. -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Escaping of HTML by wicket:message - can this be disabled?
Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - 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] Escaping of HTML by wicket:message - can this be disabled?
what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Highlighting error components
The wiki has an example of how to write this kind of validator: http://cwiki.apache.org/WICKET/validating-related-fields.html Timo Rantalaiho wrote: On Fri, 19 Jan 2007, [EMAIL PROTECTED] wrote: message. In other words I can not use the build in valdiation by itself since all those fields by themselves are fine but their combination is not valid. ANd the business wants to see jsut one error message on top, but have all of the fields that failed validation highlighted. What would you suggest is a best way to approach it. I would look at Form.add(IFormValidator validator). To put a common error message at top, just add a FeedbackPanel that is a direct child of the form. - Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - 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/previous-page-tf2213157.html#a8453693 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?
I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?
if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?
Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be globally set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - 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
Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?
i guess maybe we should allow markup in wicket:message since it comes from .property files so no security threat. what do others think? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be globally set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - 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
[Wicket-user] legacy javascript integration
What sort of options are there for embedding simple scalar values into an html page, particularly into the parameters of an existing javascript method? I'm looking for something along the lines of: onclick=oldJavaScript(wicket:scalar wicket:id=foo/); Which is then rendered as onclick=oldJavaScript(1234); Thanks as always, Scott -- Scott Swank reformed mathematician - 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] Bug or not? NPE in wicket.markup.html.form.Check.java Wicket1.2.4
Hi, i have experienced a NullPointerException in Check.java during render of my page. I have a page which has DropDownChoice ( wantOnSelectionChangedNotifications=true) and CheckGroup (contains Check objects). If i change the dropdown, and refreshes the page, then i am getting NullPE as below: Caused by: java.lang.NullPointerException at wicket.markup.html.form.Check.onComponentTag(Check.java:132) at wicket.Component.renderComponent(Component.java:1688) When i looked in source codes: (at line 128: Check.java) if (group.hasRawInput()){ final String[] input = group.getInputAsArray(); for (int i = 0; i input.length; i++) group.getInputAsArray() returns null value, because the page has been refreshed but none of checkboxes are checked. So my suggestion is that just override these 2 methods of FormComponent in CheckGroup as below; /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public String[] getInputAsArray() { String[] values = getRequest().getParameters(getInputName()); if (!isInputNullable()) { if (values != null values.length == 1 values[0] == null) { return EMPTY_STRING_ARRAY; } else if (values == null) { return ZERO_STRING_ARRAY;//new String[0] } } return values; } /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public boolean isInputNullable() { return false; } What do you think? am i right? May i enter a JIRA issue? Regards Kadir - 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] Bug or not? NPE in wicket.markup.html.form.Check.java Wicket1.2.4
https://issues.apache.org/jira/browse/WICKET-223 -igor On 1/19/07, Kadir Sener GUMUS [EMAIL PROTECTED] wrote: Hi, i have experienced a NullPointerException in Check.java during render of my page. I have a page which has DropDownChoice ( wantOnSelectionChangedNotifications=true) and CheckGroup (contains Check objects). If i change the dropdown, and refreshes the page, then i am getting NullPE as below: Caused by: java.lang.NullPointerException at wicket.markup.html.form.Check.onComponentTag(Check.java :132) at wicket.Component.renderComponent(Component.java:1688) When i looked in source codes: (at line 128: Check.java) if (group.hasRawInput()){ final String[] input = group.getInputAsArray (); for (int i = 0; i input.length; i++) group.getInputAsArray() returns null value, because the page has been refreshed but none of checkboxes are checked. So my suggestion is that just override these 2 methods of FormComponent in CheckGroup as below; /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public String[] getInputAsArray() { String[] values = getRequest().getParameters(getInputName()); if (!isInputNullable()) { if (values != null values.length == 1 values[0] == null) { return EMPTY_STRING_ARRAY; } else if (values == null) { return ZERO_STRING_ARRAY;//new String[0] } } return values; } /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public boolean isInputNullable() { return false; } What do you think? am i right? May i enter a JIRA issue? Regards Kadir - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Bug or not? NPE in wicket.markup.html.form.Check.java Wicket1.2.4
Reporter: Alex Burgel Created: Yesterday 12:10 PM Alex is faster than me :) Igor, so there will be any sub-release of 1.2.4 for these kind of fixes contains? or we will wait for 1.3 / 2.0 release? Thanks Kadir On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/WICKET-223 -igor On 1/19/07, Kadir Sener GUMUS [EMAIL PROTECTED] wrote: Hi, i have experienced a NullPointerException in Check.java during render of my page. I have a page which has DropDownChoice ( wantOnSelectionChangedNotifications=true) and CheckGroup (contains Check objects). If i change the dropdown, and refreshes the page, then i am getting NullPE as below: Caused by: java.lang.NullPointerException at wicket.markup.html.form.Check.onComponentTag(Check.java :132) at wicket.Component.renderComponent(Component.java:1688) When i looked in source codes: (at line 128: Check.java) if (group.hasRawInput()){ final String[] input = group.getInputAsArray (); for (int i = 0; i input.length; i++) group.getInputAsArray() returns null value, because the page has been refreshed but none of checkboxes are checked. So my suggestion is that just override these 2 methods of FormComponent in CheckGroup as below; /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public String[] getInputAsArray() { String[] values = getRequest().getParameters(getInputName()); if (!isInputNullable()) { if (values != null values.length == 1 values[0] == null) { return EMPTY_STRING_ARRAY; } else if (values == null) { return ZERO_STRING_ARRAY;//new String[0] } } return values; } /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public boolean isInputNullable() { return false; } What do you think? am i right? May i enter a JIRA issue? Regards Kadir - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?
Yeah. It would probably be a better default. It would be best if you could at least override this default with an attribute on the wicket:message tag, and maybe as a global setting as well. What about wicket:message attributes though (actually, I didn't know they were working yet): those should probably always be escaped? Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i guess maybe we should allow markup in wicket:message since it comes from .property files so no security threat. what do others think? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be globally set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - 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
Re: [Wicket-user] Custom Databinder Login html
http://databinder.net/forum/viewforum.php?f=1sid=d76834571bb3d11284ddd55a03dfe8a4 On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you might want to send this to the databinder mailing list -igor - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Bug or not? NPE in wicket.markup.html.form.Check.java Wicket1.2.4
On 1/19/07, Kadir Sener GUMUS [EMAIL PROTECTED] wrote: Reporter: Alex Burgel Created: Yesterday 12:10 PM Alex is faster than me :) actually if you see closer that issue was a dupe of another :) Igor, so there will be any sub-release of 1.2.4 for these kind of fixes contains? or we will wait for 1.3 / 2.0 release? i dont know, feel free to start a vote on wicket-dev if you want it in 1.2.5 -igor Thanks Kadir On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/WICKET-223 -igor On 1/19/07, Kadir Sener GUMUS [EMAIL PROTECTED] wrote: Hi, i have experienced a NullPointerException in Check.java during render of my page. I have a page which has DropDownChoice ( wantOnSelectionChangedNotifications=true) and CheckGroup (contains Check objects). If i change the dropdown, and refreshes the page, then i am getting NullPE as below: Caused by: java.lang.NullPointerException at wicket.markup.html.form.Check.onComponentTag(Check.java :132) at wicket.Component.renderComponent(Component.java:1688) When i looked in source codes: (at line 128: Check.java) if (group.hasRawInput()){ final String[] input = group.getInputAsArray (); for (int i = 0; i input.length; i++) group.getInputAsArray() returns null value, because the page has been refreshed but none of checkboxes are checked. So my suggestion is that just override these 2 methods of FormComponent in CheckGroup as below; /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public String[] getInputAsArray() { String[] values = getRequest().getParameters(getInputName()); if (!isInputNullable()) { if (values != null values.length == 1 values[0] == null) { return EMPTY_STRING_ARRAY; } else if (values == null) { return ZERO_STRING_ARRAY;//new String[0] } } return values; } /** * OVERRIDEN OF FormComponent! (K.GUMUS/NxmBogazici) */ public boolean isInputNullable() { return false; } What do you think? am i right? May i enter a JIRA issue? Regards Kadir - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?
i dont know if we need yet another setting/attribute lets go the simple route and have them always not escaped first, then if someone wants it thats fine. do we need to have a vote on this? -1 on a setting for sure, if i design a component to work in one setting and you drop it into a project that uses another it will break. so an attribute maybe - upon a request. setting def not. as far as wicket:message property - yes those should always be escaped - there is no reason to embed markup in an attribute afaict -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah. It would probably be a better default. It would be best if you could at least override this default with an attribute on the wicket:message tag, and maybe as a global setting as well. What about wicket:message attributes though (actually, I didn't know they were working yet): those should probably always be escaped? Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i guess maybe we should allow markup in wicket:message since it comes from .property files so no security threat. what do others think? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be globally set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - 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
Re: [Wicket-user] Custom Databinder Login html
You can override DataSignInPage.getRegisterPanel(String id) to return a different panel. But I haven't had time to make those components as customizable as I'd like, so depending on your needs you may need to start with your own sign in page, etc. Feel free to plunder: http://databinder.net/wsvn/Databinder/databinder/r1.0/src/main/java/net/databinder/auth/components/ And please do register at the Databinder forum, and drop me an email if you do so I don't forget to approve the account. http://databinder.net/forum/ Nathan la guo wrote: In databinder-1.0.jar ,How to Customer DataRegisterPanel.html ? - 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] Escaping of HTML by wicket:message - can this be disabled?
Ok, I guess just not escaping would be fine is most if not all cases. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont know if we need yet another setting/attribute lets go the simple route and have them always not escaped first, then if someone wants it thats fine. do we need to have a vote on this? -1 on a setting for sure, if i design a component to work in one setting and you drop it into a project that uses another it will break. so an attribute maybe - upon a request. setting def not. as far as wicket:message property - yes those should always be escaped - there is no reason to embed markup in an attribute afaict -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah. It would probably be a better default. It would be best if you could at least override this default with an attribute on the wicket:message tag, and maybe as a global setting as well. What about wicket:message attributes though (actually, I didn't know they were working yet): those should probably always be escaped? Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i guess maybe we should allow markup in wicket:message since it comes from .property files so no security threat. what do others think? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be globally set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key / wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
Re: [Wicket-user] Fwd: FW: UI Framework selection
Scott, you still interested in hiring some wicket expertise? regards Nino winmail.dat- 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] Fwd: FW: UI Framework selection
I'll know in two weeks. Starting Monday we spend two weeks building proof-of-concept apps in Wicket JSF/Facelets. If Wicket comes out on top then I'm pretty confident that the answer is a yes. Cheers, Scott On 1/19/07, Nino Wael [EMAIL PROTECTED] wrote: Scott, you still interested in hiring some wicket expertise? regards Nino - 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 -- Scott Swank reformed mathematician - 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] Jetty Session Issue
I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0:category.editor:table:i:0:sideColumns:0:link::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall; As you can see, the jsessionid is prepended to the URL, which makes it invalid. When I refresh the page, it seems that jsessionid is moved to a cookie and everything works fine. This seems like a Jetty issue (as I've deployed the war into jboss and things seem to work right the first time). Anyone know what causes this and how I can fix this? Aaron - 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] Abort Ajax Operation
Is there any way to timeout if the ajax operation does not respond by a certain time? I've seen in other ajax frameworks where you can submit multiple ajax requests in parallel, but Wicket does not allow me to do such a thing. Matej Knopp wrote: I don't think this is about AJAX. I think the question concerns the session locking. If you make an ajax request and it takes too long, the session is locked and the application seem to be frozen. I don't think there's much I can do about it. -Matej Igor Vaynberg wrote: tbh im not even sure there is a way to abort the request initiated through xmlhttprequest object. matej is better suited to answer this, he has many more js scars then i. -igor On 11/22/06, *Eelco Hillenius* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I don't know if there is anything for that yet. Matej, Igor? If there isn't, you could open a feature request for it. Eelco On 11/21/06, samyem [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: When there is an ajax operation, if the operation takes too long, what would be the best way to abort the operation? The case right now is if there is any long operation as a result of ajax event, the app freezes till the even is over. -- View this message in context: http://www.nabble.com/Abort-Ajax-Operation-tf2681806.html#a7480240 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 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 - 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/Abort-Ajax-Operation-tf2681806.html#a8457424 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Jetty Session Issue
are you using the latest jetty? -igor On 1/19/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0: category.editor:table:i:0:sideColumns:0:link::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall; As you can see, the jsessionid is prepended to the URL, which makes it invalid. When I refresh the page, it seems that jsessionid is moved to a cookie and everything works fine. This seems like a Jetty issue (as I've deployed the war into jboss and things seem to work right the first time). Anyone know what causes this and how I can fix this? Aaron - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Jetty Session Issue
Tried both Jetty 6.1.0 and 6.1.1, which appears to be the latest stable version. Aaron Igor Vaynberg wrote: are you using the latest jetty? -igor On 1/19/07, *Aaron Hiniker* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0:category.editor:table:i:0:sideColumns:0:link::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall; As you can see, the jsessionid is prepended to the URL, which makes it invalid. When I refresh the page, it seems that jsessionid is moved to a cookie and everything works fine. This seems like a Jetty issue (as I've deployed the war into jboss and things seem to work right the first time). Anyone know what causes this and how I can fix this? Aaron - 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 - 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] Jetty Session Issue
strange, i use 6.1.1 and i havent encountered this problem. maybe you should try their mailing list? -igor On 1/19/07, Aaron Hiniker [EMAIL PROTECTED] wrote: Tried both Jetty 6.1.0 and 6.1.1, which appears to be the latest stable version. Aaron Igor Vaynberg wrote: are you using the latest jetty? -igor On 1/19/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0: category.editor:table:i:0:sideColumns:0:link::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall; As you can see, the jsessionid is prepended to the URL, which makes it invalid. When I refresh the page, it seems that jsessionid is moved to a cookie and everything works fine. This seems like a Jetty issue (as I've deployed the war into jboss and things seem to work right the first time). Anyone know what causes this and how I can fix this? Aaron - 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 [EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Jetty Session Issue
That jsessionid looks normal to me actually. Typically it is inserted right after the server path before the query string, but in this case you don't have server path. What happens when you have this? You have stacktraces or javascript errors? Eelco On 1/19/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0:category.editor:table:i:0:sideColumns:0:link::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall; As you can see, the jsessionid is prepended to the URL, which makes it invalid. When I refresh the page, it seems that jsessionid is moved to a cookie and everything works fine. This seems like a Jetty issue (as I've deployed the war into jboss and things seem to work right the first time). Anyone know what causes this and how I can fix this? Aaron - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Jetty Session Issue
i think if you try to encode a relative url jetty should translate it into a full one before inserting ;jsessionid=foo -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: That jsessionid looks normal to me actually. Typically it is inserted right after the server path before the query string, but in this case you don't have server path. What happens when you have this? You have stacktraces or javascript errors? Eelco On 1/19/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0: category.editor:table:i:0:sideColumns:0:link::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall; As you can see, the jsessionid is prepended to the URL, which makes it invalid. When I refresh the page, it seems that jsessionid is moved to a cookie and everything works fine. This seems like a Jetty issue (as I've deployed the war into jboss and things seem to work right the first time). Anyone know what causes this and how I can fix this? Aaron - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to do a table with cell specific background image and image ?
Hi Igor It's now working fine, that's great ! And thanks for the wiki link, it's most instructing. Cheers ZedroS On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 1/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Thanks again Igor ! You're most helpful. However, as a newbe I am, I still don't get it to work (but I try before posting again, I promise!). In fact, the issue now is with the path associated with my images. Indeed, for the cell image, I used : Image test = new Image(image1, new Model(test.png)); then, currently, I do a item.add(test); However, in my WebMarkupContainer, when I do tag.put (background, test2.png); } it gives in the html : td background=test2.png even if this image is in fact in my package next to the html page. image does some stuff behind scenes to build the url for you, you can do the same String test2pngurl=RequestCycle.get().urlFor(new ResourceReference(pageclass, test2.png)) should get you url to test2.png in the same package as page class At the end of the day, I've found that my image from new Image(image1, new Model(test.png)); is written as test_en.png in the html file. But I don't need to localise it neither, so I wonder what is the best way... image is one of those bastardized classes that tries to do too much... i wouldnt mind if we split it into a bunch of subclasses for now just do the same thing as bove - use resourcereference instead of the string new Image(foo, new ResourceReference(pageclass, test.png)); A last question : I don't use a DataView but a RepeatingView. In the end, if it works properly, I would like to have some ajax behavior linked to the images' hover (to render some information on the image displayed on the right corner of the page). Is a DataView better suited for such an use? I don't know exactly, yet, when to use XXView or XXData... I read the Javadoc but I wasn't enlightened. there is a page on the wiki that details the hierarchy and usecases for the repeaters [1] [1] http://cwiki.apache.org/confluence/display/WICKET/Tables+and+Grids -igor Thanks in advance again ! ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to do a table with cell specific background image and image ?
glad to hear it you are welcome -igor On 1/19/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi Igor It's now working fine, that's great ! And thanks for the wiki link, it's most instructing. Cheers ZedroS On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 1/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Thanks again Igor ! You're most helpful. However, as a newbe I am, I still don't get it to work (but I try before posting again, I promise!). In fact, the issue now is with the path associated with my images. Indeed, for the cell image, I used : Image test = new Image(image1, new Model(test.png)); then, currently, I do a item.add(test); However, in my WebMarkupContainer, when I do tag.put (background, test2.png); } it gives in the html : td background=test2.png even if this image is in fact in my package next to the html page. image does some stuff behind scenes to build the url for you, you can do the same String test2pngurl=RequestCycle.get().urlFor(new ResourceReference(pageclass, test2.png)) should get you url to test2.png in the same package as page class At the end of the day, I've found that my image from new Image(image1, new Model(test.png)); is written as test_en.png in the html file. But I don't need to localise it neither, so I wonder what is the best way... image is one of those bastardized classes that tries to do too much... i wouldnt mind if we split it into a bunch of subclasses for now just do the same thing as bove - use resourcereference instead of the string new Image(foo, new ResourceReference(pageclass, test.png)); A last question : I don't use a DataView but a RepeatingView. In the end, if it works properly, I would like to have some ajax behavior linked to the images' hover (to render some information on the image displayed on the right corner of the page). Is a DataView better suited for such an use? I don't know exactly, yet, when to use XXView or XXData... I read the Javadoc but I wasn't enlightened. there is a page on the wiki that details the hierarchy and usecases for the repeaters [1] [1] http://cwiki.apache.org/confluence/display/WICKET/Tables+and+Grids -igor Thanks in advance again ! ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Fwd: FW: UI Framework selection
What, you're deciding between Wicket and JSF and no one has answered your question? Unacceptable! JavaScriptTemplate is good for passing variables into Javascript. You can use a cache buster to make sure it gets loaded each time. So, with that approach you would have a plain onclick=oldJavaScript(foo); in your page template because foo has already been set in the external js template. A quicker and dirtier approach is to use an AttributeModifier for onclick to patch together the full script call during page generation. Using an anonymous subclass model: new AbstractReadOnlyModel() { ... getObject(...) { return oldJavaScript( + foo + );; }} And so on. Nathan What sort of options are there for embedding simple scalar values into an html page, particularly into the parameters of an existing javascript method? I'm looking for something along the lines of: onclick=oldJavaScript(wicket:scalar wicket:id=foo/); Which is then rendered as onclick=oldJavaScript(1234); - 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] Fwd: FW: UI Framework selection
Very kind, thank you. So JavaScriptTemplate defines foo as a document-level object? Nice. Much appreciated. Scott On 1/19/07, Nathan Hamblen [EMAIL PROTECTED] wrote: What, you're deciding between Wicket and JSF and no one has answered your question? Unacceptable! JavaScriptTemplate is good for passing variables into Javascript. You can use a cache buster to make sure it gets loaded each time. So, with that approach you would have a plain onclick=oldJavaScript(foo); in your page template because foo has already been set in the external js template. A quicker and dirtier approach is to use an AttributeModifier for onclick to patch together the full script call during page generation. Using an anonymous subclass model: new AbstractReadOnlyModel() { ... getObject(...) { return oldJavaScript( + foo + );; }} And so on. Nathan What sort of options are there for embedding simple scalar values into an html page, particularly into the parameters of an existing javascript method? I'm looking for something along the lines of: onclick=oldJavaScript(wicket:scalar wicket:id=foo/); Which is then rendered as onclick=oldJavaScript(1234); - 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 -- Scott Swank reformed mathematician - 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] 金丰实业
贵公司负责人(经理/财务)您好: 本公司为税务机关代开发票授权公司.本公司现有全国各 地各种行业固定纳税公司的余额发票.可以优惠对外开具.每月 有一部分增值税电脑发票(7%左右)海关代征(3%)和普通发票收 取税率为0.8-1%,详细税率可根据地区.行业.票额大小商谈! 普通国税发票为商品销售(包含所有行业的商品)。普 通地税发票为建筑、安装、广告、设计、运输、租赁、咨询、 培训、旅游、住宿等其它服务行业 。 本公司与全国各地区各行业的公司有发票业务来往。本 公司只需收到贵公司的开票内容后,便会通过税务机关筛选 出相匹配的行业及适合的公司开具发票。 由于本公司规模宏大、实力雄厚。完全可以依照贵公司的 需求来进行合作!公司本着顾客至上的宗旨,可先开具发票给 贵公司,待上网验证或到税务验证后再付款! 本公司确保所开具之发票为税务机关领取的真票,对于双 方的合作关系绝对保密。公司真诚寻找合作伙伴,若贵公司有 什么需要或有其它疑虑问题。欢迎来电咨询! 此信息长期有效,如须进一步洽商: 代理人:李少明 手 机: 013798523038 邮 箱: [EMAIL PROTECTED] 顺祝商祺! 深圳市金丰实业有限公司 - 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] Escaping of HTML by wicket:message - can this be disabled?
done in branches-1.x and trunk -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Ok, I guess just not escaping would be fine is most if not all cases. Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont know if we need yet another setting/attribute lets go the simple route and have them always not escaped first, then if someone wants it thats fine. do we need to have a vote on this? -1 on a setting for sure, if i design a component to work in one setting and you drop it into a project that uses another it will break. so an attribute maybe - upon a request. setting def not. as far as wicket:message property - yes those should always be escaped - there is no reason to embed markup in an attribute afaict -igor On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah. It would probably be a better default. It would be best if you could at least override this default with an attribute on the wicket:message tag, and maybe as a global setting as well. What about wicket:message attributes though (actually, I didn't know they were working yet): those should probably always be escaped? Eelco On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i guess maybe we should allow markup in wicket:message since it comes from .property files so no security threat. what do others think? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be globally set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through getResourceSettings().addStringResourceLoader Thanks, Peter. On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hellobr/World! But now when using wicket:message key=my.key / wicket appears to be html escaping the value of the localized string retrieved - so in this case I see the br/ rendered on screen where I expected a line break. Is there any way to suppress this or there is no option but to clean up the bundles? Thanks, Peter. - 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