Hi Jeorn,
Sorry for the delay I've been knee deep in support issues from our latest round
of QA. Anyway I finally got time today to download the latest chiba-sandbox
source code a build the chiba webapp from it. This went fairly easy except that
I ran into a ClassCastException from the call to
registry.getDOMImplementation("XS-Loader"); in Model.getSchemaLoader() method.
I eventually found this article which lead me to copy the dom3*.jars to my
Tomcat endorsed directory. After which everything seemed to run fine.
http://www.xml-xerces.com/msg/2459.html
Although the XFormsBindingException issue I was having seems to be resolved I
am still noticing that the chiba:type attributes are not getting cloned
properly.
To reproduce this issue on your machine:
1. add this line to html4.xsl inside xhtml:head template
<xsl:copy-of select="/" />
2. save the attached jobAppMini.xml form into the webapps forms directory
3. Load the for and click buttons.add
Now if you view the browser source you'll notice that the cloned xf:group
inside the xf:repeat are all chiba:type="string" even though they were cloned
from chiba:type="token" and chiba:type="date".
Have I missed something or is the bug still there?
Cheers and Thanks,
William
-----Original Message-----
From: Joern Turner [mailto:joern.turner-S0/GAf8tV78@xxxxxxxxxxxxxxxx]
Sent: Wednesday, August 04, 2004 8:00 AM
To: William Boyd
Cc: chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
Subject: Re: [Chiba-developer] InsertAction
Hi,
finally this has been solved (was a hard one). now all ModelItems should
get updated correctly after an insert. But please be aware that the
actual update of the ModelItems happens not before an rebuild is
executed. The MaindependencyGraph is now responsible for updating
ModelItems correctly.
Please report in case problems persist in your forms.
Joern
William Boyd wrote:
> Hi Again,
>
> Our forms are using the InsertAction via <xforms:insert> to replicate
> a group of fields. Although the group is cloned and inserted
> correctly into the instance element, the data that gets inserted into
> the body has been modified.
>
> Most of the fields in the group being cloned where defined as
> chiba:type="token" or chiba:type="date" but after the insert action
> has occurred they all become chiba:type="string". This breaks other
> logic we have in our transform that depends on the type.
>
> Any idea where to start looking for the fix to this? I can't seem to
> identify the code the creates the new nodes in the body or why it
> changes the types to string. I suspect type string is a default being
> used.
>
> Thanks for any help.
>
> Cheers, William Boyd Credit Union Central of British Columbia 1441
> Creekside Drive Vancouver, BC Phone: 604.742.5206 Fax: 604.730.4485
> Email: wboyd-AydYg8SooQ0AvxtiuMwx3w@xxxxxxxxxxxxxxxx
>
>
>
>
> ------------------------------------------------------- This SF.Net
> email is sponsored by The 2004 JavaOne(SM) Conference Learn from the
> experts at JavaOne(SM), Sun's Worldwide Java Developer Conference,
> June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER
> AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________ Chiba-developer
> mailing list
> Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/chiba-developer
>
jobAppMini.xml
Description: jobAppMini.xml
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|