The root XSLT template-- the first one in structural.xsl -- tells Manakin to
include the header, footer, and other surrounding interface elements for each
page.
So if you copy-and-paste that template into your local theme file, you can add
some logic that tells it not to include those elements for this particular
pop-up page. You can test for that page by looking in the <dri:meta> section of
the XML response, for example, among other places.
<xsl:choose>
<xsl:when test="//dri:meta/dri:pageMeta/ . . . some other xpath for pop-up
page here">
<xsl:apply-templates select="dri:body" />
</xsl:when>
<xsl:otherwise>
... the rest of the template
</xsl:otherwise>
</xsl:choose>
Or something like that.
--Dave
==================
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu
________________________________________
From: Flemion Shafeeq [[email protected]]
Sent: Wednesday, February 11, 2009 11:59 AM
To: [email protected]
Subject: [Dspace-tech] popups in xmlui
Hi All,
Has anyone come across the requirement of creating Popups in Dspace xmlui.
Say for e.g a button click will popup a list of values and the user have
the option of selecting value which will be set back to the text field
.(Something similair is in jspui)
Is this feasible with the current xmlui cocoon architecture.
Can somebody throw some light on this?
Say if we are creating this page(popup) using java-xmlui api's, how do we
make sure that we get a final page with say only a table and a few buttons,
instead of the side panel, header
and other details which normally appears on all pages in xmlui screens.How
do we control the DRI generated in this case?
Please reply
Thanks
Flemion
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech