Well, you're right. But to me, at least, it's not that big of a deal. The dependency will be to tapestry5-annotations, which is a very small dependency.

Anyhow, developing Tapestry apps is just a hobby of mine - for now, anyhow - so I make the decisions myself.

Sadly, I don't know of any other way to specify which constructor to use. I suggest you raise a JIRA issue if you want an alternative way to do it.

-Filip

On 2008-05-28 20:13, José Paumard wrote:
Hello Filip,
From what I understand, that would involve changing the object model
(not so nice, I dont have the hand on that), and making a dependency
from this model to T5. I can already hear ppl screaming at that ;)

Am I right ?
Thank you,

José

Filip S. Adamsen a écrit :
Hi José,

You can put @Inject in the constructor you want Tapestry to use for auto-instantiation. Should solve your problem.

-Filip


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


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

Reply via email to