Monday 16 May 2011

Orbeon upgrade

Notes on upgrading from Orbeon Forms 3.8 to 3.9



Need to change theme.xsl as follows:


From:
<!-- Copy body attributes -->
<xsl:apply-templates select="/xhtml:html/xhtml:body/@*"/>

<xsl:apply-templates select="/xhtml:html/xhtml:body/node()"/>

<xsl:for-each select="/xhtml:html/xhtml:head/xhtml:script">
<xsl:element name="xhtml:{local-name()}" namespace="{namespace-uri()}">
<xsl:apply-templates select="@*|node()"/>
</xsl:element>
</xsl:for-each>

To:
<!-- Body -->
<xsl:apply-templates select="/xhtml:html/xhtml:body"/>
<!-- Handle post-body scripts if present. They can be placed here by oxf:resources-aggregator -->
<xsl:apply-templates select="/xhtml:html/xhtml:script"/>

Use of xxforms:get-remote-user (xforms:setvalue)


From:
<xforms:setvalue ref="instance('ins-current-user')/name" value="xxforms:get-remote-user()"/>

To:
<xforms:setvalue ref="instance('ins-current-user')/name/text()" value="xxforms:get-remote-user()"/>


Ongoing is the use of XBL - the map component in particular
(Fixed in the final release)

Tuesday 3 May 2011

Ubuntu virtual box unable to log in

Rather carelessly I filled up my root partition and was therefore unable to login as I kept getting thrown back to the login screen

The solution was to boot from the original ubuntu iso image via the virtual box settings and 'Try Ubuntu'

From there it's possible to mount /dev/sda1 and delete some files to make some space

After that it's possible to login again and create a new disk/partition in the usual fdisk, mkfs way