11-11-2005 07:45 PM
11-12-2005 01:51 PM
If you are looking for an XML editor that uses a schema to generate a form then this is may be of interest to you.
I have been working on a tutorial for adding an inline editor to alfresco. I need to go back and finish that.
in the mean time the source for the work can be found at
http://www.posit-group.org/cache/xml-editor.zip
This is only an example. There are a number of issues.
First the example uses a applet (that costs money).
Second the example uses an applet (that causes browsers to flake)
Third,
I used this as an oppertunity to demonstrate how we can put most of the code in alfresco in to uber-configurable patterns.
In the checkinCheckoutbean method editFile you will notice the code has been pulled out and replace with a "pipeline invokation"
The pipeline definition can be found in checkinCheckoutPipelineChains.xml
and the components used by the pipeline in pipeline-context.xml
more on this later… gotta run
11-12-2005 01:55 PM
If you are looking for an XML editor that uses a schema to generate a form then this is may be of interest to you.
I have been working on a tutorial for adding an inline editor to alfresco. I need to go back and finish that.
in the mean time the source for the work can be found at
http://www.posit-group.org/cache/xml-editor.zip
This is only an example. There are a number of issues.
First the example uses a applet (that costs money).
Second the example uses an applet (that causes browsers to flake)
Third,
I used this as an oppertunity to demonstrate how we can put most of the code in alfresco in to uber-configurable patterns.
In the checkinCheckoutbean method editFile you will notice the code has been pulled out and replace with a "pipeline invokation"
The pipeline definition can be found in checkinCheckoutPipelineChains.xml
and the components used by the pipeline in pipeline-context.xml
more on this later… gotta run
Ok so if you want to take a look at this thing, here is how
o Download the version 1 Alfresco Source
o Expand it somewhere
o Download the xml-editor.zip from (http://www.posit-group.org/cache/xml-editor.zip)
o Unzip it inside the projects folder of the alfresco source code (it should be right aside the other projects like repository)
o go inside of the xml-editor project and run build.bat. Build.bat doesnt actual build anything. It just copies the files from the xml-editor over top of the existing projects.
o build afresco war as usual
o upload the sample documents in to a space.
o each file should be "inlineeditable" and of the mimetype XML
o add the Validated XML aspect to the salesreport.xml
o edit the salesreport.xml (properties panel). You will see it has properties for a schema and a xsl. edit them by selecting the xsl and xsd file you just uploaded.
when you click on the pencil for the xsl and xsd you should get the inline text editor. when you click on the pencil for HTML you should get the html editor. When you click on the pencil for the salesreport.xml you should see an applet load, then have a form you can edit which will do validation.
01-30-2006 05:56 PM
01-30-2006 05:59 PM
Russ:
As part of an evaluation, I am interested in going through the steps of integrating an XML editor. Unfortunately, I could not access the link http://www.posit-group.org/cache/xml-editor.zip mentioned above. Also, the Wiki page at http://www.alfresco.org/mediawiki/index.php/Adding_an_Editor_Guide appears to be work in progress. Is there any better place for me to get jump-started? Could you please make the above resource available? Thank you in advance.
Regards,
Andreas
01-31-2006 08:42 PM
01-31-2006 08:46 PM
02-01-2006 05:00 PM
02-01-2006 05:40 PM
Russ, I hope you didn't get me wrong: seeing what you've done was very helpful and I think that it goes into the right direction.
The only part that concerned me a bit was the use of the pipeline framework (which is fine for a proof of concept), as I'm not clear on the availability and licensing ramification. So I decided not to integrate.
I'm still interested in a solution and you pointed me in the right direction.
At the same time, I was just interested in existing activities in that area. Maybe one of the Alfresco developers can speak to that.
Thanks,
Andreas
02-04-2006 02:02 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.