<bean:define id="onClickUrl">_javascript_:location.href=''</bean:define>
<html:button property="Create" value="Create" styleClass="NPIButton" />

Inactive hide details for Vijay K Anand <[EMAIL PROTECTED]>Vijay K Anand <[EMAIL PROTECTED]>


          Vijay K Anand <[EMAIL PROTECTED]>

          07/06/2005 10:11 AM

          Please respond to
          "Struts Users Mailing List" <user@struts.apache.org>

To

Struts Users Mailing List <user@struts.apache.org>

cc


Subject

Re: _javascript_

Hi All

I used the same way  you have said

                                       <bean:define
id="create_portfolio">
_javascript_:location.href=''</bean:define>
                                       <html:button property="Create"
value="Create"  styleClass="NPIButton" %>"
/>                          

html code generated is
<input type="button" name="Create" value="Create"
>
_javascript_:location.href=''" class="NPIButton">  

but the problem is .do missing ...

Any help brotheres?


Bob Arnott wrote:

>Vijay K Anand wrote:
>  
>
>>Hi
>>
>>This code is not actually translating
>><html:button property="Create" value="Create"
>>styleClass="NPIButton"
>>> >>page='/portfoliomgmt'/>\'" />
>>
>>how do i do it?
>>    
>>
>
>You can't embed tags in other tags... Off the top of my head try
>something like:
>
><bean:define id="onClickUrl">_javascript_:location.href=''</bean:define>
><html:button property="Create" value="Create" styleClass="NPIButton" />
>
>Cheers,
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to