• 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: OT: Netbeans 7 Beta
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Netbeans 7 Beta


  • Subject: Re: OT: Netbeans 7 Beta
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 19 Nov 2010 13:55:47 -0500

> Also like how you can do inline basic logic i.e.(see rendered attribute).
>
> <h:outputText escape="false" value="(No Manufacturer Items Found)<br />" rendered="#{manufacturer.pagingInfo.itemCount == 0}" />
>
> Is there a way to do that with WOGNL?
"can" vs "should". Can you? sure, same thing but with a ~. Should you? probably not. Code in Java, not in bindings. You'll live a longer life.

> Could you use a helper function in this situation?
Sure .. ManufacturerHelper.shouldRender(Manufacturer) returns boolean ... rendered="$manufacturer|shouldRender"

ms _______________________________________________
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: 
 >OT: Netbeans 7 Beta (From: Johnny Miller <email@hidden>)

  • Prev by Date: OT: Netbeans 7 Beta
  • Next by Date: Re: Basic App & Bundle-less Builds
  • Previous by thread: OT: Netbeans 7 Beta
  • Next by thread: ERRest and ToMany relationships
  • Index(es):
    • Date
    • Thread