| Author |
Generating unique IDs inside dataTable
|
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3359
|
|
Hi. Inside my dataTable I have inputText components. How to assign a unique ID for each inputText (so I can assign message component for each one of them)? Thanks.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
It happens automatically. The dataTable uses your ID as a model, but the full ID is decorated to make it unique. In th case of JSF message components, things (again) are handled automatically. If you're generating your own message, it needs to be a property for the row of the model that your dataTable is displaying.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3359
|
|
But this way I'm forced to: While I'm looking for: In the later case, nothing is displayed.
|
 |
 |
|
|
subject: Generating unique IDs inside dataTable
|
|
|