Re: [OT] wicket users around the world
i'm thai in chiangmai , thailand. I working with wicket since october. i newbie. Wicket make my project more productive. My teams are happy for use it. francisco treacy-2 wrote: > > to know a little bit more of our great (and vast) community, i was > just wondering if you're keen on sharing where you come from and/or > where you work with wicket... > > for instance, here argentinian/belgian working with wicket in antibes, > france > > francisco > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/-OT--wicket-users-around-the-world-tp20962108p20998019.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Ajax Validation of TextField yields Duplicate Messages
Hi, I am trying to validate a TextField via Ajax during the onchange event. I use a custom behavior (ValidationBehavior) to display a custom styled error whenever the validation fails. What I am noticing is that the error message that was displayed from a previous Ajax validation does not get wiped out and instead the new message tags on to the previous one while displaying on the browser. Can anybody tell me what am I doing wrong here? I am using Wicket 1.4 RC1. final RequiredTextField state = new RequiredTextField("address.state"); state.add(new StateValidator()); state.add(new ValidationBehavior()); state.setOutputMarkupId(true); state.add(new AjaxFormComponentUpdatingBehavior("onchange") { private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { //NO OP } @Override protected void onError(final AjaxRequestTarget target, RuntimeException e) { super.onError(target,e); target.addComponent(state); target.focusComponent(getComponent()); } }); form.add(state); Thanks Murali -- View this message in context: http://www.nabble.com/Ajax-Validation-of-TextField-yields-Duplicate-Messages-tp20997678p20997678.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
CSS urls
Hi! What is the better way to handle CSS urls [background: url(...)], inside HTML
wickethub.org
i came up with an idea during the last weeks, having some trouble finding wicket resources. although we have wicketstuff (which is great, and even more now with jeremy's awesome job of reorganizing it) i feel there are still lots of components, plugins or tools that are lost in cyberspace. thought it would be neat to keep a sort of "registry" with useful information for wicket developers. so i decided to quickly put some bits together from an old project and rebaptised it as "the wicket hub" - a simple prototype @ http://wickethub.org. it's meant to be flexible, so except for the title there are no required fields when you add/edit a "module". there are already some examples. let me know what you think about features, its relation with wicketstuff and if it's usable, etc. or even if the whole thing makes no sense - any suggestions appreciated. francisco ps: goes without saying, but [disclaimer: it's completely experimental] and be aware the place it's hosted is more like a shoebox than a server :) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to donate to Wicket Project
Thank you..I think the book is the way to go. I will probably buy it for all all the java developers in my office Maybe i should order like 10 copies Hmm..sounds good thanks On Sat, Dec 13, 2008 at 2:16 PM, James Carman wrote: > Of course, the ASF would always love donations: > > http://www.apache.org/foundation/contributing.html > > Also, you can buy from the Wicket store and part of the proceeds will > help the ASF (I believe that's how it's set up): > > http://www.cafepress.com/apachewicket > > The coffee mug is very nice and I also have the golf shirt! Wish I > had a chance to play golf. > > On Sat, Dec 13, 2008 at 8:23 AM, Bruno Borges > wrote: > > I don't think the project would accept money that way. If you really > wanna > > do that, just buy the book Wicket in Action and Eelco and Martijn will be > > more than happy. =D > > > > But, the best way to really contribute to the project is > > - submitting bugs > > - fixing them > > - helping writing documentation > > - spreading the word (blogging) > > > > =) Good luck with that! And thanks for showing us your willing to > > contribute. > > > > Best regards, > > Bruno Borges > > blog.brunoborges.com.br > > +55 21 76727099 > > > > "The glory of great men should always be > > measured by the means they have used to > > acquire it." > > - Francois de La Rochefoucauld > > > > > > On Sat, Dec 13, 2008 at 8:14 AM, Ayodeji Aladejebi >wrote: > > > >> Hi, > >> I am really grateful for the Wicket Project and really feel like buying > >> beer > >> for the wicket team but when i checked sponsorship under the Wicket > Site, > >> > >> it saw too much information except paying methods > >> > >> I don't use PayPal as I am not transferring money from US or europe, i > >> rather require an international Wire transfer account. > >> > >> Thank you for the Wicket Project > >> > >> > >> -- > >> Aladejebi Ayodeji A., > >> DabarObjects Solutions > >> Phone: +234 9 481 7 156 > >> Mobile: +234 803 589 1780 > >> Email: d...@dabarobjects.com > >> Web: www.dabarobjects.com > >> Blog: blog.dabarobjects.com > >> > >> Participate, Collaborate, Innovate > >> Join Community: > >> http://www.cowblock.net/ > >> > >> Get A Free Blog: > >> http://blogs.cowblock.net/ > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: +234 9 481 7 156 Mobile: +234 803 589 1780 Email: d...@dabarobjects.com Web: www.dabarobjects.com Blog: blog.dabarobjects.com Participate, Collaborate, Innovate Join Community: http://www.cowblock.net/ Get A Free Blog: http://blogs.cowblock.net/
Re: Asynchron push/update/redirect
Yeah, I've been thinking about that issue a little. There are a couple of ways to deal with this: I was undecided between these 2 approaches: 1. Put the WicketSessionFilter in your cometd servlet http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/index.html 2. Extend the Cometd listeners to retain wicket information check out: org.wicketstuff.push.cometd.WicketRemoveListener I think, in your case you should choose the WicketSessionFilter. On Wed, Dec 10, 2008 at 3:15 PM, alexander.elsholz < alexander.elsh...@widas.de> wrote: > > hi, > > thanks, it works fine for model-changes, so that components could read > actual data. > > the open one is to switch the page by the asynchron server-push. there is > no > Requestcycle in the my asynchron event (its null). > > to deal with this problem i tried to display the user a link, but there is > a > secound problem. when i try to set the link visible true i get this > exception: > > java.lang.IllegalStateException: you can only locate or create sessions in > the context of a request cycle >at org.apache.wicket.Session.findOrCreate(Session.java:206) > > could you help me again? > > > thanks alex > > > > Michael Sparer wrote: > > > > take a look at wicketstuff-push or wicketstuff-dojo-1.1. (which also > > includes cometd that provides your desired push behaviour) > > > > regards, > > Michael > > > > > > alexander.elsholz wrote: > >> > >> Hi, > >> > >> i need a possibility to refresh parts of view, when data on the server > >> changed. there is no "synchron" ajax-event, where i can use the > >> requesttarget, because i use a thread to ask an other service for the > >> result. > >> > >> actually i use the ajaxSelfUpdateBehavior, but i think its too much > >> traffic. > >> > >> also i want to switch the side in a asynchron event. when the event is > >> occured i want to redirect the user to previews page. here i can also > use > >> a modal window, which displays two buttons (yes i want and no, i won't) > >> > >> thanks alex > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Asynchron-push-update-redirect-tp20934629p20942140.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: How to donate to Wicket Project
Of course, the ASF would always love donations: http://www.apache.org/foundation/contributing.html Also, you can buy from the Wicket store and part of the proceeds will help the ASF (I believe that's how it's set up): http://www.cafepress.com/apachewicket The coffee mug is very nice and I also have the golf shirt! Wish I had a chance to play golf. On Sat, Dec 13, 2008 at 8:23 AM, Bruno Borges wrote: > I don't think the project would accept money that way. If you really wanna > do that, just buy the book Wicket in Action and Eelco and Martijn will be > more than happy. =D > > But, the best way to really contribute to the project is > - submitting bugs > - fixing them > - helping writing documentation > - spreading the word (blogging) > > =) Good luck with that! And thanks for showing us your willing to > contribute. > > Best regards, > Bruno Borges > blog.brunoborges.com.br > +55 21 76727099 > > "The glory of great men should always be > measured by the means they have used to > acquire it." > - Francois de La Rochefoucauld > > > On Sat, Dec 13, 2008 at 8:14 AM, Ayodeji Aladejebi wrote: > >> Hi, >> I am really grateful for the Wicket Project and really feel like buying >> beer >> for the wicket team but when i checked sponsorship under the Wicket Site, >> >> it saw too much information except paying methods >> >> I don't use PayPal as I am not transferring money from US or europe, i >> rather require an international Wire transfer account. >> >> Thank you for the Wicket Project >> >> >> -- >> Aladejebi Ayodeji A., >> DabarObjects Solutions >> Phone: +234 9 481 7 156 >> Mobile: +234 803 589 1780 >> Email: d...@dabarobjects.com >> Web: www.dabarobjects.com >> Blog: blog.dabarobjects.com >> >> Participate, Collaborate, Innovate >> Join Community: >> http://www.cowblock.net/ >> >> Get A Free Blog: >> http://blogs.cowblock.net/ >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Stateless form action in Wicket
See http://en.wikipedia.org/wiki/Post/Redirect/Get jk On Fri, Dec 12, 2008 at 07:25:19PM -0800, Vinayak Borkar wrote: > Hello, > > I am creating a page (say Page A) that contains a stateless form. The > stateless form's action leads to page B. > > I observe that in Wicket, the form action is created so that the request > is sent back to Page A (An instance of Page A is created when the form > is submitted) and then it redirects to Page B. Is that correct ? > > If so, what is the reason for that? > > How do I get Wicket to create the form so that the action goes directly > to Page B. i.e. Page A is NOT instantiated on the submission of the form. > > Thanks, > Vinayak > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [OT] wicket users around the world
Lagos, Nigeria On Thu, Dec 11, 2008 at 7:57 PM, francisco treacy < francisco.tre...@gmail.com> wrote: > to know a little bit more of our great (and vast) community, i was > just wondering if you're keen on sharing where you come from and/or > where you work with wicket... > > for instance, here argentinian/belgian working with wicket in antibes, > france > > francisco > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: How to donate to Wicket Project
I don't think the project would accept money that way. If you really wanna do that, just buy the book Wicket in Action and Eelco and Martijn will be more than happy. =D But, the best way to really contribute to the project is - submitting bugs - fixing them - helping writing documentation - spreading the word (blogging) =) Good luck with that! And thanks for showing us your willing to contribute. Best regards, Bruno Borges blog.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld On Sat, Dec 13, 2008 at 8:14 AM, Ayodeji Aladejebi wrote: > Hi, > I am really grateful for the Wicket Project and really feel like buying > beer > for the wicket team but when i checked sponsorship under the Wicket Site, > > it saw too much information except paying methods > > I don't use PayPal as I am not transferring money from US or europe, i > rather require an international Wire transfer account. > > Thank you for the Wicket Project > > > -- > Aladejebi Ayodeji A., > DabarObjects Solutions > Phone: +234 9 481 7 156 > Mobile: +234 803 589 1780 > Email: d...@dabarobjects.com > Web: www.dabarobjects.com > Blog: blog.dabarobjects.com > > Participate, Collaborate, Innovate > Join Community: > http://www.cowblock.net/ > > Get A Free Blog: > http://blogs.cowblock.net/ >
How to donate to Wicket Project
Hi, I am really grateful for the Wicket Project and really feel like buying beer for the wicket team but when i checked sponsorship under the Wicket Site, it saw too much information except paying methods I don't use PayPal as I am not transferring money from US or europe, i rather require an international Wire transfer account. Thank you for the Wicket Project -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: +234 9 481 7 156 Mobile: +234 803 589 1780 Email: d...@dabarobjects.com Web: www.dabarobjects.com Blog: blog.dabarobjects.com Participate, Collaborate, Innovate Join Community: http://www.cowblock.net/ Get A Free Blog: http://blogs.cowblock.net/
Re: About CodingStrategies for Database IDs
Daring to go even further, I think it's quite paranoid to obfuscate database ids. The danger of database ids in urls is not that people know about it but they can fake them by altering the url. So the solution is not some snakeoil-like encryption of the id but proper and thorough checking of the id coming from the url before further processing Just my 2% Am 13.12.2008 um 11:31 schrieb Ayodeji Aladejebi: Michael Sparer blogged at http://talk-on-tech.blogspot.com/2008/12/wicket-neat-url-encoding-strategy-and.html and discussed certain approach for encoding and decoding IDs in parameters. The general use of encoding strategies I understand but I really wanted to understand why the complexity of using CodingStrategies especially for encoding database IDs. Why is this simply a problem: PageParameter param = new Long dataId = new Long(23); param.put("dataId", encodeAsString(23)); setResponsePage(...); then when you are parsing the Parameters, you simple say Long dataId = decodeToLong(param.get("dataId")); the bookmarkable page param will still show as in browser as ?dataId=ajdladjasdsdkklsadkals& as yu want it and your encodeAsString and decodeToLong could be in a static class or a super Panel or Page? Please dont mind me, I am not a fan of complexity -- Aladejebi Ayodeji A., DabarObjects Solutions - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
About CodingStrategies for Database IDs
Michael Sparer blogged at http://talk-on-tech.blogspot.com/2008/12/wicket-neat-url-encoding-strategy-and.html and discussed certain approach for encoding and decoding IDs in parameters. The general use of encoding strategies I understand but I really wanted to understand why the complexity of using CodingStrategies especially for encoding database IDs. Why is this simply a problem: PageParameter param = new Long dataId = new Long(23); param.put("dataId", encodeAsString(23)); setResponsePage(...); then when you are parsing the Parameters, you simple say Long dataId = decodeToLong(param.get("dataId")); the bookmarkable page param will still show as in browser as ?dataId=ajdladjasdsdkklsadkals& as yu want it and your encodeAsString and decodeToLong could be in a static class or a super Panel or Page? Please dont mind me, I am not a fan of complexity -- Aladejebi Ayodeji A., DabarObjects Solutions