Customizing default template .

17 views
Skip to first unread message

Ashish

unread,
Aug 6, 2012, 5:37:51 AM8/6/12
to Scooter Framework
Hi friends ,

I want to customize the default templates and CSS of scooter app .
Can somebody guide me how can I replace the default templates with my
own custom templates ?
Which files I need to change ?

Thanks in advance .

stark

unread,
Aug 7, 2012, 11:59:39 PM8/7/12
to scooter-...@googlegroups.com
Hello,

Scooter uses sitemesh as the default, you may want to take a look at decorators.xml and sitemesh.xml.

It's gonna be on the decorators.xml where you will find the templates, In the 'twitterdemo' it is those which has those '<pattern>' tags in the decorators.xml.

A simple explanation on how it works is that, you will just call your page in the request like 'main.jsp', and sitemesh will just present the page , inserting your main.jsp in the specified template based on your decorators.xml.

HTH
Reply all
Reply to author
Forward
0 new messages