fr.paris.lutece.portal.web.insert
Class InsertServiceJspBean
java.lang.Object
fr.paris.lutece.portal.web.insert.InsertServiceJspBean
public abstract class InsertServiceJspBean
- extends java.lang.Object
Base class for InsertServiceJspBean
Method Summary |
protected java.lang.String |
buildLink(java.lang.String strText,
java.lang.String strUrl,
java.lang.String strTitle,
java.lang.String strTarget)
Build an HTML link |
protected java.lang.String |
insertUrl(javax.servlet.http.HttpServletRequest request,
java.lang.String strInput,
java.lang.String strInsert)
Build the Url to insert HTML code into the current rich text editor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertServiceJspBean
public InsertServiceJspBean()
insertUrl
protected java.lang.String insertUrl(javax.servlet.http.HttpServletRequest request,
java.lang.String strInput,
java.lang.String strInsert)
- Build the Url to insert HTML code into the current rich text editor
- Parameters:
request
- The HTTP requeststrInput
- The rich text input fieldstrInsert
- The code to insert
- Returns:
- The Url that will provide the insertion
buildLink
protected java.lang.String buildLink(java.lang.String strText,
java.lang.String strUrl,
java.lang.String strTitle,
java.lang.String strTarget)
- Build an HTML link
- Parameters:
strText
- The text of the linkstrUrl
- The Url of the linkstrTitle
- The title of the linkstrTarget
- The target window
- Returns:
- The HTML link
Copyright © 2007 Mairie de Paris. All Rights Reserved.