Monday, May 31, 2010

Re: Help to find only clickable panel except focuspanel

Hi Deepak,

I tried your corrected code (I use g: instead of gwt, gwr).
However, no <input> are is created.

I am using FF. May this is a workaround for other browser.
Did you checked the issues?

------------------
container.getElement().getChild(container.getTabIndex()).removeFromParent();

Please provide your suggestions, is it a correct way to remove this
tabindex ?
------------

The above may accidently work. Logically it is wrong. A tabIndex is in
general not a element child index.

Stefan Bachert
http://gwtworld.de

On 29 Mai, 20:27, Deepak Bammi <deepak.ba...@gmail.com> wrote:
> Hi Stefan,
>
> Thanks for your response.
>
> I'm using focuspanel to create a simple div element which is clickable so
> that i can embed any widget.
>
> e.g
> Using UiBinder.
>
>  <gwt:FocusPanel>
>    <gwt:FlowPanel>
>                // Widget.
>    </gwr:FlowPanel>
>  </gwt:FocusPanel>
>
> The above code creates two div element (one for focuspanel and other for
> flowpanel), but the focus panel will automatically inserts the textbox
> before the second div element into DOM and i want to remove this textbox
> from fouspanel.
>
> I think now you will get the problem and if still you have any doubt please
> feel free to share.
>
> Thanks,
> Dev
> On Sat, May 29, 2010 at 7:55 PM, Stefan Bachert <stefanbach...@yahoo.de>wrote:
>
> > Hi Deepak,
>
> > I use focusPanel with a ClickHandler for the tab of an own TabPanel.
> > I don't understand what your problem is?
> > Did you also added a textbox into the focus panel?
>
> > Or do you call the focus marquise as "input box"?
> > When yes, remove the attribute "tabIndex".
> > (getElement().removeArribute())
>
> > Otherwise we need more information about your issue
>
> > Stefan Bachert
> >http://gwtworld.de
>
> > On 29 Mai, 11:55, Deepak Bammi <deepak.ba...@gmail.com> wrote:
> > > Hi All,
>
> > > I need a panel which is clickable.I found focuspanel but it has one
> > drawback
> > > in my case that it automatically embeds the input box which causes a
> > problem
> > > for me.
>
> > > Please share to access the input box in the focus panel or to find the
> > > clickable panel.
>
> > > Thanks,
> > > Dev
>
> > --
> > 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+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubscribe@googlegroups.com>
> > .
> > 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment