Add LookupPortalPage on common components
----------------------------------------- Key: OFBIZ-4260 URL: https://issues.apache.org/jira/browse/OFBIZ-4260 Project: OFBiz Issue Type: New Feature Components: framework Affects Versions: SVN trunk Reporter: Nicolas Malin Priority: Minor Fix For: SVN trunk Attachments: lookup.patch Add a simple lookup on PortalPage. I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4260: --------------------------------- Attachment: lookup.patch > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.patch > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023544#comment-13023544 ] Jacques Le Roux commented on OFBIZ-4260: ---------------------------------------- Hi Nicolas, Interesting, could you describe how you use/access it in OFBiz OOTB (few steps, maybe an URL...)? > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.patch > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4260: --------------------------------- Attachment: lookup.jpg portlet.jpg lookup.patch Oh sorry jacques, I create this issue but I forget to set an example. I give possibility to configure the examplePortlet2 to use this lookup. To test : * apply patch * apply patch from OFBiz-4262 * load seed * Go to example and add examplePortlet2 to an example pagePortal * Edit examplePortlet2 * Let's rock ;) I load 2 screenshot. Nicolas > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023554#comment-13023554 ] Jacques Le Roux commented on OFBIZ-4260: ---------------------------------------- Sorry Nicolas, After having applied both patches and a "ant run-install-seed run". It works well if I 1st edit examplePortlet2 but I get this error if I click before on the link in examplePortlet2 added. Did I miss something or is it a NPE/feature non secured non handled? {code} [java] Error on line 45, column 5 in component://tomahawk/includes/appbarClose.ftl [java] delegator.findByPrimaryKeyCache("PortalPage", findMap) is undefined. [java] It cannot be assigned to portalPage [java] The problematic instruction: [java] ---------- [java] ==> assignment: portalPage=delegator.findByPrimaryKeyCache("PortalPage", findMap) [on line 45, column 5 in component://tomahawk/includes/appbarClose.ftl] [java] ---------- [java] [java] Java backtrace for programmers: [java] ---------- [java] freemarker.core.InvalidReferenceException: Error on line 45, column 5 in component://tomahawk/includes/appbarClose.ftl [java] delegator.findByPrimaryKeyCache("PortalPage", findMap) is undefined. [java] It cannot be assigned to portalPage [java] at freemarker.core.Assignment.accept(Assignment.java:111) [java] at freemarker.core.Environment.visit(Environment.java:196) [java] at freemarker.core.MixedContent.accept(MixedContent.java:92) [java] at freemarker.core.Environment.visit(Environment.java:196) [java] at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) [java] at freemarker.core.Environment.visit(Environment.java:196) [java] at freemarker.core.MixedContent.accept(MixedContent.java:92) [java] at freemarker.core.Environment.visit(Environment.java:196) [java] at freemarker.core.Environment.process(Environment.java:176) [java] at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:258) [java] at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) [java] at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) [java] at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) [java] at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:915) [java] at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) [java] at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) [java] at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) [java] at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) [java] at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) [java] at org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216) [java] at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:513) [java] at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) [java] at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) [java] at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) [java] at org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216) [java] at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:580) [java] at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) [java] at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) [java] at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) [java] at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) [java] at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) [java] at org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) [java] at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:843) [java] at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:560) [java] at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:338) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [java] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [java] at java.lang.Thread.run(Thread.java:662) [java] 2011-04-23 15:30:24,453 (http-0.0.0.0-8443-1) [ ModelScreenWidget.java:1633:ERROR] Could not find PortalPage with portalPageId [Non d├®fini] [java] 2011-04-23 15:30:24,453 (http-0.0.0.0-8443-1) [ ModelScreen.java:401:ERROR] Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: d not find PortalPage with portalPageId [Non d├®fini] . Rolling back transaction. [java] 2011-04-23 15:30:24,468 (http-0.0.0.0-8443-1) [ TransactionUtil.java:375:WARN ] [java] ---- exception report ---------------------------------------------------------- [java] [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: [java] Exception: java.lang.Exception [java] Message: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Could not find PortalPage with portalPageId [Non d├®fini] [java] ---- stack trace --------------------------------------------------------------- [java] java.lang.Exception: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Could not find PortalPage with portalPageId [Non d├®fini] [java] org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:375) [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:317) [java] org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:404) [java] org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216) [java] org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:513) [java] org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) [java] org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) [java] org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) [java] org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216) [java] org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:580) [java] org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) [java] org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) [java] org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) [java] org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) [java] org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:843) [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:560) [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:338) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [java] org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [java] org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [java] org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [java] java.lang.Thread.run(Thread.java:662) [java] -------------------------------------------------------------------------------- [java] [java] 2011-04-23 15:30:24,468 (http-0.0.0.0-8443-1) [ TransactionUtil.java:285:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] Rollback Only was set when trying to commit transaction here; throwing rollbackOnly cause exception [java] Exception: javax.transaction.RollbackException [java] Message: Unable to commit: transaction marked for rollback [java] ---- stack trace --------------------------------------------------------------- [java] javax.transaction.RollbackException: Unable to commit: transaction marked for rollback [java] org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:271) [java] org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245) [java] org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:264) [java] org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:250) [java] org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:427) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) [java] org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) [java] org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:843) [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:560) [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:338) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [java] org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [java] org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [java] org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [java] java.lang.Thread.run(Thread.java:662) [java] -------------------------------------------------------------------------------- [java] [java] 2011-04-23 15:30:24,468 (http-0.0.0.0-8443-1) [ ModelScreen.java:429:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] Could not commit transaction: org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, could not commit transaction, was rolled back instead because of: Error rendering screen [c ent://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeException: Could not find PortalPage with portalPageId [Non d├®fini] java.lang.RuntimeException: Could not find PortalPage with po ageId [Non d├®fini] (Could not find PortalPage with portalPageId [Non d├®fini] ) [java] Exception: org.ofbiz.entity.transaction.GenericTransactionException [java] Message: Roll back error, could not commit transaction, was rolled back instead because of: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.RuntimeE ion: Could not find PortalPage with portalPageId [Non d├®fini] java.lang.RuntimeException: Could not find PortalPage with portalPageId [Non d├®fini] (Could not find PortalPage with portalPageId [Non d├® ) {code} Did not look into code details at all... > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023555#comment-13023555 ] Jacques Le Roux commented on OFBIZ-4260: ---------------------------------------- Of course if I empty the references, using the lookup, after having set them with the lookup I get the same issue... > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023602#comment-13023602 ] Nicolas Malin commented on OFBIZ-4260: -------------------------------------- Hmm, I run : ant clean-all && ant run-install run And foolow this way : example -> Dashbord -> Exemple1 -> add examplePortlet2 -> edit examplePortlet2 attribut (configure nextPortalPageId on Exemple2 nd nextParentPortalPageId on Example) -> Go to example portal Page 1 and clic on hyperlink without error. In your log, I see : (Could not find PortalPage with portalPageId [Non d├®fini] ) => Non défini : Do you edited examplePortlet2 portlet attribut that contains the LookupPortalPage ? Nicolas > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023603#comment-13023603 ] Jacques Le Roux commented on OFBIZ-4260: ---------------------------------------- Ha, so it's not seed but demo data needed...I will try... > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023605#comment-13023605 ] Jacques Le Roux commented on OFBIZ-4260: ---------------------------------------- No it's the same with demo data. As I said above, if you don't edit examplePortlet2 before then clicking the already accessible link gives an error... > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023606#comment-13023606 ] Jacques Le Roux commented on OFBIZ-4260: ---------------------------------------- To be more clear maybe: we should prevent this error, IMO having "No set of EXAMPLE' is not enough. Hope I'm clear enough... The bad link is "https://localhost:8443/example/control/showPortalPage?portalPageId=Not%20Set&parentPortalPageId=EXAMPLE" > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023607#comment-13023607 ] Nicolas Malin commented on OFBIZ-4260: -------------------------------------- Ok jacques, I restart all process : svn checkout, apply pacth and load data. Nicolas -- MALIN Nicolas Trésorier de l'association Néogia Tél : 06.17.66.40.06 http://www.neogia.org/ > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023607#comment-13023607 ] Nicolas Malin edited comment on OFBIZ-4260 at 4/23/11 9:55 PM: --------------------------------------------------------------- Ok jacques, I restart all process : svn checkout, apply pacth and load data => It's works for me. Jacques can you see lookup.jpg screenshot ? I will improve message on the portlet. Nicolas was (Author: soledad): Ok jacques, I restart all process : svn checkout, apply pacth and load data. Nicolas -- MALIN Nicolas Trésorier de l'association Néogia Tél : 06.17.66.40.06 http://www.neogia.org/ > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4260: --------------------------------- Attachment: lookup.patch With the last patch, it's difficult to not define needed parameters ;) Nicolas > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4260. ---------------------------------- Resolution: Fixed Assignee: Jacques Le Roux Thanks Nicolas, Your patch is in trunk at r1096290 > Add LookupPortalPage on common components > ----------------------------------------- > > Key: OFBIZ-4260 > URL: https://issues.apache.org/jira/browse/OFBIZ-4260 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Assignee: Jacques Le Roux > Priority: Minor > Labels: portalPage, portlet > Fix For: SVN trunk > > Attachments: lookup.jpg, lookup.patch, lookup.patch, lookup.patch, portlet.jpg > > Original Estimate: 5m > Remaining Estimate: 5m > > Add a simple lookup on PortalPage. > I add this lookup to select the next portalPage to show when I configure a portlet with PortletAttribut form modification. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |