BeanModelSource is pretty common when using grid and beaneditor

added
<template name="t5inject8" description="Inject #8 BeanModelSource to
modify bean model. (Grid columns for example)" autoinsert="true"
context="java" deleted="false" enabled="true">@Inject private
BeanModelSource _beanModelSource;
${:import(org.apache.tapestry.services.BeanModelSource,org.apache.tapestry.ioc.annotations.Inject)}</template>

checkout
http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates

P.S.
sven, sorry for the third revision in short time :)

Davor Hrg

On Mon, Mar 3, 2008 at 12:48 PM, Sven Homburg <[EMAIL PROTECTED]> wrote:
> i dated it up for IDEA, thanx davor
>
>  http://wiki.apache.org/tapestry/Tapestry5HowToIdeaLifeTemplates
>
>  2008/3/3, Davor Hrg <[EMAIL PROTECTED]>:
>
>
> >
>  > The form is frequently used so I've added form event methods too..
>  > checkout
>  >
>  > http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
>  >
>  >
>  > I you already imported the templates, remove old ones firts before
>  > importing new,
>  > or you'll have duplicates.
>  >
>  > Ive put selected event there also since it is connected to form submission
>  > and often used.
>  >
>  >
>  > Davor Hrg
>  >
>  >
>  > On Sat, Mar 1, 2008 at 11:35 PM, Sven Homburg <[EMAIL PROTECTED]>
>  > wrote:
>  > > 2008/3/1, Davor Hrg <[EMAIL PROTECTED]>:
>  > >
>  > >
>  > > >
>  > >  > I've added a new wiki page,
>  > >  > this time it is not a tutorial, but usefull Eclipse code templates,
>  > >  >
>  > >  > page is:
>  > >  > http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
>  > >  >
>  > >  >
>  > >  > check the page, and try out the templates,
>  > >  > any suggestion is welcome to make it even more usefull,
>  > >  >
>  > >  > Also you are encouraged to post you opinions on
>  > >  > what the generated method coments should be,
>  > >  > the goal is to make them usefull, but also not embarassing
>  > >  > if left unchanged (like many eclipse default ones :D ).
>  > >  >
>  > >  > of course, an IntelliJ IDEA counterpart would be most welcome :)
>  > >  >
>  > >
>  > >  done ;-)
>  > >
>  > >
>  > >  --
>  > >  with regards
>  > >  Sven Homburg
>  > >
>  >
>  >
>
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>
>  --
>  with regards
>  Sven Homburg
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to