java.lang.Object
org.apache.struts.action.Action
com.RuntimeCollective.sitemap.action.AddInternalLinkAction
- public final class AddInternalLinkAction
- extends org.apache.struts.action.Action
Implementation of Action that adds an Internal Link to the current CSL.
It is passed the id of the Link.
- Version:
- $Id: AddInternalLinkAction.java,v 1.9 2003/10/13 11:30:59 miles Exp $
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddInternalLinkAction
public AddInternalLinkAction()
perform
public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Adds an Internal Link to the current CSL.
It is passed the id of the Link.
The following Forwards are returned:
failure - local forward to go to if there was a problem editing
cancel - local forward to go to if the edition was cancelled.
custom success - determined using the edit_filename of the template of this CSL
chooseTemplate - local forward used if we need to set up a template before editing the content
The following error messages are returned:
error.db.connection - if there was a problem connecting to the database