The button will have the same problem because it submits the form. I need info from the text box without triggering the text areas form submission.
Matej Knopp-2 wrote: > > Try using AjaxButton. > > -Matej > > On Tue, Sep 16, 2008 at 10:57 PM, walnutmon > <[EMAIL PROTECTED]>wrote: > >> >> All, >> >> This seems like a simple issue, but I have been stumped for hours... >> >> Basically I have a form that includes a text area where you can enter >> HTML, >> to the right of this text area is a "preview" area... I have an >> AjaxFallbackLink labeled "preview" which should take the info in the text >> area and render it in HTML. Note that they are both contained in a >> panel, >> and they are both contained in that panels form... >> >> When I click preview, nothing happens, which is most likely due to the >> fact >> that the text area doesn't know to submit it's value to it's model, which >> is >> where I pull the value. I have no idea how to get around this problem. >> >> Now, if I change the link to a SubmitLink, it works fine, but that is not >> what I want because I want a completely different situation to happen on >> submission than when you click preview. I tested to see if the onSubmit >> for >> the SubmitLink inadvertantly (in my eyes) calls the forms submit, and it >> does. >> >> Thanks in advance! >> -- >> View this message in context: >> http://www.nabble.com/Having-trouble-with-ajax-link-tp19520249p19520249.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Having-trouble-with-ajax-link-tp19520249p19523094.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]