• 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: Juergen Lorenz Simon <email@hidden>
  • Date: Wed, 14 May 2008 14:15:15 +0200

On 14.05.2008, at 13:54, Mike Schrag wrote:

It should. The javascript is only adjusting the display:none or otherwise.
Wait, so you're saying it's display:none and you're making NO structural changes to the form on the server side and it's still being passed a null? I'm calling shenanigans :) That doesn't make sense at all.

How about losing the Javascript and give the checkbox an onchange=this.form.submit(). You could check if only the
checkbox changed and use a conditional to present the different form. This way server-side and client-side structure
would be in sync all the time.


The alternative is to use more Javascript to fill a hidden form value with "company" or "user" and evaluate the request
based on that.


Simon

_______________________________________________
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


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>)
 >Re: takeFormValuesFromRequest problem (From: Lachlan Deck <email@hidden>)
 >Re: takeFormValuesFromRequest problem (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Servlet Deployment Problem on Tomcat [SOLVED]
  • Next by Date: Re: Generated SQL failing to execute cleanly with PostgreSQL: a fix
  • Previous by thread: Re: takeFormValuesFromRequest problem
  • Next by thread: Re: takeFormValuesFromRequest problem
  • Index(es):
    • Date
    • Thread