jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Skells" <Mike.Ske...@ebizz-consulting.com>
Subject RE: getBodyContent
Date Thu, 06 May 2004 06:48:05 GMT
Hi,
You are including the body so there is not body content maintained as a
separate object

If you need the body to be maintained then use EVAL_BODY_BUFFERED or
something like that

Mike

> -----Original Message-----
> From: Paul Wallace [mailto:paulw@isell.com.au] 
> Sent: Thursday 6 May 2004 07:38
> To: taglibs-dev@jakarta.apache.org
> Subject: getBodyContent
> 
> 
> Hi, 
>     How might i get the body content of my custom tag please? I have:
>  
>     public int doStartTag() {
>         
>         return Tag.EVAL_BODY_INCLUDE;
>     }
>  
>     public int doAfterBody() {
>         
>         BodyContent bc = getBodyContent();
>         
>         eturn Tag.EVAL_PAGE;
>     }
>  
> but bc returns null. Any ideas?
>  
> Thanks
>  
> Paul.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message