Re: Silly error message using wo:popupButton in WOLips' component editor
Re: Silly error message using wo:popupButton in WOLips' component editor
- Subject: Re: Silly error message using wo:popupButton in WOLips' component editor
- From: Christoph Wick <email@hidden>
- Date: Tue, 25 Mar 2014 09:21:35 +0100
Hello List.
Thx for all the help - it was something different and I think, I found the culprit:
For an IDontKnowWhyReason, the build.properties file of my project contained the following lines:
> component.inlineBindingPrefix=$
> component.inlineBindingSuffix=
I assume this came from changing the value in preferences dialog of Eclipse.
I removed the second line and the error messages disappeared.
C.U.CW
--
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds.
On 24.03.2014, at 14:17, David Avendasora <email@hidden> wrote:
> 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