portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Watler <wat...@wispertel.net>
Subject Re: Adding Required Spring Categories Metadata for Filtering
Date Wed, 18 Feb 2009 18:15:37 GMT
David/Ate,

Am going to implement David's suggestion and and recognize a CSV list as 
a special case, (i.e. 'X,Y,Z' -> 'X or Y or Z'), to maintain a limited 
backwards compatibility support. Let me know if we can simply drop the 
CSV case and I will in the name of simplicity.

Randy

David Sean Taylor wrote:
>
> On Feb 18, 2009, at 8:14 AM, Randy Watler wrote:
>
>> Ate,
>>
>> Thanks for the reply. I am still pondering this, so I am not sure I 
>> am going this route. If I do, I will follow your suggestions below.
>>
>> Would you have any objections to using a separate meta tag key for 
>> required, (and possibly inverse), categories? I understand the use of 
>> a '-' and '+' in CSV lists is a pattern in Spring, but unless we 
>> start writing full predicate expressions, the syntax is going to be 
>> obtuse for the layman. Do you think something like this is more clear 
>> or more confusing?
>>
>> <meta key="j2:requires" value="ojb"/>
>> <meta key="j2:cat" value="dbPageMangler"/>
>> <meta key="j2:alias" value"..."/>
>>
>> In fact, perhaps this is even better:
>>
>> <meta key="j2:requires" value="ojb"/>
>> <meta key="j2:supports" value="dbPageMangler"/>
>> <meta key="j2:alias" value"..."/>
>>
>> That way I could also support this syntax in parallel:
>>
>> <meta key="j2:cat" value="dbPageMangler,+ojb"/>
>> <meta key="j2:alias" value"..."/>
>>
>> Thoughts?
>>
>
> Expressions would be the easiest to understand. Distilling to its 
> essence, some examples:
>
> (dbpm OR jpa)
>
> dbpm OR ojb AND serializer
>
>
> <meta key="j2:cat" value="(an expression like above)"/>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message