Re: ScrollPanel Problem
>From here >http://stackoverflow.com/questions/615357/scrollable-div-on-iphone-without-using-2-fingers I understood that I have to do a two finger scroll on IPad. But it is ot usable at all because it does not show a scroll bar at all (even when scrolling). I hope they'd fix this. On Jun 3, 4:59 pm, Valeh wrote: > I am having the same problem, the scroll bar of he scroll panel does > not show on mobile safari. > > On Apr 18, 4:10 pm, KarlG wrote: > > > > > Marco, would you be kind enough to share you solution? I just ran > > into the same thing. > > > Thank you. > > > Karl > > > On Apr 14, 11:59 pm, Marco Gadaleta wrote: > > > > But i have find a solution :-) > > > > 2010/4/14 Patou > > > > > It's not possible to use a scroll Panel in Mobile navigator (Android > > > > and Iphone). > > > > > You can just scroll on all the page (like a zoom tools) but not inside > > > > the page. > > > > > Patrice > > > > > On Apr 6, 3:03 pm, "gadaleta.marco" wrote: > > > > > Hi, I'm developing an application using gwt and gears and i test it > > > > > on android. > > > > > But if i use a ScrollPanel element, it doesn't run on android. > > > > > > How i can resolve this problem? > > > > > > Thx, Marco > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups > > > > "Google Web Toolkit" group. > > > > To post to this group, send email to > > > > google-web-tool...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > google-web-toolkit+unsubscr...@googlegroups.com > > > cr...@googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > > -- > > > Marco > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel Problem
I am having the same problem, the scroll bar of he scroll panel does not show on mobile safari. On Apr 18, 4:10 pm, KarlG wrote: > Marco, would you be kind enough to share you solution? I just ran > into the same thing. > > Thank you. > > Karl > > On Apr 14, 11:59 pm, Marco Gadaleta wrote: > > > > > > > But i have find a solution :-) > > > 2010/4/14 Patou > > > > It's not possible to use a scroll Panel in Mobile navigator (Android > > > and Iphone). > > > > You can just scroll on all the page (like a zoom tools) but not inside > > > the page. > > > > Patrice > > > > On Apr 6, 3:03 pm, "gadaleta.marco" wrote: > > > > Hi, I'm developing an application using gwt and gears and i test it > > > > on android. > > > > But if i use a ScrollPanel element, it doesn't run on android. > > > > > How i can resolve this problem? > > > > > Thx, Marco > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to google-web-tool...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com > > cr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > Marco > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel Problem
Marco, would you be kind enough to share you solution? I just ran into the same thing. Thank you. Karl On Apr 14, 11:59 pm, Marco Gadaleta wrote: > But i have find a solution :-) > > 2010/4/14 Patou > > > > > It's not possible to use a scroll Panel in Mobile navigator (Android > > and Iphone). > > > You can just scroll on all the page (like a zoom tools) but not inside > > the page. > > > Patrice > > > On Apr 6, 3:03 pm, "gadaleta.marco" wrote: > > > Hi, I'm developing an application using gwt and gears and i test it > > > on android. > > > But if i use a ScrollPanel element, it doesn't run on android. > > > > How i can resolve this problem? > > > > Thx, Marco > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > Marco -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel Problem
But i have find a solution :-) 2010/4/14 Patou > It's not possible to use a scroll Panel in Mobile navigator (Android > and Iphone). > > You can just scroll on all the page (like a zoom tools) but not inside > the page. > > Patrice > > On Apr 6, 3:03 pm, "gadaleta.marco" wrote: > > Hi, I'm developing an application using gwt and gears and i test it > > on android. > > But if i use a ScrollPanel element, it doesn't run on android. > > > > How i can resolve this problem? > > > > Thx, Marco > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Marco -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel Problem
It's not possible to use a scroll Panel in Mobile navigator (Android and Iphone). You can just scroll on all the page (like a zoom tools) but not inside the page. Patrice On Apr 6, 3:03 pm, "gadaleta.marco" wrote: > Hi, I'm developing an application using gwt and gears and i test it > on android. > But if i use a ScrollPanel element, it doesn't run on android. > > How i can resolve this problem? > > Thx, Marco -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel Problem
I've fixed the BUG! 2010/4/7 gadaleta.marco > noone? > > On 6 Apr, 15:03, "gadaleta.marco" wrote: > > Hi, I'm developing an application using gwt and gears and i test it > > on android. > > But if i use a ScrollPanel element, it doesn't run on android. > > > > How i can resolve this problem? > > > > Thx, Marco > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Marco -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel Problem
noone? On 6 Apr, 15:03, "gadaleta.marco" wrote: > Hi, I'm developing an application using gwt and gears and i test it > on android. > But if i use a ScrollPanel element, it doesn't run on android. > > How i can resolve this problem? > > Thx, Marco -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
ScrollPanel Problem
Hi, I'm developing an application using gwt and gears and i test it on android. But if i use a ScrollPanel element, it doesn't run on android. How i can resolve this problem? Thx, Marco -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ScrollPanel problem in Chrome/Safari
Your original problem sounds a bit like this: http://code.google.com/p/google-web-toolkit/issues/detail?id=1313 This is related to focusable widgets auto-scrolling to the top on chrome/safari.. Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: ScrollPanel problem in Chrome/Safari
Hi, I have read and understood the group charter and I really understand your point and I apologize for the inflammatory remarks. Hope you'll pass over my bad remarks and eventually give me a hand on some future problem. In my opinion, it would have been really useful someone saying "I don't understand your question" or "post there, not here" instead of ignorance... Thanks and promise not to flame again, Cristian. On Mar 31, 11:02 am, Sumit Chandel wrote: > Hi Cristian Nicanor Babula, > The Group charter that Isaac referenced is meant to be taken seriously. > Please have a read through it to get a better feel for the kind of community > we're trying to build and maintain in the GWT forum. You will see that there > are many technical discussions here all conducted with professional, > friendly and Googley appeal. > > I think this thread may have set a bad precedent for you since you're just > get started with the groups. My suggestion for any future inquiries you > might have would be to first apologize for inflammatory remarks made, and > then post your question after stating that you read and understood the Group > charter, if you really do feel that the charter makes sense and it's > something you can abide by. > > Please note that any further posts containing inflammatory remarks will lead > to banning you from the group, something I would really like to avoid. > > Thanks, > -Sumit Chandel > > On Mon, Mar 30, 2009 at 7:08 AM, Nicanor Babula > wrote: > > > > > Thx man. It really solved my ScrollPanel problem. > > > On Monday 30 March 2009 15:45:43 Isaac Truett wrote: > > > You might find some useful suggestions here: > > >http://groups.google.com/group/Google-Web-Toolkit/web/gwt-discussion-... > > >charter > > > > On Sun, Mar 29, 2009 at 3:42 PM, nicanor.babula < > > nicanor.bab...@gmail.com> > > > > wrote: > > > > Come on people. > > > > > It's been 3 days since my post. No one knows the answer? Very well > > > > then. If I ask HOW CAN I ADD A GOD DAMNED BUTTON TO MY PAGE THAT DOES > > > > AN EXCREMENT WHEN I CLICK ON IT? I think I would have received > > > > thousands of answers in minutes... C'mon people. The people in this > > > > community are much more experienced than that. If not What the > > > > "" is this group useful for? Teaching noobs that > > > > rather than searching for their problem's answer they could simply > > > > spare a community's time for their noob problem? C'mon. Where is the > > > > linux/bsd/open-source-product forum attitude? > > > > > At least an answer like: "I don't know man... I never had any problem > > > > with scoll panels". It would be much better than ignoring some tough > > > > question > > > > > Feel free to ban me. I will take it like you felt so incompetent that > > > > you would rather ban me than deface this group's incompetens. It's the > > > > same for not posting this answer at all.. Blogs will write about it > > > > too... > > > > > PS: > > > > Oh and what about the people posting in Spanish (or any other > > > > language) rather than english in an international mailing list? If I > > > > mistake with this post more then them, then this group is useless. > > > > > PPS: > > > > I know this is a flaming post, but please spare answers like "Hey it > > > > was week-end time" or "you posted at 2AM my local time" or "Your > > > > problem is not our problem". > > > > > PPPS: > > > > The first time I had to flame in order to get some help... > > > > > Thank you, > > > > Cristian Nicanor Babula. > > > > > On Mar 26, 12:25 pm, "nicanor.babula" > > > > > wrote: > > > >> Hello everyone. > > > > >> I have this situation: > > > > >> ___ > > > > >> | ScrollPanel | > > > >> | __ | > > > >> | > > > >> | | AbsolutePanel | | > > > >> | | > > > >> | | ___ | | > > > >> | | > > > >> | | | cell selector| | |
Re: ScrollPanel problem in Chrome/Safari
Hi Cristian Nicanor Babula, The Group charter that Isaac referenced is meant to be taken seriously. Please have a read through it to get a better feel for the kind of community we're trying to build and maintain in the GWT forum. You will see that there are many technical discussions here all conducted with professional, friendly and Googley appeal. I think this thread may have set a bad precedent for you since you're just get started with the groups. My suggestion for any future inquiries you might have would be to first apologize for inflammatory remarks made, and then post your question after stating that you read and understood the Group charter, if you really do feel that the charter makes sense and it's something you can abide by. Please note that any further posts containing inflammatory remarks will lead to banning you from the group, something I would really like to avoid. Thanks, -Sumit Chandel On Mon, Mar 30, 2009 at 7:08 AM, Nicanor Babula wrote: > > Thx man. It really solved my ScrollPanel problem. > > On Monday 30 March 2009 15:45:43 Isaac Truett wrote: > > You might find some useful suggestions here: > > > http://groups.google.com/group/Google-Web-Toolkit/web/gwt-discussion-group- > >charter > > > > > > > > > > On Sun, Mar 29, 2009 at 3:42 PM, nicanor.babula < > nicanor.bab...@gmail.com> > > > > wrote: > > > Come on people. > > > > > > It's been 3 days since my post. No one knows the answer? Very well > > > then. If I ask HOW CAN I ADD A GOD DAMNED BUTTON TO MY PAGE THAT DOES > > > AN EXCREMENT WHEN I CLICK ON IT? I think I would have received > > > thousands of answers in minutes... C'mon people. The people in this > > > community are much more experienced than that. If not What the > > > "" is this group useful for? Teaching noobs that > > > rather than searching for their problem's answer they could simply > > > spare a community's time for their noob problem? C'mon. Where is the > > > linux/bsd/open-source-product forum attitude? > > > > > > At least an answer like: "I don't know man... I never had any problem > > > with scoll panels". It would be much better than ignoring some tough > > > question > > > > > > Feel free to ban me. I will take it like you felt so incompetent that > > > you would rather ban me than deface this group's incompetens. It's the > > > same for not posting this answer at all.. Blogs will write about it > > > too... > > > > > > PS: > > > Oh and what about the people posting in Spanish (or any other > > > language) rather than english in an international mailing list? If I > > > mistake with this post more then them, then this group is useless. > > > > > > PPS: > > > I know this is a flaming post, but please spare answers like "Hey it > > > was week-end time" or "you posted at 2AM my local time" or "Your > > > problem is not our problem". > > > > > > PPPS: > > > The first time I had to flame in order to get some help... > > > > > > Thank you, > > > Cristian Nicanor Babula. > > > > > > > > > On Mar 26, 12:25 pm, "nicanor.babula" > > > > > > wrote: > > >> Hello everyone. > > >> > > >> I have this situation: > > >> > > >> ___ > > >> > > >> |ScrollPanel | > > >> | __ | > > >> | > > >> | | AbsolutePanel| | > > >> | | > > >> | | ___ | | > > >> | | > > >> | | | cell selector| | | > > >> | | |__ | | | > > >> | | > > >> | |_| | > > >> | > > >> |__| > > >> > > >> When the users clicks the absolute panel (which has a background image > > >> simulating a grid) the cell selector is moved in order to visually- > > >> simulate the cell selection. It works fine on firefox and IE, but on > > >> webkit-based browsers when the ScrollPanel has been scrolled and I > > >> click on the absolutePanel, it autom
Re: ScrollPanel problem in Chrome/Safari
I don't think it was meant to solve you *scrollpanel* problem... Ian 2009/3/30 Nicanor Babula > > Thx man. It really solved my ScrollPanel problem. > > On Monday 30 March 2009 15:45:43 Isaac Truett wrote: > > You might find some useful suggestions here: > > > http://groups.google.com/group/Google-Web-Toolkit/web/gwt-discussion-group- > >charter > > > > > > > > > > On Sun, Mar 29, 2009 at 3:42 PM, nicanor.babula < > nicanor.bab...@gmail.com> > > > > wrote: > > > Come on people. > > > > > > It's been 3 days since my post. No one knows the answer? Very well > > > then. If I ask HOW CAN I ADD A GOD DAMNED BUTTON TO MY PAGE THAT DOES > > > AN EXCREMENT WHEN I CLICK ON IT? I think I would have received > > > thousands of answers in minutes... C'mon people. The people in this > > > community are much more experienced than that. If not What the > > > "" is this group useful for? Teaching noobs that > > > rather than searching for their problem's answer they could simply > > > spare a community's time for their noob problem? C'mon. Where is the > > > linux/bsd/open-source-product forum attitude? > > > > > > At least an answer like: "I don't know man... I never had any problem > > > with scoll panels". It would be much better than ignoring some tough > > > question > > > > > > Feel free to ban me. I will take it like you felt so incompetent that > > > you would rather ban me than deface this group's incompetens. It's the > > > same for not posting this answer at all.. Blogs will write about it > > > too... > > > > > > PS: > > > Oh and what about the people posting in Spanish (or any other > > > language) rather than english in an international mailing list? If I > > > mistake with this post more then them, then this group is useless. > > > > > > PPS: > > > I know this is a flaming post, but please spare answers like "Hey it > > > was week-end time" or "you posted at 2AM my local time" or "Your > > > problem is not our problem". > > > > > > PPPS: > > > The first time I had to flame in order to get some help... > > > > > > Thank you, > > > Cristian Nicanor Babula. > > > > > > > > > On Mar 26, 12:25 pm, "nicanor.babula" > > > > > > wrote: > > >> Hello everyone. > > >> > > >> I have this situation: > > >> > > >> ___ > > >> > > >> |ScrollPanel | > > >> | __ | > > >> | > > >> | | AbsolutePanel| | > > >> | | > > >> | | ___ | | > > >> | | > > >> | | | cell selector| | | > > >> | | |__ | | | > > >> | | > > >> | |_| | > > >> | > > >> |__| > > >> > > >> When the users clicks the absolute panel (which has a background image > > >> simulating a grid) the cell selector is moved in order to visually- > > >> simulate the cell selection. It works fine on firefox and IE, but on > > >> webkit-based browsers when the ScrollPanel has been scrolled and I > > >> click on the absolutePanel, it automatically scrolls back the > > >> scrollPanel to [0,0]. > > >> > > >> Any ideas? It is a bug in GWT or I must compute the [top,left] of the > > >> cell selector in a different way? > > >> > > >> Here is how I compute the cell selector's top and left: > > >> [code] > > >> public void clickAction(Event event){ > > >> int x = DOM.eventGetClientX(event) > > >> - DOM.getAbsoluteLeft(getElement()) > > >> + DOM.getElementPropertyInt(getElement(), > > > > "scrollLeft") > > > > >> + Window.getScrollLeft(); > > >> int y = DOM.eventGetClientY(event) > > >> - DOM.getAbsoluteTop(getElement()) > > >> + DOM.getElementPropertyInt(getElement(), > > > > "scrollTop") > > > > >> + Window.getScrollTop(); > > >> Calendario.eventsContainer.setWidgetPosition > > >> (Calendario.eventAreaSelector, x - (x % CalUtils.getDayWidth()), y - > > >> (y % CalUtils.UNIT_HEIGHT)); > > >> } > > >> [/code] > > >> > > >> Thanks in advance. > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: ScrollPanel problem in Chrome/Safari
Thx man. It really solved my ScrollPanel problem. On Monday 30 March 2009 15:45:43 Isaac Truett wrote: > You might find some useful suggestions here: > http://groups.google.com/group/Google-Web-Toolkit/web/gwt-discussion-group- >charter > > > > > On Sun, Mar 29, 2009 at 3:42 PM, nicanor.babula > > wrote: > > Come on people. > > > > It's been 3 days since my post. No one knows the answer? Very well > > then. If I ask HOW CAN I ADD A GOD DAMNED BUTTON TO MY PAGE THAT DOES > > AN EXCREMENT WHEN I CLICK ON IT? I think I would have received > > thousands of answers in minutes... C'mon people. The people in this > > community are much more experienced than that. If not What the > > "" is this group useful for? Teaching noobs that > > rather than searching for their problem's answer they could simply > > spare a community's time for their noob problem? C'mon. Where is the > > linux/bsd/open-source-product forum attitude? > > > > At least an answer like: "I don't know man... I never had any problem > > with scoll panels". It would be much better than ignoring some tough > > question > > > > Feel free to ban me. I will take it like you felt so incompetent that > > you would rather ban me than deface this group's incompetens. It's the > > same for not posting this answer at all.. Blogs will write about it > > too... > > > > PS: > > Oh and what about the people posting in Spanish (or any other > > language) rather than english in an international mailing list? If I > > mistake with this post more then them, then this group is useless. > > > > PPS: > > I know this is a flaming post, but please spare answers like "Hey it > > was week-end time" or "you posted at 2AM my local time" or "Your > > problem is not our problem". > > > > PPPS: > > The first time I had to flame in order to get some help... > > > > Thank you, > > Cristian Nicanor Babula. > > > > > > On Mar 26, 12:25 pm, "nicanor.babula" > > > > wrote: > >> Hello everyone. > >> > >> I have this situation: > >> > >> ___ > >> > >> |ScrollPanel | > >> | __ | > >> | > >> | | AbsolutePanel| | > >> | | > >> | | ___ | | > >> | | > >> | | | cell selector| | | > >> | | |__ | | | > >> | | > >> | |_| | > >> | > >> |__| > >> > >> When the users clicks the absolute panel (which has a background image > >> simulating a grid) the cell selector is moved in order to visually- > >> simulate the cell selection. It works fine on firefox and IE, but on > >> webkit-based browsers when the ScrollPanel has been scrolled and I > >> click on the absolutePanel, it automatically scrolls back the > >> scrollPanel to [0,0]. > >> > >> Any ideas? It is a bug in GWT or I must compute the [top,left] of the > >> cell selector in a different way? > >> > >> Here is how I compute the cell selector's top and left: > >> [code] > >> public void clickAction(Event event){ > >> int x = DOM.eventGetClientX(event) > >> - DOM.getAbsoluteLeft(getElement()) > >> + DOM.getElementPropertyInt(getElement(), > > "scrollLeft") > > >> + Window.getScrollLeft(); > >> int y = DOM.eventGetClientY(event) > >> - DOM.getAbsoluteTop(getElement()) > >> + DOM.getElementPropertyInt(getElement(), > > "scrollTop") > > >> + Window.getScrollTop(); > >> Calendario.eventsContainer.setWidgetPosition > >> (Calendario.eventAreaSelector, x - (x % CalUtils.getDayWidth()), y - > >> (y % CalUtils.UNIT_HEIGHT)); > >> } > >> [/code] > >> > >> Thanks in advance. > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: ScrollPanel problem in Chrome/Safari
You might find some useful suggestions here: http://groups.google.com/group/Google-Web-Toolkit/web/gwt-discussion-group-charter On Sun, Mar 29, 2009 at 3:42 PM, nicanor.babula wrote: > > Come on people. > > It's been 3 days since my post. No one knows the answer? Very well > then. If I ask HOW CAN I ADD A GOD DAMNED BUTTON TO MY PAGE THAT DOES > AN EXCREMENT WHEN I CLICK ON IT? I think I would have received > thousands of answers in minutes... C'mon people. The people in this > community are much more experienced than that. If not What the > "" is this group useful for? Teaching noobs that > rather than searching for their problem's answer they could simply > spare a community's time for their noob problem? C'mon. Where is the > linux/bsd/open-source-product forum attitude? > > At least an answer like: "I don't know man... I never had any problem > with scoll panels". It would be much better than ignoring some tough > question > > Feel free to ban me. I will take it like you felt so incompetent that > you would rather ban me than deface this group's incompetens. It's the > same for not posting this answer at all.. Blogs will write about it > too... > > PS: > Oh and what about the people posting in Spanish (or any other > language) rather than english in an international mailing list? If I > mistake with this post more then them, then this group is useless. > > PPS: > I know this is a flaming post, but please spare answers like "Hey it > was week-end time" or "you posted at 2AM my local time" or "Your > problem is not our problem". > > PPPS: > The first time I had to flame in order to get some help... > > Thank you, > Cristian Nicanor Babula. > > > On Mar 26, 12:25 pm, "nicanor.babula" > wrote: >> Hello everyone. >> >> I have this situation: >> >> ___ >> |ScrollPanel | >> | __ | >> | | AbsolutePanel| | >> | | | | >> | | ___ | | >> | | | cell selector| | | >> | | |__ | | | >> | | | | >> | | | | >> | |_| | >> |__| >> >> When the users clicks the absolute panel (which has a background image >> simulating a grid) the cell selector is moved in order to visually- >> simulate the cell selection. It works fine on firefox and IE, but on >> webkit-based browsers when the ScrollPanel has been scrolled and I >> click on the absolutePanel, it automatically scrolls back the >> scrollPanel to [0,0]. >> >> Any ideas? It is a bug in GWT or I must compute the [top,left] of the >> cell selector in a different way? >> >> Here is how I compute the cell selector's top and left: >> [code] >> public void clickAction(Event event){ >> int x = DOM.eventGetClientX(event) >> - DOM.getAbsoluteLeft(getElement()) >> + DOM.getElementPropertyInt(getElement(), "scrollLeft") >> + Window.getScrollLeft(); >> int y = DOM.eventGetClientY(event) >> - DOM.getAbsoluteTop(getElement()) >> + DOM.getElementPropertyInt(getElement(), "scrollTop") >> + Window.getScrollTop(); >> Calendario.eventsContainer.setWidgetPosition >> (Calendario.eventAreaSelector, x - (x % CalUtils.getDayWidth()), y - >> (y % CalUtils.UNIT_HEIGHT)); >> } >> [/code] >> >> Thanks in advance. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: ScrollPanel problem in Chrome/Safari
Come on people. It's been 3 days since my post. No one knows the answer? Very well then. If I ask HOW CAN I ADD A GOD DAMNED BUTTON TO MY PAGE THAT DOES AN EXCREMENT WHEN I CLICK ON IT? I think I would have received thousands of answers in minutes... C'mon people. The people in this community are much more experienced than that. If not What the "" is this group useful for? Teaching noobs that rather than searching for their problem's answer they could simply spare a community's time for their noob problem? C'mon. Where is the linux/bsd/open-source-product forum attitude? At least an answer like: "I don't know man... I never had any problem with scoll panels". It would be much better than ignoring some tough question Feel free to ban me. I will take it like you felt so incompetent that you would rather ban me than deface this group's incompetens. It's the same for not posting this answer at all.. Blogs will write about it too... PS: Oh and what about the people posting in Spanish (or any other language) rather than english in an international mailing list? If I mistake with this post more then them, then this group is useless. PPS: I know this is a flaming post, but please spare answers like "Hey it was week-end time" or "you posted at 2AM my local time" or "Your problem is not our problem". PPPS: The first time I had to flame in order to get some help... Thank you, Cristian Nicanor Babula. On Mar 26, 12:25 pm, "nicanor.babula" wrote: > Hello everyone. > > I have this situation: > > ___ > | ScrollPanel | > | __ | > | | AbsolutePanel | | > | | | | > | | ___ | | > | | | cell selector| | | > | | |__ | | | > | | | | > | | | | > | |_| | > |__| > > When the users clicks the absolute panel (which has a background image > simulating a grid) the cell selector is moved in order to visually- > simulate the cell selection. It works fine on firefox and IE, but on > webkit-based browsers when the ScrollPanel has been scrolled and I > click on the absolutePanel, it automatically scrolls back the > scrollPanel to [0,0]. > > Any ideas? It is a bug in GWT or I must compute the [top,left] of the > cell selector in a different way? > > Here is how I compute the cell selector's top and left: > [code] > public void clickAction(Event event){ > int x = DOM.eventGetClientX(event) > - DOM.getAbsoluteLeft(getElement()) > + DOM.getElementPropertyInt(getElement(), > "scrollLeft") > + Window.getScrollLeft(); > int y = DOM.eventGetClientY(event) > - DOM.getAbsoluteTop(getElement()) > + DOM.getElementPropertyInt(getElement(), "scrollTop") > + Window.getScrollTop(); > Calendario.eventsContainer.setWidgetPosition > (Calendario.eventAreaSelector, x - (x % CalUtils.getDayWidth()), y - > (y % CalUtils.UNIT_HEIGHT)); > } > [/code] > > Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
ScrollPanel problem in Chrome/Safari
Hello everyone. I have this situation: ___ |ScrollPanel | | __ | | | AbsolutePanel| | | | | | | | ___ | | | | | cell selector| | | | | |__ | | | | | | | | | | | | |_| | |__| When the users clicks the absolute panel (which has a background image simulating a grid) the cell selector is moved in order to visually- simulate the cell selection. It works fine on firefox and IE, but on webkit-based browsers when the ScrollPanel has been scrolled and I click on the absolutePanel, it automatically scrolls back the scrollPanel to [0,0]. Any ideas? It is a bug in GWT or I must compute the [top,left] of the cell selector in a different way? Here is how I compute the cell selector's top and left: [code] public void clickAction(Event event){ int x = DOM.eventGetClientX(event) - DOM.getAbsoluteLeft(getElement()) + DOM.getElementPropertyInt(getElement(), "scrollLeft") + Window.getScrollLeft(); int y = DOM.eventGetClientY(event) - DOM.getAbsoluteTop(getElement()) + DOM.getElementPropertyInt(getElement(), "scrollTop") + Window.getScrollTop(); Calendario.eventsContainer.setWidgetPosition (Calendario.eventAreaSelector, x - (x % CalUtils.getDayWidth()), y - (y % CalUtils.UNIT_HEIGHT)); } [/code] Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---