• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AJAX and WOForm (ERXForm)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AJAX and WOForm (ERXForm)


  • Subject: Re: AJAX and WOForm (ERXForm)
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 4 Feb 2009 11:18:52 -0800


On Feb 3, 2009, at 10:03 AM, Amedeo Mantica wrote:

Hi,

A simple question...

I have a WOForm with an AjaxSubmitButton that works very nice,... if the user clicks on the AjaxUpdateButton

I'm getting in trouble in the user hits the return button because the WOForm does't do an Ajax request.

At the moment I workarounded the problem using the AjaxUtils.isAjaxRequest method to check the request and return the response according the request.

How to force wo form submitting an ajax request?


I have been thinking about this too. So far, no good solutions. I made a DefaultButton that I put first in my regular forms, like this:

Button: WOImageButton {
	action = ^action;
	src = "/cadre/images/clear1x1.gif";
	tabindex = "";
	class = cssClass;
	style = ^style;
	id = ^id;
}

You then bind this to what you want called when the user hits Enter. It should be possible to make an Ajax version. It is on my "To Do" list to find a solution.

Chuck

--
Chuck Hill             Senior Consultant / VP Development

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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: AJAX and WOForm (ERXForm)
      • From: John Larson <email@hidden>
References: 
 >AJAX and WOForm (ERXForm) (From: Amedeo Mantica <email@hidden>)

  • Prev by Date: Re: Session ID persistence between applications
  • Next by Date: plain jar utility app, with wonder?
  • Previous by thread: AJAX and WOForm (ERXForm)
  • Next by thread: Re: AJAX and WOForm (ERXForm)
  • Index(es):
    • Date
    • Thread