This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with HTML link in portlet

 
sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i am working on a project in which i am making a portlet in oracle portlet API and server is oracle 10g. i have a main page into which i have link1 and link2, which are HTML link to other two JSP pages. when i click on LINK1 i want that may link1.JSP shold be displayed in the same MAIN portlet page, and same for LINK2.

but i am getting my pages in a new page/container not in MAIN page. one solution i have is to code LINK1 and LINK2 in same MAIN page and use java script to show page when corresponding link is clicked but i can't do that.

can someone please give me some idea or some function(even in other portlet API(JSR-168, IBM ect.)) to perform this. my page is working as desired for a button but i want to do this for a HTML link.

bye,
 
David Yutzy
tumbleweed and gunslinger
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using JSR-168, you'll have to construct the URL so that it links back to the processAction method() of the portlet, passinng the link action you want to take.

Then, from there, you cn redirect to the .jsp of your choice.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic