Re: multiple rules - but only use one

AJ Mercer <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAPURtC0qSiX1o5F6nCSfhgus1bShaa4Htx29V=5hakALdF_hNQ@mail.gmail.com>
it will be a mixture of rules some the same, but not all


On 15 November 2012 12:46, Justin Carter <[email protected]> wrote:

> Yep, you would need to use some kind of flag in the request scope and
> check it in the execute webskin before outputting anything - if they are
> all the same type of rule and it's just the one container of rules per page
> then it should be easy enough.
>
> cheers,
> Justin
>
>
> On Thu, Nov 15, 2012 at 3:38 PM, AJ Mercer <[email protected]> wrote:
>
>> does any one know of a way where you can put multiple rules into a
>> container, but after one "has returned something", no other rules are fired?
>>
>> I would like to add multiple rules, with the last one being default
>> content, which run in order, but if one of them has content, the other
>> rules are not executed.
>>
>> I am thinking of putting something into the request scrope, eg
>> REQUEST['ruleMyRule'] = true|false
>> but was wondering if there was a 'farcry' way of doing this
>>
>>
>>
>> --
>>
>> *AJ Mercer*
>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
>> community="Open" /> <http://webonix.org>
>> http://twitter.com/webonix
>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>>
>>  --
>> You received this message cos you are subscribed to "farcry-dev" Google
>> group.
>> To post, email: farcry-dev-/[email protected]
>> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>>
>>
>>
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>
>
>



-- 

*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.