insertSubmitListener(SubmitListener l) This method inserts a listener the will be notified when this button causes the page to be submitted.
public boolean
isSubmitAlreadyGenerated() Returns the whether the script that allows a JspLink to listen for SumitPerformed events has been generated.
public boolean
processParms(Hashtable parms, int rowNo) This method will process the parms from a post for every component in the container.
public void
removeSubmitListener(SubmitListener l) This method removes a listener from the list that will be notified if this button causes the page to be submitted.
setStyle(String style) This method sets the sytle for the link.
public void
setSubmitAlreadyGenerated(boolean submitAlreadyGenerated) Sets whether the script that allows a JspLink to listen for SumitPerformed events has should be generated.
JspLink constructor comment.
Parameters: name - The name of the link Parameters: href - The url for the link Parameters: p - The page the link will go in.
JspLink constructor comment.
Parameters: name - The name of the link Parameters: href - The url for the link Parameters: target - The target for the link Parameters: p - The page the link will go in.
Clears the submit component in this container or children containers. The container stores which component inside it submitted a particular page for one invocation so it can route to the correct submit performed methods. Once that's done, the framework needs to clear out that value for the next page invocation. This method is used by the framework and should not be called directly.
executeEvent
public boolean executeEvent(int eventType) throws Exception(Code)
Generates the Html for the component. This method is called by the framework and should not be called directly
Parameters: t - DOCUMENT ME! Parameters: box - DOCUMENT ME! Parameters: rowNo - DOCUMENT ME! throws: java.io.IOException - DOCUMENT ME!
Gets whether or not the component will submit the page before transfering control to the link page. If the link does a submit, all the user entered data will sent to the server to be recorded.
DOCUMENT ME!
This method gets whether or not the anchor tag will be generated for the link. Pass true to have the a tag generated and false not to. Setting the value to false, will cause the items inside the container to be displayed but nothing will happen when the user clicks on them.
DOCUMENT ME!
This method will process the parms from a post for every component in the container.
Parameters: parms - DOCUMENT ME! Parameters: rowNo - DOCUMENT ME! DOCUMENT ME! throws: Exception - DOCUMENT ME!
This method removes a listener from the list that will be notified if this button causes the page to be submitted.
Parameters: l - The listener to remove.
This method sets whether or not the anchor tag will be generated with brackets([]) around the Tag. Pass true to have the tag generated with and false not to.
Parameters: bracket - DOCUMENT ME!
Sets whether or not the component will submit the page before transfering control to the link page. If the link does a submit, all the user entered data will sent to the server to be recorded. If the flag is true, the target and onClick properties cannot be used.
Parameters: doSubmit - DOCUMENT ME!
This method sets whether or not the anchor tag will be generated for the link. Pass true to have the a tag generated and false not to. Setting the value to false, will cause the items inside the container to be displayed but nothing will happen when the user clicks on them.
Parameters: gen - DOCUMENT ME!
This method sets a datastore expression that will be used to compute the href for the link.
Parameters: ds - com.salmonllc.sql.DataStoreBuffer Parameters: expression - The expression to evaluate throws: Exception - DOCUMENT ME!
This method sets a datastore expression that will be used to compute the href for the link.
Parameters: ds - com.salmonllc.sql.DataStoreBuffer Parameters: expression - java.lang.String throws: Exception - DOCUMENT ME!
Use this method to set the javascript that will be executed when the user clicks on one of the components in the link.
Parameters: onClick - DOCUMENT ME!
setOnMouseOut
public void setOnMouseOut(String onMouseOut)(Code)
Use this method to set the javascript that will be executed when the mouse passes over out of all the components
Parameters: onMouseOut - DOCUMENT ME!
setOnMouseOver
public void setOnMouseOver(String onMouseOver)(Code)
Use this method to set the javascript that will be executed when the mouse passes over any component in the link
Parameters: onMouseOver - DOCUMENT ME!
This method sets the sytle for the link.
Parameters: style - DOCUMENT ME!
setSubmitAlreadyGenerated
public void setSubmitAlreadyGenerated(boolean submitAlreadyGenerated)(Code)
Sets whether the script that allows a JspLink to listen for SumitPerformed events has should be generated. A case where you would need this method is if when you are on a page and in the submit performed event you leave the page and the JspLink is hidden when you come back. You will have to set the value to true before you leave the page otherwise when you come back to the page you
will recieve a javascript error.
Parameters: submitAlreadyGenerated - boolean value
Parameters: sets - the tab index html attribute. You can also pass TAB_INDEX_DEFAULT to use the default tab index for the component or TAB_INDEX_NONE to keep this component from being tabbed to
Sets the target for the link. _blank opens the destination document in a new unnamed window. _parent opens the destination document in the parent window of the one displaying the current document. _self opens the destination document in the same window as the one in which the link was clicked. _top opens the destination document in the full body of the current window.
This value can be used to ensure that the destination document takes over the full window even if the original document was displayed in a frame.