Re: foreach: list must not be a constant
Re: foreach: list must not be a constant
- Subject: Re: foreach: list must not be a constant
- From: John Pollard <email@hidden>
- Date: Fri, 15 Feb 2013 11:00:30 +0000
Many thanks, that fixed it, I had:
component.inlineBindingPrefix=[
component.inlineBindingSuffix=]
component.wellFormedTemplateRequired=true
Though using $ as the binding did actually work, even given the error showing.
Also my previous note about using an NSMutableArray was a red herring, the error message popped up again later.
Any pointers to best resources for learning the wognl way would be gladly received. I have found the list of wo: shortcuts in Eclipse, Preferences, WOLips, Inline Binding Shortcuts
John
On 15 Feb 2013, at 08:14, Þór Sigurðsson <email@hidden> wrote:
> Check if these lines are missing from your project's build.properties file:
>
> component.inlineBindingPrefix=$
> component.inlineBindingSuffix=
> component.wellFormedTemplateRequired=false
>
> /Þór
>
> On 14.2.2013, at 19:24, John Pollard wrote:
>
>> Hi List,
>>
>> In wolips html view I get an error on the first line of the following html code:
>>
>> <wo:foreach list="$playerGroups" item="$nextPlayerGroup">
>> <wo:ERQMListViewElement>
>> <h3><webobject name="playerGroupLink"></webobject></h3>
>> </wo:ERQMListViewElement>
>> </wo:foreach>
>>
>> The error is on the foreach line: "list must not be a constant", though it isn't a constant and it works ok when run.
>>
>> I have updated wolips based on http://wocommunity.org/wolips/3.7/stable/
>>
>> Thanks for any help.
>> John
>>
>>
>>
>> _______________________________________________
>> 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
>
>
> ________________________________
>
> Fyrirvari á tölvupósti / e-mail disclaimer
> http://us.is/fyrirvari
_______________________________________________
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