• 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: ERXBooleanSelector Error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXBooleanSelector Error?


  • Subject: Re: ERXBooleanSelector Error?
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 09 Mar 2011 11:45:42 -0800

It is a bug.  Can you file a Jira:
http://wiki.objectstyle.org/confluence/display/WONDER/Creating+and+Submitting+an+Acceptable+Patch

Chuck


On Mar 9, 2011, at 11:08 AM, Jeffrey Simpson wrote:

> I think I found a bug in the ERXBooleanSelector component.  If you have an 2 instance of ERXBooleanSelector on a page one as a popup and one as radio buttons the option field was left with false in it.  This cause my noSelectionString to end up the same as my noString on the second instance.  This can be fixed by adding a reset method.  Here is a patch.
>
> Index: Sources/er/extensions/components/ERXBooleanSelector.java
> ===================================================================
> --- Sources/er/extensions/components/ERXBooleanSelector.java    (revision 11801)
> +++ Sources/er/extensions/components/ERXBooleanSelector.java    (working copy)
> @@ -114,4 +114,11 @@
>        public NSArray<Boolean> options() {
>                return _options;
>        }
> +
> +       @Override
> +       public void reset() {
> +               _option = null;
> +               _proxy = null;
> +               super.reset();
> +       }
> }
> \ No newline at end of file
>
>
>
> Jeffrey Simpson
> Senior Software Engineer
> Telephone: 240.235.2144
> Fax: 240.235.2174
> email@hidden
>
> Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world.
> _______________________________________________
> 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

--
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







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: ERXBooleanSelector Error?
      • From: Jeffrey Simpson <email@hidden>
References: 
 >ERXBooleanSelector Error? (From: Jeffrey Simpson <email@hidden>)

  • Prev by Date: ERXBooleanSelector Error?
  • Next by Date: Problem with multiple aplication
  • Previous by thread: ERXBooleanSelector Error?
  • Next by thread: Re: ERXBooleanSelector Error?
  • Index(es):
    • Date
    • Thread