Hi pierobo
I think you need to take a look at listview.. I know you want to let the
user just plainly design the page but what if you gave them a more
graphical editor. That way you could have a general page that had a
listview and added all the components the user selected on his editor page..
Problem really are that theres a one to one mapping between html and
wicket components. This also is the case with listview, but in your
listview you can have one or more placeholders that will be populated
runtime.. If you do this in conjuction with giving the user the
posibility for uploading special stylesheets then it should be the same
i guess? What do you say?
regards Nino
pierobo wrote:
Eelco Hillenius wrote:
On 9/28/07, pierobo <[EMAIL PROTECTED]> wrote:
I'm doing an evaluation of some java web frameworks for doing the
presentation layer of our CMS.
We already have the backend, made with Spring/Hibernate.
The behaviour of the CMS should be:
1) (Power) user draws the data model he want to store in the CMS (a sort
of
entity-relation diagram);
2) This user then writes html pages with tools provided by us or by
himself.
He put into page "blocks" of visual elements representing part of his
model.
I.e., in the parent HTML page he could put a block representing a browse
able list of childs.
Yeah, I think Wicket is very suitable for what you want to do.
I made some documenting and I looked at various components available. I
understood how can I switch from actions to bookmarkable pages, but I cannot
get how could I work with user generated pages.
I would like to leave the user all the freedom he needs, that is, ask him to
follow my CMS conventions, but let him to design freely his pages.
So there will not be a process of building page with components using some
pre-made layout. The user will instead draw _his_ MyWorld.html, putting
wicket components provided by the CMS.
But I cannot get how load ino Wicket the MyWorld.html, because there will
not be a MyWorld.java...
Probably my need could be a java class which interprets MyWorld.html and
then render it.
It's possible to do this? Could you suggest me some different approach to do
this? The only thing I would not change is the way the user creates his
pages: no constraints about the layout
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]