logo       

Re: 0.9.7 and submission problems?: msg#00004

Subject: Re: 0.9.7 and submission problems?
Hello Zach,

Zach Roberts wrote:

Yet again, responding to my own post . . .
nevertheless interesting to listen to your monologues ;)

Joern


Zach Roberts wrote:

Par for the course, I am responding to my own post . . .

Zach Roberts wrote:

Hello All,

I am looking at upgrading from 0.9.4 to 0.9.7, specifically to take advantage of all the great file upload capabilities that have been implemented. I have two questions that have come up:

    * From the looks of CVS, there may be another release coming very
      soon.  Is there an estimated time when 0.9.8 will be coming out?
    * If 0.9.8 is far away (more than two weeks), then I think I have
      an issue with the submission handlers.  It seems that even the
      most trivial of forms will not submit successfully using a plain
      0.9.7 install.  I have been working with just the hello.xhtml
      example, and cannot get it to submit successfully.  I am on
      Tomcat 4.1.30 with jdk 1.4.2_04, and I moved the dom3 stuff to
      common/endorsed as the instructions explained.  I noticed right
      away that the example xforms did not update their xml:base
      element to point to chiba-0.9.7, and also that the xslt files
      like html4.xsl were also not pointing at chiba-0.9.7 in their
      action url parameter.  After fixing these things, I still cannot
      get a successfull submission.  Which led me to a third issue:


I have resolved the submission problems for the simple case. The hello.xhtml form now works with the jsp/debug-instance.jsp and jsp/return-instance.jsp submission targets, I just had to correctly set the xml:base attribute within this xform as well. I have now moved on to file uploads, and have been running into some new issues with the example there, upload-types.xhtml. I think that the anyURI case is the one most usefull to our situation, but unfortunately it is also the one that does not work right now. I have been testing with Firefox 1.0 PR and IE 6.0.28 on Windows XP, and both fail but in a slightly different manner. From what I can tell, if I use the anyURI file upload type, chiba is actually pulling up the file and placing it into a unique folder correctly. The problem comes when the value in the bound instance element is updated to include the path to the uploaded file. In Firefox, it seems to only update the element with a relative path, something like "f23dc\file.txt". This fails the immediate validation during the submit, and throws the "XFormsSubmitError: instance validation failed" exception during submission. In IE, the file also gets uploaded but before it gets stored to the upload directory it fails with an exception like "FileNotFoundException: D:\tomcat\webapps\chiba-0.9.7\upload\file11c9\d:\full\local\path\to\file.txt". Anyone successfully worked their way through these issues? Are these things already taken care of in CVS chiba-sandbox?

Zach Roberts




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe