-
Notifications
You must be signed in to change notification settings - Fork 19
view-param element should be redirect-param in navigation rules #698
Comments
Reported by mojavelinux |
Was assigned to javaserverfowner |
mojavelinux said: |
mojavelinux said: |
mojavelinux said: |
@edburns said: |
@edburns said: |
@edburns said: Include deprecation text on element. https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=744
Section 10.3.2. Correct xref to point to section in appendix that
To ease migration for Facelet taglibraries declared using pre-JSF 2.0 Use of this DTD is officially deprecated. This DTD is included for https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=588
insert around text for h:link and h:button https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=639
change "name" to "type" on description of f:event tag https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=509
Declare that the old, incorrect, Facelets decaration of the uri for https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=673
Clarify what should happen if the target attribute is not specified. https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=642
table 14.4.1, change responseTxt to responseText reorder rows in table 14.3 make use case for event listeners be correct. https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=635
3.5.3, 3.5.6.1: remove references to UInput.encodeEnd(). Not for a https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=740
|
@edburns said: |
rogerk said: |
Marked as fixed on Tuesday, June 22nd 2010, 1:22:20 am |
@manfredriem said: |
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-698 |
The element that was introduced as a child of the
element was supposed to be called . Unfortunately, something got
lost in translation and the terminology for "view parameters" got mixed up with
redirect parameters.
I'll explain the difference. A view parameter is a mapping between a request
parameter and a bean property and is associated with a particular view ID. If
you are linking or redirecting to that view ID, you can have those mappings run
in reverse to build a query string. This is activated with the "include view
parameters" switch on the link (UIOutcomeTarget) component or element.
A redirect parameter in the navigation is equivalent to an <f:param> on a button
or link. It is a manual setting, which may (or may not) override the value of a
view parameter. A perfect example is when you want to create a link to the
previous page of a paginated list. You manually override "page" so that it is
one less than the current page. <f:param name="page" value="#
{nav.page - 1}
"/>
has no business being a child of and should be renamed
to .
Environment
Operating System: All
Platform: All
Affected Versions
[2.0]
The text was updated successfully, but these errors were encountered: