← Prev in month ← Prev in thread

Multi-valued portlet properties

From
Subbu Allamaraju <>
Date
2003-11-09T16:48:49+00:00
ID
Thread
Multi-valued portlet properties
To continue the discussion on the multi-valued portlet properties issue 
that I brought up a couple of weeks ago, here is a summary of options:

a. Use the predefined StringArray type. Producer introduces a custom 
wrapper type to hold StringArray. Consumers introspect the response to 
find the wrapper type.

b. Add multiple Property elements for each value of a property. So, if a 
property "p1" has two values "v1" and "v2", the consumer will receive 
two Property elements one with value "v1" and the other with value "v2" 
and both with the same name "p1".

Arguments for (a) - clean, typed
Arguments against (a) - needs a schema extension, can't interoperate 
without introspection

Arguments for (a) - typed, does not require a schema extension
Arguments against (b) - multiple properties with the same name might 
confuse consumers (although, with the current schema, it is perfectly 
legal to send multiple properties with the same)

Regards,

Subbu
← Prev in month ← Prev in thread