wsrp message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [wsrp] [CR #303] Template processing
- From: Rich Thompson <richt2@us.ibm.com>
- To: wsrp@lists.oasis-open.org
- Date: Thu, 20 Nov 2003 13:29:04 -0500
Document: Spec
Section: 10.2.2 (Producer URL Writing)
Requested by: Interop SC
Old text: These tokens are enclosed in curly braces (i.e. "{"
and "}") and contain the name of the portlet URL parameter that
should be replaced.
New text: These tokens are enclosed in curly braces (i.e. "{"
and "}") and contain the name of the portlet URL parameter which
the Producer MUST replace (using "" for those parameters where
the Producer has no value).
Errata? yes
Reasoning: The current ambiguity will make for a lot of additional Consumer
logic to protect itself. It should be noted that this does introduce semantics
to a portlet url parameter having the empty string as its value, namely
that the url is not supplying this information to the Consumer. This is
equivalent to the parameter being missing from a consumer url rewriting
expression.
Debate: There has been a significant separation
into two camps, hopefully the following will summarize the positions reasonably.
If not, I'm sure their proponents will speak up.
1. If the Portlet/Producer declares that
it will do template processing (an optional functionality), then it should
do it completely rather than still require the Consumer to manage a number
of variants. Variants the SC has envisioned are this proposal and the original
{wsrp-*} being left in the url.
2. There are a number of cases where this
adds burden on the Producer (e.g. portlet doesn't supply values that the
template requests). For example, consider the use of the default template
for a resource url ... many of the template's parameters do not apply at
all. Also note that this request defines semantics for any additional parameters
added by future versions. Some implementations may choose to process templates
in a manner that eliminates use {wsrp-*}, i.e. also covers non-WSRP defined
terms.
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]