Flavio Cardoso

Greenhorn
+ Follow
since Jun 21, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Flavio Cardoso

Sridhar,

Are you asking about the actual array originally wrapped within my datamodel? If you are, then "no, it's not" would be the answer. To make sure of that, I've had my datatable doing output of items[colIndex].someOtherInitializedProperty, instead of input and the table came out fine with the expected data. If you are talking about the myInnerArrayList as a datatable var in the other hand, again, it's supposed to be items[colIndex], which is definitely not null, at least at rendertime I guess :-s. I could post this test results' screenshot if necessary...

12 years ago
JSF

Flavio Cardoso wrote:I came up with this very same solution to a similar problem. Only in my case, I'm getting an exception after I try to submit a form with input data on a h:selectOneMenu, like this:



The exception I get is this:

javax.el.PropertyNotFoundException: ... value="#{myInnerArrayList[colIndex].someProperty Target Unreachable, 'null' returned null

Yes, I do have getters and setters for the someProperty object... Does anyone have a clue on what am I possibly doing wrong?

Am I'm wrapping data in a wrong way? My current wrapping is:



How about yours, Richard Pinaroc?



Correction; I'm actually trying to access items[colIndex] instead of myInnerArrayList[colIndex]:

12 years ago
JSF
I came up with this very same solution to a similar problem. Only in my case, I'm getting an exception after I try to submit a form with input data on a h:selectOneMenu, like this:



The exception I get is this:

javax.el.PropertyNotFoundException: ... value="#{myInnerArrayList[colIndex].someProperty Target Unreachable, 'null' returned null

Yes, I do have getters and setters for the someProperty object... Does anyone have a clue on what am I possibly doing wrong?

Am I'm wrapping data in a wrong way? My current wrapping is:



How about yours, Richard Pinaroc?
12 years ago
JSF