myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cosma Colanicchia" <cosma...@gmail.com>
Subject Re: components that can use <f:param>
Date Fri, 26 May 2006 14:37:54 GMT
AFAIK, it's up to the parent element to support <f:param>.. for
example if you nest a param inside an outputText, it is used to
replace part of the text marked as {1}, {2} etc.

What are you expecting <f:param> to do inside an inputText?


2006/5/26, Andrew Robinson <andrew.rw.robinson@gmail.com>:
> Technically all components can have a f:param (it just adds a
> parameter component under the parent component). I have used it before
> to add "special" functionality to a control (same as adding an
> attribute). As for having the parameter in the request on POST back,
> it only works with outputLink and commandLink I believe.
>
> -Andrew
>
> On 5/26/06, bin z <binwell@gmail.com> wrote:
> >
> > Hi all,
> > Normally, I was using f:param with h:outputLink/commandLink. But yesterday I
> > tried to use it with h:inputText, it did not work.
> > Can anyone tell me which components can be used with f:param?
> >
> > thanx & regards
>

Mime
View raw message