Java Doc for JspController.java in  » J2EE » Sofia » com » salmonllc » jsp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » Sofia » com.salmonllc.jsp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.salmonllc.html.HtmlPage
   com.salmonllc.jsp.JspController

All known Subclasses:   com.salmonllc.examples.example16.PersonalizationController,  com.salmonllc.examples.example19.LookupController,  com.salmonllc.examples.example6.ProductSearchController,  com.salmonllc.examples.example3.InteractiveSQLController,  com.salmonllc.examples.example7.NavigationBarController,  com.salmonllc.jsp.controller.BaseListController,  com.salmonllc.examples.example4.CalendarController,  com.salmonllc.examples.example5.TreeController,  com.salmonllc.examples.example17.ReportSelectionController,  com.salmonllc.examples.example20.NestedController,  com.salmonllc.examples.example8.ContactListController,  com.salmonllc.examples.example19.CalendarLookupController,  com.salmonllc.examples.example16.CustomizeSkinController,  com.salmonllc.examples.example13.BeanController,  com.salmonllc.examples.example12.JDBCExampleController,  com.salmonllc.examples.example8.ContactDetailController,  com.salmonllc.examples.example19.CalculatorLookupController,  com.salmonllc.examples.example19.ContactLookupController,  com.salmonllc.examples.DBConnectErrorController,  com.salmonllc.examples.example10.InterController,  com.salmonllc.jsp.controller.BaseDetailController,  com.salmonllc.examples.example14.ListDataEntryController,  com.salmonllc.examples.BaseController,  com.salmonllc.examples.example17.ReportAppletController,  com.salmonllc.examples.example11.GUIController,
JspController
public class JspController extends HtmlPage implements Constants(Code)
This class is the ancestor of all JSP controllers. A subclass of this object can be used to interface with a JSP Page containing Salmon custom tags. The appropriate controller class is specified in "controller" attribute of the JSP "page" custom tag. Each custom tag will be added to a Hashtable within this object. In addition, if there are any public instance variables in the page with the same name (preceeded with an underscore) and type as their corresponding tag created components they will automatically be assigned by the JSP engine.

For example a tag <page controller="com.jspImplementation.ControllerSubClass"> would attempt to create a subclass of this class named com.jspImplementation.ControllerSubClass.
A tag in the page <text name="text1" text="Text"> would automatically assign a value to an instance variable in the page described as public com.salmonllc.html.HtmlText _text1;




Method Summary
public  voidassignComponentToField(String fieldName, HtmlComponent comp, boolean addToPage)
     This method should not be called directly.
public  voidassignDataSourceToField(String fieldName, DataStoreBuffer ds)
     This method should not be called directly.
public  voidassignPropertyExpression(String component, String propName, String expression, DataStoreBuffer dataStore)
     This method is called by the framework tag libraries to for the property tag and should not be called directly in your application.
public  voidautoBindComponents()
     This method will automatically match components in the JSP to datasources in the JSP via the Datasource attribute.
public  voidclearAllPagesFromSession()
     This method removes the pages from the session.
public  voidclearAllPagesFromSessionButCurrent()
     This method removes the pages from the session except for the controller calling the method.
public  voidclearInitializing()
    
public  voidclearPageFromSession()
     This method will remove all instances the current page from the session.
public  StringconvertExpressionOperators(String expression)
    
public synchronized  intdoGet(HttpServletRequest req, boolean pre)
     This method should not be called directly.
public synchronized  intdoPost(HttpServletRequest req, HttpServletResponse res)
     This method should not be called directly.
public  voidforward(String url)
     Use this method to forward this request to another page.
public  voidgenerateBodyHtml(JspWriter p)
     This method generates the Html for the body tag.
public  voidgenerateCode(PrintWriter pw, String controllerName)
    
public  voidgenerateScriptHtml(JspWriter p)
     This method should not be called directly.
public  voidgenerateSessionKeepAliveHtml(JspWriter p)
    
public  booleangetAddExpireHeaders()
    
public  HtmlFormComponentgetBoundComponent(DataStoreBuffer dsb, String columnName)
    
public  HtmlComponentgetComponent(String name)
    
public  HashtablegetComponentTable()
    
public  DataStoreBuffergetDataSource(String name)
    
public  DataStoreBuffergetDataSource(Class c)
    
public  HashtablegetDataSourceTable()
    
public  EnumerationgetDataSources()
     This method will return an enoumeration of DataStoreBuffers for of all the datasources tags in the page.
public  booleangetDoPostRedirected()
     This method should not be called directly.
public  booleangetHideAllComponents()
    
public  booleangetKeepOnSession()
     Get whether or not a page will be stored on the session.
public  StringgetOnClick()
     This method returns some javascript to be executed each time the page is clicked on.
public  StringgetOnLoad()
    
public  StringgetOnLoadFunction()
     This method should not be called directly.
public  PageContextgetPageContext()
    
public  StringgetPageURL()
    
public  StringgetPageURLNoQueryString()
    
public  intgetRefIndex()
     This method should not be called directly.
public  JspControllergetSecondaryController()
     This method returns a secondary controller if there is more than one associated with the page or null if there isn't.
public  intgetSessionKeepAliveMinutes()
    
public  StringgetSessionKey()
     This method should not be called directly.
public  StringgetStyle()
    
public  VectorgetValidators()
    
public  StringgetWebAppName()
    
public  voidgotoSiteMapActionPage(String logicalName, String actionName, String additionalParms)
    
public  voidgotoSiteMapActionPage(String actionName, String additionalParms)
    
public  voidgotoSiteMapActionPage(String actionName)
    
public  voidgotoSiteMapPage(String logicalName)
    
public  voidgotoSiteMapPage(String logicalName, String additionalParms)
    
public  voidincrementRefIndex()
     This method should not be called directly.
public  voidinitialize()
     This method should not be called directly.
public  voidinitializeContainers()
    
public  booleanisExpired()
    
public  booleanisIncludeIDAfterPost()
     Returns the includeIDAfterPost flag.
public  booleanisInitialized()
    
public  booleanisInitializing()
     This method returns whether or not the page is currently initializing (It's components are being created).
public  booleanisReferredByCurrentPage()
     Use this method to find out how this page was envoked.
public  booleanisRequestFromForward()
    
public  voidloadProperties()
    
protected  booleannotifyListeners(int event, boolean pre)
    
public  voidprintVars(PrintWriter p)
    
public  voidrecordTimerActivity(String name, long timeInMillis)
     Records a timer activity.
public  voidreplaceComponent(String name, HtmlComponent newComponent)
     This method can be used to replace a component in the page with a different Html Component.
public  voidreplaceDataSource(String name, DataStoreBuffer newDs)
     This method can be used to replace a datasource in the page with a different DataStoreBuffer.
public  voidsendPageRedirect()
    
public  voidsendPageRedirect(String anchor)
    
public  voidsendRedirect(String url)
     Use this method to send a redirect to the browser.
public  voidsetAddExpireHeaders(boolean val)
    
public  voidsetApplicationName(String name)
    
public  voidsetCurrentRequest(HttpServletRequest r)
    
public  voidsetCurrentResponse(HttpServletResponse r)
    
public  voidsetDoPostRedirected(boolean dopostredirected)
     This method should not be called directly.
public  voidsetHideAllComponents(boolean hideAllComponents)
    
public  voidsetIncludeIDAfterPost(boolean includeIDAfterPost)
    
Parameters:
  includeIDAfterPost - If true, makes each page submit include an extra pagePostSerialID parameter on the URL line.
public  voidsetInitialized()
    
public  voidsetKeepOnSession(boolean keep)
     Set whether or not a page will be stored on the session.
public  voidsetOnBlur(String script)
     This method sets some javascript to be executed each time the page loses focus.
public  voidsetOnClick(String script)
     This method sets some javascript to be executed each time the page is clicked on.
public  voidsetOnFocus(String script)
     This method sets some javascript to be executed each time the page gets the focus.
public  voidsetOnKeydown(String script)
     This method sets some javascript to be executed each time a key is pressed.
public  voidsetOnLoad(String script)
     This method sets some javascript to be executed each time the page loads.
public  voidsetOrigApplicationName(String name)
    
public  voidsetPageContext(PageContext cont)
     Sets the context object for the current page.
public  voidsetPageExpired(boolean exp)
     This method should not be called directly.
public  voidsetPageName(String name)
     This method should not be called directly.
public  voidsetRemoveFromQueryString(String val)
    
public  voidsetSecondaryController(JspController cont)
     This method should not be called directly.
public  voidsetServerURL(String url)
    
public  voidsetServletBaseURL(String url)
    
public  voidsetSession(HttpSession s)
    
public  voidsetSessionExpired(boolean exp)
    
public  voidsetSessionKeepAliveMinutes(int keepAliveMinutes)
     Sets the number of minutes the client should keep the server session alive for (-1=don't do keep alive, 0=keep session alive as long as the browser is open) .
public  voidsetSessionKey(String key)
     This method should not be called directly.
public  voidsetStyle(String style)
    



Method Detail
assignComponentToField
public void assignComponentToField(String fieldName, HtmlComponent comp, boolean addToPage)(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



assignDataSourceToField
public void assignDataSourceToField(String fieldName, DataStoreBuffer ds)(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



assignPropertyExpression
public void assignPropertyExpression(String component, String propName, String expression, DataStoreBuffer dataStore)(Code)
This method is called by the framework tag libraries to for the property tag and should not be called directly in your application.



autoBindComponents
public void autoBindComponents() throws Exception(Code)
This method will automatically match components in the JSP to datasources in the JSP via the Datasource attribute.



clearAllPagesFromSession
public void clearAllPagesFromSession()(Code)
This method removes the pages from the session. That will force the application to reinitialize the pages the next time they are visited.



clearAllPagesFromSessionButCurrent
public void clearAllPagesFromSessionButCurrent()(Code)
This method removes the pages from the session except for the controller calling the method. That will force the application to reinitialize the pages the next time they are visited.



clearInitializing
public void clearInitializing()(Code)
This method is called from the tag library when the page if finished initializing



clearPageFromSession
public void clearPageFromSession()(Code)
This method will remove all instances the current page from the session. Future calls to the page will create and initialize a new page each time.



convertExpressionOperators
public String convertExpressionOperators(String expression)(Code)
This method will convert the expression operators used in JSP tags to normal datastore evaluator operators (ex: GREATER_THAN to >)



doGet
public synchronized int doGet(HttpServletRequest req, boolean pre) throws Exception(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



doPost
public synchronized int doPost(HttpServletRequest req, HttpServletResponse res) throws Exception(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



forward
public void forward(String url) throws IOException, ServletException(Code)
Use this method to forward this request to another page. The browser URL will stay the same as the current page.
Parameters:
  url - The page to forward to
throws:
  IOException -



generateBodyHtml
public void generateBodyHtml(JspWriter p) throws IOException(Code)
This method generates the Html for the body tag.



generateCode
public void generateCode(PrintWriter pw, String controllerName) throws IOException(Code)
This method will print a list of all the HtmlComponents in the page to the print writer



generateScriptHtml
public void generateScriptHtml(JspWriter p) throws java.lang.Exception(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



generateSessionKeepAliveHtml
public void generateSessionKeepAliveHtml(JspWriter p) throws IOException(Code)
Generate session keep alive html
throws:
  IOException -



getAddExpireHeaders
public boolean getAddExpireHeaders()(Code)



getBoundComponent
public HtmlFormComponent getBoundComponent(DataStoreBuffer dsb, String columnName)(Code)
Returns the Form Component in the Controller that is bound to a particular column in a DataStoreBuffer



getComponent
public HtmlComponent getComponent(String name)(Code)
This returns a component in the page based on its name



getComponentTable
public Hashtable getComponentTable()(Code)
This method returns a Hashtable of HtmlComponents keyed by the component name



getDataSource
public DataStoreBuffer getDataSource(String name)(Code)
This returns a datasource in the page based on its name



getDataSource
public DataStoreBuffer getDataSource(Class c)(Code)



getDataSourceTable
public Hashtable getDataSourceTable()(Code)
This method returns a Hashtable of DataStoreBuffers keyed by the component name



getDataSources
public Enumeration getDataSources()(Code)
This method will return an enoumeration of DataStoreBuffers for of all the datasources tags in the page.



getDoPostRedirected
public boolean getDoPostRedirected()(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



getHideAllComponents
public boolean getHideAllComponents()(Code)
Are all the components in the page invisible



getKeepOnSession
public boolean getKeepOnSession()(Code)
Get whether or not a page will be stored on the session. Pages not stored on the session will not persist from one request to the next, but will be more memory efficient



getOnClick
public String getOnClick()(Code)
This method returns some javascript to be executed each time the page is clicked on.



getOnLoad
public String getOnLoad()(Code)



getOnLoadFunction
public String getOnLoadFunction()(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



getPageContext
public PageContext getPageContext()(Code)
Returns the context object for the current page



getPageURL
public String getPageURL()(Code)
This returns the URL for the page



getPageURLNoQueryString
public String getPageURLNoQueryString()(Code)
This returns the URL for the page not including the query string



getRefIndex
public int getRefIndex()(Code)
This method should not be called directly. It is public so it can be called from the InputTag class. int



getSecondaryController
public JspController getSecondaryController()(Code)
This method returns a secondary controller if there is more than one associated with the page or null if there isn't.



getSessionKeepAliveMinutes
public int getSessionKeepAliveMinutes()(Code)
Returns the number of minutes the client should keep the serversession alive for (-1=don't do keep alive, 0=keep session aliveas long as the browser is open) .



getSessionKey
public String getSessionKey()(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



getStyle
public String getStyle()(Code)
Gets the sytle attribute for the page



getValidators
public Vector getValidators()(Code)
Returns a vector of HtmlValidatorText components in the page or null if there aren't any



getWebAppName
public String getWebAppName()(Code)
Returns the web application the page is running in



gotoSiteMapActionPage
public void gotoSiteMapActionPage(String logicalName, String actionName, String additionalParms) throws IOException, ServletException(Code)
Forwards or Redirects to the page specified in the site map entry action
Parameters:
  logicalName - The name of the entry in the site map
Parameters:
  actionName - The name of the action to use
Parameters:
  additionalParms - Any additional parameters that need to be appended to the url



gotoSiteMapActionPage
public void gotoSiteMapActionPage(String actionName, String additionalParms) throws IOException, ServletException(Code)
Forwards or Redirects to the page specified in the site map entry action for the current page
Parameters:
  actionName - The name of the action to use
Parameters:
  additionalParms - Any additional parameters that need to be appended to the url



gotoSiteMapActionPage
public void gotoSiteMapActionPage(String actionName) throws IOException, ServletException(Code)
Forwards or Redirects to the page specified in the site map entry action for the current page
Parameters:
  actionName - The name of the action to use



gotoSiteMapPage
public void gotoSiteMapPage(String logicalName) throws IOException, ServletException(Code)
Forwards or Redirects to the page specified in the site map entry
Parameters:
  logicalName - The name of the entry in the site map



gotoSiteMapPage
public void gotoSiteMapPage(String logicalName, String additionalParms) throws IOException, ServletException(Code)
Forwards or Redirects to the page specified in the site map entry
Parameters:
  logicalName - The name of the entry in the site map
Parameters:
  additionalParms - Any additional parameters that need to be appended to the url



incrementRefIndex
public void incrementRefIndex()(Code)
This method should not be called directly. It is public so it can be called from the PagrTag class.



initialize
public void initialize() throws Exception(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



initializeContainers
public void initializeContainers() throws Exception(Code)
Called from the framework, do not call directly



isExpired
public boolean isExpired()(Code)
This method will indicate whether the page submitting a request is the current one or has been retrieved from the browsers cache



isIncludeIDAfterPost
public boolean isIncludeIDAfterPost()(Code)
Returns the includeIDAfterPost flag. If true, makes each page submit include an extra pagePostSerialID parameter on the URL line. This will insure that a new page will never come from the browser's cache, but the browser back button will treat each post as a seperate page.



isInitialized
public boolean isInitialized()(Code)
This method returns true if the controller's initialize method has been called



isInitializing
public boolean isInitializing()(Code)
This method returns whether or not the page is currently initializing (It's components are being created).



isReferredByCurrentPage
public boolean isReferredByCurrentPage()(Code)
Use this method to find out how this page was envoked. If it was invoked from itself (via a submit button) the method will return true.



isRequestFromForward
public boolean isRequestFromForward()(Code)
Returns true if the page has been requested from a JSP forward



loadProperties
public void loadProperties()(Code)



notifyListeners
protected boolean notifyListeners(int event, boolean pre) throws Exception(Code)



printVars
public void printVars(PrintWriter p) throws IOException(Code)
This method will print a list of all the HtmlComponents in the page to the print writer



recordTimerActivity
public void recordTimerActivity(String name, long timeInMillis)(Code)
Records a timer activity. The average time for each named timer can be viewed in the ConnectionMonitor Servlet
Parameters:
  name - The name of the timer
Parameters:
  timeInMillis - The time in milliseconds that it took for an event to occur



replaceComponent
public void replaceComponent(String name, HtmlComponent newComponent)(Code)
This method can be used to replace a component in the page with a different Html Component. For example a place holder component can be put into the correct position in the JSP page and then replaced at run time with a different one. The Html Generated by the replaced component will then display in the page.



replaceDataSource
public void replaceDataSource(String name, DataStoreBuffer newDs)(Code)
This method can be used to replace a datasource in the page with a different DataStoreBuffer.



sendPageRedirect
public void sendPageRedirect() throws IOException(Code)
This method will cause the browser to reload this page;



sendPageRedirect
public void sendPageRedirect(String anchor) throws IOException(Code)
This method will cause the browser to reload this page and scroll to an anchor;



sendRedirect
public void sendRedirect(String url) throws IOException(Code)
Use this method to send a redirect to the browser. The browser will display the redirected page
Parameters:
  url - The URL to redirect to
throws:
  IOException -



setAddExpireHeaders
public void setAddExpireHeaders(boolean val)(Code)



setApplicationName
public void setApplicationName(String name)(Code)
This method is called from the tag library to indicate that the page if fully initialized



setCurrentRequest
public void setCurrentRequest(HttpServletRequest r)(Code)
This method is called from the tag library to indicate that the page if fully initialized



setCurrentResponse
public void setCurrentResponse(HttpServletResponse r)(Code)
This method is called from the tag library to indicate that the page if fully initialized



setDoPostRedirected
public void setDoPostRedirected(boolean dopostredirected)(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



setHideAllComponents
public void setHideAllComponents(boolean hideAllComponents)(Code)
Set a flag to indicate whether all the components in the page should be hidden



setIncludeIDAfterPost
public void setIncludeIDAfterPost(boolean includeIDAfterPost)(Code)

Parameters:
  includeIDAfterPost - If true, makes each page submit include an extra pagePostSerialID parameter on the URL line. This will insure that a new page will never come from the browser's cache, but the browser back button will treat each post as a seperate page.



setInitialized
public void setInitialized()(Code)
This method is called from the tag library to indicate that the page if fully initialized



setKeepOnSession
public void setKeepOnSession(boolean keep)(Code)
Set whether or not a page will be stored on the session. Pages not stored on the session will not persist from one request to the next, but will be more memory efficient



setOnBlur
public void setOnBlur(String script)(Code)
This method sets some javascript to be executed each time the page loses focus.



setOnClick
public void setOnClick(String script)(Code)
This method sets some javascript to be executed each time the page is clicked on.



setOnFocus
public void setOnFocus(String script)(Code)
This method sets some javascript to be executed each time the page gets the focus.



setOnKeydown
public void setOnKeydown(String script)(Code)
This method sets some javascript to be executed each time a key is pressed.



setOnLoad
public void setOnLoad(String script)(Code)
This method sets some javascript to be executed each time the page loads.



setOrigApplicationName
public void setOrigApplicationName(String name)(Code)



setPageContext
public void setPageContext(PageContext cont)(Code)
Sets the context object for the current page. Generally, this method is called by other classes in the framework and does not need to be called directly.



setPageExpired
public void setPageExpired(boolean exp)(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



setPageName
public void setPageName(String name)(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



setRemoveFromQueryString
public void setRemoveFromQueryString(String val)(Code)
Framework method, do not call directly



setSecondaryController
public void setSecondaryController(JspController cont)(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



setServerURL
public void setServerURL(String url)(Code)
This method is called from the tag library to indicate that the page if fully initialized



setServletBaseURL
public void setServletBaseURL(String url)(Code)
This method is called from the tag library to indicate that the page if fully initialized



setSession
public void setSession(HttpSession s)(Code)
This method is called from the tag library to indicate that the page if fully initialized



setSessionExpired
public void setSessionExpired(boolean exp)(Code)
This method is called from the tag library to indicate that the page if fully initialized



setSessionKeepAliveMinutes
public void setSessionKeepAliveMinutes(int keepAliveMinutes)(Code)
Sets the number of minutes the client should keep the server session alive for (-1=don't do keep alive, 0=keep session alive as long as the browser is open) .



setSessionKey
public void setSessionKey(String key)(Code)
This method should not be called directly. It public so it can be called from com.salmonllc.jsp.tags.



setStyle
public void setStyle(String style)(Code)
Sets the sytle attribute for the page



Fields inherited from com.salmonllc.html.HtmlPage
final public static int FORMTYPE_MULTIPART(Code)(Java Doc)
final public static int FORMTYPE_URLENCODED(Code)(Java Doc)
final protected static int GET_EVENT(Code)(Java Doc)
final protected static int POST_EVENT(Code)(Java Doc)
final public static String TRANSACTION_TOKEN_KEY(Code)(Java Doc)
protected Hashtable _htmlTable(Code)(Java Doc)
protected String _script(Code)(Java Doc)
protected Hashtable _scriptTable(Code)(Java Doc)
protected String _token(Code)(Java Doc)
protected Vector _vnavbars(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlPage
public void add(HtmlComponent comp)(Code)(Java Doc)
public void addHtml(String name, String html)(Code)(Java Doc)
public void addNavBar(JspNavBar jspNavBar)(Code)(Java Doc)
public void addPageListener(PageListener p)(Code)(Java Doc)
public void addPopup(HtmlPopup popup)(Code)(Java Doc)
public void addPropertyExpression(Object comp, String propertyName, DataStoreBuffer ds, DataStoreExpression propExpression) throws NoSuchMethodException, DataStoreException(Code)(Java Doc)
public void addPropertyExpression(Object comp, String propertyName, DataStoreBuffer ds, String expression) throws NoSuchMethodException, DataStoreException(Code)(Java Doc)
public void addPropertyExpression(Object comp, String propertyName, DataStoreEvaluator expEval) throws NoSuchMethodException, DataStoreException(Code)(Java Doc)
public void addScript(String name, String script)(Code)(Java Doc)
public void applySkin(Skin skin, boolean doSetTheme)(Code)(Java Doc)
public void cancelRunThread()(Code)(Java Doc)
public void clearCurrentPageReferer()(Code)(Java Doc)
public void clearFormComponents()(Code)(Java Doc)
public void clearPortletException()(Code)(Java Doc)
public void clearPropertyExpressions()(Code)(Java Doc)
public void displayPortletException(String ex)(Code)(Java Doc)
public void displayPortletException(String ex, String font)(Code)(Java Doc)
public static void executePropertyMethod(Object comp, Method meth, DataStoreEvaluator eval, int row)(Code)(Java Doc)
public synchronized void generateHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public void generateImage(String compName, String imageName, OutputStream out) throws IOException(Code)(Java Doc)
protected String generateToken()(Code)(Java Doc)
public String getActivelinkColor()(Code)(Java Doc)
public Vector getApplets()(Code)(Java Doc)
public String getBackground()(Code)(Java Doc)
public String getBackgroundColor()(Code)(Java Doc)
public String getBaseTag()(Code)(Java Doc)
public boolean getBooleanParameter(String name)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public HtmlSubmitButton getDefaultButton()(Code)(Java Doc)
public String getDocumentType()(Code)(Java Doc)
public boolean getEncodeURLs()(Code)(Java Doc)
public int getFormType()(Code)(Java Doc)
public boolean getGenerateFormTag()(Code)(Java Doc)
public String getHoverLinkColor()(Code)(Java Doc)
public ImageGenerator getImageGenerator(String compName)(Code)(Java Doc)
public int getIntParameter(String name, int defaultValue)(Code)(Java Doc)
public int getIntParameter(String name)(Code)(Java Doc)
protected String getLastReferer()(Code)(Java Doc)
protected JspForm getLastSubmitForm()(Code)(Java Doc)
public int getLeftMargin()(Code)(Java Doc)
public String getLinkColor()(Code)(Java Doc)
public int getMarginHeight()(Code)(Java Doc)
public int getMarginWidth()(Code)(Java Doc)
public String getMetaTag()(Code)(Java Doc)
public Vector getNavBarsVector()(Code)(Java Doc)
public String getOnLoad()(Code)(Java Doc)
public String getParameter(String name, String defaultValue)(Code)(Java Doc)
public String getParameter(String name)(Code)(Java Doc)
public HtmlLookUpComponent getPopupLookupComponent()(Code)(Java Doc)
public int getPopupLookupComponentRow()(Code)(Java Doc)
public SalmonPortletException getPortletException()(Code)(Java Doc)
public static StringBuffer getRequestURL(javax.servlet.http.HttpServletRequest req)(Code)(Java Doc)
public int getRightMargin()(Code)(Java Doc)
public Exception getRunThreadException()(Code)(Java Doc)
public int getRunThreadPercentComplete()(Code)(Java Doc)
public int getRunThreadStatus()(Code)(Java Doc)
public SiteMap getSiteMap()(Code)(Java Doc)
public String getSiteMapActionURL(String logicalName, String actionName, String additionalParms, boolean javaScriptOK)(Code)(Java Doc)
public String getSiteMapActionURL(String logicalName, String actionName)(Code)(Java Doc)
public String getSiteMapEntryNameForPage()(Code)(Java Doc)
public String getSiteMapURL(String logicalName)(Code)(Java Doc)
public String getSiteMapURL(String logicalName, String additionalParms, boolean javaScriptOK)(Code)(Java Doc)
public HtmlComponent getSubPage(String name)(Code)(Java Doc)
public String getSubPageMimeType(String name)(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public String getTextColor()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public HtmlContainer getTopContainer()(Code)(Java Doc)
public int getTopMargin()(Code)(Java Doc)
public boolean getUseIFrames()(Code)(Java Doc)
public String getVisitedLinkColor()(Code)(Java Doc)
public void handlePortletException(Exception ex, boolean logEx, boolean throwEx, String displayHTML) throws SalmonPortletException(Code)(Java Doc)
public boolean isExpired()(Code)(Java Doc)
public boolean isHtmlAdded(String name)(Code)(Java Doc)
public boolean isReferredByCurrentPage()(Code)(Java Doc)
public boolean isScriptAdded(String name)(Code)(Java Doc)
public boolean isTokenValid()(Code)(Java Doc)
public boolean isWMLMaintained()(Code)(Java Doc)
public void loadProperties()(Code)(Java Doc)
protected boolean notifyListeners(int event, boolean pre) throws Exception(Code)(Java Doc)
public synchronized void processParms(boolean iFrameSubmit) throws Exception(Code)(Java Doc)
protected void processPropertyExpressions()(Code)(Java Doc)
public void registerImageGenerator(String key, ImageGenerator gen)(Code)(Java Doc)
public void registerSubPage(String name, HtmlComponent comp)(Code)(Java Doc)
public void registerSubPage(String name, HtmlComponent comp, String mimeType)(Code)(Java Doc)
public void remove(HtmlComponent comp)(Code)(Java Doc)
public void removePageListener(PageListener p)(Code)(Java Doc)
public void resetComponents()(Code)(Java Doc)
public void resetToken()(Code)(Java Doc)
public void saveToken()(Code)(Java Doc)
public void scrollToItem(String itemName)(Code)(Java Doc)
public void setActiveLinkColor(String value)(Code)(Java Doc)
public void setBackground(String value)(Code)(Java Doc)
public void setBackgroundColor(String value)(Code)(Java Doc)
public void setBaseTag(String value)(Code)(Java Doc)
public void setDefaultButton(HtmlSubmitButton button)(Code)(Java Doc)
public void setDocumentType(String sDocumentType)(Code)(Java Doc)
public void setEncodeURLs(boolean encodeURLs)(Code)(Java Doc)
public void setFormType()(Code)(Java Doc)
public void setFormType(int type)(Code)(Java Doc)
public void setGenerateFormTag(boolean gen)(Code)(Java Doc)
public void setHoverLinkColor(String value)(Code)(Java Doc)
public void setLeftMargin(int margin)(Code)(Java Doc)
public void setLinkColor(String value)(Code)(Java Doc)
public void setMarginHeight(int height)(Code)(Java Doc)
public void setMarginWidth(int width)(Code)(Java Doc)
public void setMetaTag(String value)(Code)(Java Doc)
public void setOnLoad(String value)(Code)(Java Doc)
public void setRightMargin(int margin)(Code)(Java Doc)
public void setTextColor(String value)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)
public void setTopMargin(int margin)(Code)(Java Doc)
public void setVisitedLinkColor(String value)(Code)(Java Doc)
public void setWMLMaintained(boolean isWmlMaintained)(Code)(Java Doc)
public void startRunThread(PageRunThread r, int pageRefreshInterval)(Code)(Java Doc)
public String toHex(byte buffer)(Code)(Java Doc)
protected String trimUrl(String url, PortletInfo info)(Code)(Java Doc)
protected String trimUrl(String url)(Code)(Java Doc)
public void writeNamedHtml(Writer pw) throws IOException(Code)(Java Doc)
public void writeNamedScripts(Writer pw) throws IOException(Code)(Java Doc)
public void writeScript(String script)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.