>From: <[EMAIL PROTECTED]> 
>
> Hi 
> 
> I have tried to do the following: 
> 
> First define a component in clay-config.xml: 
> 
> 
 ><!-- base command button defining a common style class -->
        ><component jsfid="myCommand" extends="commandButton">
        >       <attributes>
                        ><set name="styleClass" value="button" />
                        ><set name="action" value="@doaction" />
                ></attributes>
        ></component>
> 
> 
> 
> then in my somepage.xml do this: 
> 
> 
>    <component jsfid="/somepage.xml" extends="baseLayout">
>        <symbols>
>              <set name="bodyContent" value="/pages/somepage.html"/>
>              <set name="managed-Bean-Name" value="pages$test" />
>              <set name="doaction" value="save"/>
>        </symbols>
>    </component>
> 
> 
> and then on somepage.html insert the myCommand component, however the symbol 
> substitution does not seem to take place because the action does not happen. 
> If 
> i hardcode the action it works ok. 
> 
> 
> It would be really nice if this is possible. 
>

This is a bug that dates back to when the managed-bean-name was the only 
symbol.  If your action attribute contains a [EMAIL PROTECTED] it will be 
evaluated.

Please create a bugzilla ticket for this one. 

 
> 
> Hermod 
> 

Gary

> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> 
> This email with attachments is solely for the use of the individual or 
> entity to whom it is addressed. Please also be aware that DnB NOR cannot 
> accept any payment orders or other legally binding correspondence with 
> customers as a part of an email. 
> 
> This email message has been virus checked by the virus programs used 
> in the DnB NOR Group. 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 

Reply via email to