> 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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to