Any component like SplitLayoutPanel with percentage support

2011-02-22 Thread ALB-PSP-DV1
I'm new to GWT. I have used SplitLayoutPanel to create draggable splitter between child widgets. However since this component supports only px, it is not serving my purpose. I need the divided regions and child widgets to resize to any browser dimensions onload as well as on window resize. Is

DateBox : Null value not identified

2011-02-28 Thread ALB-PSP-DV1
I have to do mandatory check for a date fieldWhen the user doesn't any date in the datebox input Code: final DateBox dateBox = new DateBox(); dateBox.setValue(new Date()); dateBox.setFormat(new DateBox.DefaultFormat(DateTimeFormat.getFormat(ddMMMyy))); //capture the change event of date picker

Re: DateBox : Null value not identified

2011-02-28 Thread ALB-PSP-DV1
Sorry I submitted the incomplete query by mistake. Here's my question: I have to do mandatory check for a date field when the user doesn't enter any date in the datebox input, however I'm always getting the last set value for the date field instead of null when user doesn't enter any data.

How to make DateBox as mandatory?

2011-03-04 Thread ALB-PSP-DV1
Hi, I am using GWT 2.1.1 . I hava a requirement using Datebox with popup datepicker. I want to make that field as mandatory. ie I cannot submit with empty value. However, if i validate on submit, If it is null, i observed that the value is set to previous selection. My code as as follows final

Disabling certain dates in datepicker failing

2011-03-08 Thread ALB-PSP-DV1
I'm new to GWT. I'm using GWT 2.1.1. I have requirement to disable certain dates in the datepicker (disable dates before 15Aug2010 and after 15Aug2011). The dates are however not disabled in datepicker, the user is able to select 16Aug2011, 17Aug2011 etc for the first time. Only after selecting

Re: Disabling certain dates in datepicker failing

2011-03-09 Thread ALB-PSP-DV1
Thank you the solution worked. It disables the date in the datepicker. However the user can still enter the date manually in textbox. I handled it by displaying a error message conditionally on addValueChangeHandler. -- You received this message because you are subscribed to the Google Groups

VerticalPanel with Celltable cell.

2011-04-25 Thread ALB-PSP-DV1
I have a requirement to display a celltable in the below manner __ | S.no |Data | -- |1|Data1 (image) | | |Data2 (image) | | |Data3 (image)

TabLayoutPanel SelectionHandler invoked multiple times

2011-12-27 Thread ALB-PSP-DV1
Hi, I have a TabLayoutPanel with 3 tabs. I have added a selection handler to it to change the color of the selected/unselected tabs. However the selectionHandler seems to be invoked 3 times instead of once when I select a tab. i.e. SelectionHandler invocation = Total number of tabs in

Re: TabLayoutPanel SelectionHandler invoked multiple times

2011-12-27 Thread ALB-PSP-DV1
I'm adding the selection handler to the TabLayoutPanel. fareDisplayPanel.addSelectionHandler(new SelectionHandlerInteger() { } On Dec 28, 8:56 am, Patrick Tucker tucker...@gmail.com wrote: Where are you adding theSelectionHandler? On Dec 27, 7:47 am, ALB-PSP-DV1 albpsp...@gmail.com wrote

Re: TabLayoutPanel SelectionHandler invoked multiple times

2011-12-29 Thread ALB-PSP-DV1
before the add and check the output. On Dec 28, 1:08 am, ALB-PSP-DV1 albpsp...@gmail.com wrote: I'm adding the selection handler to theTabLayoutPanel. fareDisplayPanel.addSelectionHandler(newSelectionHandlerInteger() { } On Dec 28, 8:56 am, Patrick Tucker tucker...@gmail.com wrote

Preventing selection event propagation

2012-04-27 Thread ALB-PSP-DV1
Our application has two tabs. On selecting the tabs we have to display a confirmation window(dialog box). Depending on whether user clicks Yes or No button in the confirmation window, the tab selection event should proceed or stop. I know we have event.stopPropagation() method for click event.

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
13:45:19 UTC+2 schrieb ALB-PSP-DV1: Our application has two tabs. On selecting the tabs we have to display a confirmation window(dialog box). Depending on whether user clicks Yes or No button in the confirmation window, the tab selection event should proceed or stop. I know we

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
On Apr 27, 4:45 pm, ALB-PSP-DV1 albpsp...@gmail.com wrote: Our application has two tabs. On selecting the tabs we have to display a confirmation window(dialog box). Depending on whether user clicks Yes or No button in the confirmation window, the tab selection event should proceed or stop

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
:51 pm, ALB-PSP-DV1 albpsp...@gmail.com wrote: Thank you for your suggestions. I tried the solution suggested by Jens. I have a confirmation window to be first displayed on tabselection, and only on click of No button in the confirmation window the tabselectionshould be cancelled. Currently

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
and Jens. On Apr 29, 1:51 pm, ALB-PSP-DV1 albpsp...@gmail.com wrote: Thank you for your suggestions. I tried the solution suggested by Jens. I have a confirmation window to be first displayed on tabselection, and only on click of No button in the confirmation window the tabselectionshould

Suggestbox suggestions not displayed when navigating using arrow keys

2012-05-02 Thread ALB-PSP-DV1
We have a suggestbox with approx. 50 suggestions. We are displaying a scrollbar for the suggestbox using the following css .suggestPopupContent{ height:auto; width:auto !important; max-width:400px; max-height: 165px; overflow-y: auto;

Re: Suggestbox suggestions not displayed when navigating using arrow keys

2012-05-02 Thread ALB-PSP-DV1
Any help is appreciated. On May 2, 11:39 am, ALB-PSP-DV1 albpsp...@gmail.com wrote: We have asuggestboxwith approx. 50suggestions. We are displaying a scrollbar for thesuggestboxusingthe following css .suggestPopupContent{         height:auto;         width:auto !important;         max

Combo box in GWT2.4?

2012-05-17 Thread ALB-PSP-DV1
We need to display data using combo box in our application. 1) Is there a combo box widget in GWT2.4? 2) If not is there a workaround to achieve the same? Any help much appreciated. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web

Re: Combo box in GWT2.4?

2012-05-18 Thread ALB-PSP-DV1
... On Friday, May 18, 2012 6:47:44 AM UTC+2, ALB-PSP-DV1 wrote: We need to display data using combo box in our application. 1) Is there a combo box widget in GWT2.4? 2) If not is there a workaround to achieve the same? Any help much appreciated. Thanks in advance. -- You received this message

Re: Combo box in GWT2.4?

2012-05-18 Thread ALB-PSP-DV1
by editable? You can use setVisibleItemCount(1) method to make combobox. If visibleItemCount is bigger that this control is displayed as a listbox. On Friday, May 18, 2012 1:29:12 PM UTC+2, ALB-PSP-DV1 wrote: We need a editable listbox i.e. combo box. Is there a attribute which can