Re: FlexTable RowSpan Issue

2014-02-17 Thread Davide Micheletti
the code is really simple:

RootPanel rootPanel = RootPanel.get(content);
 HorizontalPanel horizontalPanel = new HorizontalPanel();
horizontalPanel.setSpacing(50);
rootPanel.add(horizontalPanel);
 final FlexTable flexTable = new FlexTable();
flexTable.setCellPadding(5);
flexTable.setCellSpacing(5);
flexTable.setStyleName(table);
horizontalPanel.add(flexTable);

flexTable.setText(0, 0, 05:00);
flexTable.setText(0, 1, CP1);
flexTable.setText(0, 2, CP2);

flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2);
flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3);
 flexTable.setText(1, 0, 06:00);

flexTable.setText(2, 0, 07:00);
flexTable.setText(2, 1, CP3);
 flexTable.setText(3, 0, 08:00);
flexTable.setText(3, 1, );
flexTable.setText(3, 2, CP4);

flexTable.setText(4, 0, 09:00);
flexTable.setText(4, 1, );
flexTable.setText(4, 2, );

flexTable.setText(5, 0, 10:00);
flexTable.setText(5, 1, );
flexTable.setText(5, 2, );

flexTable.setText(6, 0, 11:00);
flexTable.setText(6, 1, );
flexTable.setText(6, 2, );

flexTable.setText(7, 0, 12:00);
flexTable.setText(7, 1, );
flexTable.setText(7, 2, );

flexTable.setText(8, 0, 13:00);
flexTable.setText(8, 1, );
flexTable.setText(8, 2, );
 final FlexTable flexTable_1 = new FlexTable();
flexTable_1.setCellPadding(5);
flexTable_1.setCellSpacing(5);
flexTable_1.setStyleName(table);
horizontalPanel.add(flexTable_1);

flexTable_1.setText(0, 0, CP5);
flexTable_1.setText(0, 1, 3);
flexTable_1.setWidget(0, 2, new RadioButton(prog));
 flexTable_1.setText(1, 0, CP6);
flexTable_1.setText(1, 1, 2);
flexTable_1.setWidget(1, 2, new RadioButton(prog));
 flexTable_1.setText(2, 0, CP7);
flexTable_1.setText(2, 1, 1);
flexTable_1.setWidget(2, 2, new RadioButton(prog));
 rootPanel.add(horizontalPanel);
 // Sposta
 flexTable.addClickHandler(new ClickHandler() {
 public void onClick(ClickEvent event) {
 // Trovo il radio checkato
int i=0;
RadioButton rb;
do{
rb = (RadioButton) flexTable_1.getWidget(i, 2);
i++;
}while (!rb.getValue()  i  flexTable_1.getRowCount());

// Devo decrementare i di 1
i--;
 if(iflexTable_1.getRowCount()) {
// C'è qualcosa di selezionato e quindi posso spostare
 // Riga e colonna in cui spostare
int r = flexTable.getCellForEvent(event).getRowIndex();
int c = flexTable.getCellForEvent(event).getCellIndex();
//
 // Se nella riga colonna selezionata non c'è nulla copio diretto
if(flexTable.getText(r, c).equals()) {
 flexTable.setText(r, c, flexTable_1.getText(i, 0));
 } else {
 // Salvo tutti gli indici per poterli utilizzare negli Handler
final int r_app = r;
final int c_app = c;
final int i_app = i;
///
final DialogBox adv = new DialogBox();
adv.setText(Avviso);
 VerticalPanel b = new VerticalPanel();
 Label l = new Label(flexTable.getText(r, c) +  
+ la vuoi mettere prima o dopo + flexTable_1.getText(i, 0));
 Button b_prima = new Button(Prima);
Button b_dopo = new Button(Dopo);
Button b_chiudi = new Button(Chiudi);
 b_chiudi.addClickHandler(new ClickHandler() {

public void onClick(ClickEvent event) {
adv.clear();
adv.hide();
}
});
// PRIMA
b_prima.addClickHandler(new ClickHandler() {
 public void onClick(ClickEvent event) {
 adv.clear();
adv.hide();
 flexTable.setText(r_app+1, c_app, flexTable_1.getText(i_app, 0));
// Ricavo il RowSpan (durata della fase)
int rs = Integer.valueOf(flexTable_1.getText(i_app, 1));
flexTable.getFlexCellFormatter().setRowSpan(r_app+1, c_app, rs);
 }
});
///
 // DOPO
b_dopo.addClickHandler(new ClickHandler() {
 public void onClick(ClickEvent event) {
 adv.clear();
adv.hide();

// Prima salvo la CP da spostare
String s = flexTable.getText(r_app, c_app);
// Poi scrivo la nuova CP e setto il RowSpan
flexTable.setText(r_app, c_app, flexTable_1.getText(i_app, 0));
 // Ricavo il RowSpan (durata della fase)
int rs = Integer.valueOf(flexTable_1.getText(i_app, 1));
 flexTable.getFlexCellFormatter().setRowSpan(r_app, c_app, rs);
// Riscrivo la vecchia CP spostata in avanti tanto quanto il rowSpan
flexTable.setText(r_app+rs, c_app, s);
 }
});
//
 b.add(l);
b.add(b_prima);
b.add(b_dopo);
b.add(b_chiudi);
 adv.add(b);
 adv.center();
adv.show();
}
 }
 }
});


On Mon, Feb 17, 2014 at 12:10 AM, Jens jens.nehlme...@gmail.com wrote:

 Maybe your column index is off by one while generating the table and later
 when adding your second text to column 0 results in column 0 to be created.

 Can you provide code?

 -- J.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

Re: FlexTable RowSpan Issue

2014-02-17 Thread Davide Micheletti
Without all the code..

Filling the FlexTable

final FlexTable flexTable = new FlexTable();
flexTable.setCellPadding(5);
flexTable.setCellSpacing(5);
flexTable.setStyleName(table);
horizontalPanel.add(flexTable);

flexTable.setText(0, 0, 05:00);
flexTable.setText(0, 1, CP1);
flexTable.setText(0, 2, CP2);


flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2);
flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3);
 flexTable.setText(1, 0, 06:00);

flexTable.setText(2, 0, 07:00);
flexTable.setText(2, 1, CP3);
 flexTable.setText(3, 0, 08:00);
flexTable.setText(3, 1, );
flexTable.setText(3, 2, CP4);

flexTable.setText(4, 0, 09:00);
flexTable.setText(4, 1, );
flexTable.setText(4, 2, );

flexTable.setText(5, 0, 10:00);
flexTable.setText(5, 1, );
flexTable.setText(5, 2, );

flexTable.setText(6, 0, 11:00);
flexTable.setText(6, 1, );
flexTable.setText(6, 2, );

flexTable.setText(7, 0, 12:00);
flexTable.setText(7, 1, );
flexTable.setText(7, 2, );

flexTable.setText(8, 0, 13:00);
flexTable.setText(8, 1, );
flexTable.setText(8, 2, );


2014-02-17 9:47 GMT+01:00 Davide Micheletti d.michelett...@gmail.com:

 the code is really simple:

 RootPanel rootPanel = RootPanel.get(content);
  HorizontalPanel horizontalPanel = new HorizontalPanel();
  horizontalPanel.setSpacing(50);
 rootPanel.add(horizontalPanel);
  final FlexTable flexTable = new FlexTable();
 flexTable.setCellPadding(5);
 flexTable.setCellSpacing(5);
  flexTable.setStyleName(table);
 horizontalPanel.add(flexTable);

 flexTable.setText(0, 0, 05:00);
  flexTable.setText(0, 1, CP1);
 flexTable.setText(0, 2, CP2);

 flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2);
  flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3);
  flexTable.setText(1, 0, 06:00);

 flexTable.setText(2, 0, 07:00);
 flexTable.setText(2, 1, CP3);
  flexTable.setText(3, 0, 08:00);
 flexTable.setText(3, 1, );
  flexTable.setText(3, 2, CP4);

 flexTable.setText(4, 0, 09:00);
  flexTable.setText(4, 1, );
 flexTable.setText(4, 2, );

 flexTable.setText(5, 0, 10:00);
  flexTable.setText(5, 1, );
 flexTable.setText(5, 2, );

 flexTable.setText(6, 0, 11:00);
  flexTable.setText(6, 1, );
 flexTable.setText(6, 2, );

 flexTable.setText(7, 0, 12:00);
  flexTable.setText(7, 1, );
 flexTable.setText(7, 2, );

 flexTable.setText(8, 0, 13:00);
  flexTable.setText(8, 1, );
 flexTable.setText(8, 2, );
   final FlexTable flexTable_1 = new FlexTable();
 flexTable_1.setCellPadding(5);
  flexTable_1.setCellSpacing(5);
 flexTable_1.setStyleName(table);
 horizontalPanel.add(flexTable_1);

 flexTable_1.setText(0, 0, CP5);
 flexTable_1.setText(0, 1, 3);
  flexTable_1.setWidget(0, 2, new RadioButton(prog));
  flexTable_1.setText(1, 0, CP6);
  flexTable_1.setText(1, 1, 2);
 flexTable_1.setWidget(1, 2, new RadioButton(prog));
  flexTable_1.setText(2, 0, CP7);
 flexTable_1.setText(2, 1, 1);
  flexTable_1.setWidget(2, 2, new RadioButton(prog));
  rootPanel.add(horizontalPanel);
  // Sposta
  flexTable.addClickHandler(new ClickHandler() {
  public void onClick(ClickEvent event) {
  // Trovo il radio checkato
 int i=0;
 RadioButton rb;
  do{
 rb = (RadioButton) flexTable_1.getWidget(i, 2);
 i++;
  }while (!rb.getValue()  i  flexTable_1.getRowCount());

 // Devo decrementare i di 1
  i--;
  if(iflexTable_1.getRowCount()) {
  // C'è qualcosa di selezionato e quindi posso spostare
  // Riga e colonna in cui spostare
  int r = flexTable.getCellForEvent(event).getRowIndex();
 int c = flexTable.getCellForEvent(event).getCellIndex();
  //
  // Se nella riga colonna selezionata non c'è nulla copio diretto
  if(flexTable.getText(r, c).equals()) {
  flexTable.setText(r, c, flexTable_1.getText(i, 0));
  } else {
  // Salvo tutti gli indici per poterli utilizzare negli Handler
  final int r_app = r;
 final int c_app = c;
 final int i_app = i;
  ///
 final DialogBox adv = new DialogBox();
 adv.setText(Avviso);
  VerticalPanel b = new VerticalPanel();
  Label l = new Label(flexTable.getText(r, c) +  
 + la vuoi mettere prima o dopo + flexTable_1.getText(i, 0));
  Button b_prima = new Button(Prima);
 Button b_dopo = new Button(Dopo);
  Button b_chiudi = new Button(Chiudi);
  b_chiudi.addClickHandler(new ClickHandler() {

 public void onClick(ClickEvent event) {
 adv.clear();
 adv.hide();
  }
 });
 // PRIMA
 b_prima.addClickHandler(new ClickHandler() {
  public void onClick(ClickEvent event) {
  adv.clear();
 adv.hide();
  flexTable.setText(r_app+1, c_app, flexTable_1.getText(i_app, 0));
 // Ricavo il RowSpan (durata della fase)
  int rs = Integer.valueOf(flexTable_1.getText(i_app, 1));
 flexTable.getFlexCellFormatter().setRowSpan(r_app+1, c_app, rs);
  }
 });
 ///
  // DOPO
 b_dopo.addClickHandler(new ClickHandler() {
  public void onClick(ClickEvent event) {
  adv.clear();
 adv.hide();

 // Prima salvo la CP da spostare
  String s = flexTable.getText(r_app, c_app);
 // Poi scrivo la nuova CP e setto il RowSpan
  flexTable.setText(r_app, c_app, flexTable_1.getText(i_app, 0));
  // Ricavo il RowSpan 

Re: FlexTable RowSpan Issue

2014-02-17 Thread Davide Micheletti
Filling the flexTable
final FlexTable flexTable = new FlexTable();
flexTable.setCellPadding(5);
flexTable.setCellSpacing(5);
flexTable.setStyleName(table);
horizontalPanel.add(flexTable);

flexTable.setText(0, 0, 05:00);
flexTable.setText(0, 1, CP1);
flexTable.setText(0, 2, CP2);

// First RowSpan Text
flexTable.getFlexCellFormatter().setRowSpan(0, 2, 2);
 flexTable.setText(1, 0, 06:00);

flexTable.setText(2, 0, 07:00);
flexTable.setText(2, 1, CP3);
 flexTable.setText(3, 0, 08:00);
flexTable.setText(3, 1, );
flexTable.setText(3, 2, CP4);

flexTable.setText(4, 0, 09:00);
flexTable.setText(4, 1, );
flexTable.setText(4, 2, );

flexTable.setText(5, 0, 10:00);
flexTable.setText(5, 1, );
flexTable.setText(5, 2, );

flexTable.setText(6, 0, 11:00);
flexTable.setText(6, 1, );
flexTable.setText(6, 2, );

flexTable.setText(7, 0, 12:00);
flexTable.setText(7, 1, );
flexTable.setText(7, 2, );

flexTable.setText(8, 0, 13:00);
flexTable.setText(8, 1, );
flexTable.setText(8, 2, );

// Second RowSpan text
   flexTable.getFlexCellFormatter().setRowSpan(0, 1, 3);


OK, now the first text is shifted by one to the right.. Why?


2014-02-17 9:47 GMT+01:00 Davide Micheletti d.michelett...@gmail.com:

 the code is really simple:

 RootPanel rootPanel = RootPanel.get(content);
  HorizontalPanel horizontalPanel = new HorizontalPanel();
  horizontalPanel.setSpacing(50);
 rootPanel.add(horizontalPanel);
  final FlexTable flexTable = new FlexTable();
 flexTable.setCellPadding(5);
 flexTable.setCellSpacing(5);
  flexTable.setStyleName(table);
 horizontalPanel.add(flexTable);

 flexTable.setText(0, 0, 05:00);
  flexTable.setText(0, 1, CP1);
 flexTable.setText(0, 2, CP2);

 flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2);
  flexTable.getFlexCellFormatter().setRowSpan(0, 2, 3);
  flexTable.setText(1, 0, 06:00);

 flexTable.setText(2, 0, 07:00);
 flexTable.setText(2, 1, CP3);
  flexTable.setText(3, 0, 08:00);
 flexTable.setText(3, 1, );
  flexTable.setText(3, 2, CP4);

 flexTable.setText(4, 0, 09:00);
  flexTable.setText(4, 1, );
 flexTable.setText(4, 2, );

 flexTable.setText(5, 0, 10:00);
  flexTable.setText(5, 1, );
 flexTable.setText(5, 2, );

 flexTable.setText(6, 0, 11:00);
  flexTable.setText(6, 1, );
 flexTable.setText(6, 2, );

 flexTable.setText(7, 0, 12:00);
  flexTable.setText(7, 1, );
 flexTable.setText(7, 2, );

 flexTable.setText(8, 0, 13:00);
  flexTable.setText(8, 1, );
 flexTable.setText(8, 2, );
   final FlexTable flexTable_1 = new FlexTable();
 flexTable_1.setCellPadding(5);
  flexTable_1.setCellSpacing(5);
 flexTable_1.setStyleName(table);
 horizontalPanel.add(flexTable_1);

 flexTable_1.setText(0, 0, CP5);
 flexTable_1.setText(0, 1, 3);
  flexTable_1.setWidget(0, 2, new RadioButton(prog));
  flexTable_1.setText(1, 0, CP6);
  flexTable_1.setText(1, 1, 2);
 flexTable_1.setWidget(1, 2, new RadioButton(prog));
  flexTable_1.setText(2, 0, CP7);
 flexTable_1.setText(2, 1, 1);
  flexTable_1.setWidget(2, 2, new RadioButton(prog));
  rootPanel.add(horizontalPanel);
  // Sposta
  flexTable.addClickHandler(new ClickHandler() {
  public void onClick(ClickEvent event) {
  // Trovo il radio checkato
 int i=0;
 RadioButton rb;
  do{
 rb = (RadioButton) flexTable_1.getWidget(i, 2);
 i++;
  }while (!rb.getValue()  i  flexTable_1.getRowCount());

 // Devo decrementare i di 1
  i--;
  if(iflexTable_1.getRowCount()) {
  // C'è qualcosa di selezionato e quindi posso spostare
  // Riga e colonna in cui spostare
  int r = flexTable.getCellForEvent(event).getRowIndex();
 int c = flexTable.getCellForEvent(event).getCellIndex();
  //
  // Se nella riga colonna selezionata non c'è nulla copio diretto
  if(flexTable.getText(r, c).equals()) {
  flexTable.setText(r, c, flexTable_1.getText(i, 0));
  } else {
  // Salvo tutti gli indici per poterli utilizzare negli Handler
  final int r_app = r;
 final int c_app = c;
 final int i_app = i;
  ///
 final DialogBox adv = new DialogBox();
 adv.setText(Avviso);
  VerticalPanel b = new VerticalPanel();
  Label l = new Label(flexTable.getText(r, c) +  
 + la vuoi mettere prima o dopo + flexTable_1.getText(i, 0));
  Button b_prima = new Button(Prima);
 Button b_dopo = new Button(Dopo);
  Button b_chiudi = new Button(Chiudi);
  b_chiudi.addClickHandler(new ClickHandler() {

 public void onClick(ClickEvent event) {
 adv.clear();
 adv.hide();
  }
 });
 // PRIMA
 b_prima.addClickHandler(new ClickHandler() {
  public void onClick(ClickEvent event) {
  adv.clear();
 adv.hide();
  flexTable.setText(r_app+1, c_app, flexTable_1.getText(i_app, 0));
 // Ricavo il RowSpan (durata della fase)
  int rs = Integer.valueOf(flexTable_1.getText(i_app, 1));
 flexTable.getFlexCellFormatter().setRowSpan(r_app+1, c_app, rs);
  }
 });
 ///
  // DOPO
 b_dopo.addClickHandler(new ClickHandler() {
  public void onClick(ClickEvent event) {
  adv.clear();
 adv.hide();

 // Prima salvo la CP da spostare
  String s = flexTable.getText(r_app, c_app);
 // Poi 

Re: Development Mode will not be supported in Firefox 27+

2014-02-17 Thread sabin_97

well. no more gwt for me then, until mozilla gives google access again. 
downgrading the browser(either by using chrome or an earlier version of 
firefox) is not acceptable for me. but i can wait. got lots of non-google 
projects to work on.


On Monday, February 3, 2014 8:01:41 PM UTC-4, Brian Slesinsky wrote:

 Mozilla has stopped exporting some C++ symbols that the Firefox plugin 
 relies on [1]. Therefore it's not possible to support Development Mode in 
 any new versions of Firefox starting with 27.

 As a workaround, I am doing one last release to get the plugin working 
 again with Firefox 24.2 (and hopefully newer point releases on the ESR 
 track). If you wish to continue to use Development Mode on Firefox, you 
 will need to download this version from Mozilla [2]. For more details see 
 the issue tracker [3]. 

 Long-term, the plan is to improve Super Dev Mode.

 I apologize for the late notice; when I said at GWT.create that Firefox 
 could stop working with any release, I didn't expect it to be the next one.

 - Brian

 [1] https://bugzilla.mozilla.org/show_bug.cgi?id=920731
 [2] 
 http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/24.2.0esr/
 [3] https://code.google.com/p/google-web-toolkit/issues/detail?id=8553



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Introduce SmartGWT for collapse/expand panel for with existing project

2014-02-17 Thread Thomas Broyer
http://gwt.googleusercontent.com/samples/Showcase/Showcase.html?#!CwDisclosurePanel
 
?

On Monday, February 17, 2014 6:19:14 AM UTC+1, Joshua Godi wrote:

 Try this: http://gwtbootstrap3.github.io/gwtbootstrap3-demo/#collapse


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Intellij 13 + GWT 2.6 + SuperDevMode + RPC?

2014-02-17 Thread Frank Hossfeld
Hi Joshua,

I had no chance getting Super Dev Mode with GWT 2.6 and Intellij 13 to 
work. No Chance setting up the running configurations in Intellij 13 (No 
Super Dev Mode checkbox) Does it work with the new version of 
gwt-maven-plugin? 

Am Montag, 17. Februar 2014 06:22:55 UTC+1 schrieb Joshua Godi:

 Has anyone had any luck getting SuperDevMode to work fine with Intellij 13 
 and GWT 2.6 with GWT.RPC/Gin? I can get projects that don't involve 
 GWT.RPC/Gin to work just fine, but when adding that I get errors on all 
 services.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Pure GWT Growler/Toaster

2014-02-17 Thread salk31
I really like https://github.com/stanlemon/jGrowl but this would be our 
only reason to include jQuery so I'm reluctant to bring in such a big 
dependency.

Anyone got a nice pure GWT version?

I can't find any mentions 
since: 
https://groups.google.com/forum/#!searchin/google-web-toolkit/toaster/google-web-toolkit/uK_cgGqn2U4/0xdsLW7Ry1YJ

If not I'd be up for asking the jGrowl guy for permission to do a GWT port, 
would anyone be interested in using/sharing/helping?

btw I'm after more than NotificationMole (although I've not even managed to 
get that to work yet). jGrowl has nice CSS and easy options for timing, 
stacking, position etc

Regards

Sam

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Pure GWT Growler/Toaster

2014-02-17 Thread Alain Ekambi
I m guessing GWT Query  could help do the port ?
Note I never used GWT Query.


2014-02-17 12:17 GMT+01:00 salk31 sal...@gmail.com:

 I really like https://github.com/stanlemon/jGrowl but this would be our
 only reason to include jQuery so I'm reluctant to bring in such a big
 dependency.

 Anyone got a nice pure GWT version?

 I can't find any mentions since:
 https://groups.google.com/forum/#!searchin/google-web-toolkit/toaster/google-web-toolkit/uK_cgGqn2U4/0xdsLW7Ry1YJ

 If not I'd be up for asking the jGrowl guy for permission to do a GWT
 port, would anyone be interested in using/sharing/helping?

 btw I'm after more than NotificationMole (although I've not even managed
 to get that to work yet). jGrowl has nice CSS and easy options for timing,
 stacking, position etc

 Regards

 Sam

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Pure GWT Growler/Toaster

2014-02-17 Thread salk31
Did wonder about that. Another big dependency though? Looking at the jGrowl 
code I mostly want the CSS. Most of the JavaScript is just for setting 
configuration options, GWT/Java is nicer for that than JSON like config 
(IMHO).

On Monday, February 17, 2014 11:31:45 AM UTC, Alain wrote:

 I m guessing GWT Query  could help do the port ?
 Note I never used GWT Query.


 2014-02-17 12:17 GMT+01:00 salk31 sal...@gmail.com javascript::

 I really like https://github.com/stanlemon/jGrowl but this would be our 
 only reason to include jQuery so I'm reluctant to bring in such a big 
 dependency.

 Anyone got a nice pure GWT version?

 I can't find any mentions since: 
 https://groups.google.com/forum/#!searchin/google-web-toolkit/toaster/google-web-toolkit/uK_cgGqn2U4/0xdsLW7Ry1YJ

 If not I'd be up for asking the jGrowl guy for permission to do a GWT 
 port, would anyone be interested in using/sharing/helping?

 btw I'm after more than NotificationMole (although I've not even managed 
 to get that to work yet). jGrowl has nice CSS and easy options for timing, 
 stacking, position etc

 Regards

 Sam





-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Pure GWT Growler/Toaster

2014-02-17 Thread Alain Ekambi
Personally I would just wrap the thing.
It s not like jQuery is too big and performs poorly.

Sure the GWT compiler will do some optimizations on 100% GWT code.

But I wrote several GWT wrappers and never had issues with performance due
to the size of the underlying js libraries.
Most of the time they are well written well tested libraries.

Some GWT purist will always go with the it s only a wrapper-argument.
But that s for marketing reasons.

Only my  0.02$




2014-02-17 12:40 GMT+01:00 salk31 sal...@gmail.com:

 Did wonder about that. Another big dependency though? Looking at the
 jGrowl code I mostly want the CSS. Most of the JavaScript is just for
 setting configuration options, GWT/Java is nicer for that than JSON like
 config (IMHO).


 On Monday, February 17, 2014 11:31:45 AM UTC, Alain wrote:

 I m guessing GWT Query  could help do the port ?
 Note I never used GWT Query.


 2014-02-17 12:17 GMT+01:00 salk31 sal...@gmail.com:

 I really like https://github.com/stanlemon/jGrowl but this would be our
 only reason to include jQuery so I'm reluctant to bring in such a big
 dependency.

 Anyone got a nice pure GWT version?

 I can't find any mentions since: https://groups.google.
 com/forum/#!searchin/google-web-toolkit/toaster/google-
 web-toolkit/uK_cgGqn2U4/0xdsLW7Ry1YJ

 If not I'd be up for asking the jGrowl guy for permission to do a GWT
 port, would anyone be interested in using/sharing/helping?

 btw I'm after more than NotificationMole (although I've not even managed
 to get that to work yet). jGrowl has nice CSS and easy options for timing,
 stacking, position etc

 Regards

 Sam



  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Pure GWT Growler/Toaster

2014-02-17 Thread salk31
Well it is up and running with the dependency now and it is tempting to use 
a bit of jquery now and again...

Will just get on and do what the client wants (till the change their minds 
again) and slap in jquery.

Ta

On Monday, February 17, 2014 11:49:58 AM UTC, Alain wrote:

 Personally I would just wrap the thing.
 It s not like jQuery is too big and performs poorly.

 Sure the GWT compiler will do some optimizations on 100% GWT code. 

 But I wrote several GWT wrappers and never had issues with performance due 
 to the size of the underlying js libraries.
 Most of the time they are well written well tested libraries. 

 Some GWT purist will always go with the it s only a wrapper-argument.
 But that s for marketing reasons.

 Only my  0.02$




 2014-02-17 12:40 GMT+01:00 salk31 sal...@gmail.com javascript::

 Did wonder about that. Another big dependency though? Looking at the 
 jGrowl code I mostly want the CSS. Most of the JavaScript is just for 
 setting configuration options, GWT/Java is nicer for that than JSON like 
 config (IMHO).


 On Monday, February 17, 2014 11:31:45 AM UTC, Alain wrote:

 I m guessing GWT Query  could help do the port ?
 Note I never used GWT Query.


 2014-02-17 12:17 GMT+01:00 salk31 sal...@gmail.com:

 I really like https://github.com/stanlemon/jGrowl but this would be our 
 only reason to include jQuery so I'm reluctant to bring in such a big 
 dependency.

 Anyone got a nice pure GWT version?

 I can't find any mentions since: https://groups.google.
 com/forum/#!searchin/google-web-toolkit/toaster/google-
 web-toolkit/uK_cgGqn2U4/0xdsLW7Ry1YJ

 If not I'd be up for asking the jGrowl guy for permission to do a GWT 
 port, would anyone be interested in using/sharing/helping?

 btw I'm after more than NotificationMole (although I've not even 
 managed to get that to work yet). jGrowl has nice CSS and easy options for 
 timing, stacking, position etc

 Regards

 Sam



  


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT DatePicker With Custom Month and Year Selected.

2014-02-17 Thread Ajinkya Purane
Hey,
I have modified GWT DatePicker ,I have added Month and Year Selector on it. 

1) DatePickerWithYearSelectorNew.java

import com.google.gwt.user.datepicker.client.CalendarModel;
import com.google.gwt.user.datepicker.client.DatePicker;
import com.google.gwt.user.datepicker.client.DefaultCalendarView;

public class DatePickerWithYearSelectorNew extends DatePicker {

public DatePickerWithYearSelectorNew() {
super(new MonthAndYearSelectorWithYear(), new DefaultCalendarView(),
new CalendarModel());
MonthAndYearSelectorWithYear monthSelector = (MonthAndYearSelectorWithYear) 
this
.getMonthSelector();
monthSelector.setPicker(this);
monthSelector.setModel(this.getModel());
}
public void refreshComponents() {
super.refreshAll();
}
}

2) MonthAndYearSelectorWithYear.java



import java.util.Date;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.PushButton;
import com.google.gwt.user.client.ui.HTMLTable.CellFormatter;
import com.google.gwt.user.datepicker.client.CalendarModel;
import com.google.gwt.user.datepicker.client.MonthSelector;



public class MonthAndYearSelectorWithYear extends MonthSelector {

private static String BASE_NAME = datePicker;
private PushButton backwards;
private PushButton forwards;
private PushButton backwardsYear;
private PushButton forwardsYear;
private Grid grid;
private int previousYearColumn = 0;
private int previousMonthColumn = 1;

private int nextMonthColumn = 4;
private int nextYearColumn = 5;
private CalendarModel model;
private DatePickerWithYearSelectorNew picker;

private ListBox monthListBox;
private ListBox yearListBox;

public MonthAndYearSelectorWithYear() {

yearListBox = new ListBox();

for (int i = 1900; i  2100; i++) {
yearListBox.addItem(i + );
}

String[] items = { Jan, Feb, Mar, Apr, May, Jun, Jul,
Aug, Sep, Oct, Nov, Dec };

monthListBox = new ListBox();

for (int i = 0; i  items.length; i++) {
monthListBox.addItem(items[i]);
}
}

public void setModel(CalendarModel model) {
this.model = model;
}

public void setPicker(DatePickerWithYearSelectorNew picker) {
this.picker = picker;
}

@Override
protected void refresh() {
int monthIndex = getModel().getCurrentMonth().getMonth();
monthListBox.setItemSelected(monthIndex, true);
int yearIndex = getModel().getCurrentMonth().getYear();
// System.out.println(yearIndex);
yearListBox.setItemSelected(yearIndex, true);
}

@Override
protected void setup() {
// Set up backwards.
backwards = new PushButton();
backwards.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
addMonths(-1);
}
});

backwards.getUpFace().setHTML(lsaquo;);
backwards.setStyleName(BASE_NAME + PreviousButton);

forwards = new PushButton();
forwards.getUpFace().setHTML(rsaquo;);
forwards.setStyleName(BASE_NAME + NextButton);
forwards.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
if (model.getCurrentMonth().getYear()  199) {
addMonths(+1);
}
else if(model.getCurrentMonth().getMonth()11 
model.getCurrentMonth().getYear()==199)
{
addMonths(+1);
}
}
});

// Set up backwards year
backwardsYear = new PushButton();
backwardsYear.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {

addMonths(-12);
picker.refreshComponents();
}
});

backwardsYear.getUpFace().setHTML(laquo;);
backwardsYear.setStyleName(BASE_NAME + PreviousButton);

forwardsYear = new PushButton();
forwardsYear.getUpFace().setHTML(raquo;);
forwardsYear.setStyleName(BASE_NAME + NextButton);
forwardsYear.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
if (model.getCurrentMonth().getYear()  199) {
addMonths(+12);
picker.refreshComponents();
}
}
});

yearListBox.addChangeHandler(new ChangeHandler() {

@Override
public void onChange(ChangeEvent event) {
// int yearIndex = yearListBox.getSelectedIndex();
// setYear(Integer.parseInt(yearListBox.getValue(yearIndex)));
setYear(yearListBox.getSelectedIndex());
}
});
monthListBox.addChangeHandler(new ChangeHandler() {

@Override
public void onChange(ChangeEvent event) {
int monthIndex = monthListBox.getSelectedIndex();
setMonth(monthIndex);
}
});

// Set up grid.
grid = new Grid(1, 6);
grid.setWidget(0, previousYearColumn, backwardsYear);
grid.setWidget(0, previousMonthColumn, backwards);
grid.setWidget(0, 2, monthListBox);
grid.setWidget(0, 3, yearListBox);
grid.setWidget(0, nextMonthColumn, forwards);
grid.setWidget(0, nextYearColumn, forwardsYear);

CellFormatter formatter = grid.getCellFormatter();

formatter.setWidth(0, previousYearColumn, 1);
formatter.setWidth(0, previousMonthColumn, 1);

formatter.setWidth(0, nextMonthColumn, 1);
formatter.setWidth(0, nextYearColumn, 1);
grid.setStyleName(BASE_NAME + MonthSelector);
initWidget(grid);
}

public void addMonths(int 

Re: GWT DatePicker With Custom Month and Year Selected.

2014-02-17 Thread Jens
Just in case you didn't know it:

In GWT 2.6 you can do 

DatePicker.setVisibleYearCount(int count)
DatePicker.setYearArrowsVisible(boolean visible)
DatePicker.setYearAndMonthDropdownVisible(boolean visible)

to show drop down boxes for month and year as well as navigation icons for 
switching to next/previous year.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Introduce SmartGWT for collapse/expand panel for with existing project

2014-02-17 Thread mark . erikson
Some thoughts on using SmartGWT:

* The SmartGWT developers are VERY insistent that you should develop your 
application using their APIs and structure, as otherwise you are wasting 
time and duplicating effort they've already put in.  To be fair, they do 
have a bit of a point in that they have designed things to work a certain 
way, and put a lot of time into that structure.
* That said, SmartGWT has enough flexibility that you can somewhat pick and 
choose how you use it, including just using the UI aspects.  For example, 
there's a post in the SmartGWT forum that offers up a subclass of the 
DataSource feature that uses GWT-RPC for communication instead of 
SmartGWT's normal protocol.  I've got an application that uses SmartGWT for 
the client UI, GWT-RPC for communication with the server, and Play 1.2 
(with the Play-GWT module) as the backend, rather than servlets and stuff.
* SmartGWT does add a pretty significant bump to your compiled JS size, at 
least 500K or so.

Overall, I'd say if you have a number of UI pieces you need to use, 
SmartGWT's an option, but probably overkill if you just need one new widget.

On Sunday, February 16, 2014 6:43:09 PM UTC-5, new_newbie wrote:

 Hi

 I need a collapse/expand panel, and SmartGWT is providing an 
 out-of-the-box solution. However, the installation has to remove all the 
 rpc configuration that I have created for long time.

 *Adding Smart GWT Pro/Power/EE to an existing project*
 *Important:* If you have created a project using the GWT Plugin for 
 Eclipse or a similar tool, first get rid of unused resources typically 
 included in such starter projects:

- from your *moduleName*.gwt.xml file, remove imports of any GWT 
themes, leaving only the import of com.google.gwt.user.User. The 
proper imports to add for Smart GWT Pro/Power/EE are shown below.
- get rid of any sample servlets or GWT-RPC services (delete both 
web.xml entries and server-side source)

 I need a package that offers more GUI components and compatible with my 
 existing gwt project.
 Any recommendation?
 Is GWT-Ext a good choice?

 Thanks


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Using SuperDevMode with code splitting

2014-02-17 Thread Luis Fernando Planella Gonzalez
I've reported 
https://code.google.com/p/google-web-toolkit/issues/detail?id=8581 
regarding this.

It is very important for large projects to work with SuperDevMode.
So, if anyone has the same problem, please, start the issue.
Best regards, Luis


Em 15-02-2014 10:53, Thomas Broyer escreveu:



On Friday, February 14, 2014 8:50:22 PM UTC+1, Luis Fernando Planella 
Gonzalez wrote:


Well, after patching CompilerOptionsImpl in gwt-codeserver.jar to
return true in isRunAsyncEnabled(), the code server started
splitting the code, but source maps were only generated for the
initial fragment.
I don't know the internals, but shouldn't be terribly hard to have
the source maps for each split point, right? Or isn't it at all
supported by the compiler?
Compiling using -saveSource -saveSourceOutput dir together
with set-property name=compiler.useSourceMaps value=true /
and set-configuration-property name=includeSourceMapUrl
value=true / correctly saves all sources in the output dir and
sets the source map comments on each script...
Also, the CompilerOptionsImpl has this:
  @Override
  public boolean shouldSaveSource() {
return false; // handling this a different way
  }

This different way is explicitly not handling the runAsync case.
Is there a strong reason for this?


SuperDevMode loads the source code right form its classpath (the same 
way as when it compiles it) when sending it to the browser (see 
SourceHandler and ModuleState).
That said, copying the sources would 
solve https://code.google.com/p/google-web-toolkit/issues/detail?id=7615 
(but saveSource has only been added recently, and I suspect 
SuperDevMode just hasn't caught up yet)

--
You received this message because you are subscribed to a topic in the 
Google Groups Google Web Toolkit group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/google-web-toolkit/dFyODLo7QMo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
google-web-toolkit+unsubscr...@googlegroups.com.

To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Introduce SmartGWT for collapse/expand panel for with existing project

2014-02-17 Thread Leung
If I start my project from zero now, I may consider the advantage of SmartGWT. 
If I have developed features for a few years and all are using rpc, I don't 
think it deserve to change it.

Anyone shares the same thought?





On Monday, February 17, 2014 8:41 AM, mark.erik...@gmail.com 
mark.erik...@gmail.com wrote:
 
Some thoughts on using SmartGWT:

* The SmartGWT developers are VERY insistent that you should develop your 
application using their APIs and structure, as otherwise you are wasting time 
and duplicating effort they've already put in.  To be fair, they do have a 
bit of a point in that they have designed things to work a certain way, and put 
a lot of time into that structure.
* That said, SmartGWT has enough flexibility that you can somewhat pick and 
choose how you use it, including just using the UI aspects.  For example, 
there's a post in the SmartGWT forum that offers up a subclass of the 
DataSource feature that uses GWT-RPC for communication instead of SmartGWT's 
normal protocol.  I've got an application that uses SmartGWT for the client UI, 
GWT-RPC for communication with the server, and Play 1.2 (with the Play-GWT 
module) as the backend, rather than servlets and stuff.
* SmartGWT does add a pretty significant bump to your compiled JS size, at 
least 500K or so.

Overall, I'd say if you have a number of UI pieces you need to use, SmartGWT's 
an option, but probably overkill if you just need one new widget.

On Sunday, February 16, 2014 6:43:09 PM UTC-5, new_newbie wrote:
Hi


I need a collapse/expand panel, and SmartGWT is providing an out-of-the-box 
solution. However, the installation has to remove all the rpc configuration 
that I have created for long time.

Adding Smart GWT Pro/Power/EE to an existing project
Important: If you have created a project using the GWT Plugin for Eclipse or a 
similar tool, first get rid of unused resources typically included in such 
starter projects:
   * from your moduleName.gwt.xml file, remove imports of any GWT themes, 
 leaving only the import of com.google.gwt.user.User. The proper imports to 
 add for Smart GWT Pro/Power/EE are shown below.
   * get rid of any sample servlets or GWT-RPC services (delete both 
 web.xml entries and server-side source)I need a package that offers more GUI 
 components and compatible with my existing gwt project.
Any recommendation?
Is GWT-Ext a good choice?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


SubmitCompleteHandler not always called

2014-02-17 Thread Bruce Grant
I am interested in implementing the following using GWT...

   1. Create client-specific form variants in HTML, with shared/core field 
   definitions, but unique look and feel
   2. User logs in to front-end application, clicks a link and proper form 
   HTML is streamed from server (via RPC) 
   3. Html is added to a FormPanel
   4. User completes the HTML form and clicks submit 

When I use submit with POST and a servlet, the form is submitted as 
expected and my SubmitCompleteHandler is called. However, if there are 
other GWT widgets on the page or I move the HTML to a popup then the 
SubmitCompleteHandler does not get called. More specifically, if the 
injected HTML is not put into a FormPanel that is defined before any other 
widgets then the SubmitCompleteHandler does not work. I have read much 
about SubmitCompleteHandler but couldn't find anything specific to this 
issue.

So, I would like to either find a way to get this scenario to work, OR, 
find an alternative (e.g., serve up HTML forms in the same way, but extract 
data from HTML fragment client side [how?] and then submit to server via 
RPC).

Any ideas/thoughts are very much appreciated.

Many Thanks,
Bruce. 


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT Wrapper for Twitter Bootstrap v3!

2014-02-17 Thread Leung
Can you please provide a simple example for using Gwt-Bootstrap without using 
UiBinder?


Thanks




On Sunday, December 22, 2013 5:35 PM, Joshua Godi joshuag...@gmail.com wrote:
 
I just wanted to let the GWT world know about this GWT wrapper for Twitter 
Bootstrap v3. Almost feature complete too.

Check it out: https://github.com/gwtbootstrap3/gwtbootstrap3.

Thanks,
Joshua Godi
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: gwt 2.6 symlinks with jetty

2014-02-17 Thread Антон Печенко
I found solution at last.

It's needed to extend jetty launcher

public class JettyDvijokLauncher extends JettyLauncher {

@Override
public ServletContainer start(TreeLogger logger, int port, File appRootDir) 
throws 
Exception {
 ServletContainer sc = super.start(logger, port, appRootDir);
org.eclipse.jetty.util.resource.FileResource.setCheckAliases(false);
 return sc;
}
}

and then in run configuration: right click on Eclipse project - properties 
- run/debug settings - select configuration - edit - arguments tab - 
add to program arguments: -server full name of launcher class ( example: 
org.dvijok.launcher.JettyDvijokLauncher )



пятница, 14 февраля 2014 г., 22:23:10 UTC+6 пользователь Антон Печенко 
написал:

 Hi, all!

 With last update to gwt 2.6 I have headache tring to get jetty serve my 
 symlinked .html files. Now all of my projects had stopped to work. In 2.5 
 and earlier I edited included jetty config in gwt-dev.jar to 
 set org.mortbay.util.FileResource.checkAliases=false. Now it seems not 
 possible. So help me force jetty to see symlinks. Maybe it is possible to 
 pass some parameters to jetty somehow to do that.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Using SuperDevMode with code splitting

2014-02-17 Thread Klemens Schrage
Maybe there are technical reasons for this since trying to use SourceMaps 
with CodeSplitting in a production environment gave me debugging problems 
(see https://groups.google.com/forum/#!topic/google-web-toolkit/kUpx5pOkqJs
).

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.