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 protected]> 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 protected]
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
> 
> This email sent to [email protected]


—————————————————————————————
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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to