Hi all,
I'm trying "my portal" page at "https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt" and i find a strange behaviour... When you try to copy a label or something on a widget you can't do it because it start dragging the form... May be I forget something but I do not understand why you can drag forms in the final view. Should it be possible only in admin view ? Regards, Pierre |
Hi Pierre,
no that's correct the D'n'D function is also available on the user page not only on the admin page. But you can simply disable this by commanding out the myportal.js in the PortalPageScreens.xml#showPortalPage Hava a good day Sascha 2011/4/26 pierre.gaudin <[hidden email]> > Hi all, > > I'm trying "my portal" page at " > https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt" > and i find a strange behaviour... When you try to copy a label or something > on a widget you can't do it because it start dragging the form... > > May be I forget something but I do not understand why you can drag forms in > the final view. Should it be possible only in admin view ? > > Regards, > > Pierre > > > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de |
Hi Sacha,
Thank you for your answer. In fact I wonder which feature is the most important, to allow the drag and drop or to allow the copy of one field. Is it possible to have both?? In my opinion the fact of not allowing to make a copy from a form is a regression. Pierre On 27/04/2011 11:10, Sascha Rodekamp wrote: > Hi Pierre, > > no that's correct the D'n'D function is also available on the user page not > only on the admin page. > But you can simply disable this by commanding out the myportal.js in the > PortalPageScreens.xml#showPortalPage > > Hava a good day > Sascha > > 2011/4/26 pierre.gaudin<[hidden email]> > >> Hi all, >> >> I'm trying "my portal" page at " >> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt" >> and i find a strange behaviour... When you try to copy a label or something >> on a widget you can't do it because it start dragging the form... >> >> May be I forget something but I do not understand why you can drag forms in >> the final view. Should it be possible only in admin view ? >> >> Regards, >> >> Pierre >> >> >> > |
Hi Pierre,
hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first implementation the widget was only dragable on the head line. So that mean we could change the area which reacts on the mouse "press & hold" event. We could also add only an icon which reacts on the event. The use can then only use the icon to "grab" the widget. Sascha 2011/4/27 pierre.gaudin <[hidden email]> > Hi Sacha, > > Thank you for your answer. > > In fact I wonder which feature is the most important, to allow the drag and > drop or to allow the copy of one field. > > Is it possible to have both?? > > In my opinion the fact of not allowing to make a copy from a form is a > regression. > > Pierre > > > On 27/04/2011 11:10, Sascha Rodekamp wrote: > >> Hi Pierre, >> >> no that's correct the D'n'D function is also available on the user page >> not >> only on the admin page. >> But you can simply disable this by commanding out the myportal.js in the >> PortalPageScreens.xml#showPortalPage >> >> Hava a good day >> Sascha >> >> 2011/4/26 pierre.gaudin<[hidden email]> >> >> Hi all, >>> >>> I'm trying "my portal" page at " >>> >>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>> " >>> and i find a strange behaviour... When you try to copy a label or >>> something >>> on a widget you can't do it because it start dragging the form... >>> >>> May be I forget something but I do not understand why you can drag forms >>> in >>> the final view. Should it be possible only in admin view ? >>> >>> Regards, >>> >>> Pierre >>> >>> >>> >>> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de |
Hi Sacha,
That's exactly what i was thinking about. I have a look at JIRA dashboard and the drag and drop is available only on head line. I think that the better way is what you said : > add only an icon which reacts on the event By this way there is no risk to move the form Involuntarily. Pierre On 27/04/2011 13:43, Sascha Rodekamp wrote: > Hi Pierre, > > hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first > implementation the widget was only dragable on the head line. So that mean > we could change the area which reacts on the mouse "press& hold" event. > > We could also add only an icon which reacts on the event. The use can then > only use the icon to "grab" the widget. > > Sascha > > > 2011/4/27 pierre.gaudin<[hidden email]> > >> Hi Sacha, >> >> Thank you for your answer. >> >> In fact I wonder which feature is the most important, to allow the drag and >> drop or to allow the copy of one field. >> >> Is it possible to have both?? >> >> In my opinion the fact of not allowing to make a copy from a form is a >> regression. >> >> Pierre >> >> >> On 27/04/2011 11:10, Sascha Rodekamp wrote: >> >>> Hi Pierre, >>> >>> no that's correct the D'n'D function is also available on the user page >>> not >>> only on the admin page. >>> But you can simply disable this by commanding out the myportal.js in the >>> PortalPageScreens.xml#showPortalPage >>> >>> Hava a good day >>> Sascha >>> >>> 2011/4/26 pierre.gaudin<[hidden email]> >>> >>> Hi all, >>>> I'm trying "my portal" page at " >>>> >>>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>>> " >>>> and i find a strange behaviour... When you try to copy a label or >>>> something >>>> on a widget you can't do it because it start dragging the form... >>>> >>>> May be I forget something but I do not understand why you can drag forms >>>> in >>>> the final view. Should it be possible only in admin view ? >>>> >>>> Regards, >>>> >>>> Pierre >>>> >>>> >>>> >>>> > |
Hi Pierre,
yea i can do that. But not before next week (because i'm on vacation at the moment :-)) But if you like to implement ... feel free ;) Have a good day Sascha 2011/4/27 pierre.gaudin <[hidden email]> > Hi Sacha, > > That's exactly what i was thinking about. I have a look at JIRA dashboard > and the drag and drop is available only on head line. > > I think that the better way is what you said : > >> add only an icon which reacts on the event >> > By this way there is no risk to move the form Involuntarily. > > Pierre > > On 27/04/2011 13:43, Sascha Rodekamp wrote: > >> Hi Pierre, >> >> hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first >> implementation the widget was only dragable on the head line. So that mean >> we could change the area which reacts on the mouse "press& hold" event. >> >> We could also add only an icon which reacts on the event. The use can then >> only use the icon to "grab" the widget. >> >> Sascha >> >> >> 2011/4/27 pierre.gaudin<[hidden email]> >> >> Hi Sacha, >>> >>> Thank you for your answer. >>> >>> In fact I wonder which feature is the most important, to allow the drag >>> and >>> drop or to allow the copy of one field. >>> >>> Is it possible to have both?? >>> >>> In my opinion the fact of not allowing to make a copy from a form is a >>> regression. >>> >>> Pierre >>> >>> >>> On 27/04/2011 11:10, Sascha Rodekamp wrote: >>> >>> Hi Pierre, >>>> >>>> no that's correct the D'n'D function is also available on the user page >>>> not >>>> only on the admin page. >>>> But you can simply disable this by commanding out the myportal.js in the >>>> PortalPageScreens.xml#showPortalPage >>>> >>>> Hava a good day >>>> Sascha >>>> >>>> 2011/4/26 pierre.gaudin<[hidden email]> >>>> >>>> Hi all, >>>> >>>>> I'm trying "my portal" page at " >>>>> >>>>> >>>>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>>>> " >>>>> and i find a strange behaviour... When you try to copy a label or >>>>> something >>>>> on a widget you can't do it because it start dragging the form... >>>>> >>>>> May be I forget something but I do not understand why you can drag >>>>> forms >>>>> in >>>>> the final view. Should it be possible only in admin view ? >>>>> >>>>> Regards, >>>>> >>>>> Pierre >>>>> >>>>> >>>>> >>>>> >>>>> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de |
Hi Sascha,
I'm not an expert in js... but i'll try to propose a patch on this feature. Good vacation !! Pierre On 27/04/2011 14:32, Sascha Rodekamp wrote: > Hi Pierre, > yea i can do that. But not before next week (because i'm on vacation at the > moment :-)) > > But if you like to implement ... feel free ;) > > Have a good day > Sascha > > 2011/4/27 pierre.gaudin<[hidden email]> > >> Hi Sacha, >> >> That's exactly what i was thinking about. I have a look at JIRA dashboard >> and the drag and drop is available only on head line. >> >> I think that the better way is what you said : >> >>> add only an icon which reacts on the event >>> >> By this way there is no risk to move the form Involuntarily. >> >> Pierre >> >> On 27/04/2011 13:43, Sascha Rodekamp wrote: >> >>> Hi Pierre, >>> >>> hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first >>> implementation the widget was only dragable on the head line. So that mean >>> we could change the area which reacts on the mouse "press& hold" event. >>> >>> We could also add only an icon which reacts on the event. The use can then >>> only use the icon to "grab" the widget. >>> >>> Sascha >>> >>> >>> 2011/4/27 pierre.gaudin<[hidden email]> >>> >>> Hi Sacha, >>>> Thank you for your answer. >>>> >>>> In fact I wonder which feature is the most important, to allow the drag >>>> and >>>> drop or to allow the copy of one field. >>>> >>>> Is it possible to have both?? >>>> >>>> In my opinion the fact of not allowing to make a copy from a form is a >>>> regression. >>>> >>>> Pierre >>>> >>>> >>>> On 27/04/2011 11:10, Sascha Rodekamp wrote: >>>> >>>> Hi Pierre, >>>>> no that's correct the D'n'D function is also available on the user page >>>>> not >>>>> only on the admin page. >>>>> But you can simply disable this by commanding out the myportal.js in the >>>>> PortalPageScreens.xml#showPortalPage >>>>> >>>>> Hava a good day >>>>> Sascha >>>>> >>>>> 2011/4/26 pierre.gaudin<[hidden email]> >>>>> >>>>> Hi all, >>>>> >>>>>> I'm trying "my portal" page at " >>>>>> >>>>>> >>>>>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>>>>> " >>>>>> and i find a strange behaviour... When you try to copy a label or >>>>>> something >>>>>> on a widget you can't do it because it start dragging the form... >>>>>> >>>>>> May be I forget something but I do not understand why you can drag >>>>>> forms >>>>>> in >>>>>> the final view. Should it be possible only in admin view ? >>>>>> >>>>>> Regards, >>>>>> >>>>>> Pierre >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> > |
Ok thanks Pierre,
i'm back in the office next week. Have a good day. 2011/4/27 pierre.gaudin <[hidden email]> > Hi Sascha, > > I'm not an expert in js... but i'll try to propose a patch on this > feature. > > Good vacation !! > > Pierre > > > > On 27/04/2011 14:32, Sascha Rodekamp wrote: > >> Hi Pierre, >> yea i can do that. But not before next week (because i'm on vacation at >> the >> moment :-)) >> >> But if you like to implement ... feel free ;) >> >> Have a good day >> Sascha >> >> 2011/4/27 pierre.gaudin<[hidden email]> >> >> Hi Sacha, >>> >>> That's exactly what i was thinking about. I have a look at JIRA dashboard >>> and the drag and drop is available only on head line. >>> >>> I think that the better way is what you said : >>> >>> add only an icon which reacts on the event >>>> >>>> By this way there is no risk to move the form Involuntarily. >>> >>> Pierre >>> >>> On 27/04/2011 13:43, Sascha Rodekamp wrote: >>> >>> Hi Pierre, >>>> >>>> hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first >>>> implementation the widget was only dragable on the head line. So that >>>> mean >>>> we could change the area which reacts on the mouse "press& hold" >>>> event. >>>> >>>> We could also add only an icon which reacts on the event. The use can >>>> then >>>> only use the icon to "grab" the widget. >>>> >>>> Sascha >>>> >>>> >>>> 2011/4/27 pierre.gaudin<[hidden email]> >>>> >>>> Hi Sacha, >>>> >>>>> Thank you for your answer. >>>>> >>>>> In fact I wonder which feature is the most important, to allow the drag >>>>> and >>>>> drop or to allow the copy of one field. >>>>> >>>>> Is it possible to have both?? >>>>> >>>>> In my opinion the fact of not allowing to make a copy from a form is a >>>>> regression. >>>>> >>>>> Pierre >>>>> >>>>> >>>>> On 27/04/2011 11:10, Sascha Rodekamp wrote: >>>>> >>>>> Hi Pierre, >>>>> >>>>>> no that's correct the D'n'D function is also available on the user >>>>>> page >>>>>> not >>>>>> only on the admin page. >>>>>> But you can simply disable this by commanding out the myportal.js in >>>>>> the >>>>>> PortalPageScreens.xml#showPortalPage >>>>>> >>>>>> Hava a good day >>>>>> Sascha >>>>>> >>>>>> 2011/4/26 pierre.gaudin<[hidden email]> >>>>>> >>>>>> Hi all, >>>>>> >>>>>> I'm trying "my portal" page at " >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>>>>>> " >>>>>>> and i find a strange behaviour... When you try to copy a label or >>>>>>> something >>>>>>> on a widget you can't do it because it start dragging the form... >>>>>>> >>>>>>> May be I forget something but I do not understand why you can drag >>>>>>> forms >>>>>>> in >>>>>>> the final view. Should it be possible only in admin view ? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Pierre >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de |
In reply to this post by Sascha Rodekamp-3
Hi Sascha,
the drag and drop feature should be disabled while not in edit mode (i.e. in Admin). The reason is that when a user drags a portlet and drops it in a different position he is trying to change the portalPage configuration in a permanent mode. This is not possible while not in edit mode. When you are not in edit mode and you reload the page you will see that the portlet is displayed in its original position because the change has not been written in the DB. -Bruno 2011/4/27 Sascha Rodekamp <[hidden email]> > Hi Pierre, > > no that's correct the D'n'D function is also available on the user page not > only on the admin page. > But you can simply disable this by commanding out the myportal.js in the > PortalPageScreens.xml#showPortalPage > > Hava a good day > Sascha > > 2011/4/26 pierre.gaudin <[hidden email]> > > > Hi all, > > > > I'm trying "my portal" page at " > > > https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt > " > > and i find a strange behaviour... When you try to copy a label or > something > > on a widget you can't do it because it start dragging the form... > > > > May be I forget something but I do not understand why you can drag forms > in > > the final view. Should it be possible only in admin view ? > > > > Regards, > > > > Pierre > > > > > > > > > -- > > Sascha Rodekamp > Visit the new german OFBiz Blog: http://www.ofbiz.biz > Lynx-Consulting GmbH > Johanniskirchplatz 6 > D-33615 Bielefeld > http://www.lynx.de > |
Hi Bruno,
If you try on demo to drag portlet and then reload the page, portlet are not display at there original position and new position are recorded into DB. Pierre On 27/04/2011 19:50, Bruno Busco wrote: > Hi Sascha, > the drag and drop feature should be disabled while not in edit mode (i.e. in > Admin). > > The reason is that when a user drags a portlet and drops it in a different > position he is trying to change the portalPage configuration in a permanent > mode. This is not possible while not in edit mode. > > When you are not in edit mode and you reload the page you will see that the > portlet is displayed in its original position because the change has not > been written in the DB. > > -Bruno > > > 2011/4/27 Sascha Rodekamp<[hidden email]> > >> Hi Pierre, >> >> no that's correct the D'n'D function is also available on the user page not >> only on the admin page. >> But you can simply disable this by commanding out the myportal.js in the >> PortalPageScreens.xml#showPortalPage >> >> Hava a good day >> Sascha >> >> 2011/4/26 pierre.gaudin<[hidden email]> >> >>> Hi all, >>> >>> I'm trying "my portal" page at " >>> >> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >> " >>> and i find a strange behaviour... When you try to copy a label or >> something >>> on a widget you can't do it because it start dragging the form... >>> >>> May be I forget something but I do not understand why you can drag forms >> in >>> the final view. Should it be possible only in admin view ? >>> >>> Regards, >>> >>> Pierre >>> >>> >>> >> >> -- >> >> Sascha Rodekamp >> Visit the new german OFBiz Blog: http://www.ofbiz.biz >> Lynx-Consulting GmbH >> Johanniskirchplatz 6 >> D-33615 Bielefeld >> http://www.lynx.de >> |
OK Pierre,
that's fine, I remembered an old behaviour of the portalPage system but this has been fixed now. I agree that the drag and drop should only be active on the portlet header bar. -Bruno 2011/4/27 pierre.gaudin <[hidden email]> > Hi Bruno, > > If you try on demo to drag portlet and then reload the page, portlet are > not display at there original position and new position are recorded into > DB. > > Pierre > > > On 27/04/2011 19:50, Bruno Busco wrote: > >> Hi Sascha, >> the drag and drop feature should be disabled while not in edit mode (i.e. >> in >> Admin). >> >> The reason is that when a user drags a portlet and drops it in a different >> position he is trying to change the portalPage configuration in a >> permanent >> mode. This is not possible while not in edit mode. >> >> When you are not in edit mode and you reload the page you will see that >> the >> portlet is displayed in its original position because the change has not >> been written in the DB. >> >> -Bruno >> >> >> 2011/4/27 Sascha Rodekamp<[hidden email]> >> >> Hi Pierre, >>> >>> no that's correct the D'n'D function is also available on the user page >>> not >>> only on the admin page. >>> But you can simply disable this by commanding out the myportal.js in the >>> PortalPageScreens.xml#showPortalPage >>> >>> Hava a good day >>> Sascha >>> >>> 2011/4/26 pierre.gaudin<[hidden email]> >>> >>> Hi all, >>>> >>>> I'm trying "my portal" page at " >>>> >>>> >>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>> " >>> >>>> and i find a strange behaviour... When you try to copy a label or >>>> >>> something >>> >>>> on a widget you can't do it because it start dragging the form... >>>> >>>> May be I forget something but I do not understand why you can drag forms >>>> >>> in >>> >>>> the final view. Should it be possible only in admin view ? >>>> >>>> Regards, >>>> >>>> Pierre >>>> >>>> >>>> >>>> >>> -- >>> >>> Sascha Rodekamp >>> Visit the new german OFBiz Blog: http://www.ofbiz.biz >>> Lynx-Consulting GmbH >>> Johanniskirchplatz 6 >>> D-33615 Bielefeld >>> http://www.lynx.de >>> >>> > |
In reply to this post by pierre.gaudin
Hi Pierre, hi Bruno
i committed the changes @Rev. 1098671 The portlets are now only dragable at the title bar. Have a good day Sascha -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de |
Hi Sascha,
Sorry for this late return, I was in vacations. I have just tested the modification and that works very well. I think however that there is a problem because the copy on form is always disable. Do you know how to fix it? Regards Pierre On 02/05/2011 19:31, Sascha Rodekamp wrote: > Hi Pierre, hi Bruno > > i committed the changes @Rev. 1098671 > > The portlets are now only dragable at the title bar. > > Have a good day > Sascha > |
Hi Pierre,
hope you had good vacations. that sounds like a strange D'n'D behavior from jQuery related to the dragable area. I'll investigate this and fix the issue. Have a good day Cheers Sascha 2011/5/6 pierre.gaudin <[hidden email]> > Hi Sascha, > > Sorry for this late return, I was in vacations. > > I have just tested the modification and that works very well. I think > however that there is a problem because the copy on form is always disable. > Do you know how to fix it? > > Regards > > Pierre > > On 02/05/2011 19:31, Sascha Rodekamp wrote: > >> Hi Pierre, hi Bruno >> >> i committed the changes @Rev. 1098671 >> >> The portlets are now only dragable at the title bar. >> >> Have a good day >> Sascha >> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de |
Hi Sascha,
Many thanks for this work ! I'm not a jQuery guru yet... Pierre On 06/05/2011 10:02, Sascha Rodekamp wrote: > Hi Pierre, > hope you had good vacations. > that sounds like a strange D'n'D behavior from jQuery related to the > dragable area. > > I'll investigate this and fix the issue. > > Have a good day > Cheers > Sascha > > 2011/5/6 pierre.gaudin<[hidden email]> > >> Hi Sascha, >> >> Sorry for this late return, I was in vacations. >> >> I have just tested the modification and that works very well. I think >> however that there is a problem because the copy on form is always disable. >> Do you know how to fix it? >> >> Regards >> >> Pierre >> >> On 02/05/2011 19:31, Sascha Rodekamp wrote: >> >>> Hi Pierre, hi Bruno >>> >>> i committed the changes @Rev. 1098671 >>> >>> The portlets are now only dragable at the title bar. >>> >>> Have a good day >>> Sascha >>> >>> > |
Free forum by Nabble | Edit this page |