[JAVASERVERFACES_SPEC_PUBLIC-1180] Do not include empty view params using `includeViewParams=true` Created: 07/Apr/13  Updated: 13/Aug/14

Status: Open
Project: javaserverfaces-spec-public
Component/s: Ajax/JavaScript, Navigation
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: djmj Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Glassfish 3.12


Tags: includeviewparams, navigation

 Description   

Having a command component with an action attribute and using 'includeViewParams=true' using Navigation will include all view parameters defined in `f:metadata`.

But empty parameters are passed as String representations creating ugly url's.

'site.xhtml?key1=value1&key2=&key3='



 Comments   
Comment by djmj [ 27/Apr/13 ]

In my Converter's I return now null instead of empty String. Since it seems null value's won't be included.

But this leads to other issue: https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1187

Comment by Ed Burns [ 01/Aug/14 ]

Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

Generated at Sun Mar 29 16:48:42 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.