myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <>
Subject [jira] Commented: (MYFACES-3012) Allow f:param for <h:inputText> <f:ajax>
Date Sat, 08 Jan 2011 12:29:46 GMT


Martin Kočí commented on MYFACES-3012:

    <f:param name="param1" value="value1" />

is nicer and it is that what I  wanted originally but spec says: "<f:param>
Add a child UIParameter component to the UIComponent associated with the closest parent UIComponent
action." so parametrized is not ajax behaviour but component - my intent was not to wait for
JSF 2.2  API and make it working now.

Which other options we have if we want pass a parameter to request? jsf.ajax.request accept
params array but I didn't see any elegant java/facelets  API for it. 

Other  (or complementary) solution can be permit attributes wiring for f:ajax like:
<f:ajax param1="value1" />
It will popuplate behaviour instance in simililar way as UIComponent's getAttributes() and

Similar problem with missing "parameter API" I pointed out for converter/validator:

> Allow f:param for <h:inputText> <f:ajax>
> ----------------------------------------
>                 Key: MYFACES-3012
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.4-SNAPSHOT
>         Environment: myfaces trunk, shared svn. rev 1051469
>            Reporter: Martin Kočí
>            Priority: Minor
>         Attachments: MYFACES-3012.patch
> I don't know what  spec says but following should work:
> <h:inputText>
>   <f:param name="paramName" value="paramValue" />   
>   <f:ajax />
> </h:inputText>
> expected result is paramName = paramValue pair in request.
> For h:command it works already.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message