Re: Ajax and IComponentResolver

2011-05-16 Thread Alexandru Artimon
recommend you to upgrade. On Mon, May 16, 2011 at 5:16 PM, Alexandru Artimon< aarti...@developmentgateway.org> wrote: I can try the patch and test, but I only have the wicket 1.4.17 jars. So can I do a code checkout from somewhere? :D Or get a jar that has the patch in it ? On 05/16

Re: Ajax and IComponentResolver

2011-05-16 Thread Alexandru Artimon
and give feedback ? If it still fails then a quickstart app or a test case would help us to improve it. On Mon, May 16, 2011 at 4:43 PM, Alexandru Artimon< aarti...@developmentgateway.org> wrote: Hello, I have a custom wicket html tag that is handled by a component resolver to automat

Ajax and IComponentResolver

2011-05-16 Thread Alexandru Artimon
Hello, I have a custom wicket html tag that is handled by a component resolver to automatically generate a component for it. And these components only exist at the render phase and aren't stored in the page tree. Now when Ajax is used to update a fragment of the web page, looks like the comp

Re: Weird jsp include output

2011-05-13 Thread Alexandru Artimon
figure out. On Fri, May 13, 2011 at 9:48 AM, Alexandru Artimon< aarti...@developmentgateway.org> wrote: I'm using version 1.4.17. How would you change it in to a Behaviour ? Are there some classes that you'll extend or implement? Thanks, Alex On 05/12/2011 10:08 PM, Martin

Re: Weird jsp include output

2011-05-13 Thread Alexandru Artimon
JspBehavior. I doubt this will help but you can try it anyway. Which version of Wicket do you use ? On Thu, May 12, 2011 at 8:56 PM, Alexandru Artimon< aarti...@developmentgateway.org> wrote: Hi guys, I've implemented the tag as described in the wicket wiki< https://cwiki.apache.o

Re: Nested forms quick question

2011-05-12 Thread Alexandru Artimon
Yes they are necessarily nested. Thanks Martin, I'll give it a try. Alex On 05/06/2011 09:15 PM, Martin Grigorov wrote: instead of setRequired() use isRequired(submittedForm == innerForm) On Fri, May 6, 2011 at 6:04 PM, Tito wrote: Are these necessarily nested forms? 2011/5/5 Alex

Nested forms quick question

2011-05-06 Thread Alexandru Artimon
Hey guys, When I submit the main form can I prevent the submit of the inner forms? I have some small forms to add items to the main form. The fields in the inner forms have setRequired(true), so when I submit the main form I get errors that those fields are empty. Any ideas? Thanks, Alexandr

Re: LoadableDetachableModel small issue

2011-03-04 Thread Alexandru Artimon
serializing models with LDMs if they are saved. Hope this helps :-) Bas Op 4-3-2011 15:14, Alexandru Artimon schreef: Not really, I want to find out what you guys do when in a form you add a new item to a collection(where the items are passed to a LDM and then showed). Do you save first the

Re: LoadableDetachableModel small issue

2011-03-04 Thread Alexandru Artimon
#x27;m not headed on the wrong track. Thanks, Alexandru On 03/04/2011 03:57 PM, mzem...@osc.state.ny.us wrote: Not completely sure what you're getting at, would RefreshingView help you? http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/repeater/RefreshingView.html From: Al

LoadableDetachableModel small issue

2011-03-04 Thread Alexandru Artimon
Hi guys, Thanks again for the previous help with the LoadableDetachableModel. Now I have a "workflow problem" related to LDM for which I think you guys might have a more elegant solution. I have a hibernate collection which is shown by a ListView. Each item is passed to a LDM and rendered wit

Re: Hibernate lazy collections and Wicket Serializable Checker

2011-02-15 Thread Alexandru Artimon
loadable detachable model for that. otherwise when the page is deserialized the entity is detached from the session... -igor On Mon, Feb 14, 2011 at 8:23 AM, Alexandru Artimon wrote: Hello, I'm having some problems in porting our application to Wicket. Wicket Serializable Checker tries to s

Hibernate lazy collections and Wicket Serializable Checker

2011-02-14 Thread Alexandru Artimon
Hello, I'm having some problems in porting our application to Wicket. Wicket Serializable Checker tries to see if all the fields in a hibernate bean are serializable, but some of the fields are collections that have lazy set to true. Now, at the moment it tries to check those collections the

Re: Saving a component in session

2010-09-27 Thread Alexandru Artimon
Hello, Thanks for the idea, I didn't know that I can get a callback url for the AbstractAjaxBehavior. It seems to be working now. I came across a small issue with Firefox 4(beta7): when the Ajax response arrives in the browser, usually Wicket runs the javascript embeded in the response. Thi

Re: Saving a component in session

2010-09-24 Thread Alexandru Artimon
ue; } // We were not able to handle the tag return false; } On 09/24/2010 12:25 PM, Alexander Morozov wrote: Alexandru Artimon wrote: The thing is that I'm coding my own tag and I use a class that implements IComponentResolver in order to

Re: Saving a component in session

2010-09-24 Thread Alexandru Artimon
stelnicu" wrote: Guys, I work on the same project as below (integrating an interface translator with Wicket) and we are a bit stuck. Any ideas? Thanks in advance for your time ! Mihai On 09/23/2010 12:29 PM, Alexandru Artimon wrote: Forgot to mention that the component is an AjaxEditab

Re: Saving a component in session

2010-09-23 Thread Alexandru Artimon
Yeah it's not what we need, that's why we are implementing some other. And also wicket:message doesn't have the ability to work in an "editor-mode". Alexandru On 09/23/2010 03:34 PM, Martin Grigorov wrote: I guess you are aware of ? On Thu, Sep 23, 2010 at 1

Re: Saving a component in session

2010-09-23 Thread Alexandru Artimon
gfoundation.org> wrote: Guys, I work on the same project as below (integrating an interface translator with Wicket) and we are a bit stuck. Any ideas? Thanks in advance for your time ! Mihai On 09/23/2010 12:29 PM, Alexandru Artimon wrote: Forgot to mention that the component is an Ajax

Re: Saving a component in session

2010-09-23 Thread Alexandru Artimon
children (the Label and TextField) are gone. Any ideas will be much appreciated. Thanks, Alexandru On 09/23/2010 11:57 AM, Alexandru Artimon wrote: Hello, I have a problem when saving a component to the session, all it's children disappear. I do the save lik

Saving a component in session

2010-09-23 Thread Alexandru Artimon
Hello, I have a problem when saving a component to the session, all it's children disappear. I do the save like this: session.bind(); session.setMetaData(MY_KEY, component); Regards, Alexandru