WOHyperlink and bindings
WOHyperlink and bindings
- Subject: WOHyperlink and bindings
- From: Steve Sharman <email@hidden>
- Date: Sat, 22 Apr 2006 01:49:32 +0100
Dear All,
I'm having a simple problem which I'm sure I can solve by RTFM - my
problem is that at this point I'm not sure which part of the FM I
should be reading...
I have a simple page that allows users to build up a list of
organisations to be included in a mail-merge file, and then to carry
out a few simple operations - create the merge file, log the merge
being taken place and so on. I am using WOHyperlinks and associated
action methods to carry out the operations - once the action has been
taken, I am returning a null WOComponent in order to simply return to
the same page when the actions are complete.
This works fine for what I want, but I'm encountering a problem which
I think makes sense, but that doesn't help me! I've included a couple
of simple text boxes on the page and bound them to String variables.
What I want to be able to do is to be able to pick up the values that
the users enter in these boxes, and use them in the action method
called when my WOHyperlink is called - however doing a good old
diagnostic print on them returns the values as being null. I'm
guessing that I have a problem with binding synchronisation here -
like it's not happening.. (which I'm sure is correct because I'm
using a hyperlink to call a method rather than submitting the page,
but how do I deal with it?).
I'm guessing that the answer here lies somewhere in the information
provided in chapters 6 & 7 of Chuck and Sacha's book which I'm going
to take away and read in a minute - but if anything can throw me a
lifeline whilst I'm away from the Mac scratching my head and wishing
I was cleverer, it would be most appreciated....
With best regards,
-- Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden