DNewfield wrote:
Has anyone on this list had success creating .tag files under tomcat5.5 (with
2.4) with struts2 or webwork2?

I can create and use them simply enough, as long as I don't try to pass in
anything as an attribute.  I cannot figure out any syntax (${bar}, %{bar},
#bar, bar, etc.) that allows me to pass in objects to the tag. I can do so
by pushing the relevant objects on to the top of the ongl stack, but that is
pretty ugly and seems fragile.  I've found a number of articles about
creating .tag files, but none specific to struts2/webwork2 which has it's
own el-style syntax (that seems to work in .jsp files, but not in .tag
files).

Um, struts2/webwork2 has it's own el-style syntax?  I thought they depended on 
the result type for EL.  Freemarker results have #.. syntax along with 
JSTL-like ${object.hash.scalar} syntax and presents tags with request, session, 
application ... scopes even though freemarker itself has only a few scopes, 
function/macro local, template global, and maybe others.  I'm no freemarker 
expert, and certainly not a struts2 expert, but I didn't think s2 or ww had its 
own EL syntax.

-Dave

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

Reply via email to