In my (humble) oponion, I'd say this is hardly possible, at least not in a
satisfactory way. You will have to find some compromise with your customer
on what parts can be "redesigned" and which not. Sure, there are good ways
to edit a Wicket application say with Dreamweaver. But still you have to
consider the component hierarchie and possibly some Markup hierarchie.

To ease the pain, you could provide her with Junit tests and a linked batch
file, so that she can test beforehand, and maybe fix some stuff - if she can
interpret the error messages correctly.

Maybe your best bet is if you just say that the layout can be changed by CSS
only. Show her csszengarden.com. Many things can be done with CSS, if your
HTML is generic enough. For easy maintence you could provide a little form
where the CSS can be uploaded and changed. And it's harder to completely
mess up in CSS.

HTH,

Rüdiger

2007/6/18, Tauren Mills <[EMAIL PROTECTED]>:

Earlier I asked how to relocate html, css, and other resources away
from the Java code and Al Maw gave me some good help in IRC.  In our
conversation, he helped me to realize that the approach I was planning
would not work the way I had desired.  I'd like to find out how others
on the list have handled this situation for their clients.

I am building a simple wicket database app for a client.  The client
would like to be able to update the static content on the site.  In
addition, she would like to change the site design in the distant
future if she wants a new look down the road.

She is not a programmer or designer in the least.  She built her
original site with FrontPage (ick!) and would like to be able to
continue "editing" her site.  I've made it clear that she will no
longer be able to use FrontPage, but that I will provider her with a
way to make edits to her site.

One of the main reasons I like wicket is because of the pure
separation of layout and logic. But how does one go about giving
access to the layout to an unskilled person?  She could easily mess up
the component hierarchy in the html.  And she certainly doesn't know
how to deploy a war file.

I've thought about creating a simple CMS system for the "static"
content in the html pages. But that really isn't in the scope of the
project.  Maybe it should be. I could extract all "static" content
into properties files and use Labels all over, then have the app
search for properties files somewhere external from the war on the web
server.  But neither of these will help if she wants to redesign the
layout of the site and needs to edit the html/css.

Basically, I need to be able to finish this project and walk away from
it.  I don't want to forever more be her "webmaster" whenever she
wants little changes made to the site.

How would you handle this?  I'd love some ideas.

Thanks,
Tauren

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
greetings from Berlin,

Rüdiger Schulz

www.2rue.de
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to