• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

portlet:actionURL-please help

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hI,
i am new to portlets.i have code that says action='<portlet:actionURL><portlet param name="simplecall"value="simplecall/>"</portlet:actionURL>

where does the form in which this code is present take me.where do i look to get the actual value of the URL?
 
author and cow tipper
Posts: 5009
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
What does the actionURL do? It takes you to the action processing phase of the portlet. You're doing it with a custom tag in a JSP, but here's the same sort of thing all done in one portlet below:







Notice the lines of code:



That will print out the URL. The URL itself is pretty meaningless to you, as it's generated by the portal, but if you REALLY want to see it, you can.

The ActionURL triggers the action processing phase of a portlet, which is essentially the processAction method. This method is where session management should take place, and other tasks, like mode and state changes, can only happen in this stage. This stage occurs before the rendering phase that includes methods like doView or doEdit.

Here's a full, cbt, multimedia tutorial on the topic. You should totally take the time to look at it. The tutorial fully explains the action processing phase of the portlet.

Enjoy!

-Cameron McKenzie
 
suryakul kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you so much .please tell me what the folowing means
 
reply
    Bookmark Topic Watch Topic
  • New Topic