[
http://jira.jboss.com/jira/browse/JBIDE-2295?page=all ]
Viacheslav Kabanovich reopened JBIDE-2295:
------------------------------------------
Assignee: Viacheslav Kabanovich (was: Tatyana Romanovich)
Wizard has to validate Value:
''Value must be set with Expression Language."
Examples of correct Value: '#{a}', '#{a.b}'
Examples of incorrect Value: 'a', '#a', '{a}, '#{.a}',
'#{a..b}'
If value in the "Value" field on the Insert Tag dialog
window for dataTable component has less than three characters, Error will appear
---------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-2295
URL:
http://jira.jboss.com/jira/browse/JBIDE-2295
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1.0.GA
Environment: Build id: 1.1.0.GA
Build date: 05/26/2008 16:17
eclipse.buildId=1.1.0.GA
java.version=1.5.0_12
Reporter: Tatyana Romanovich
Assigned To: Viacheslav Kabanovich
Fix For: 3.0.alpha
Attachments: .log
EXECUTE: Create JSFKickStart Project
EXECUTE: Open inputUserName.jsp file
EXECUTE: switch to Visual/Source tab
EXECUTE: Expand JBoss RichFaces palette, select dataTable component, DnD it on the Source
or Visual panes
EXECUTE: On the General tab set Value fiels any value which has lenght less than 3
('a', 'ab')
EXECUTE: Press Finish button.
ASSERT: Some validation message should appear or component with 'Insert content for
rich: dataTable' message should be added
FAILURE: "Unhandled event loop exception" error message appears in the Error
log:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira