Em Thu, 20 Nov 2008 14:53:41 -0300, Marcel Sammut <[EMAIL PROTECTED]> escreveu:

Thanks,  I've heard of this in 5.0.16 but not sure how to use it.  In my
actual implementation, I am creating the link via
ComponentResources.createEventLink. Can I still use that method to create the LinkSubmit?

Is this a requirement? I don't know if you cad do that, as LinkSubmit does not look as an ordinary action link . . .

Also, looking at LinkSubmit API, it states that this link will submit the
form.  Will this not trigger a page refresh though?

If you specify a zone, it won't.

If the input field is within the form, how do I obtain the value on the event handler? Will all the form field's be posted to the method? I don't understand how using the LinkSubmit differs from EventLink in this case?

You would bind the text field to a page property. Intead of thinking of action links, you would do a form submit, as you cannot use the context parameter of an action link to do that.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to