• 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: Binding to static vars?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding to static vars?


  • Subject: Re: Binding to static vars?
  • From: getsharp--- via Webobjects-dev <email@hidden>
  • Date: Sat, 12 Oct 2019 08:13:04 +1000

It’s certainly handy, but yes you feel a little bit dirty afterwards.

Component validation is sacrificed.

I usually tell myself I’ll go back and “do it properly”, which I rarely do.

Quick negation is my weakness eg:
disabled = ~!enabled;

Sharpy.

edit: oh dear, my workspace suggests I’m using woogln for ternary & logical
operations, string concatenation, building dictionaries for queryDictionary
bindings … and more. eep!


> On 12 Oct 2019, at 1:30 am, Markus Ruggiero via Webobjects-dev
> <email@hidden> wrote:
>
> On 11 Oct 2019, at 16:53, Hugi Thordarson via Webobjects-dev
> <email@hidden <mailto:email@hidden>>
> wrote:
>>
>> Well, it's *possible*…
>>
>> <wo:str value="~@some.package.SomeClass@someStaticVariable" />
>>
>> https://wiki.wocommunity.org/display/documentation/WOOgnl+Framework
>> <https://wiki.wocommunity.org/display/documentation/WOOgnl+Framework>
>>
>> That being said, I've never actually used these more elaborate-y obscure-y
>> OGNL features. They just feel … wrong.
>>
>> - hugi
>>
>
> Wow, never looked at (WO)OGNL.
> Will certainly look these up (and yes, probably somehow wrong)
>
> Thanks for all the answers (and hey, great, there are still folks inhabiting
> this list)
> ---markus---
>
>
>>
>>
>>> On 11 Oct 2019, at 14:26, Markus Ruggiero via Webobjects-dev
>>> <email@hidden> wrote:
>>>
>>> Quick problem:
>>>
>>> html/wod: Can I bind to a static variable (class property)? I think I
>>> remember having read once that this is possible but cannot remember where
>>> or how.
>>>
>>> Thanks for any help
>>> ---markus---
>>> _______________________________________________
>>> 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
>> <mailto:email@hidden>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden
> <mailto:email@hidden>)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden <mailto: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: 
 >Binding to static vars? (From: Markus Ruggiero via Webobjects-dev <email@hidden>)
 >Re: Binding to static vars? (From: Hugi Thordarson via Webobjects-dev <email@hidden>)
 >Re: Binding to static vars? (From: Markus Ruggiero via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Binding to static vars?
  • Next by Date: Re: Binding to static vars?
  • Previous by thread: Re: Binding to static vars?
  • Next by thread: Re: Binding to static vars?
  • Index(es):
    • Date
    • Thread