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
// ParameterSize.java

The ParameterSize can be use to check the length of a String value. If a min attribute is listed a minMsg will be sent back in an Exception if the String is less than the min length. If a max attribute is listed a maxMsg will be sent back in an Exception if the String is beyond the max length. Here is an example:

<dxp:ParameterSize name="company" min="3" max="40">
   <dxp:Cp name="minMsg">Company must be min of 3 chars in length</dxp:Cp>
   <dxp:Cp name="maxMsg">Company chars beyond 40 will be tuncated</dxp:Cp>
</dxp:ParameterSize>


@author Mark Ashworth
@version 0.1, 7/9/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.