It's been a while since I last used Tapestry 4, but maybe you can create a custom TemplateLocator that loads the proper template for you?
regards, Onno On Tue, Jun 16, 2009 at 8:55 AM, kk4Nabble <kavya....@gmail.com> wrote: > > Hi all, > My problem is I have CalendarHome.java which extends Calendar.java. > But i want both the files to share Calendar.html > How do i do it? > > basically when it sees CalendarHome.java it ll search for > CalendarHome.html, > i wan it look for Calendar.html instead of CalendarHome.html. > Please suggest. > > Thanks > > > kk4Nabble wrote: > > > > Hi all. > > > > I have 2 java pages and i want it to refer same html for both java files. > > How do I do it in .application file. > > > > <page name="Calendar" specification-path="Calendar.page"/> > > <page name="CalendarHome" specification-path="Calendar.page"/> > > > > The above does not work. > > By the way am using tapestry 4.1 > > Please help. > > > > Thanks in advance > > > > -- > View this message in context: > http://www.nabble.com/how-to-specify-2-java-file-to-same-html-tp24035378p24048762.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >