开发者

How to combine JSF and Wicket components on same page

开发者 https://www.devze.com 2023-01-22 12:20 出处:网络
Is there way I can combine a JSF component and a Wicket component in the sam开发者_JAVA技巧e web page?I have a menu bar component created in Wicket and a form component is created in JSF. I have to co

Is there way I can combine a JSF component and a Wicket component in the sam开发者_JAVA技巧e web page?

I have a menu bar component created in Wicket and a form component is created in JSF.

I have to combine these two components in one page, is it possible?


Yes, it's possible.

I'd need to know a bit more about your situation to give much real advice, but this wiki entry indicates one possible tactic.

Cobbling things together this way is not likely to be the best approach though. If you can't easily make a wicket component that does the same thing as your jsf component (or vice versa), you've probably got too much logic in your presentation code.

Move as much of the work as you can into plain old java classes, and see if you can just use one framework.


Few information for 2017 year

Old integration attempts evolve forward.

Now project has name wicketstuff-jee-web (previously wicket.jsp)

https://github.com/klopfdreh/wicketstuff-jee-web

Promises integration of Wicket components and JSF components. Is far more dynamic than old JSP integration, works at many stages of request. Works in both directions, from Wicket context to embedded JSF components, and vice versa

Please read few words tutorial

0

精彩评论

暂无评论...
验证码 换一张
取 消