• 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: Pascal Robert <email@hidden>
  • Date: Fri, 15 Feb 2013 11:24:39 -0500

Le 2013-02-15 à 06:00, John Pollard <email@hidden> a écrit :

> 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

http://wiki.wocommunity.org/display/documentation/WOOgnl+Framework

> 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


 _______________________________________________
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


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>)
 >Re: foreach: list must not be a constant (From: John Pollard <email@hidden>)

  • Prev by Date: Re: ideas to dupe an EO
  • Next by Date: Re: ideas to dupe an EO
  • Previous by thread: Re: foreach: list must not be a constant
  • Next by thread: ideas to dupe an EO
  • Index(es):
    • Date
    • Thread