Hi all,
in the last days I spent some time for Tapestry-Seam-Integration (
https://issues.apache.org/jira/browse/TAPESTRY-1714).
Now I have working Seam Integration for both: T5 and T4 which I would like
to share with the community.
So far following is realized for both: T5 and T4
- Injection and outjection of Seam components via Seam annotations: @In
and @Out
- Binding for EL to be used in the templates to reference seam
components.
T5 code would look like:
public class Start
{
@In private Bean myBean; <-- Seam component
@Out private Foo foo; <-- Seam component
}
T4 code looks similar:
public abstract class Start extends BasePage
{
@In public abstract Bean getMyBean(); <-- Seam component
@Out public abstract Foo getFoo(); <-- Seam component
}
Usage of EL binding:
-T5: ${el:bean.firstName}
-T4: <span jwcid="@Insert" value="el:bean.firstName"/>
I think the code will be ready for contribution starting from the first
weekend of the next year. (from tomorrow till 2nd January I'm on vacation).
I'm not sure what is the best project to contribute the code. I thought
about two alternatives:
1) Tapestry 5 and Tapestry 4
2) Tacos 5 and Tacos 4
The second alternative is easier for me since I'm a committer to Tacos
project. But I think Seam Integration should be placed in Tapestry. So what
do you think? Comments are welcome. Especially comments from Howard, Jesse
and Andreas would be appreciated.
--
Best regards,
Igor Drobiazko