Personal tools
You are here: Home Documentation Tutorials Building Custom Content Types with ArgoUML and ArchGenXML and Permitting Anonymous Content Submission
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Building Custom Content Types with ArgoUML and ArchGenXML and Permitting Anonymous Content Submission

This Tutorial applies to: Plone 2.5.x, Plone 2.1.x
This Tutorial is intended for: Integrators, Customizers

And howto on creating a custom content type with ArgoUML and ArchGenXML, and allowing anonymous submission of that content.

dcordes

All content on one page (useful for printing, presentation mode etc.)

  1. Overview and Prerequisits Overview of what we're trying to accomplish, and prerequisites for development.
  2. Creating a Class and Workflow with ArgoUML and ArchGenXML Describes creating a archtype class and custom Plone workflow with ArgoUML.
  3. Anonymous Content Submission Allowing anonymous users to submit content while preventing them from later editing theirs or other users submissions.
  4. Conclusion and Summation Final notes and a summation of this exercise.
 
by Dana Cordes last modified August 31, 2007 - 15:40 All content is copyright Plone Foundation and the individual contributors.

Title is confusing

Posted by Frank Bennett at July 14, 2006 - 04:12

The title of this would benefit from a rewrite, if the author can be persuaded. ArgoUML and ArchGenXML are tools that operate outside of Plone; they cannot be run or accessed "anonymously".

Good Point, Title Updated.

Posted by Dana Cordes at July 17, 2006 - 15:30

I've modified the title. It's quite a bit longer, but very succinct

Can step 3 be handled by local workflows?

Posted by Marcel at July 16, 2006 - 21:35

Could step 3 Anonymous Content Submission be more elegantly solved by implementing a local -specialized- workflow? The workflow would allow more to anonymous in the folder in which the workflow policy would be applied. Of course this would need Plone 2.5.

minor tweaks

Posted by T. Kim Nguyen at November 22, 2006 - 19:22
Thanks for a great howto! A couple of minor points:

- you have a typo in the workflow section: "Factory Floow"

- when you want to set tagged values for 'required' and 'searchable', you can give them a value of 1 instead of python:true or true. At least, this seems to have worked for me (ArgoUML 0.22, Archetypes 1.3.5-final).

Generating the file with ArchGenXML.py

Posted by Name Surname at November 26, 2006 - 17:58
One small comment: if you only have python witch comes with Plone (2.5.1), then trying to generate Plone product from any .xmi, .zargo or .uml file will not work.
One need to install full python package separately on your Windows PC and run python using python.exe from there.

Otherwise it shows this error:
"Hey, we need to be passed a UML file as an argument!"

Al.

Problem generating with state diagram

Posted by Scott Schlosser at January 8, 2007 - 20:14
No problems until I got to the section on workflow. After adding the state diagram to the model ArchGenXML (v1.5.0) failed to generate the code. Got a list of errors. This is the top :
INFO Generating workflow '-64--88--64-11-79da5d6d:11002e462c3:-8000:00000000000
00EF6'.
Traceback (most recent call last):
File "/cygdrive/d/tools/ArchGenXML/ArchGenXML.py", line 98, in ?
main()
File "/cygdrive/d/tools/ArchGenXML/ArchGenXML.py", line 80, in main
...
...
Can not seem to find out anything about this problem on the web. The addition of the state diagram caused the problem. The generation went fine without the state diagram. I am using Plone 2.5, ArgoUML 0.22 and ArchGenXML 1.5.0

Cygwin users

Posted by Scott Schlosser at January 8, 2007 - 22:45
When running ArchGenXML.py ProcessImprovement.zargo from the Cygwin Bash prompt the code generation fails. It seems that when ArchGenXML.py is run under Cygwin the paths to the Python libraries for generating code for state diagrams are converted to Windows style paths. Using the Windows command prompt for generating code is a workaround to this problem. The class diagrams without the state diagrams can be generated in either environment.

Adding multiple classes to 1 workflow

Posted by Anthony Devine at February 26, 2007 - 00:43
I have created a workflow in argouml and it is basically a class in a package that has a workflow attached to it. When the workflow gets to a certain state I want to be able to add another class to this workflow, is it possible?

Plone 3.0

Posted by Bruno Matos at February 14, 2008 - 22:06
Hello, great tutorial!

In Plone 3.0 I get the login form when I try to add a new entry. What have changed?

Thank you.

Great HowTo

Posted by Alexander Koehn at April 28, 2008 - 13:34
For all Plone 3 (0.5) users, take a look at the track: http://dev.plone.org/plone/changeset/18066
:-)

Cheers
Alex Köhn

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by