Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

download a pdf in spring  RSS feed

Abhi Singh
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<view-state id="downloadForm" view="externalRedirect:/download">
<on-entry >
<evaluate expression="clientService.getClientConsentForm(flowRequestContext.externalContext)" />
<transition to="finish"/>

I am calling this function from a drop down but i am getting the form in alternate times.
I am using the given below function for the download

<rich:menuItem action="menuRedirect" value="#{messages.client_consent_form_label}">
<f:param name="redirectTo" value="client?goToState=downloadForm" />

In even times of call I am not getting goToState. Most probably because when I get the form the page is not rendered.
Can anyone help me to find out the exact issue behind this.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!