[ https://issues.apache.org/jira/browse/OFBIZ-3897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901276#action_12901276 ]
james yong commented on OFBIZ-3897: ----------------------------------- Hi Ashish, The patch mainly consists of a wicket component and a simple wicket example page in the example application. The wicket example serves to demonstrate the necessary setup. The proof of concept is not polished but it serves to show: 1) how we add a wicket component to framework 2) how we can use wicket in an existing OFBiz application 3) how we can reuse the OFBiz's menu.xml file to generate the menus in the wicket page. I have added the function for the request handler to forward the request from OFBiz control servlet to Wicket servlet. Inorder for the forwarding to work, we need to a) add request-map to the controller.xml and set the response type to 'forward' b) mount the wicket page in WicketExampleApplication.java UrlRewrite servlet and its urlrewrite.xml file serves to rewrite the url necessary for accessing wicket's resource and ajax functions. About the WicketCommonDecorator class: 1) It's concept is akin to OFBiz's Decorator concept, and meant to be subclassed when creating a wicket page. 2) There are various abstract methods the developer needs to provide information with. (I am thinking of providing a setting class instead of those abstract methods) 3) It should look at the current theme and add the necessary themes panel (currenty only done for Tomahawk) Other things todo includes: 1) Implement the panels for other themes, including the footers 2) page header info is hardcoded Bugs: 1) Screen doesn't look OK in IE8. I am hoping that someone interested in using wicket with OFBiz to give it some polish, as I need to focus on other things 1st. Regards, James > Wicket component > ---------------- > > Key: OFBIZ-3897 > URL: https://issues.apache.org/jira/browse/OFBIZ-3897 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: james yong > Priority: Minor > Fix For: SVN trunk > > Attachments: patch.txt > > > This component allow developers to use Wicket framework -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.