To other fearless cocoon users ..
my configuration: cocoon 2.1.5.1, j2sdk1.4.2_04
running on Debian, Mozilla1.0
I'm about to implement a cforms application with basic
db-table browsing and editing functionality.
example "form1" is my main source of inspiration (very
nice), however, three issues remain unclear to me:
1) unintentional triggering of repeater actions !
2) is it necessary to trigger value-changed events in
listbox' (choice) ?
3) how to implement scrollable repeater-widgets ?
add 1) Going through the block sample "form1", I
wonder why and how the repeater-action "add-row" is
seemingly triggered each time I do a CR in any of the
input widgets, e.g. the e-mail widget (and not
exclusively when I press the "add contact" button).
This way, rows (contacts) are unintentionally added to
the repeater widget with each validation.
add 2) Copying the
<fi:group>
<fi:styling type="choice"/>
<fi:label>panel: </fi:label>
<fi:state>
<ft:widget id="state"/>
</fi:state>
etc..
works fine as long as I programatically change the
state. However, selecting a specific tab from the
choice-list (drop down widget) has no immediate
effect: my interactive selection doesn't trigger a
value-changed event. The value has changed, but this
has an effect only after validation. I can't find any
action-handler for such a choice-list in the examples,
so do I have to trigger (and how) a value-changed
event in a listbox explicitely ?
add 3) how do you deal with large database tables when
you only want to display a couple of rows in a
repeater-widget. "Scrollable tables" is more a
client-side scripting strategy isn't it ?
Any suggestions would help me realy a lot since I
don't know where to find more information about this.
many thanks Nick
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]