OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Properties


Within a “PropertList” type, can the same named property (multiple Properties element with same name attribute) appear more than once?  If yes, does that mean it is an array of values for the same property?  

 

Within a single “Property” type (Properties element in setPortletProperties, etc.), the value can be either a single “stringValue” or “Any”.  What can “Any” be: multiple elements identified by the property name QName and defined by the property type?  If multiple elements with same name exist, are they multiple property values? And if so, why not have multiple “stringValue” property values?

 

Given the example of returning portlet properties in the 1.0 primer:

 

<urn:getPortletPropertiesResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">

            <urn:properties name=" stockSymbolList">

<urn:stringValue>AMZN</urn:stringValue>

</urn:properties>

<urn:properties name="refreshInterval">

                        <xs:int xmlns:xs="http://www.w3.org/2001/XMLSchema">180</xs:int>

            </urn:properties>

</urn:getPortletPropertiesResponse>

 

In 2.0, would this look like the following:

 

<urn:getPortletPropertiesResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types" xmlns:mn=”urn:mynamespace”>

            <urn:propertyList>

            <urn:properties name="mn:stockSymbolList">

<urn:stringValue>AMZN</urn:stringValue>

</urn:properties>

<urn:properties name="mn:refreshInterval">

            <mn:refreshInterval>

                                    <xs:int xmlns:xs="http://www.w3.org/2001/XMLSchema">180</xs:int>

                        </mn:refreshInterval>

            </urn:properties>

<urn:propertyList>

</urn:getPortletPropertiesResponse>

 

Is this correct?

 

Nader Oteifa

NetUnity Software

 

 

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]