Hi Mark,

Use the @null-text. In your case, something like:

<fd:selection-list type="flow-jxpath" list-path="myList" value-path="beanId" label-path="beanLabel" null-text="-- none --"/>

Best Regards,

Antonio Gallardo

Best Regards
Mark Lundquist escribió:
Hi,

I have a <selection-list type="flow-jxpath"> whose list is a Collection that's passed directly out of the model layer of my application. However, the field is optional and I need the user to be able to submit with a null value for this widget. The label should be something like "-- none --".

I guess I could call addItem() from the flowscript, but it looks like that would append the new value to the end of the selection list. I kind of want it to be at the beginning.


How do I do this?

Thanks,
—ml—


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to