• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Forwarding to another jsp from a portlet

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I have a jsp that displays a list. I have an add button at the top of the page that I want to allow users to add to this list. When the user clicks on the add button I want the user to be forwarded to the a new jsp(the add jsp). I also want to have edit buttons at the end of each list entry that would go to the same page as the add, but in edit mode. What is the best way to achieve this funtionality? I have done it in the past using servlets and struts, but my new project is using portlets and I am a little confused. Right now my viewList jsp is being called through the doView() method of the portlet. Any thoughts?

Thanks,

AMD
 
Sheriff
Posts: 67590
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the portlets forum.
 
author and cow tipper
Posts: 5001
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, they're adding to a list. What kind of crazy list is it? Is it personal, that only effects the user, or may someone else have access to it.

You're going to edit mode? Why? To use PortletData? So the list effects the way the portlet renders?

Maybe you should look at a mega portal site and see if they've got anything similar. When I add stocks to my list of stocks at excite.com, they force me to go into the edit mode from the start. Then I can add to the list. I can't add to the list from the view mode - it'd be nice, but it's simply not an option. I'm sure excite.com has thought about it, but realized it just isn't possible.

There's a mind shift that has to happen to use the portal. You're trying to bend the portal to work like your struts app. From personal experience, I've found that the WebSphere Portal Server is made of very brittle material - it's strong, but it doesn't bend well.

-Cameron McKenzie
reply
    Bookmark Topic Watch Topic
  • New Topic