Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330557

Summary: Wrong analysis of tlds rtexprvalue in the JSP editor
Product: [WebTools] WTP Source Editing Reporter: Daniel Le Berre <leberre>
Component: jst.jspAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2.2Flags: thatnitind: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patch none

Description Daniel Le Berre CLA 2010-11-18 07:47:06 EST
The current editor wrongly warn the user that the parameter of a custom taglib cannot be a runtime expression when the <rtexprvalue> tag is set to yes.

Accepted values for that that are true/false/yes/no.

However, it looks like the editor only understands true/false, and consider values other than true as false.
Comment 1 Nick Sandonato CLA 2010-11-18 15:28:01 EST
Created attachment 183421 [details]
patch

Validator used Boolean.valueOf() which returns false for "yes".
Comment 2 Daniel Le Berre CLA 2010-11-18 15:35:08 EST
Thanks for the prompt action.
Comment 3 Nick Sandonato CLA 2010-11-19 14:35:09 EST
(In reply to comment #2)
> Thanks for the prompt action.

You're welcome. Code has been checked in.