Vijay K Anand wrote:
> Hi
> 
> This code is not actually translating
> <html:button property="Create" value="Create" 
> styleClass="NPIButton"
> onclick="javascript:location.href=\'<html:rewrite
> 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='<html:rewrite 
page="/portfoliomgmt" />'</bean:define>
<html:button property="Create" value="Create" styleClass="NPIButton" 
onclick="<%=onClickUrl%>" /> 

Cheers,

-- 
Bob Arnott



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

Reply via email to