Title: Message
It evaluates them against the value stack...
 
For instance, if you have a property processingAction on your Action, then
 
<ww:form action="" method="'POST'">
 
would call getProcessingAction on your Action instance and use that value. This allows your taglib attributes to be dynamically evaluated while allowing the use of constants by enclosing the values in single quotes.
 
Jason
 
 -----Original Message-----
From: Mark Woon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 8:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] WebWork2 taglib

Francisco Hernandez wrote:

for most if not all attributes you need to use single quotes to pass
strings in or else the tags try and evaluate the attributes, this was
done to make it compatible to the way ww1.x tags work


Ah.

I've never used WW1 before, but wouldn't it make sense that if it evaluates to nothing, the original string is used?

And how does the evaluation work?  What does it try to look up?  Perhaps I now need to go read the WW1 docs as well...


Thanks,
-Mark

Reply via email to