Thanks Erik, Although things like this are buried either in Javadocs, Source code, T4 Intuition and the mailing list, I think it's good to have extra guide posts where ever we can.
I hope more of us can contribute little snippets of code that show how something is done in T5. The PDF writer example on the list was a boon to me. I've since written a JPEG writer that I use for pushing Images and Charts. I had even thought of building a site called "DeadSimpleTapestry" which would have lots of very simple examples. They would be like duplo blocks (http://en.wikipedia.org/wiki/Duplo) for getting to know Tapestry. My work in Tapestry4/5 was also my very first web application--so that may be why I like the basic stuff so much! On 6/8/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
Hii Daniel, Thanks for your reply - I still have to study where to store the required css/js and image files, but you got me looking in the right spot (see also my recent entry in the Wiki, ( http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourOwnComponents). Also the exact location of the scr/main/webapp/css was a very useful answer - I had already tried several locations (e.g. in the WEB-INF directory, and the resources package), without result, so it seems to be really specific. I thought it worthwhile to add your comment to the Wiki ( http://wiki.apache.org/tapestry/Tapestry5WhereToStoreExternalResources) BTW, I've referenced you in the Wiki, thanking you for your help: if you don't like that, let me know, and I'll remove your name (I didn't mention your email). Cheers Erik On 6/7/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > > You may want to look into the way the T5 Grid or Palette component is > constructed, since they have their own js, css and images. > > I am assuming you are tryign to store the assets along with the page > you are creating. Otherwise, the a good place to put them is: > > src/main/webapp/css > src/main/webapp/js > src/main/webapp/images > > BTW- the favicon.ico goes directly in webapp > > Daniel > > On 6/7/07, Erik Vullings <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > Could somebody tell me what's the best place in T5.0.5 to store general > (i.e., > > they are not needed by Tapestry, but only to by the page) css files, js > > files and images, and where to store CSS/JS etc files specifically > needed > > for building components? > > > > Thanks > > Erik > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]