fr.paris.lutece.portal.web.insert
Class InsertServiceJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.insert.InsertServiceJspBean

public abstract class InsertServiceJspBean
extends java.lang.Object

Base class for InsertServiceJspBean


Constructor Summary
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
 

Constructor Detail

InsertServiceJspBean

public InsertServiceJspBean()
Method Detail

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 request
strInput - The rich text input field
strInsert - 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 link
strUrl - The Url of the link
strTitle - The title of the link
strTarget - The target window
Returns:
The HTML link


Copyright © 2007 Mairie de Paris. All Rights Reserved.