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

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


  • Subject: Silly error message using wo:popupButton in WOLips' component editor
  • From: Christoph Wick <email@hidden>
  • Date: Mon, 24 Mar 2014 09:51:14 +0100

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


  • Follow-Ups:
    • Re: Silly error message using wo:popupButton in WOLips' component editor
      • From: David Avendasora <email@hidden>
    • Re: Silly error message using wo:popupButton in WOLips' component editor
      • From: Jesse Tayler <email@hidden>
    • Re: Silly error message using wo:popupButton in WOLips' component editor
      • From: Paul Hoadley <email@hidden>
  • Prev by Date: Re: Derived attribute problem
  • Next by Date: Re: Silly error message using wo:popupButton in WOLips' component editor
  • Previous by thread: Re: Derived attribute problem
  • Next by thread: Re: Silly error message using wo:popupButton in WOLips' component editor
  • Index(es):
    • Date
    • Thread