Monday, 22 July 2013

Atg Basics:

Tag Libraries:
     
DSP Tag :

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

C Tag:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>


Import Bean:

Component Reference(.properties) is done using importbean. Importbean is normally declared at the top of the jsp page.It referes the nucleus path.nucleus path is the one which contains many components. 

syntax:

                  <dsp:importbean bean= "componentpath" />
                  <dsp:importbean var(optional) />
                  <dsp:importbean scope(optional) />
description:

<dsp:importbean bean= "componentpath" />

eg::
      <dsp:importbean bean="/atg/dynamo/droplet/Switch"/>
      <dsp:importbean bean="/atg/dynamo/droplet/ForEach"/>

so in the above example we would find Switch.properties, ForEach.properties 

      
































No comments:

Post a Comment