• 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: foreach: list must not be a constant
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: foreach: list must not be a constant
      • From: Pascal Robert <email@hidden>
References: 
 >foreach: list must not be a constant (From: John Pollard <email@hidden>)
 >Re: foreach: list must not be a constant (From: Þór Sigurðsson <email@hidden>)

  • Prev by Date: Re: WYSIWIG editor with WO
  • Next by Date: RE: Business rules and filtering
  • Previous by thread: Re: foreach: list must not be a constant
  • Next by thread: Re: foreach: list must not be a constant
  • Index(es):
    • Date
    • Thread