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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-markup message

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


Subject: Re: [wsia][wsrp-markup] URL writing



It seems we are making good progress here.

Following it's a alternative syntax that would allow the producer to use 
a simple utility class such as the Java java.text.MessageFormat class to 
create the URL template or the URL depending on the type or rewriting.

I've added something I don't remember if it has been discussed or not 
yet, that ACTION and RENDER URLs may contain a window state or a portlet 
mode.

Regards.

Alejandro.


Consumer URL writing:

The [...] markers should be replaced with the appropiate tokens for high 
performance parsing.

Producer writes the following URL templates in the content.

ACTION:

     [action-marker]
       prefix:action={0}&
       prefix:blocking-action={1}&
       prefix:windowState={2}&
       prefix:portletMode={3}
       {4}
     [/action-marker]

  prefix : wsia or wsrp (depending on the consumer)
  {0}    : action ID
  {1}    : true or false
  {2}    : window state, optional (may be empty String, no change)
  {3}    : portlet mode, optional (may be empty String, no change)
  {4}    : (&param=value)*


RENDER:

     [render-marker]
       prefix:windowState={0}&
       prefix:portletMode={1}
       {2}
     [/render-marker]

  prefix : wsia or wsrp (depending on the consumer)
  {0}    : window state, optional (may be empty String, no change)
  {1}    : portlet mode, optional (may be empty String, no change)
  {2}    : (&param=value)*


RESOURCE:

     [resource-marker]
       {0}
     [/resource-marker]

  {0}    : full URL


NAMESPACING:

     [namespacing-marker/]

------------------------------------------------------------
Producer URL writing:

Consumer provides the following URL templates to the producer.

ACTION:

     [protocol]://[host]:[port]/[portal-action-uri]?
     prefix:entity=[entityID]&
     prefix:action={0}&
     prefix:blocking-action={1}&
     prefix:windowState={2}&
     prefix:portletMode={3}
     {4}

  []     : set by the consumer
  prefix : wsia or wsrp (depending on the consumer)
  {0}    : action ID
  {1}    : true or false
  {2}    : window state, optional (may be empty String)
  {3}    : portlet mode, optional (may be empty String)
  {4}    : (&param=value)*


RENDER:

     [protocol]://[host]:[port]/[portal-render-uri]?
     prefix:entity=[entityID]&
     prefix:windowState={0}&
     prefix:portletMode={1}
     {2}

  []     : set by the consumer
  prefix : wsia or wsrp (depending on the consumer)
  {0}    : window state, optional (may be empty String)
  {1}    : portlet mode, optional (may be empty String)
  {2}    : (&param=value)*


RESOURCE:

     [protocol]://[host]:[port]/[portal-resource-uri]?
     prefix:entity=[entityID]
     &prefix:resource={0}

  []     : set by the consumer
  prefix : wsia or wsrp (depending on the consumer)
  {0}    : full URL


NAMESPACING:

     [namespace-element]

  []     : set by the consumer

------------------------------------------------------------
Full URLs in the resource allow references to multiple servers.

If not rewriting is necessary no template is used (both scenarios).




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


Powered by eList eXpress LLC