Jahia Dev Forum > result page of the...

0 (0 Good)
0 (0 Bad)

result page of the jahia action

by  bharatkasodariya »  2014/03/03 05:59

writing search page. Created search field and buttons in jsp. Also defined action class to execute the search query. Now want to show the generated result on the page. In which jsp the action would be returned? in the same jsp where search fields are defined? 

how to set result page in jahia action. 

 

  (bharatkasodariya)

Number of messages  57
Registration date
0 (0 Good)
0 (0 Bad)

Re: result page of the jahia action

by  shyrkov »  2014/03/19 11:23

Hello,

yes, by default the actions redirects to the same node (same JSP view).

You could pass a desired node URL (you can pass same node with a different view to display search results, if needed).

The mechanism and parameters are described in the Jahia 6.61 Integrator’s guide on page 114 in the section "5.2.3.2  Add hidden fields for Jahia under the <form> tag".

 

Kind regards

Sergiy

  • Re: result page of the jahia action
    2014/03/19 11:23

    shyrkov <p> Hello,</p> <p> yes, by default the actions redirects to the same node (same JSP view).</p> <p> You could pass a desired node URL (you can pass same node with a different view to display search results, if needed).</p> <p> The mechanism and parameters are described in the <a href="http://www.jahia.com/files/live/sites/jahiacom/files/Resources/docs/6.61/en/Jahia6.61_IntegratorGuide-1.pdf">Jahia 6.61 Integrator&rsquo;s guide</a> on page 114 in the section &quot;5.2.3.2&nbsp; Add hidden fields for Jahia under the &lt;form&gt; tag&quot;.</p> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Mar 19, 2014
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page