Issue Details (XML | Word | Printable)

Key: WW-581
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Patrick Lightbody
Reporter: Eric Hauser
Votes: 5
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
WebWork

JSP Tags should support better syntax

Created: 30/Jun/04 11:22 AM   Updated: 17/Oct/04 11:30 PM
Component/s: Expression Language
Affects Version/s: None
Fix Version/s: 2.1.4


 Description  « Hide
There has been a lot of discussion on the mailing list about making the expression syntax more friendly (https://webwork.dev.java.net/servlets/BrowseList?list=dev&by=thread&from=81257). The complaints revolve around the use of single quote syntax. A solution should be provided that does not break EL expressions in JSP 2.0 and one that provides backwords compatability for existing applications using the tags.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Gavin Las added a comment - 30/Jun/04 09:23 PM
Possible choices for indicating that an attributes needs to be evaluated:
"${...}" or "@{...}" or "=..."


Patrick Lightbody added a comment - 17/Oct/04 11:30 PM
OK, I've added an attribute called "webwork.tag.altSyntax" that should address this. You must use %{}. It ONLY works for attributes that evaluate to Strings, with the exception being the ww:property tag. All other tag attributes will work like they did before (meaning list, maxlength, etc will be evaluated)