the method your asking about has to do w/ the following:

you pass a value to the tag handler via an attribute, but how 
does the value get passed to the UI object?  notice that the 
only parameter for that method is UIComponent .  

in other words, this is your chance to configure the UI 
component w/ values that will proabably be read in one way or 
another by the renderer.  

I'm pretty sure Tag.setProperties is only called for the  
first "hit" because UIObject.restoreState() is called upon 
each subsequent "hit".


---- Original message ----
>Date: Wed, 27 Jul 2005 01:58:03 -0400
>From: "Joe Pardi" <[EMAIL PROTECTED]>  
>Subject: setProperties  
>To: "'MyFaces Discussion'" <[email protected]>
>
>   When writing a custom tag for a JSF component, can
>   someone quickly explain when setProperties() is
>   called?  It doesn't seem to be called upon
>   subsequent hits to the JSP.
>    
>   - joe
Dennis Byrne

Reply via email to