[Wicket-user] How to include a form field in the ajax request without form submit

2007-01-30 Thread Conny Kühne
Hi, my scenario is as follows: I have a registration form (non ajax) and want to add a link that checks the availability of the username (i.e., if it has already been taken) via ajax. So I need a way to get the value of a form field without submitting the form. Ideally the value of the form fie

Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Conny Kühne
ink is clicked. 2007/1/30, Igor Vaynberg < [EMAIL PROTECTED]>: see ajaxformcomponentupdatingbehavior -igor On 1/30/07, Conny Kühne < [EMAIL PROTECTED] > wrote: > Hi, > > my scenario is as follows: > > I have a registration form (non ajax) and want to add a

Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Conny Kühne
2007/1/31, Marc-Andre Houle <[EMAIL PROTECTED]>: Why not simply use AjaxSubmitLink or AjaxSubmitButton ? It will submit all the form, evidently, but you can do which ever action you want in the onClick handler? That's exactly the conclusion I came up with after thinking a bit about the prob

[Wicket-user] How to hide a complete tag?

2007-02-12 Thread Conny Kühne
Hi, is there a convinient way to hide a complete tag? For example something I want to erase the whole tag on a certain condition. Not just the tag body but all of it because I defined css border attributes for the div that I don't want to display. My workaround looks like this WebMar

Re: [Wicket-user] How to hid a complete tag?

2007-02-13 Thread Conny Kühne
But without the setRenderBodyOnly() the still gets rendered (and displayed). And that's what I wanted to avoid. You are pretty close :) You don't need the setRenderBodyOnly. You can actually just do: WebMarkupContainer currentTopicContainer = new WebMarkupContainer("divId"){ public boolean is