• 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: Values in URL for WOCheckBox?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Values in URL for WOCheckBox?


  • Subject: Re: Values in URL for WOCheckBox?
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 13 Mar 2015 17:18:41 +0000
  • Thread-topic: Values in URL for WOCheckBox?

Hi John,

It has been a while, but I think you want to bind
value = true;

value
Value of this input element. If not specified, WebObjects provides a default value.


Chuck


On 2015-03-13, 3:27 AM, "John Pollard" wrote:

Hi List,

I have a direct action method called from a form submission, where the form includes WOCheckBox. I note that if the check boxes start unselected, then any that are selected prior to the form submission appear in the direct action url like this:

si_218515=0.0.23.5.1.20.0.6.5.1.5.7.1.1.1

Where si_218515 is the name I assigned to the WOCheckBox

I would have expected a value of true/false or 1/0. What am I actually getting with 0.0.23.5.1.20.0.6.5.1.5.7.1.1.1 and can I change it to be something shorter, as all I care about is whether a check box is selected.

In fact I can work on the presence or absence of any value as unchecked boxes are omitted, but it would be nice to shorten the url and ideally have a true or false.

Thanks
John


_______________________________________________
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
 _______________________________________________
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: Values in URL for WOCheckBox?
      • From: John Pollard <email@hidden>
References: 
 >Values in URL for WOCheckBox? (From: John Pollard <email@hidden>)

  • Prev by Date: Re: Redirect vs mod_webobjects
  • Next by Date: Curl with javamonitor direct actions
  • Previous by thread: Values in URL for WOCheckBox?
  • Next by thread: Re: Values in URL for WOCheckBox?
  • Index(es):
    • Date
    • Thread