UIComponentTagBase.setProperties() gives the tag author a 
chance to set properties of the UIComponent , not the Tag 
itself.  The properties of the tag are set by the web 
container.  

---- Original message ----
>Date: Wed, 28 Sep 2005 20:24:30 +0100
>From: Eurig Jones <[EMAIL PROTECTED]>  
>Subject: setProperties() method problem  
>To: MyFaces Discussion <users@myfaces.apache.org>
>
>I'm trying to create my own custom tag extending 
UIComponentTagBase. 
>with a boolean property called "whiteOnBottom"...
>
><m:board whiteOnBottom="true" />
>
>...when does the setProperties method actualy get run? How 
do I update 
>my components value when the property is changed?? Changes 
to the 
>'whiteOnBottom' value just dont seem to register...
>
>protected void setProperties(UIComponent component)
>{
>    super.setProperties(component);  
>    setBooleanProperty(component, "whiteOnBottom", 
whiteOnBottom);
>}
>
>Thanks!
>Eurig
Dennis Byrne

Reply via email to