Re: How do I combine Path params with Query params?

Splash Forums PrettyFaces Users How do I combine Path params with Query params? Re: How do I combine Path params with Query params?

#20496

EugeneV
Participant

Bump…

Also, another question: how do I provide default param values? Say, I have something like:

<url-mapping id="report-date">
<pattern value="report/#{reportBean.reportName}/#{reportBean.reportDate}" />
<view-id>/index.jsf</view-id>
<action>#{reportBean.reload}</action>
</url-mapping>

Sure, I can have a second mapping without reportDate, like in my example from a new weeks ago, but if my reportBean is SessionScoped, it will still have reportDate set from a previous request, so then I have to *also* check request params… Can’t I somehow grab params conditionally in a single pattern, and if a param is not present, call its setter with null value?