• 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: takeFormValuesFromRequest problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: takeFormValuesFromRequest problem


  • Subject: Re: takeFormValuesFromRequest problem
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 14 May 2008 17:56:03 +1000

Hi there,

On 14/05/2008, at 5:20 PM, Stephane Guyot wrote:

your trouble comes from the bias you create between the server state and the client state.
When you modify the UI via javascript, when you add the company name on the client side and show the company name, the server side doesn't know that there's a new value ?

It should. The javascript is only adjusting the display:none or otherwise.


There's no elementID in the tree of component on the server side for companyName and WebObjects doesn't know he should extract a form value for that unknown key.

There is an elementID as it's in the html as such.

The better thing thing to do is to extract value by hand and set it in your EO in takeValuesFromRequest ?

Actually, the solution I found was simply to supply the name binding on the element to the same value as the key it should set.


Thanks anyway.

with regards,
--

Lachlan Deck
_______________________________________________
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: takeFormValuesFromRequest problem
      • From: Bogdan Zlatanov <email@hidden>
    • Re: takeFormValuesFromRequest problem
      • From: Mike Schrag <email@hidden>
References: 
 >takeFormValuesFromRequest problem (From: Lachlan Deck <email@hidden>)
 >Re: takeFormValuesFromRequest problem (From: Andrew Lindesay <email@hidden>)
 >Re: takeFormValuesFromRequest problem (From: Lachlan Deck <email@hidden>)
 >Re: takeFormValuesFromRequest problem (From: Stephane Guyot <email@hidden>)

  • Prev by Date: Re: takeFormValuesFromRequest problem
  • Next by Date: Servlet Deployment Problem on Tomcat
  • Previous by thread: Re: takeFormValuesFromRequest problem
  • Next by thread: Re: takeFormValuesFromRequest problem
  • Index(es):
    • Date
    • Thread