Dashboard > WebWork > ... > Data Tags > include
  WebWork Log In View a printable version of the current page.  
  include
Added by Onyeje Bose, last edited by Rainer Hermanns on Apr 13, 2007  (view change)
Labels: 
(None)

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

Description

Include a servlet's output (result of servlet or a JSP page).

Note: Any additional params supplied to the included page are not accessible within the rendered page through the <ww:property...> tag!

Parameters

Name

Required

Default

Type

Description

value true   String The jsp/servlet output to include
id false   Object/String id for referencing element. For UI and form tags it will be used as HTML id attribute

Example

<-- One: -->
<ww:include value="myJsp.jsp" />

<-- Two: -->
<ww:include value="myJsp.jsp">
   <ww:param name="param1" value="value2" />
   <ww:param name="param2" value="value2" />
</ww:include>

<-- Three: -->
<ww:include value="myJsp.jsp">
   <ww:param name="param1">value1</ww:param>
   <ww:param name="param2">value2<ww:param>
</ww:include>
Example one - do an include myJsp.jsp page
Example two - do an include to myJsp.jsp page with parameters param1=value1 and param2=value2
Example three - do an include to myJsp.jsp page with parameters param1=value1 and param2=value2

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators