struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Pierce <Todd.Pie...@hubbub.com.au>
Subject RE: <html:rewrite> gets the error message "Body is supposed to be empty for html:rewrite"
Date Wed, 22 Jan 2003 05:54:52 GMT
Why not just use:

<html:link page="main.do" styleClass="menuItem">Main<html:link>

It's much cleaner than trying to shove tags into attributes.


> -----Original Message-----
> From: pqin@shareowner.com [mailto:pqin@shareowner.com]
> Sent: Tuesday, January 21, 2003 10:31 PM
> To: struts-user@jakarta.apache.org
> Subject: RE: <html:rewrite> gets the error message "Body is 
> supposed to
> be empty for html:rewrite"
> 
> 
> Replace " with '
> 
> <a class="menuItem" href='<html:rewrite page="/main.do"/>'>Main</a>
> 
> Regards,
>  
>  
> PQ
>  
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
> 
> -----Original Message-----
> From: Jagdish Arora [mailto:jagdishsarora@hotmail.com] 
> Sent: January 21, 2003 2:06 AM
> To: Struts Users Mailing List
> Subject: Re: <html:rewrite> gets the error message "Body is 
> supposed to be
> empty for html:rewrite"
> 
> try
>   <a class="menuItem" href="<html:rewrite page="/main.do"/>">Main</a>
> 
> ----- Original Message -----
> From: "Jason Yam" <jason.yam@ehk.epson.com.hk>
> To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
> Sent: Tuesday, January 21, 2003 1:09 AM
> Subject: <html:rewrite> gets the error message "Body is 
> supposed to be empty
> for html:rewrite"
> 
> 
> > Hi everyone,
> >
> >     I get this error during executing <html:rewrite>.  
> Anyone know how to
> > solve this problem?
> >
> >     Error message:
> >  Body is supposed to be empty for html:rewrite
> >
> >     Source code:
> >     <a class="menuItem" href="<html:rewrite
> > page="/main.do"></html:rewrite>">Main</a>
> >
> > Thank you
> >
> > Jason
> >
> 
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message