Community
Participate
Working Groups
The custom tag attribute rtexprvalue appears to default to false. Is this correct? I have migrated an Java EE application to Indigo from Helios and am in the process of tidying up the application. I have at least 10,000 warnings. Many of them are of the form "xxx" does not support runtime expressions. I think I can fix the problem by adding rtexprvalue="true" to the tag attributes but, not only will this be a long job, I don't think I should have to do it. I will attach two screen shots. The first shows an example error. The second shows what happens after I have added rtexprvalue="true" to one offending tag attribute, i.e. the disappearance of the error. -- Configuration Details -- Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK
Created attachment 208040 [details] Before adding rtexprvalue attribute In this screen shot, Eclipse is complaining that the buildversion attribute of containerpage.tag does not support runtime expressions and the usage of the tag in addPostTradeUser.jsp is invalid.
Created attachment 208041 [details] After adding rtexprvalue attribute This screen shot shows that, once I add rtexprvalue="true" to containerpage.tag, the warning goes away.
Please be mindful that I'm relatively new to JSP development and so might simply be that I've misunderstood something rather than a bug in Eclipse.
You are correct. The specification indicates that the attribute directive's rtexprvalue default value is true. I've released changes along with some unit tests for default versus specified values for attribute directives. Thanks, Stephen.