Thanks Chuck - that worked fine (and having read up a little more, I think I even understand why what I was doing didn't work...)

Many thanks,

-- Steve

On 22 Apr 2006, at 01:53, Chuck Hill wrote:

The easy solution is to wrap it all in a form and make the WOHyperlinks submit buttons.

Otherwise, you will need some JavaScript and trickery to get the form submitted and let WO know which link was clicked.

Chuck

On Apr 21, 2006, at 5:49 PM, Steve Sharman wrote:

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--
Coming in late 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/ practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to