>
>
> In fact, if I was doing the code again, module classes would not have
> instance methods, only static methods.


Please, please help. Howard, take your hands off that code, ok. You'll break
our current code base. You may do it in Tapestry 6. Because, again that
would be it's own beast- as usual another 100% backward incompatible with
previous versions. Tapestry users, BEWARE!!
 A piece of advice to Howard: Think and design before you code. If you do so
you would avoid all these temptations and save so many people misery and
pain.

Yours friendly,

Rob


>
>
> On Mon, Apr 14, 2008 at 4:39 AM, Tomasz Dziurko <[EMAIL PROTECTED]>
> wrote:
> > As fas as I know T5 method build() in AppModule is static, so you need
> >  make RequestGlobals static variable:
> >
> >  @Inject
> >  private static RequestGlobals requestGlobals;
> >
> >  to pass it to constructor of mentioned service. When you try to get
> >  something (eg HTTPServletRequesst ) from it after calling service you
> >  will get NullPointerException, so I think it's not the right way.
> >
> >  Regards
> >  --
> >  Tomasz Dziurko
> >
> >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to