insight-topic:current
Index
Main
Spirit
Logicsheet
insight:
operations
insight-topic:
create
rename
fetch
fetch-tree
fetch-list
current
get-id
get-name
get-fqname
insight-publication:
create
make-default
fetch
fetch-list
get-id
get-state
get-format
get-topic
fetch-fragments
get-fragment-path
get-fragment-locator

Description

Namespace : insight-topic="http://shaman.paris5.fr/xsp/insight-topic"

Element name : insight-topic:current

Purpose : Returns the Topic object defined by current element.

Examples

Example 1

Creates a Topic under the root Topic, and display its name using <insight-topic:current> element.

<insight:operations>

  <insight-topic:create parent-fqname="/" name="1" >
    <p>
      <xsp:logic>
        Topic name :
        <xsp:expr><insight-topic:current/>.getName()</xsp:expr>
      </xsp:logic>
    </p>
  </insight-topic:create>
</insight:operations>

This produces following XHTML output :

<p>
  Topic name : /1
</p>



Copyright 2002 Laurent Caillette and l'Université René Descartes, Paris 5.
All rights reserved.