Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6011 | major | always | 06-14-16 11:01 | 11-11-16 15:13 | |
|
|||||
Reporter: | rotty3000 | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.47 | ||
Product Build: | Resolution: | no change required | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|