we will check to see to move to any page, when a system page, first make a copy before moving...
On Mon, 2009-01-05 at 11:19 +0100, Bruno Busco wrote: > Hans, > many thanks for your reply. > About point 3) could we think to set portalPages with only "private" pages? > The "move to..." command would than be able to move a portlet to one > of the user private page (or already copyed from a system page). > > Thank you, > -Bruno > > > 2009/1/5 Hans Bakker <mailingl...@antwebsystems.com>: > > Hi Bruno, > > > > thanks for the questions,please see answers inline..... > > > > On Sat, 2009-01-03 at 15:57 +0100, Bruno Busco wrote: > >> Hans, > >> I have started looking into the revised portalPage system. > >> It works really well in example, I like the way how the user is able > >> to copy system portals into his private ones. > >> > >> I would like to discuss the following points I have found: > >> > >> 1) We have a parentPortalPageId field in the portalPage entity that is > >> used to link a portalPage to an (optional) parent portalPage. OK but > >> now why we call the view-entity that groups a portalPage with its > >> (optional) parent "PortalPageAndChildren" ? Shouldn't it be > >> PortalPageAndParent ? > >> > > > > we thought going to use this...but in the end did not...i will take it > > out again..... > > > >> 2) The framework/common/webcommon/portal/appheader.ftl file is used to > >> render the example application menu. I think this is a mistake. It > >> should be moved away from the common and moved to the example > >> application. > >> > > > > sure we moved that too... > > > >> 3) In ShowPortalPage.groovy there should be an additional setting of > >> the portalPages array. This should be filled with all available (to > >> the current user) portalPages. Doing this an additional "Move portlet > >> to page..." will be shown and the user will be able to move a portlet > >> from the current page to antother one. > > > > we did not do that, because the other page can be a system page which we > > first need to copy....at the moment we thought that a delete and add > > will do the same.....let me see what we can do..... > > > >> > >> 4) The Cancel button in the portalPages list should better indicate > >> something like "revert to original" > >> > > > > thanks we will implement that too...... > > > >> Thank you, > >> -Bruno > >> > >> 2009/1/3 Hans Bakker <mailingl...@antwebsystems.com>: > >> > you are right, corrected in rev: 730892 > >> > > >> > let me know if you agree with the changes i did.... > >> > > >> > Regards, > >> > Hans > >> > > >> > On Fri, 2009-01-02 at 20:51 +0100, Bruno Busco wrote: > >> >> I get the problem even with a fresh checked out ofbiz. > >> >> It seems to be related to the execution of ListPortalPages.groovy when > >> >> the user is not logged in. > >> >> If I comment out the line > >> >> <script > >> >> location="component://common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy"/> > >> >> in the main-decorator in examples CommonScreen.xml I can get to the > >> >> login page otherwise I get this error. > >> >> > >> >> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > >> >> [component://example/widget/example/CommonScreens.xml#main-decorator]: > >> >> java.lang.NullPointerException (null) > >> >> > >> >> > >> >> > >> >> 2009/1/2 Jacques Le Roux <jacques.le.r...@les7arts.com>: > >> >> > BTW, try to i18n and l10n as much as possible (I'd we even says that > >> >> > we > >> >> > should always do it at 1st time, to not put the burden on somebody > >> >> > else) > >> >> > > >> >> > Thanks > >> >> > > >> >> > From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> > >> >> >> > >> >> >> No worries, I'm not using it much yet ;o) > >> >> >> > >> >> >> Jacques > >> >> >> > >> >> >> From: "Hans Bakker" <mailingl...@antwebsystems.com> > >> >> >>> > >> >> >>> give me a bit of time...I made a major change in example...the next > >> >> >>> few > >> >> >>> days we will update myportal..... > >> >> >>> > >> >> >>> On Fri, 2009-01-02 at 17:48 +0100, Jacques Le Roux wrote: > >> >> >>>> > >> >> >>>> Even logged in there is an issue in My Portal. I guess also that > >> >> >>>> if you > >> >> >>>> create your own portal you may encouter issues in Examples, > >> >> >>>> not sure tough but I had to revert my local DB (postgres) to have > >> >> >>>> it > >> >> >>>> working correctly. > >> >> >>>> > >> >> >>>> For My portal, even if you replace > >> >> >>>> ${page.portalPageName} > >> >> >>>> by > >> >> >>>> ${page.portalPageName?if_exists} > >> >> >>>> > >> >> >>>> There is after an issue about portalPage.ftl not existing : > >> >> >>>> Error rendering included template at location > >> >> >>>> [component://common/webcommon/portal/portalPage.ftl]: > >> >> >>>> java.lang.IllegalArgumentException: FreeMarker file not found at > >> >> >>>> location: component://common/webcommon/portal/portalPage.ftl > >> >> >>>> > >> >> >>>> I gave up at this stage > >> >> >>>> > >> >> >>>> Jacques > >> >> >>>> > >> >> >>>> From: "Bruno Busco" <bruno.bu...@gmail.com> > >> >> >>>> >I think it happens if you are not logged in. > >> >> >>>> > Try to logout and then hit this link directly: > >> >> >>>> > > >> >> >>>> > https://demo.hotwaxmedia.com/example > >> >> >>>> > > >> >> >>>> > -Bruno > >> >> >>>> > > >> >> >>>> > 2009/1/2 Adrian Crum <adrian.c...@yahoo.com>: > >> >> >>>> >> It works fine for me. > >> >> >>>> >> > >> >> >>>> >> -Adrian > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> >> --- On Fri, 1/2/09, Vivek Mishra <vivek.mis...@hotwaxmedia.com> > >> >> >>>> >> wrote: > >> >> >>>> >> > >> >> >>>> >>> From: Vivek Mishra <vivek.mis...@hotwaxmedia.com> > >> >> >>>> >>> Subject: Error in running Example > >> >> >>>> >>> To: u...@ofbiz.apache.org > >> >> >>>> >>> Date: Friday, January 2, 2009, 7:32 AM > >> >> >>>> >>> Hello All, > >> >> >>>> >>> > >> >> >>>> >>> I am unable to run example component on demo server. Is any > >> >> >>>> >>> one else having the same problem. > >> >> >>>> >>> > >> >> >>>> >>> org.ofbiz.widget.screen.ScreenRenderException: Error > >> >> >>>> >>> rendering screen > >> >> >>>> >>> > >> >> >>>> >>> [component://example/widget/example/CommonScreens.xml#main-decorator]: > >> >> >>>> >>> java.lang.NullPointerException (null) > >> >> >>>> >>> > >> >> >>>> >>> > >> >> >>>> >>> > >> >> >>>> >>> Thanks & Regards > >> >> >>>> >>> -- > >> >> >>>> >>> Vivek Mishra > >> >> >>>> >>> Software Developer > >> >> >>>> >>> HotWax Media Pvt. Ltd. vivek.mis...@hotwaxmedia.com > >> >> >>>> >>> www.hotwaxmedia.com > >> >> >>>> >>> > >> >> >>>> >>> Office : +917314093684 > >> >> >>>> >>> Direct : +919907292552 > >> >> >>>> >>> > >> >> >>>> >>> http://ofbiz.apache.org > >> >> >>>> >>> I am "Open For Business" > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> >> > >> >> >>>> > > >> >> >>>> > >> >> >>> -- > >> >> >>> Antwebsystems.com: Quality OFBiz services for competitive prices > >> >> >>> > >> >> >> > >> >> > > >> >> > > >> > -- > >> > Antwebsystems.com: Quality OFBiz services for competitive prices > >> > > >> > > > -- > > Antwebsystems.com: Quality OFBiz services for competitive prices > > > > -- Antwebsystems.com: Quality OFBiz services for competitive prices