cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Stochmialek <mi...@e-informatyka.pl>
Subject Re: template.jx - up to date?
Date Sun, 26 Sep 2004 01:19:31 GMT
On Sun, Sep 26, 2004 at 03:10:45AM +0200, Michal Stochmialek wrote:
> Hello,
> 
> Could you tell me what's the status of template.jx?
> Can I use it with v1 Form.js?  v2?
> 
> For a first look (and first tests) it can be used with v1:

(ups, my mistake, should be s/can/can't/):
For a first look (and first tests) it can't be used with v1:
 
> e.i. in macro form-template is:
> <jx:set var="context_widget_" value="#{.}"/>
> 
> but should be:
> <jx:set var="context_widget_" value="#{CooconFormsInstance}"/>
> 
> because in Form.js (in showForm function) is:
> 
> bizData[Packages.org.apache.cocoon.forms.transformation.FormsPipelineConfig.CFORMSKEY]
= this.form;
> 
> Later unwrap() function is used on Java objects...
> 
> Well... something's wrong. Is this file totally updated or
> only for other version of Form.js?

-- 
Michal Stochmialek <misto@e-informatyka.pl>

Mime
View raw message