• Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirect after download  RSS feed

 
Abhi Singh
Greenhorn
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)" />
</on-entry>
<transition to="finish"/>
</view-state>

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" />
</rich:menuItem>

In even times of call I am not getting goToState. Most probably because when I get the form the page is not rendered because the flow ends.
Can anyone help me to find out the exact issue behind this.
 
Ilari Moilanen
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't this topic only a copy of this?
http://www.coderanch.com/t/521845/JSF/java/download-pdf-spring

I read the old topic before but did not understand your question there and I do not think it is wise to just post the same topic twice if the first one was so incoherent or otherwise flawed or strange that no one offered a response.

I recommend that you at least use code tags when you post your code and rephrase your question so that it gives more information of your situation and what actually is not working.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!