From: <win...@us...> - 2012-03-27 15:43:52
|
Revision: 16201 http://exist.svn.sourceforge.net/exist/?rev=16201&view=rev Author: windauer Date: 2012-03-27 15:43:45 +0000 (Tue, 27 Mar 2012) Log Message: ----------- [ziziphus] fixed saving of subforms Modified Paths: -------------- apps/ziziphus/modules/save2section.xql apps/ziziphus/repo.xml apps/ziziphus/resources/xsl/vra-record.xsl apps/ziziphus/resources/xsl/vraSets/AgentSet.xsl Modified: apps/ziziphus/modules/save2section.xql =================================================================== --- apps/ziziphus/modules/save2section.xql 2012-03-27 15:33:50 UTC (rev 16200) +++ apps/ziziphus/modules/save2section.xql 2012-03-27 15:43:45 UTC (rev 16201) @@ -11,7 +11,7 @@ let $uuid := request:get-parameter("id", "") let $sectionName := request:get-parameter("section", "") let $data := request:get-data() -let $section := collection('ziziphus/data')/vra:vra/*[@id = $uuid]/*[local-name(.)=$sectionName] +let $section := collection('ziziphus/records')/vra:vra/*[@id = $uuid]/*[local-name(.)=$sectionName] return try { Modified: apps/ziziphus/repo.xml =================================================================== --- apps/ziziphus/repo.xml 2012-03-27 15:33:50 UTC (rev 16200) +++ apps/ziziphus/repo.xml 2012-03-27 15:43:45 UTC (rev 16201) @@ -11,5 +11,5 @@ <repo:prepare>pre-install.xql</repo:prepare> <repo:finish>post-install.xql</repo:finish> <repo:permissions user="editor" password="editor" group="biblio.users" mode="0444"/> - <deployed>2012-03-27T13:12:22.994+02:00</deployed> + <deployed>2012-03-27T17:20:16.525+02:00</deployed> </repo:meta> \ No newline at end of file Modified: apps/ziziphus/resources/xsl/vra-record.xsl =================================================================== --- apps/ziziphus/resources/xsl/vra-record.xsl 2012-03-27 15:33:50 UTC (rev 16200) +++ apps/ziziphus/resources/xsl/vra-record.xsl 2012-03-27 15:43:45 UTC (rev 16201) @@ -111,7 +111,7 @@ <xsl:param name="vraSetName"/> <xsl:param name="vraSetNode" as="node()?"/> <xsl:variable name="title" select="bfn:sectionTitle($vraSetName)"/> - <xsl:variable name="id" select="concat($id_pref,$vraSetName)"/> + <xsl:variable name="id" select="concat($id_pref,$title)"/> <!--<xsl:variable name="formName" select="$vraSetName"/>--> <div id="{$id}" data-dojo-type="dijit.TitlePane" data-dojo-props="title: '{$title}',open:true"> <xsl:variable name="mountPoint" select="concat($id,'_MountPoint')"/> Modified: apps/ziziphus/resources/xsl/vraSets/AgentSet.xsl =================================================================== --- apps/ziziphus/resources/xsl/vraSets/AgentSet.xsl 2012-03-27 15:33:50 UTC (rev 16200) +++ apps/ziziphus/resources/xsl/vraSets/AgentSet.xsl 2012-03-27 15:43:45 UTC (rev 16201) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vra="http://www.vraweb.org/vracore4.htm" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:bfn="http://www.betterform.de/XSL/Functions" version="2.0" xpath-default-namespace="http://www.w3.org/2002/xforms" exclude-result-prefixes="bfn"> +<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:vra="http://www.vraweb.org/vracore4.htm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:bfn="http://www.betterform.de/XSL/Functions" version="2.0" xpath-default-namespace="http://www.w3.org/2002/xforms" exclude-result-prefixes="bfn"> <xsl:output method="xhtml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="no"/> <xsl:template match="vra:agentSet" priority="40"> <div class="vraSection"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |