You can specify to display a component property with the dsp:valueof tag. To insert the <dsp:valueof> tag:

For example:

<%@ taglib uri=http://www.atg.com/taglibs/daf/dspjspTaglib1_0 prefix="dsp" %>

<dsp:page>
<dsp:importbean bean="/samples/Student_01"/>

<html>
<body>

Name: <dsp:valueof bean="Student_01.name"/><p>
Age: <dsp:valueof bean="Student_01.age"/><p>

</body>
</html>

</dsp:page>

Note: Because the component /samples/Student_01 is imported, the inserted dsp:valueof tag includes only the component and property names and excludes the pathname.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices