Show results in other page with IBM WCM





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Hello and happy new year.



I am using IBM WebSphere Portal, I created a collection of data for used the component search.



Finally I get the results in my page, but I need show the results in other page. the problem is that I don't found information in google.



In my content 1->>



I have link a component Search.


presentation template ->>



<form action='/art/Home/result2' method="post">
<table>
<tr><td>
<input type="text" name="search_query" />
</td></tr>
<tr><td align="right">
<input type="submit" value="Buscar"/>
</td></tr>
</table>
</form>


Now with action='/art/Home/result2' I can go a other page, but I lose the results.



Even if I redirect the same page, I also lose the results...



<form action='/art/Home/result'  method="post"> 
.
.
.
<Element context="current" type="content" key="linkComponent">


Now I created my other page "result2" with content ->



<Element context="current" type="content" key="linkComponent">


Obviously if I redirect to the same page it will not work, it will not work on another page



Component Search:



header:



<table>


body:



        <tr><td>
<% int i = 3; %>
<a href="/san/myportal[AttributeResource attributeName="url" separator=","]">
[AttributeResource attributeName="title" separator=","]
</a>
</br>
[AttributeResource attributeName="summary" separator=","]

</td></tr>


footer:



</table>


You can see "JSP" in my code, my intention was "response.sendRedirect to page2.
But The component show literal " <% int .... " :(



Thanks and sorry for my english.










share|improve this question

























  • I am not sure the exact problem you are having, are you wanting to have the search form on one page and target another page?

    – Crosstalk22
    Jan 4 at 16:48


















0















Hello and happy new year.



I am using IBM WebSphere Portal, I created a collection of data for used the component search.



Finally I get the results in my page, but I need show the results in other page. the problem is that I don't found information in google.



In my content 1->>



I have link a component Search.


presentation template ->>



<form action='/art/Home/result2' method="post">
<table>
<tr><td>
<input type="text" name="search_query" />
</td></tr>
<tr><td align="right">
<input type="submit" value="Buscar"/>
</td></tr>
</table>
</form>


Now with action='/art/Home/result2' I can go a other page, but I lose the results.



Even if I redirect the same page, I also lose the results...



<form action='/art/Home/result'  method="post"> 
.
.
.
<Element context="current" type="content" key="linkComponent">


Now I created my other page "result2" with content ->



<Element context="current" type="content" key="linkComponent">


Obviously if I redirect to the same page it will not work, it will not work on another page



Component Search:



header:



<table>


body:



        <tr><td>
<% int i = 3; %>
<a href="/san/myportal[AttributeResource attributeName="url" separator=","]">
[AttributeResource attributeName="title" separator=","]
</a>
</br>
[AttributeResource attributeName="summary" separator=","]

</td></tr>


footer:



</table>


You can see "JSP" in my code, my intention was "response.sendRedirect to page2.
But The component show literal " <% int .... " :(



Thanks and sorry for my english.










share|improve this question

























  • I am not sure the exact problem you are having, are you wanting to have the search form on one page and target another page?

    – Crosstalk22
    Jan 4 at 16:48














0












0








0








Hello and happy new year.



I am using IBM WebSphere Portal, I created a collection of data for used the component search.



Finally I get the results in my page, but I need show the results in other page. the problem is that I don't found information in google.



In my content 1->>



I have link a component Search.


presentation template ->>



<form action='/art/Home/result2' method="post">
<table>
<tr><td>
<input type="text" name="search_query" />
</td></tr>
<tr><td align="right">
<input type="submit" value="Buscar"/>
</td></tr>
</table>
</form>


Now with action='/art/Home/result2' I can go a other page, but I lose the results.



Even if I redirect the same page, I also lose the results...



<form action='/art/Home/result'  method="post"> 
.
.
.
<Element context="current" type="content" key="linkComponent">


Now I created my other page "result2" with content ->



<Element context="current" type="content" key="linkComponent">


Obviously if I redirect to the same page it will not work, it will not work on another page



Component Search:



header:



<table>


body:



        <tr><td>
<% int i = 3; %>
<a href="/san/myportal[AttributeResource attributeName="url" separator=","]">
[AttributeResource attributeName="title" separator=","]
</a>
</br>
[AttributeResource attributeName="summary" separator=","]

</td></tr>


footer:



</table>


You can see "JSP" in my code, my intention was "response.sendRedirect to page2.
But The component show literal " <% int .... " :(



Thanks and sorry for my english.










share|improve this question
















Hello and happy new year.



I am using IBM WebSphere Portal, I created a collection of data for used the component search.



Finally I get the results in my page, but I need show the results in other page. the problem is that I don't found information in google.



In my content 1->>



I have link a component Search.


presentation template ->>



<form action='/art/Home/result2' method="post">
<table>
<tr><td>
<input type="text" name="search_query" />
</td></tr>
<tr><td align="right">
<input type="submit" value="Buscar"/>
</td></tr>
</table>
</form>


Now with action='/art/Home/result2' I can go a other page, but I lose the results.



Even if I redirect the same page, I also lose the results...



<form action='/art/Home/result'  method="post"> 
.
.
.
<Element context="current" type="content" key="linkComponent">


Now I created my other page "result2" with content ->



<Element context="current" type="content" key="linkComponent">


Obviously if I redirect to the same page it will not work, it will not work on another page



Component Search:



header:



<table>


body:



        <tr><td>
<% int i = 3; %>
<a href="/san/myportal[AttributeResource attributeName="url" separator=","]">
[AttributeResource attributeName="title" separator=","]
</a>
</br>
[AttributeResource attributeName="summary" separator=","]

</td></tr>


footer:



</table>


You can see "JSP" in my code, my intention was "response.sendRedirect to page2.
But The component show literal " <% int .... " :(



Thanks and sorry for my english.







websphere websphere-portal ibm-wcm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 16:38









Gas

14.6k22663




14.6k22663










asked Jan 3 at 7:22









EduardoEduardo

66




66













  • I am not sure the exact problem you are having, are you wanting to have the search form on one page and target another page?

    – Crosstalk22
    Jan 4 at 16:48



















  • I am not sure the exact problem you are having, are you wanting to have the search form on one page and target another page?

    – Crosstalk22
    Jan 4 at 16:48

















I am not sure the exact problem you are having, are you wanting to have the search form on one page and target another page?

– Crosstalk22
Jan 4 at 16:48





I am not sure the exact problem you are having, are you wanting to have the search form on one page and target another page?

– Crosstalk22
Jan 4 at 16:48












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54017965%2fshow-results-in-other-page-with-ibm-wcm%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54017965%2fshow-results-in-other-page-with-ibm-wcm%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]