Re: OT: Netbeans 7 Beta
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