Anonymous | Login | Signup for a new account | 04-28-2024 23:38 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006011 | [Resin] | major | always | 06-14-16 11:01 | 11-11-16 15:13 | ||||
Reporter | rotty3000 | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | no change required | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | Product Version | 4.0.47 | |||||
Product Build | |||||||||
Summary | 0006011: JSP Compiler ignores static input to tag attribute defined as rtexprvalue=true | ||||||||
Description |
Hello, I'm experiencing a very strange issue where on certain attributes (not all of them) the JSP compiler doesn't generate set methods when a tag uses a static value for an attribute defined as being rtexprvalue=true e.g. suppose my tag "myTag" has: <attribute> <name>name</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>type</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> and suppose the tag is used like so: <foo:myTag name="Ray" type="hidden" /> the JSP compiler produces java code like: _jsp_MyTag_2 = _jsp_state.get_jsp_MyTag_2(pageContext, _jsp_parent_tag); _jsp_MyTag_2.setName("Ray"); int _jspEval16 = _jsp_MyTag_2.doStartTag(); Note the type attribute is not even generated into the java output. Is there some sort of flag to the JSP compiler to work around this issue? Or what combination of state causes the JSP compiler to omit an attribute from being emitted. Thx! |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |