PDA

View Full Version : Customized header



FireGlow
6 Jun 2009, 10:27 AM
I want to create a customized and designed header for my website. With logo and a bar ect. This bar should be able to fire events like "Logout" "Show Help" that are connected to my gxt-application-methods.

How I can do this in a good way?

Jose Jeria
9 Jun 2009, 1:20 PM
You might find HtmlContainer (http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/HtmlContainer.html) helpful in this case.

FireGlow
9 Jun 2009, 1:23 PM
Well this container isn't the problem, but how exactly I can call methods from this container?

I want to Logout with a button in the header, so I needto call

Dispatcher.get().... with an LOGOUT event... how to do this ?

Jose Jeria
9 Jun 2009, 10:55 PM
Add a button to the html container with a selection listener.

FireGlow
9 Jun 2009, 11:05 PM
You can add directly Widgets to the container? But how to position it ?

Jose Jeria
9 Jun 2009, 11:06 PM
Read the link I posted above.