DropDownChoices Removing Choose One after Ajax Call

2011-03-13 Thread tech7
I have a dropdownchoice component on my page and according to some selections on my page, this component is updated by a ajax call. At the beginning it displays the choices without showing Choose One but after ajax call it displays Choose One. I know this issue is coming from any of the choices

RE: [VOTE] WICKET-3218 - Component#onInitialize is broken for Pages

2011-03-13 Thread Chris Colman
So to summarize my rant: -1 for removing the ability to use add inside a constructor. +0 for improving the handling of oninitialize +1 for improving the documentation on the lifecycle of components and the event chain called during processing [2] I assume that means you don't care if 3218

Re: DropDownChoices Removing Choose One after Ajax Call

2011-03-13 Thread xFlasH
Hi, How about setNullValid(true) on the DropDownChoice ? R 2011/3/13 tech7 [via Apache Wicket] ml-node+3351515-1470294512-216...@n4.nabble.com I have a dropdownchoice component on my page and according to some selections on my page, this component is updated by a ajax call. At the

Re: DropDownChoices Removing Choose One after Ajax Call

2011-03-13 Thread tech7
xFlasH thank you for your suggestion but it removed Choose One but added a blank choice to the list. - Developer Wicket Java JSP -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoices-Removing-Choose-One-after-Ajax-Call-tp3351515p3351668.html Sent from

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-13 Thread Gonzalo Aguilar Delgado
Hi Martin, I did it and finally found what was the problem. It was needed another thing... The MarkupFilter to resolve the ID. The idea is that I had to change the component id to make wicket not parse as raw tag. Becasuse it was a raw tag when used as body. The current effect is that I had

wicket-dojo project (Should I change project name?)

2011-03-13 Thread Gonzalo Aguilar Delgado
Hi all, I started a new project to give support for dojo to the current wicket base 1.5. I don't know if it will reach much far but wanted to revamp the dojo support in wicket. I have not much time but will try to add widgets and more support when I need it in my projects. This is why I asked

Re: wicket-dojo project (Should I change project name?)

2011-03-13 Thread Martin Grigorov
Congratulations Gonzalo! Dojo is also my choice of JS library. I hope one day to use your project ;-) Until then keep the good work and add more components. I understand you're trying to reuse the good parts of WiQuery (I'm not saying there are bad parts) but I want to mention

Re: Stateless Wicket and Ajax

2011-03-13 Thread Martin Grigorov
On Sat, Mar 12, 2011 at 2:48 PM, Serban Balamaci serban.balam...@asf.rowrote: Yes I was looking at jolira tools, but I get the exception unable to find component and looking at the source: final Component component = page.get(pageRelativeComponentPath); if (component == null) {

Re: Stateless Wicket and Ajax

2011-03-13 Thread Martin Grigorov
Hi, On Sat, Mar 12, 2011 at 10:41 PM, robert.mcguinness robert.mcguinness@gmail.com wrote: Martin, With a custom StatelessRequestMapper and and a the change to Behaviors.getBehaviorById(int id) below I was able to get stateless components to work in 1.5 using a clone

Re: New Wicket tutorial series

2011-03-13 Thread Martin Grigorov
Good work! Thanks! On Sat, Mar 12, 2011 at 11:04 PM, Tomasz Dziurko tdziu...@gmail.com wrote: Hello. As I am using Wicket for over two years, some time ago I decided to start sharing my knowledge and write tutorial where I am showing process of creating Wicket application from scratch.

Re: wicket-dojo project (Should I change project name?)

2011-03-13 Thread Gonzalo Aguilar Delgado
Hi Martin, Yes I knew about this but I thought it was obsolete. I tried to use some time ago but it didn't worked. Also was a little bit difficult to implement. But I will take a reload to see if something can be commited/added. Maybe this project is not needed if now dojo of wicketstuff

Re: New Wicket tutorial series

2011-03-13 Thread Gonzalo Aguilar Delgado
Nice work Tomasz!!! El sáb, 12-03-2011 a las 22:04 +0100, Tomasz Dziurko escribió: Hello. As I am using Wicket for over two years, some time ago I decided to start sharing my knowledge and write tutorial where I am showing process of creating Wicket application from scratch. Actually

Re: wicket-dojo project (Should I change project name?)

2011-03-13 Thread Martin Grigorov
Hi, On Sun, Mar 13, 2011 at 9:04 PM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Hi Martin, Yes I knew about this but I thought it was obsolete. I tried to use some time ago but it didn't worked. Also was a little bit difficult to implement. But I will take a reload to

Re: Stateless Wicket and Ajax

2011-03-13 Thread Serban Balamaci
Hello everybody. It is indeed as Robert is saying. And after changing the code, it works Component component = page.get(pageRelativeComponentPath); // See {@link // BookmarkableListenerInterfaceRequestTarget#processEvents(RequestCycle)} // We make have to try to

Re: DropDownChoices Removing Choose One after Ajax Call

2011-03-13 Thread Maarten Billemont
On 13 Mar 2011, at 10:18, tech7 wrote: I have a dropdownchoice component on my page and according to some selections on my page, this component is updated by a ajax call. At the beginning it displays the choices without showing Choose One but after ajax call it displays Choose One. I know

Re: Large session store in target/work directory when running tests

2011-03-13 Thread Martin Grigorov
On Sat, Mar 12, 2011 at 2:29 AM, Alec Swan alecs...@gmail.com wrote: Hello, I have a problem with my tests writing too much stuff in the session store located in target/work directory. This problem was discussed in this thread