LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web
Class LyWebParameterValues

java.lang.Object
  extended by leon.view.web.LyWebParameterValues
All Implemented Interfaces:
LyAdvancedParameterValues, LyParameterValues
Direct Known Subclasses:
LyJQParameterValues, LyPortletParameterValues, LyStrutsParameterValues

public class LyWebParameterValues
extends java.lang.Object
implements LyAdvancedParameterValues

Submit data from one or several forms.


Field Summary
static java.lang.String __VERSION
           
static java.lang.String HTML_ENCODED_SEP
          This separator is used with HTML_SEP.
static java.lang.String HTML_LINK_CR_SEP
          This separator is used to replace '\n' character in links identifiers.
static java.lang.String HTML_SEP
          This separator is used with HTML_ENCODED_SEP.
 
Constructor Summary
LyWebParameterValues(javax.servlet.http.HttpServletRequest request, LyString string)
          Constructor.
 
Method Summary
 java.lang.String getParameter(java.lang.String param)
          Returns a string containing the lone value of the specified parameter, or null if the parameter does not exist.
 java.lang.String[] getParameterNames()
          (non-Javadoc).
 java.lang.String[] getParameterValues(java.lang.String param)
          (non-Javadoc).
 void keepValues()
          Forces to keep a copy of internal values.
 void updateViewFromValues(LyComponent component)
          (non-Javadoc).
 void updateViewFromValues(LyComponent component, boolean needValueChange)
          (non-Javadoc).
 void updateViewFromValues(LyComponent component, LyComponent priorityComponent, boolean needValueChange)
          (non-Javadoc).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values

HTML_SEP

public static java.lang.String HTML_SEP
This separator is used with HTML_ENCODED_SEP. They are separators used in forms.
For internal use only.
261/octal == 177/decimal


HTML_ENCODED_SEP

public static java.lang.String HTML_ENCODED_SEP
This separator is used with HTML_SEP. They are separators used in forms.
For internal use only.
261/octal == 177/decimal


HTML_LINK_CR_SEP

public static java.lang.String HTML_LINK_CR_SEP
This separator is used to replace '\n' character in links identifiers.

Constructor Detail

LyWebParameterValues

public LyWebParameterValues(javax.servlet.http.HttpServletRequest request,
                            LyString string)
Constructor.

Parameters:
request - the HTTP request
string - the reference to the LyString
Method Detail

getParameter

public java.lang.String getParameter(java.lang.String param)
Returns a string containing the lone value of the specified parameter, or null if the parameter does not exist.

Specified by:
getParameter in interface LyParameterValues

getParameterNames

public java.lang.String[] getParameterNames()
(non-Javadoc).

Specified by:
getParameterNames in interface LyParameterValues
See Also:
LyParameterValues.getParameterNames()

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String param)
(non-Javadoc).

Specified by:
getParameterValues in interface LyParameterValues
See Also:
LyParameterValues.getParameterValues(java.lang.String)

keepValues

public void keepValues()
Forces to keep a copy of internal values.

Specified by:
keepValues in interface LyAdvancedParameterValues

updateViewFromValues

public void updateViewFromValues(LyComponent component)
(non-Javadoc).

Specified by:
updateViewFromValues in interface LyParameterValues
See Also:
LyParameterValues.updateViewFromValues(leon.view.LyComponent)

updateViewFromValues

public void updateViewFromValues(LyComponent component,
                                 boolean needValueChange)
(non-Javadoc).

Specified by:
updateViewFromValues in interface LyParameterValues
See Also:
LyParameterValues.updateViewFromValues(leon.view.LyComponent, boolean)

updateViewFromValues

public void updateViewFromValues(LyComponent component,
                                 LyComponent priorityComponent,
                                 boolean needValueChange)
(non-Javadoc).

Specified by:
updateViewFromValues in interface LyParameterValues
See Also:
LyParameterValues.updateViewFromValues(leon.view.LyComponent, boolean)

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com