From: Mike S. <ms...@po...> - 2012-04-26 15:53:51
|
yeah, make it $~... instead of $... and it should work as-is. ms On Apr 26, 2012, at 8:40 AM, Kieran Kelleher wrote: > Also you could probably use a WOOgnl expression. > > On Apr 26, 2012, at 11:14 AM, Giles Palmer wrote: > >> Hi >> >> Ok, thanks for this I'll take a look. >> >> Cheers >> >> Giles >> >>> Usually a method might be created in the component java file, for example public boolean isRefactoredAndHasFirstDate(), that would evaluate both booleans and return a single boolean result. >>> >>> However if you want something reusable you might be able to use er.extensions.foundation.ERXBooleanExpressionParser and a custom ERXWOConditional subclass. >>> >>> If you want to see an example of ERXBooleanExpressionParser in use, you will find it in this simple privilege conditional parser that takes expressions such as "canCreateBooks AND isAuthor AND NOT isSysAdmin" >>> >>> https://github.com/kierankelleher/WebObjectsIncubator/blob/master/ERRoleBasedAccessControl/Sources/er/rbac/components/ERPrivilegeConditional.java >>> >>> HTH, Kieran >>> >>> On Apr 26, 2012, at 10:06 AM, Giles Palmer wrote: >>> >>>> Hi >>>> >>>> I'm trying to do the equivalent of the following with inline bindings... >>>> >>>> >>>> <wo:if condition="$support.haveFirstDate && $support.isRefactored" negate="$true"> >>>> ..... >>>> </wo:if> >>>> >>>> >>>> This doesn't work, what is the syntax to resolve multiple boolean conditions with inline bindings? >>>> >>>> Many thanks >>>> >>>> >>>> Giles >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Wonder-disc mailing list >>>> Won...@li... >>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >>> >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc |