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

The Cp tag is used to provide a constant parameter value that does not vary with the request. This can be used to assign a constant value to a parent tag in place of an Rp tag that supplies runtime parameter value.

The Cp tag can also be used to store a parameter value in the request so another tag can access it. In this case the value is obtained using the name of the Cp parameter. In this case the Cp tag is used in standalone mode and the exec() will store the value using the name attribute of the Cp tag as the parameter name. In this case the name attribute is not optional.

The Cp tag can use two different syntax formats to store it's value:

  
<dxp:Cp name="blurb">This is some text that I want to pass to a parent tag.</dxp:Cp>
  - alternate form -
<dxp:Cp name="user" value="Mark"/>

The first form is useful if you need to write a large block of text or include quotation marks in the text. The alternate form is takes up less space when you just want to pass small values.


@author Mark Ashworth
@version 0.3, 2001-08-29

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.