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
dcordes
All content on one page (useful for printing, presentation mode etc.)
- Overview and Prerequisits Overview of what we're trying to accomplish, and prerequisites for development.
- Creating a Class and Workflow with ArgoUML and ArchGenXML Describes creating a archtype class and custom Plone workflow with ArgoUML.
- Anonymous Content Submission Allowing anonymous users to submit content while preventing them from later editing theirs or other users submissions.
- Conclusion and Summation Final notes and a summation of this exercise.
Good Point, Title Updated.
I've modified the title. It's quite a bit longer, but very succinct
Can step 3 be handled by local workflows?
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
- 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
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
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
Adding multiple classes to 1 workflow
Plone 3.0
In Plone 3.0 I get the login form when I try to add a new entry. What have changed?
Thank you.
Great HowTo
:-)
Cheers
Alex Köhn
Title is confusing
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".