• 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: Silly error message using wo:popupButton in WOLips' component editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silly error message using wo:popupButton in WOLips' component editor


  • Subject: Re: Silly error message using wo:popupButton in WOLips' component editor
  • From: David Avendasora <email@hidden>
  • Date: Mon, 24 Mar 2014 09:17:28 -0400

Hi Christopher,

What Paul and Jesse said is true, WOLips’ component validation is flakey and *usually* updating (F5), cleaning (without rebuilding), restarting eclipse, and then rebuilding will get the component validator to pull it’s head out of it’s dev/null, but not always.

Out of curiosity, I usually see this problem when I’ve put components in a sub-directory of the Components directory. Is the component you are seeing this false-error in in the root of the Components directory?

Dave


On Mar 24, 2014, at 4:51 AM, Christoph Wick <email@hidden> wrote:

> Hello List,
>
> I get a silly error message in WOLips' component editor. The component content is
>
>> <wo:popUpButton list="$customerRoleList" item="$customerRoleItem" selection="$customerRoleSelection" displayString = "$customerRoleDisplayString" noSelectionString = "$noSelectionString" />
>
> seems ok so far.
>
> But in the component editor I get a silly error message:
>
>> 'item' must be bound when 'displayString' or 'value' is bound
>
>
> 'item' is bound, so what's going on here?
>
> "Project->clean" in Eclipse didn't help.
>
> Any ideas? Thanks.
>
> C.U.CW
> --
>
> Christoph Wick - Diplom Informatiker, Managing Director
> i4innovation GmbH, Professor-Neu-Allee 39, 53225 Bonn, Germany
>
> T +49 2 28 28 62 97 93
> M +49 1 51 22 65 78 90
> F +49 2 28 28 62 97 99
> M email@hidden
> W www.i4innovation.de
> Skype: christoph_wick
>
> Geschäftsführer: Thomas Heep, Christoph Wick
> Sitz der Gesellschaft: Bonn | Amtsgericht Bonn HRB 18548 | USt-IdNr.: DE276502600
>
>> package de.propilots.proPilotsMgmtApp.components;
>>
>> import com.webobjects.appserver.WOContext;
>> import com.webobjects.foundation.NSArray;
>>
>> import de.propilots.proPilotsMgmtApp.Session;
>> import de.propilots.proPilotsMgmtApp.businessLogic.PPCustomerRole;
>> import er.extensions.components.ERXComponent;
>>
>> public class PPCustomerRolePopupComponent extends ERXComponent {
>>
>> 	private static final long serialVersionUID = -6177136293683095903L;
>>
>> 	private NSArray<PPCustomerRole > customerRoleList = null;
>> 	private PPCustomerRole customerRoleItem;
>> 	private PPCustomerRole customerRoleSelection;
>>
>> 	public PPCustomerRolePopupComponent(WOContext context) {
>>        super(context);
>>    }
>>
>> 	public NSArray<PPCustomerRole > customerRoleList() {
>> 		if (null == customerRoleList) {
>> 			customerRoleList = new NSArray<PPCustomerRole>(PPCustomerRole.COMPANY, PPCustomerRole.PERSONAL);
>> 		}
>> 		return customerRoleList;
>> 	}
>>
>> 	public PPCustomerRole customerRoleSelection() {
>> 		return customerRoleSelection;
>> 	}
>>
>> 	public void setCustomerRoleSelection(PPCustomerRole customerRoleSelection) 	 {
>> 		this.customerRoleSelection = customerRoleSelection;
>> 	}
>>
>> 	public String noSelectionString() {
>> 		if (((Session) session()).locale().isDE()) {
>> 			return "- bitte auswählen -";
>> 		} else {
>> 			return "- please choose -";
>> 		}
>> 	}
>>
>> 	public PPCustomerRole customerRoleItem() {
>> 		return customerRoleItem;
>> 	}
>>
>> 	public String customerRoleDisplayString() {
>> 		if (((Session) session()).locale().isDE()) {
>> 			return customerRoleItem.displayStringDE();
>> 		} else {
>> 			return customerRoleItem.displayStringEN();
>> 		}
>> 	}
>> }
>
>
> _______________________________________________
> 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


—————————————————————————————
WebObjects - so easy that even Dave Avendasora can do it!™
—————————————————————————————
David Avendasora
Senior Software Abuser
Nekesto, Inc.







 _______________________________________________
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: Silly error message using wo:popupButton in WOLips' component editor
      • From: Christoph Wick <email@hidden>
References: 
 >Silly error message using wo:popupButton in WOLips' component editor (From: Christoph Wick <email@hidden>)

  • Prev by Date: Re: Derived attribute problem
  • Next by Date: Re: DirectAction with multipart/form-data does not get multiple parameters
  • Previous by thread: Re: Silly error message using wo:popupButton in WOLips' component editor
  • Next by thread: Re: Silly error message using wo:popupButton in WOLips' component editor
  • Index(es):
    • Date
    • Thread