Hi all,

I have a really simple question and I've tried and tried to find the answer and 
I'm sure it's on the forum already but.... all the examples and similar posts 
I've found have not fixed my problem so... I"m sorry if this answered somewhere 
else but....


Why!!! does my DataModelSelection automatically select the first item in the 
DataModel when I check if it is null?

for example I'm trying to set the rendered attribute on a component based on 
wether or not the DataModelSelection is null. But by doing this check it 
automatically selects the first item in the DataModel!

How can I stop this?

Currently I have a work around by using the DataModelSelectionIndex which does 
not have this behaviour.
But using this makes my code a lot messier and harder to read.


Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101669#4101669

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101669
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to