Thanks, François...that might solve the issue. I want to contribute this back to tapestry5-jquery, and the easier I can make it to use the better IMHO.
This component is created from fullcalendar (http://arshaw.com/fullcalendar/). It's a javascript utility that displays a calendar in the browser and allows the programmer to write code to interact with it. As it comes, it only gives enough functionality to display events (json, xml, or google calendar with additional javascript) but it gives the hooks necessary to allow for a good amount of customization. Exactly the component I need for a scheduling utility. I think I mistakenly typed freecalendar instead of fullcalendar earlier...my apologies. :) On Mon, Aug 20, 2012 at 9:17 AM, François Facon <francois.fa...@atos.net>wrote: > Hi Chris, > > In order to avoid having so much makup in your tml you can generate a > JSon array in java class and pass it as property to your calendar > component parameter. > > By way could you give us more details about the jQuery plugin you are > using? > > > Regards > François > > 2012/8/20 Chris Cureau <cmcur...@gmail.com>: > > I could do this, yes...I guess I was just trying to avoid having quite so > > much markup in the tml file... > > > > On Mon, Aug 20, 2012 at 8:34 AM, trsvax <trs...@gmail.com> wrote: > > > >> Most jQuery components can be implemented by simply extending the Widget > >> mixin > >> > >> for example > >> > >> @Import (library={"your js file"}) > >> public Class FreeCalendar extends Widget { > >> } > >> > >> Then in your tml file > >> > >> <t:any mixins="FreeCalendar" options="JSON String of options"/> > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > http://tapestry.1045711.n5.nabble.com/javascript-component-questions-tp5715582p5715594.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 > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >