I have been experimenting with creating custom tags for a few days now and have created some simple but useful tags for my application. None of the tags I've written so far use any body content. Now I want to create a tag that does not have a body but will "insert" JSP code that needs to be evaluated. I am using struts and want to use a struts tag in the generated JSP and then have it evaluated. An example of the tag I am creating would look like this:
<els:formlabel key="logon.password"/>
And it would insert the following:
<table cellpadding="0" cellspacing="0" width="150"><tr><td><bean:message key="logon.password"/></td></tr></table>
How would I go about doing this. I've been bouncing around in the documentation trying to understand the various return codes, such as EVAL_BODY_AGAIN, and the BodyContent class, but I'm having trouble understanding how to do this. Can someone point me in the right direction?
Dean Hoover
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
