cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <dho...@csir.co.za>
Subject Re: Forms transformer throws an error
Date Fri, 07 Sep 2007 14:32:08 GMT
I do not think its my application - I get the same error on a 
number of the Cocoon samples e.g.
../samples/blocks/forms/aggregate/example

gives me this stacktrace:

Error calling flowscript function example resource://org/apache/cocoon/forms/flow/javascript/Form.js
- 215:-1  
context://samples/blocks/forms/aggregate/example.js - 30:-1  
context://samples/blocks/forms/aggregate/sitemap.xmap - 57:39 <map:call> 
context://samples/blocks/forms/sitemap.xmap - 581:46 <map:mount> 
context://samples/blocks/sitemap.xmap - 66:68 <map:mount> 
context://samples/sitemap.xmap - 201:65 <map:mount> 
context://sitemap.xmap - 893:66 <map:mount> 

Could this be related to a faulty install - if so, how to fix it??

Thanks
Derek

>>> "Derek Hohls" <dhohls@csir.co.za> 2007/09/07 04:10 PM >>>
I get the error listing below when trying to invoke a forms transform
on a Cocoon form.  It is not clear from the listing what the cause of
the error is?

(side note: same code works fine on local machine... both Cocoon 2.1.8)

Thanks
Derek

*****

Form code:
=======
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" xmlns:fi="http://apache.org/cocoon/forms/1.0#instance"
xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
 <header>
<title>Country Editor</title>
 <menu>support</menu>
 </header>
 <content>
<h1>Country Editor</h1>
 
<ft:form-template action="0f353f55182724347b256240602f483c8218296f.kont" method="POST">

<fi:form layout="grey">
<fi:group>
<fi:label>Modify Country Details</fi:label>
<fi:widgets>

<ft:widget id="message">
 <fi:styling class="warnoutput"/>
</ft:widget>
<ft:widget id="CountryCode">
 <fi:styling size="10" maxlength="2" type="output"/>
</ft:widget>
<ft:widget id="CountryName">
 <fi:styling size="50" maxlength="100" type="text"/>
</ft:widget>

</fi:widgets>
</fi:group>
  </fi:form>

  <center>
  <ft:widget id="ok"/>
<ft:widget id="cancel"/>
  </center>
<br/>

 </ft:form-template>

 </content>
</page>





-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice,
and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message