Re: Access items from a selection list from within flowscript

2007-01-16 Thread Jeroen Reijn
It seems I overlooked. As Mark pointed out this is not possible at the moment. It might be by modifying the code of the DynamicSelectionList. Kind regards, Jeroen Reijn Jeroen Reijn wrote: Hi Ralph, as far as I can see it should still be possible. What version of Cocoon are you using? Kind

Re: Access items from a selection list from within flowscript

2007-01-16 Thread Mark Lundquist
On Jan 16, 2007, at 1:10 AM, Jeroen Reijn wrote: It seems I overlooked. As Mark pointed out this is not possible at the moment. It might be by modifying the code of the DynamicSelectionList. Yeah, but what I don't understand is why getItems() isn't part of the SelectionList interface.

Re: Access items from a selection list from within flowscript

2007-01-16 Thread Mark Lundquist
On Jan 16, 2007, at 9:44 AM, I wrote: Yeah, but what I don't understand is why getItems() isn't part of the SelectionList interface. I guess the reason DynamicSelectionList doesn't have getItems() is that it's more dynamic than you expect :-). DynamicSelectionList doesn't really have

Access items from a selection list from within flowscript

2007-01-15 Thread Ralph Rauscher
Hi, I tried to access (read-only) items of a selection list within flowscript. This selection list is fed from a cocoon pipeline. In the cforms model, it is set up like this: fd:selection-list src=cocoon:/en/selectionlist_instructioninterface dynamic=true/ Now if I try the following code

Re: Access items from a selection list from within flowscript

2007-01-15 Thread Jeroen Reijn
Hi Ralph, as far as I can see it should still be possible. What version of Cocoon are you using? Kind regards, Jeroen Reijn Ralph Rauscher wrote: Hi, I tried to access (read-only) items of a selection list within flowscript. This selection list is fed from a cocoon pipeline. In the cforms

Re: Access items from a selection list from within flowscript

2007-01-15 Thread Mark Lundquist
On Jan 15, 2007, at 10:29 AM, Ralph Rauscher wrote: Now if I try the following code var selList = widget.getFieldDefinition().getSelectionList(); var selListItems = selList.getItems() selListItmems will be null. I've used the exact same code for another selection list - however that