You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Travis Reeder <tr...@gmail.com> on 2005/11/23 02:58:33 UTC
Some Ajax updates
So I've got a good set of ajax form components working now and I
thought I'd give an update.
- inputText (with options to show buttons for submit, default is to
submit onChange)
- selectManyCheckbox
- selectOneRadio
- selectBooleanCheckbox (with options to use on/off images instead of
a checkbox)
Validation and error handling works without reloading the page, all
updates are done client side. The messages will also be cleared if
the next request succeeds. Must use the <s:message> tag for this to
work correctly.
I was able to short circuit most of the life cycle by completing the
response before the Apply Request Values Phase (just after Restore
View), only applying the lifecycle to the affected component.
Travis
Re: Some Ajax updates
Posted by Travis Reeder <tr...@gmail.com>.
There is a full set of examples in the sandbox under AJAX Form
Components or directly at inputAjax.jsf.
Travis
On 11/22/05, Grant Smith <wo...@gmail.com> wrote:
> Good work Travis! Any chance of creating some examples for these ?
>
> --
> Grant Smith
>
Re: Some Ajax updates
Posted by Grant Smith <wo...@gmail.com>.
Good work Travis! Any chance of creating some examples for these ?
--
Grant Smith