Plands.com Logo  Business Internet Services 
Main Menu
Home
Planetary CRM
  Benefits
  Features
  Demo
E-Mail Services
  E-mail Hosting
  Newsletters
  Discussion Lists
Web Hosting
Server Co-location
and Administration
Web Applications
Technical Support
Contact Us
DXP Samples
 
DxpHome  ||   Samples  ||   Details  ||   Docs  ||   Trees  ||   xml-xsl  ||   Links
// ParameterCheck.java

The ParameterCheck can be use to check for a number of parameters to see if the are present. Any parameters not present will stored in a String[] back in the request under the store attribute value.

Here is an example:

<dxp:ParameterCheck msgToken="$" msgDelim="br">
   <dxp:Cp name="values">firstname,lastname,address,city,state,zip</dxp:Cp>
   <dxp:Cp name="errorMsg">
      The following parameters are missing<br />$
      Please use your Back button to return the to previous form and fill them in.
   </dxp:Cp>
</dxp:ParameterCheck>
The msgToken will be used to mark the place where the names of missing parameters will be inserted. The msgDelim is the delimiter that will separate the parameter names in the msg.


@author Mark Ashworth
@version 0.1, 2/13/2002

Return to Index

Note: We have tried to test all of the code examples but they may contain errors. Any questions, comments, suggestions, or problems should be sent to info@plands.com.