This content has been marked as final. Show 8 replies
try to get bindings.qryDueError.inputValue maybe this value did not come correctly.If you want to show 0 at startup you can give selectone choice's value directly 0.
value coming from controller is correctly set on '0' .
I can't give directly value '0' because I need a value binding to submit user value.
try like these;1 person found this helpful
<f:selectItem itemLabel="Is Due to Error" itemValue="1" id="si2"/>
<f:selectItem itemLabel="Is not Due to Error" itemValue="0" id="si3"/>
thanks but it doesn't work ...
Maybe the InitialValue on pageDef is not the right attribute ?
Edited by: Kronos72it on Feb 14, 2013 5:11 PM
Why don't you try to create a list binding bound to a fixed list of values. I believe that is what you are looking for.
go to section: "25.3.3 How to Create a Selection List Containing Fixed Values"
No I can't .
the value for my list is coming from service layer ( in this case this is a web app implementation of BPM human task ) .
Then the value (0 or 1) is dinamically supplied ...
I think InitialValue is not necessary at this kind of operations delete initialValue and try again.Because this is a simple selectone choice operation this might work.