I have a poppanel which I want to position like a tooltip to a
textbox. I am using textbox's getAbsoluteTop and getAbsoluteLeft to
position the popup. However I get the following exception when doing a

txtBox.getElement().getAbsoluteLeft()

What is wrong or is there any other way to achieve this?
thanks


com.google.gwt.core.client.JavaScriptException: (TypeError):
doc.getBoxObjectFor is not a function
 fileName: http://localhost:9080
 lineNumber: 4
 stack: ([object HTMLHtmlElement],[object
HTMLInputElement])@http://localhost:9080:4
@:0
(null,459230,[object MouseEvent],[object HTMLInputElement],[object
GWTJavaObject])@http://localhost:9080/DashboardWeb/gwt/hosted.html?dashboardprototype:56
([object MouseEvent])@http://localhost:9080:108
((function (evt) {var listener, curElem = this;while (curElem &&
!(listener = curElem.__listener)) {curElem = curElem.parentNode;}if
(curElem && curElem.nodeType != 1) {curElem = null;}if (listener) {if
(__gwt_makeJavaInvoke(1)(null, 393266, listener))
{__gwt_makeJavaInvoke(3)(null, 459230, evt, curElem,
listener);}}}),[object HTMLInputElement],[object
Object])@http://localhost:9080:65
@:0
(null,98,(function (evt) {var listener, curElem = this;while (curElem
&& !(listener = curElem.__listener)) {curElem = curElem.parentNode;}if
(curElem && curElem.nodeType != 1) {curElem = null;}if (listener) {if
(__gwt_makeJavaInvoke(1)(null, 393266, listener))
{__gwt_makeJavaInvoke(3)(null, 459230, evt, curElem,
listener);}}}),[object HTMLInputElement],[object
Object])@http://localhost:9080/DashboardWeb/gwt/hosted.html?dashboardprototype:56
([object MouseEvent])@http://localhost:9080:49




On Mon, Jan 10, 2011 at 12:31 PM, David Chandler <[email protected]> wrote:
> Hi Lisa, I've created a small sample project using RF with App Engine +
> Objectify that wires in a custom ServiceLayerDecorator, but it doesn't yet
> demo Editors. Once I get those pieces in place, I plan to publish some more
> docs. Community contributions welcome, of course :-)
> http://code.google.com/p/listwidget
> In the mean time, the DynaTableRF sample that ships with GWT is probably
> your best source for RF + Editor example code.
> Thanks,
> /dmc
>
>
> On Mon, Jan 10, 2011 at 12:22 PM, Lisa D <[email protected]> wrote:
>>
>> Hi David Chandler
>>
>> Any update on documentation on the new Service layer with some code
>> examples?....your other articles on the GWT site are excellent and
>> easy to understand so hoping you'll get this done soon, so I'll better
>> be able to understand this
>>
>>
>> LD
>>
>> On Dec 30 2010, 11:49 am, Y2i <[email protected]> wrote:
>> > The links do not mention Service Layer but for using JPA or JDO the
>> > documents implicitly describe the integration between RF, service
>> > layer, editors and auto beans.
>> >
>> > RequestFactoryServlet uses ServiceLayer internally, but knowing its
>> > existence is not necessary for using RequestFactory.  Generated Entity
>> > Proxies are AutoBeans, but you would not use them explicitly and would
>> > only see them in the debugger.  Entity Proxies are integrated with the
>> > Editor Framework through RequestFactoryEditorDriver.
>> >
>> > On Dec 30, 11:21 am, Simon Majou <[email protected]> wrote:
>> >
>> > > Where do you find Service Layer into those 2 links ?
>> >
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
> w: http://code.google.com/
> b: http://googlewebtoolkit.blogspot.com/
> t: @googledevtools
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to