This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Trinidad components: Issue in value change listener Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Trinidad components: Issue in value change listener " Watch "Trinidad components: Issue in value change listener " New topic
Author

Trinidad components: Issue in value change listener

A Tiwari
Greenhorn

Joined: Feb 01, 2011
Posts: 2
Hello All,

We are facing certain issues while using the value change listener event with Trinidad components.

We have observed that the event does not get fired correctly in certain specifc scenarios, each of them can be explained as below:

Scenario 1 (Display of an error message if a wrong value is entered in a particular text field):

1) Specify the wrong value in the text field and press tab button.

2) The error message gets displayed correctly.

3) Select some other wrong value in the text field using the 'autosuggest' option and press the tab button.

4) No error message gets displayed.

Scenario 2 (Dependent fields not getting populated based on the correct value entered in a particular text field):

1) Specify a correct value in the text field and press tab button.

2) The dependent fields get populated based on this corrrect value. [For example, populating the 'address' field based on the value entered in the 'name' field].

3) Specify some other correct value in the text field and press tab button.

4) The dependent fields do not change and show the previous values only.

We are using the version 1.2 of Trinidad. We are also using Facelets.

Is this an issue with the Trinidad components itself? Is there any workaround for this issue?

Please help. A sample code snippet is as below:


Thanks in advance.

Regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trinidad components: Issue in value change listener
 
Similar Threads
Polish characters are gets changed to ? in websphere6.1 environment
Problem when using valuechange listener in input text
How to use onBlur()
JSF and trinidad- Help with multiple iterations in a table
Trinidad / Weblogic