The way I tackled this was to put all my html pages in src/main/resources
instead of src/main/java to keep them separate from the .java files (so as
not to confuse the designers).
So for instance, I might have:
src/main/resources/com/mycompany/wicket/home/HomePage.html
src/main/resources/com/mycompany/wicket/user/AddPage.html
src/main/resources/com/mycompany/wicket/user/UserPanel.html
src/main/webapp/css
src/main/webapp/img
Then what I did was I installed Tortoise SVN and Apache Web Server (not
Tomcat) on the designers machine. Also on their machine, I created a
wwwroot/myproject directory and under there I linked:
wwwroot
- myproject
- home -> svn://...src/main/resources/..../home
- user -> svn://...src/main/resources/..../user
- css -> svn://...src/main/webapp/css
- img -> svn://...src/main/webapp/img
Then I configured apache for that directory, and that's the "test website"
Dreamweaver launches after they make edits and want to preview. When the
designer is all done, they do an SVN Commit through Tortoise.
Hope that helps,
Craig.
On 9/25/07, Sjoerd Lohuis <[EMAIL PROTECTED]> wrote:
>
> This is something I'm looking for as well. I'm a frontend developer (or
> html monkey if you will, thanks Sam ;) ) and I'm trying to find a way to
> make it easier for me and my fellow html & css-ers to work on the Wicket
> frondend. At the moment I'm spending a lot of time searching through
> wicket pages and panels trying to find that single HTML element I want
> to tweak or something like that.
>
> All tips are appreciated.
>
> --
> Sjoerd Lohuis
> Func. Internet Integration
> W http://www.func.nl
> T +31 20 4230000
> F +31 20 4223500
>
>
>
> Sam Hough wrote:
> > I'm wandering about a similar thing but with the requirement that the
> > designer (html monkey) can work against a live instance of wicket to
> make
> > sure the dynamic stuff doesn't break his CSS.
> >
> > Only thing I can think of is that it always lives in WEB-INF/classes but
> I
> > don't like. Not that I have a reason.
> >
> >
> > Craig Tataryn wrote:
> >
> >> I have a question about how I can make it dead simple for a Designer
> >> (using
> >> dreamweaver) to code my html/css for me. Essentially I want him to be
> >> able
> >> to update a directory structure of html/css files and have my Maven
> build
> >> pull those files into the proper places (i.e.
> >> WEB-INF/classes/my/package....)
> >>
> >> The directories he is updating are accessible by the build server, and
> >> would
> >> have a directory structure like so:
> >>
> >> css
> >> - main.css
> >> img
> >> - arrow.gif,
> >> pages
> >> - home
> >> - HomePage.html
> >> - add
> >> - AddProduct.html
> >>
> >>
> >> These should translate over to my side as:
> >>
> >> css -> src/main/webapp/css
> >> img -> src/main/webapp/img
> >> home -> src/main/java/com/mycompany/myproduct/wicket/home
> >> add -> src/main/java/com/mycompany/myproduct/wicket/add
> >>
> >> Is this something I can have Maven do automagically? Or is it
> something
> >> I'm
> >> going to have to write a batch script for?
> >>
> >> Thanks,
> >>
> >> Craig.
> >>
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>