Yes - sorry I wasn't clear. Thanks for your help.
On 21 June 2012 18:30, Thiago H de Paula Figueiredo wrote:
> On Thu, 21 Jun 2012 16:36:38 -0300, Michael Prescott <
> michael.r.presc...@gmail.com> wrote:
>
> That's crazy talk.
>>
>
> Did it work?
>
>
>> Thanks. :-)
>>
>> On 21 June 2012 15:09,
On Thu, 21 Jun 2012 16:36:38 -0300, Michael Prescott
wrote:
That's crazy talk.
Did it work?
Thanks. :-)
On 21 June 2012 15:09, Thiago H de Paula Figueiredo
wrote:
On Thu, 21 Jun 2012 15:11:04 -0300, Michael Prescott <
michael.r.presc...@gmail.com> wrote:
MyModule {
// Doesn't w
That's crazy talk.
Thanks. :-)
On 21 June 2012 15:09, Thiago H de Paula Figueiredo wrote:
> On Thu, 21 Jun 2012 15:11:04 -0300, Michael Prescott <
> michael.r.presc...@gmail.com> wrote:
>
>> MyModule {
>>
>> // Doesn't work
>> @Symbol("paramname")
>> private String param;
>> }
>>
>> It works
On Thu, 21 Jun 2012 15:11:04 -0300, Michael Prescott
wrote:
MyModule {
// Doesn't work
@Symbol("paramname")
private String param;
}
It works as an annotation on a method parameter, though!
Have you tried to add @Inject to the field?
--
Thiago H. de Paula Figueiredo
-
Steve, I need two web-apps running side by side, not two tapestry apps
within the same webapp. :-) No problems there.
In any case, I figured out why what I was doing wasn't working, I was
trying to do
MyModule {
// Doesn't work
@Symbol("paramname")
private String param;
}
It works as an
> because i need multiple apps running side by side.
Err...
http://tapestry.apache.org/configuration.html#Configuration-SegregatingApplicationsIntoFolders
says, "At this time, it is still not possible to run multiple Tapestry
5 applications within the same web application."
Other than that there
Nevermind. :-) Turns out that my problem was just that I was trying to use
@Symbol on a module field, instead of on a method parameter.
Michael
On 21 June 2012 13:43, Michael Prescott wrote:
> I'm hoping to use tapestry-hibernate, and also flyway to do db migrations,
> and I'm having trouble in
On Thu, 21 Jun 2012 14:43:53 -0300, Michael Prescott
wrote:
I'm hoping to use tapestry-hibernate, and also flyway to do db
migrations,
and I'm having trouble injecting the data source from the servlet
container
into each of these.
With tapestry-spring, I was able to have spring read we
I'm hoping to use tapestry-hibernate, and also flyway to do db migrations,
and I'm having trouble injecting the data source from the servlet container
into each of these.
With tapestry-spring, I was able to have spring read web context params,
and go from there. But in my tapestry module, @Symbol