Apogee talk at the Eclipse Summit next week
_______________________________________________ Apogee mailing list Apogee@... http://lists.nuxeo.com/mailman/listinfo/apogee
_______________________________________________ Apogee mailing list Apogee@... http://lists.nuxeo.com/mailman/listinfo/apogee
Hi,
Can any one let me know if Apogee is released as GA and from where to download it. I could not find the link to download.
Thankis
Ashwani
| This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. |
_______________________________________________ Apogee mailing list Apogee@... http://lists.nuxeo.com/mailman/listinfo/apogee
XInputSource src =
new URLInputSource(Example1.class.getResource( "example1.xhtml"));with
XInputSource src = new URLInputSource(Example1.class .getResource("document.xhtml"));
and commented out the lines (not inclusive) between
final UIForm uiForm = new SWTBuilder().build(form, shell); and shell.setBounds(10, 10, 400, 200);
As a result I was able to see the SWT form generated by document.xhtml. I then tried to submit the form by leaving the "title" field empty, but got an exception. This indicated that the minLength validation in document.xsd works. However, when I removed the minLength and maxLength validation and again tried to submit the form leaving the "title" field empty, I expected to get an exception but did not get one. I was expecting an exception because of the line
<bind nodeset="/document/metadata/title" id="title" required= "true()"/>
inside document.xhtml.
So, my question: Is the "required" validation feature not been implemented? If it has been can someone please guide me as to how do I validate a field to ensure that the user enters a value.
Thanks.
Abhishek Goel
_______________________________________________ Apogee mailing list Apogee@... http://lists.nuxeo.com/mailman/listinfo/apogee
Problem solved. -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -- -- with best regards Nikolay Voynov
Hello, apogee@...! Sorry my English. I'm trying build simple OLTP demo application with Apogee XFroms and Xml-Xindice. Xml instances is stored in Xindice and editing by Apogee XFroms based on TestSWT document.* files - samples from org.nuxeo.xforms.ui.tests Environment: Eclipse JEE 3.3 JDK 1.6.0_02/1.5.0_12 I'm write code editing document. It works fine without of Xindice libraries. //.... ViewShell view = new ViewShell(); view.open(""); // .... public class ViewShell { private Shell sShell = null; private void createSShell() {/* skipped default code for Shell creation */} private void createXForms(String xmlSource) { XInputSource src = new URLInputSource(this.getClass().getResource("document.xhtml")); XFormsProcessor proc = new XFormsProcessor(src); if (!xmlSource.equals("")) { src = new StringInputSource(xmlSource); proc.getForm().getModel().setInstance(src); } FormViewer viewer = new FormViewer(proc, sShell, true); } public void open(String xmlSource) { createSShell(); createXForms(xmlSource); sShell.pack(); sShell.open(); } } By adding Xindice libraries I've got errors. Can you help me with it? Please. parsing unknown element: xhtml:html parsing unknown element: xs:sequence parsing unknown element: xs:sequence Exception in thread "main" java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object; at org.nuxeo.xforms.xforms.model.XFInstance.<init>(XFInstance.java:57) at org.nuxeo.xforms.xforms.model.XFInstance.<init>(XFInstance.java:50) at org.nuxeo.xforms.xforms.model.XFModel.createInstance(XFModel.java:46) at org.nuxeo.xforms.xforms.factories.InstanceXFactory.create(InstanceXFactory.java:58) at org.nuxeo.xforms.xml.XParser.startElement(XParser.java:116) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at org.nuxeo.xforms.xml.XParser.parse(XParser.java:80) at org.nuxeo.xforms.xforms.XFLoader.load(XFLoader.java:98) at org.nuxeo.xforms.XFormsProcessor.loadForm(XFormsProcessor.java:229) at org.nuxeo.xforms.XFormsProcessor.load(XFormsProcessor.java:207) at org.nuxeo.xforms.XFormsProcessor.<init>(XFormsProcessor.java:103) at biz.oss4.xforms.demo.xindice.ViewShell.createXForms(ViewShell.java:33) at biz.oss4.xforms.demo.xindice.ViewShell.open(ViewShell.java:43) at biz.oss4.xforms.demo.xindice.MainShell$AddSelection.widgetSelected(MainShell.java:183) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at biz.oss4.xforms.demo.xindice.MainShell.main(MainShell.java:85) -- -- with best regards Nikolai Voynov
Hello, dev is mainly used for EP dev, so I propose to use apogee list (http://lists.nuxeo.com/mailman/listinfo/apogee) for communication on dev. If you are not already in the list (like me : -) ), please, suscribe and use it when mailing about Apogee Sun will work on improving apogee user interface, but before that he will clean up the code on three aspects : - Exception management - Logging (no more e.printstacktrace) - String externalisation so that Apogee can be used in different languages Once this will be done, every body will have to respect the rules ! About exception management, we should choose the pattern to be used, and I let you discuss about that. I guess all the exceptions should be thrown to the top so that there is systematically a UI signal when something is wrong ... Thank you, Alain
Hi Apogee devs, It's time to think about errors and exception handling in Apogee. The purpose of this discussion is to get rid of "printstacktrack" way to easily avoid the problem and find a new and simple way to warm the user and give good information for the developpers if debugging is needed. To start the discussion, in a first glance, Alain said : "I guess all the exceptions should be thrown to the top so that there is systematically a UI signal when something is wrong ... " I think we have few ways to handle exception : • logging -> reuse existing nuxeo way to handle them (log4j) ? • display to user -> IStatus (the message it self and status) and ErrorDialog, maybe in the Status bar as well. I think Apogee should have its own way to deal with exception. Because it is supposed to handle not only nuxeo, we should embed nuxeo handled exception from coming the core. Any idea is welcome :) Sun.
| This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. |
_______________________________________________ Apogee mailing list Apogee@... http://lists.nuxeo.com/mailman/listinfo/apogee
Hello,
I have been using the three Xform plugins from the code located at http://svn.nuxeo.org/pub/Apogee/. I received an email earlier today from Bogdan stating that http://svn.nuxeo.org/pub/Apogee/ had been deprecated and current development was occurring at https://svn.nuxeo.org/nuxeo/sandbox/Apogee. When I checked out the current code I was unable to find the Xform plugins. Are the Xform plugins being actively developed or have they been deprecated and replaced by something else? Also could you let me know where I can obtain these plugins or their replacements?
Thank you for your assistance,
Nick Neidig
_______________________________________________ Apogee mailing list Apogee@... http://lists.nuxeo.com/mailman/listinfo/apogee
Hello,
I am working on building a demo for an upcoming project using the Apogee plugin. I found some inconsistent behavior with setting the style attribute on labels that I wanted to log as an issue.
I just signed up for this mailing list and I was unable to use my same login information to obtain access to the issue tracker. I would greatly appreciate your assistance in helping me obtain access to issue
tracker. I am assuming that it is preferable for me to log the issue through issue tracker rather than sending it over email.
Thank you,
Nick Neidig
_______________________________________________ Apogee mailing list Apogee@... http://lists.nuxeo.com/mailman/listinfo/apogee
Hi Bogdan,
I downloaded the nuxeo XForms Java libray and
the model instance doesn't appear to support namespaces (??).
I had a tag called ft:item in the model instance and I get a parse
error (see end of email). I think the software thinks that
it is an xforms tag (?).
The following is my XForms instance:
<instance>
<document xmlns:ft="http://www.llnl.gov/xforms-test/1.0">
<metadata>
<title>My default title</title>
<mdate/>
<author>me</author>
<description>
This is the default description
</description>
<language>fr</language>
<ctype>plain</ctype>
</metadata>
<ft:item> E </ft:item>
<content/>
</document>
</instance>
I only get the error if I set the instance using
form.getModel().setInstance(src)
There is no error in the XForms file
that has the same instance.
Also, the XForms UI's appear to ignore namespaces prefixes
with respect to path references to model instance elements.
John Nitao
1635 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: document, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1636 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: metadata, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1636 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: title, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1636 [main] DEBUG org.nuxeo.xforms.xml.XParser - endElement: title
1636 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: mdate, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1636 [main] DEBUG org.nuxeo.xforms.xml.XParser - endElement: mdate
1637 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: author, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1637 [main] DEBUG org.nuxeo.xforms.xml.XParser - endElement: author
1637 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: description, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1638 [main] DEBUG org.nuxeo.xforms.xml.XParser - endElement: description
1639 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: language, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1639 [main] DEBUG org.nuxeo.xforms.xml.XParser - endElement: language
1639 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: ctype, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
1639 [main] DEBUG org.nuxeo.xforms.xml.XParser - endElement: ctype
1639 [main] DEBUG org.nuxeo.xforms.xml.XParser - endElement: metadata
1639 [main] DEBUG org.nuxeo.xforms.xml.XParser - startElement: ft:item, attributes: org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy <at> 13d93f4
org.nuxeo.xforms.xml.XParserException: Parse failed
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
RSS Feed1 | |
|---|---|
2 | |
1 | |
2 | |
4 | |
5 | |
1 | |
2 | |
1 | |
4 | |
3 | |
8 | |
3 | |
2 | |
18 | |
21 | |
9 | |
1 |