Re: ajaxified dynamic lists as parts of bigger forms

2008-03-06 Thread Wojciech Biela
Thank you Erik, You should use Buttons instead of links. Button (or AjaxFallbackButton) does submit the form. Why, should I submit using links? we've just done it using a nested form and attaching a AjaxSubmitLink to it. The only thing you need to do is disable validation on the button

bug or feature in FormTester while setting a value on a form?

2008-03-06 Thread Wojciech Biela
Hey It looks like a bug but it's so obvious I suspect it's a feature not a bug, a feature I yet have learn to appreciate. When I assert a value on a component and the path is invalid (either the component is not there or I misspelled the path) the assertion fails. This is fine. When I try to

Re: ajaxified dynamic lists as parts of bigger forms

2008-03-06 Thread Wojciech Biela
http://www.day-to-day-stuff.blogspot.com/ Wojciech Biela wrote: Hello This time my question is not so general. We have a big form, part of this form there is a component which should be a dynamic list of fields like this: |TextField| - remove

to LoadDetach or not to LoadDetach?

2008-03-05 Thread Wojciech Biela
Hello my next problem has to do with the LoadableDetachable models, do you really use them for every object you get from Hibernate? My views will be full of various informational panels, drop-downs and others that are based on data from the DB (retrieved as objects by Hibernate). So if I have to

ajaxified dynamic lists as parts of bigger forms

2008-03-05 Thread Wojciech Biela
Hello This time my question is not so general. We have a big form, part of this form there is a component which should be a dynamic list of fields like this: |TextField| - remove |TextField| - remove |TextField| - remove |TextField| - add if you click add another row |TextField| - remove

Re: ajaxified dynamic lists as parts of bigger forms

2008-03-05 Thread Wojciech Biela
Biela [EMAIL PROTECTED] wrote: I don't know if the code will help, if it doesn't please just disregard it and answer my question regards Wojtek 2008/3/5, Wojciech Biela [EMAIL PROTECTED]: Hello This time my question is not so general. We have

how do you craft your enterprise class designs? (MVP or plain Wicket?)

2008-03-04 Thread Wojciech Biela
Hey there, Don't shoot, I just got here. And yes I did have look at the archive to answer my question. Actually I also read the MEAP Wicket in Action, but I wasn't satisfied with the answers, so please hear me out and share your opinion. The reason I'm here is that I fell in love with Wicket and

Re: how do you craft your enterprise class designs? (MVP or plain Wicket?)

2008-03-04 Thread Wojciech Biela
Thank you all for your opinion, it helped me decide not to enforce the Passive View pattern here, we had to refactor one component from it back to the wicket way but it didn't do much harm I know the pattern has been split, and I meant Passive View, it's just that I thought the MVP term is more