When starting the gwt:run-codeserver some async classes wont be found

2013-11-06 Thread crojay78
Hi,

I am trying to start the superdev mode but it does not work. I does not 
find the Async files. I am starting the with this command

mvn gwt:run-codeserver -Dgwt=de.srs.pen.pdkonsole.HwrEditor

[INFO] Compiling module de.srs.pen.pdkonsole.HwrEditor
[INFO]Validating units:
[INFO]   Ignored 81 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see 
all errors.
[INFO]Finding entry point classes
[INFO]   [ERROR] Errors in 
'file:/K:/workspaces/mvn_pdix/HwrEditor/src/main/java/de/srs/pen/pdkonsole/client/HwrEditor.java'
[INFO]  [ERROR] Line 35: No source code is available for type 
de.srs.pen.pdkonsole.client.GreetingServiceAsync; did you forget to inherit 
a required module?
[INFO]  [ERROR] Line 37: No source code is available for type 
de.srs.pen.pdkonsole.client.Messages; did you forget to inherit a required 
module?
[ERROR] com.google.gwt.core.ext.UnableToCompleteException: (see previous 
log entries)
[INFO]   [ERROR] Unable to find type 
'de.srs.pen.pdkonsole.client.HwrEditor'
[ERROR] at 
com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:96)
[INFO]  [ERROR] Hint: Previous compiler errors may have made this 
type unavailable
[ERROR] at 
com.google.gwt.dev.codeserver.ModuleState.init(ModuleState.java:58)
[INFO]  [ERROR] Hint: Check the inheritance chain from your module; 
it may not be inheriting a required module or a module may not be adding 
its sourcepath entries properly
[ERROR] at 
com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:87)
[INFO] [ERROR] Compiler returned false
[ERROR] at 
com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:50)
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 6.725s
[INFO] Finished at: Wed Nov 06 16:20:40 CET 2013
[INFO] Final Memory: 19M/490M
[INFO] 



I can compile it with mvn gwt:compile and also the dev mode works with mvn 
gwt:run but I dont understand why superdev is not starting. I have read a 
lot of stuff concerning this topic but I could not solve it with these 
tips. Maybe someone here has a a good advice 
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.


Problems with super dev mode: Can't find any GWT Modules on this page

2013-10-17 Thread crojay78
Hi, 

i followed a lot of threads at stackoverflow and here in this group 
concerning the super dev mode. But it still does not work on my side. I 
have a multi module maven gwt project and want to use super dev with it. 

Actually it works to start the codeserver with the mvn gwt:run-codeserver 
and I can see the output

[INFO]
[INFO] The code server is ready.
[INFO] Next, visit: http://localhost:9876/


I started this page and bookmarked the links. After this I am starting my 
tomcat with eclipse wtp plugin where my application is running. Then I 
connect to this application my tomcat server. The app is available and 
works, but for my understanding it should be able to use there the dev on 
link. But this shows me only the message 

Can't find any GWT Modules on this page.


Any idea what the problem is?

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: Problems with super dev mode: Can't find any GWT Modules on this page

2013-10-17 Thread crojay78
Thanks for the reply, Yes I added it my app.gwt.xml

Am Donnerstag, 17. Oktober 2013 19:43:13 UTC+2 schrieb crojay78:

 Hi, 

 i followed a lot of threads at stackoverflow and here in this group 
 concerning the super dev mode. But it still does not work on my side. I 
 have a multi module maven gwt project and want to use super dev with it. 

 Actually it works to start the codeserver with the mvn gwt:run-codeserver 
 and I can see the output

 [INFO]
 [INFO] The code server is ready.
 [INFO] Next, visit: http://localhost:9876/


 I started this page and bookmarked the links. After this I am starting my 
 tomcat with eclipse wtp plugin where my application is running. Then I 
 connect to this application my tomcat server. The app is available and 
 works, but for my understanding it should be able to use there the dev on 
 link. But this shows me only the message 

 Can't find any GWT Modules on this page.


 Any idea what the problem is?

 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.


Is Sortable-Pageable table from incubator state of the art?

2010-11-12 Thread crojay78
Hi,

last time i needed a complex table in my app I found sortable table
from the incubator project, I was doing this GWT-Project starting with
1.7 till 2.0.1.

Now I'm going to my next GWT Project and I am curious if there is new
stuff from 2.1 concerning tables so that I can use the new stuff
instead of the incubator.

Does anyone can tell me if there is a good complex example for tables
in GWT 2.1

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



MVP Problem when implementing the presenter as singleton

2010-07-12 Thread crojay78
Hi,

I have a problem with my mvp project.

I do the binding in the constructor of each presenter, every presenter
is implemented as a singleton. I do that because otherwise I
discovered that the binding to the buttons, textboxes etc will be
established each time I use the presenter and so i had duplicated
actions. Now the bind method will be called only once like excpected
but when I click a button in my view there no action, its like the
binding to my buttons does not exist? Does anyone has an advise for
me? I do not see the issue? Or is it not possible to do that in gwt ?


Thanks
Best regards

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



RPC method will be called multiple times instead of one time in development mode????

2010-07-07 Thread crojay78
Hi,

I am observing a strange behaviour in the development mode of my
application. I have a RPC call which will store my data in the
background. But this method will be called 5 times on my server??? I
dont get it why this happens, I checked if I make this call anywhere
else in my code, it should be processed only one time.

Does anyone know why this happens and how I can fix it?

Here is the RPC call, which I am doing in the Appcontroller

eventBus.addHandler(StoreConfigurationEvent.TYPE, new
StoreConfigurationEventHandler() {

public void 
onStoreConfiguration(StoreConfigurationEvent event) {

InstanceMailAgentConfig config =
ConfigDataManager.getInstance().getImaConfig();

rpcService.storeConfigForForm(config, new 
AsyncCallbackBoolean()
{

public void onFailure(Throwable caught) 
{
GWT.log(storing of config 
failed, reason was  +
caught.getMessage());

}

public void onSuccess(Boolean result) {
if (result){
GWT.log(config for 
form  +
ConfigDataManager.getInstance().getImaConfig().getFormid() +
successully stored to database);
eventBus.fireEvent(new 
StatusChangedEvent(true));
}
else{
GWT.log(config form  +
ConfigDataManager.getInstance().getImaConfig().getFormid() +  not
stored to database, check logs... something went wrong);
eventBus.fireEvent(new 
StatusChangedEvent(false));
}

}
});

}
});



Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Good knowledge source for GWTEvent Handling?

2010-07-06 Thread crojay78
Hi,

actually I trying to understand in detail the GWTEvent Handling, does
anyone has good links to articles or something else helpful for that?
I

Thanks for your responses

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: SuggestBox question - is it possible to react on sub sequences of the words?

2010-07-06 Thread crojay78
Thanks for your reponses.

So now I know that it is addtionally effort to do it, so I can talk to
my project manager :-)
I just wanted to be sure, that there is not a easy/fast way to do it.

On 4 Jul., 10:30, Sebastian Rothbucher
sebastian.rothbuc...@clarities.de wrote:
 Hi, I guess you have to provide an own SuggestionOracle which searches
 a List with a search algorithm that is a s good as possible... - I did
 provide an own suggestion oracle for another occation and it works
 quite well...

 On Jul 2, 5:21 pm, crojay78 croja...@googlemail.com wrote:



  Hi,

  I am using the suggest box in my app. Now I'm searching for the
  possibility to change the filter. Is it possible to change the
  behaviour so that not only words which start with the input will be
  suggested also words where the input occurs anywhere in the name.

  If I have a list like this

  Jim
  Tim
  Mike
  Frank

  Now it just reacts if you hit the first character. But I want that if
  you type in im you would have Jim and Tim as suggestions

  Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



SuggestBox question - is it possible to react on sub sequences of the words?

2010-07-02 Thread crojay78
Hi,

I am using the suggest box in my app. Now I'm searching for the
possibility to change the filter. Is it possible to change the
behaviour so that not only words which start with the input will be
suggested also words where the input occurs anywhere in the name.

If I have a list like this

Jim
Tim
Mike
Frank

Now it just reacts if you hit the first character. But I want that if
you type in im you would have Jim and Tim as suggestions

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to show a load screen during rpc call?

2010-07-02 Thread crojay78
Hi,

I need to load a few things from my server after a user gives input.
Can somebody give an example how I can show a load screen as long as
the rpc is not finished? I structured the app in mvp style ... any
example would help me

Best regards

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Strange behaviour of development mode? After reload pages is empty

2010-05-07 Thread crojay78
Hi,

I have a simple mvp style gwt app, after creating my first view I
experienced a strange behaviour. After starting the development mode I
could see my widgets at the page in the firefox, but as soon as I make
a reload in the browser the widgets are gone and the page is empty.
Only when I restart firefox it works again. Does someone know the
reason for that?

I already deactivated the cache and the cookies in my browser.

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Can anyone provide a step by step maven + gwt mvp tutorial?

2010-05-05 Thread crojay78
Hi,

now that I have a bit experience with gwt in mvp style, I am looking
for an example for using maven as build tool for gwt, I found a few
posts here and on other sources but nothing made it really clear for
me. I have to say that I am new to maven.

I installed maven and also installed the maven gwt eclipse plugin. I
was able to create a project with the gwt archetype and configured it
for eclipse with mvn eclipse:eclipse (both form the command line). The
creation of a new maven project from inside eclipse does not work.


So this is my situation. My aim is that I can create in a fast way a
valid gwt project (this is possible now with the archetype). Then I
have to do the changes so that I have an MVP project. Or does an
archetype exist that creates an mvp like structure???


So from this point I do not know how to proceed??? Can somebody show
me how to work with this new project.

How can I build it and use the developement mode in eclipse?
Hopefully somebody can help me with that


Best Regards

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How do you show widgets on any place on the screen as you like?

2010-04-28 Thread crojay78
Hi,

I am using the MVP approach in my current GWT project. In a few views
it is necessary to show the user an confirmation dialog (for example
do really want to delete yes/no)

So now I do not know how to solve this in the best way. I created a
Generic Widget for these cases, so that I can use it at different
places in my project. But I am not sure if this is the best way to do
this. This Generic Widget contains a PopupPanel so that it can be
shown. My Question now, is it possible to solve this wihtout using a
popup?? Can somebody give me an advice?

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to repeat a function every X seconds??

2010-04-23 Thread crojay78
Hi,

can somebody tell me if it is possible to start a certain function in
the client repetitive? I want to store the configuration stuff of my
GWT-Project every minute, so that I can restore it if the browser
crashes or so


Thanks a lot

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to change style of a selected row in PagingScroll table?

2010-04-21 Thread crojay78
Hi,

can somebody tell me how I can change the style of a selected row in a
PagingScollTable?? I want to show the user which table row is actual
selected, therefore I need to change the style of this row.

Thanks for your help

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to retrieve the current row in CellHighlightEvent?

2010-04-21 Thread crojay78
Hi,

I discovered that there is an event for highlighting a row

pagingScrollTable.getDataTable().addCellHighlightHandler(new
CellHighlightHandler() {

public void onCellHighlight(CellHighlightEvent event) {
GWT.log(highlight);
}
});

I would like to change the Style of this row when the event is
acitvated, but I do not know how to retrieve the row? Does somebody
know that?

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to retrieve the current row in CellHighlightEvent?

2010-04-21 Thread crojay78
Hi,

I found it, but now I need to know how I can change the styleclass??

Here is my solution how to change the style in the CellHighlightEvent

int rowIndex = event.getValue().getRowIndex();
GWT.log(highlight  + event.getSource() +  row  + rowIndex);
pagingScrollTable.getDataTable().getRowFormatter().setStyleName(rowIndex,
bla);



On 21 Apr., 10:35, crojay78 croja...@googlemail.com wrote:
 Hi,

 I discovered that there is an event for highlighting a row

 pagingScrollTable.getDataTable().addCellHighlightHandler(new
 CellHighlightHandler() {

                         public void onCellHighlight(CellHighlightEvent event) 
 {
                                 GWT.log(highlight);
                         }
                 });

 I would like to change the Style of this row when the event is
 acitvated, but I do not know how to retrieve the row? Does somebody
 know that?

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.To post to this group, send email 
 togoogle-web-tool...@googlegroups.com.to unsubscribe from this group, send 
 email togoogle-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to add an image in a row of a PagingScrollTable

2010-04-19 Thread crojay78
Hi,

I implemented a PagingScrollTable in my project (I found a very good
example here http://zenoconsulting.wikidot.com/blog:17) but now I have
a problem which I do not know how to solve.

My table is working as expected, but I want to add a new column which
contains an delete icon, so that I can delete a table row. Does
somebody know how to do that?

Thanks for your help

Here the code of my Table:


public class ReceiverIfTrueTable extends Composite{
private static final int DEFAULT_PAGE_SIZE = 10;
private CachedTableModelReceiverIfTrueWrapper cachedTableModel =
null;
private DefaultTableDefinitionReceiverIfTrueWrapper tableDefinition
= null;
private PagingScrollTableReceiverIfTrueWrapper pagingScrollTable =
null;
private Label countLabel = new Label(There are no messages to
display.);
private DataSourceTableModel tableModel = null;

private VerticalPanel vPanel = new VerticalPanel();
private FlexTable flexTable = new FlexTable();
private Button addNewButton = new Button(add new);


public ReceiverIfTrueTable() {
pagingScrollTable = createScrollTable();
pagingScrollTable.setHeight(100%);
PagingOptions pagingOptions = new 
PagingOptions(pagingScrollTable);

flexTable.setWidget(0, 0, pagingScrollTable);
flexTable.getFlexCellFormatter().setColSpan(0, 0, 2);
flexTable.setWidget(1, 0, pagingOptions);
flexTable.setWidget(2, 0, addNewButton);


countLabel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
vPanel.add(countLabel);
vPanel.add(flexTable);

vPanel.setWidth(100%);
flexTable.setWidth(100%);
super.initWidget(vPanel);
}

private PagingScrollTableReceiverIfTrueWrapper createScrollTable()
{
tableModel = new DataSourceTableModel();
cachedTableModel = createCachedTableModel(tableModel);
TableDefinitionReceiverIfTrueWrapper tableDef =
createTableDefinition();

PagingScrollTableReceiverIfTrueWrapper pagingScrollTable = new
PagingScrollTableReceiverIfTrueWrapper(cachedTableModel, tableDef);

pagingScrollTable.setPageSize(DEFAULT_PAGE_SIZE);
pagingScrollTable.setScrollPolicy(ScrollPolicy.DISABLED);
pagingScrollTable.setEmptyTableWidget(new HTML(There is no 
data to
display));

pagingScrollTable.getDataTable().setSelectionPolicy(SelectionPolicy.ONE_ROW);

FixedWidthGridBulkRendererReceiverIfTrueWrapper bulkRenderer 
= new
FixedWidthGridBulkRendererReceiverIfTrueWrapper(pagingScrollTable.getDataTable(),
pagingScrollTable);
pagingScrollTable.setBulkRenderer(bulkRenderer);

// setup the formatting
pagingScrollTable.setCellPadding(3);
pagingScrollTable.setCellSpacing(0);

pagingScrollTable.setResizePolicy(ScrollTable.ResizePolicy.FILL_WIDTH);

pagingScrollTable.setSortPolicy(SortPolicy.SINGLE_CELL);

return pagingScrollTable;
}

private TableDefinitionReceiverIfTrueWrapper
createTableDefinition() {
tableDefinition = new
DefaultTableDefinitionReceiverIfTrueWrapper();

// set the row renderer
final String[] rowColors = new String[] { #DD, EE };
tableDefinition.setRowRenderer(new
DefaultRowRendererReceiverIfTrueWrapper(rowColors));
//NumberId
{
NumberColumnDefinition columnDef = new 
NumberColumnDefinition();
columnDef.setColumnSortable(true);
columnDef.setColumnTruncatable(false);
columnDef.setPreferredColumnWidth(35);
columnDef.setHeader(0, new HTML(Number));
columnDef.setHeaderCount(1);
columnDef.setHeaderTruncatable(false);
tableDefinition.addColumnDefinition(columnDef);
}


//Condition
{
ConditionColumnDefinition columnDef = new
ConditionColumnDefinition();
columnDef.setColumnSortable(true);
columnDef.setColumnTruncatable(false);
columnDef.setPreferredColumnWidth(35);
columnDef.setHeader(0, new HTML(Condition));
columnDef.setHeaderCount(1);
columnDef.setHeaderTruncatable(false);
tableDefinition.addColumnDefinition(columnDef);
}

//ReceiverId
{
ReceiversColumnDefinition columnDef = new
ReceiversColumnDefinition();

Problem with Radiobuttons

2010-04-12 Thread crojay78
Hi,

I have a problem with radiobuttons, maybe I do not understand
everything correctly because I don't see a solution.

I have three rows of Radiobuttons (each row 2 radiobutton), each row
is a group. Now I need to fire an event when something in these lines
has changed. For example when in row 2 the value changed from enabled
to disabled.

I am using the MVP approach, and now I dont know how I can trigger
this in my presenter. I tried to add an HasBlurMethod in my Display,
but then I do not know how to solve this in the view. Because there
are two radiobuttons on each group, which one them should I use in the
HasBlurMethod...

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: PagingScrollTable running example please???

2010-03-30 Thread crojay78
Hi,

thanks for the answer, it really helped.

Also I found a running example project here

http://zenoconsulting.wikidot.com/blog:17/

In the comments he explained me how to retrieve by using maven

On 29 Mrz., 18:45, Felipe felipe.andres.p...@gmail.com wrote:
 HI, Here's an example :

 publicMyClass implement EntryPoint , PageLoadHandler {
 

         public void onModuleLoad() {

             tableModel = new TestTableModel();
             cachedTableModel = new CachedTableModelTestModel(tableModel);
             cachedTableModel.setPreCachedRowCount(100);
             cachedTableModel.setPostCachedRowCount(100);

             pagingScrollTable = new
 PagingScrollTableTestModel(cachedTableModel, data, header ,
 getDefTable () );
             pagingScrollTable.setPageSize(3);
             pagingScrollTable.setEmptyTableWidget(new HTML (No hay nada para
 ver));
             pagingScrollTable.setWidth(400px);
             pagingScrollTable.setHeight(200px);
             pagingScrollTable.setFooterGenerated(true);
             pagingScrollTable.setCellSpacing(0);

 pagingScrollTable.setResizePolicy(ScrollTable.ResizePolicy.FILL_WIDTH);

           FixedWidthGridBulkRendererTestModel bulkRenderer = new
 FixedWidthGridBulkRendererTestModel(pagingScrollTable.getDataTable(),

 pagingScrollTable);
           pagingScrollTable.setBulkRenderer(bulkRenderer);
           pagingScrollTable.addPageLoadHandler(this);

            PagingOptions p = new PagingOptions(pagingScrollTable);
            RootPanel.get().add( pagingScrollTable );
            RootPanel.get().add( p );

       }
 
         public void onPageLoad(PageLoadEvent event) {

                 cachedTableModel.clearCache();
                 cachedTableModel.setRowCount(tableModel.getRowCount()); /* 
 cantidad
 de filas dinamicas */
                 pagingScrollTable.redraw();

         }

 }

 not implemented here: TableModel ( get data from the source ),
 tableDefinition ( how to display data) ,

 I hope helped you !
 saludos.

 On 29 mar, 11:07, crojay78 croja...@googlemail.com wrote:



  Hi,

  I am searching for a running example for PagingScrollTable from
  incubator project. Can somebody provide me something, for me its
  always easier to understand the stuff by playing a bit with the code.

  I found a maven example but I could import it to eclipse so that it
  works.

  Thanks a lot

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



MVP and custom widgets

2010-03-30 Thread crojay78
Hi,

I am using the MVP approach in my project and just created a new
TableWidget which uses the PagingScrollTable. My TableWidgets is
working as expected but only without communication to the presenter of
tthe view. My problem is how can process clicks on the table of my
CustomWidget in the presenter?

I have a RowSelectionHandler which retrieves the id of the clicked
row, now the presenter has to know about this because it has to create
an event on the eventBus. Can somebody explain me how this should
work?

An example would be great

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



PagingScrollTable running example please???

2010-03-29 Thread crojay78
Hi,

I am searching for a running example for PagingScrollTable from
incubator project. Can somebody provide me something, for me its
always easier to understand the stuff by playing a bit with the code.

I found a maven example but I could import it to eclipse so that it
works.


Thanks a lot

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Incubator scrolltable

2010-03-29 Thread crojay78
Hi,

i am also interested in the source code of this, it's easier to
understand the stuff...

Hopefully somebody provide it...

Thanks

On 21 Mrz., 21:31, Kwame iweg...@gmail.com wrote:
 Does anyone have the full source code for this paging scroll table
 demo:http://collectionofdemos.appspot.com/demo/com.google.gwt.gen2.demo.sc...

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JAXB compatibility with GWT 2.0, any news?

2010-03-19 Thread crojay78
Hi,

jaxb and gwt 2.0 working good togehter. I am generating Java-Files
from my XML-Schema, I use these Java-Classes in my GWT-APP as transfer
objects. One thing you have to do in JAXB Configuration, you have to
configure a binding so that the output of the java classes will
implements the serializable interface.

Best Regards

On 16 Mrz., 19:53, Sripathi Krishnan sripathikrish...@gmail.com
wrote:
 I haven't tried it recently, but JAXB generated classes should work.
 Earlier, the GWT compiler choked on annotations. It now ignores these
 annotations when it compiles java into js. You would need to keep the jaxb
 jars in your compile classpath, but that should be all that you need to do.

 Could you try compiling jaxb classes and let us know? If they fail, some
 stack traces/error messages would help in debugging the problem.

 --Sri

 On 16 March 2010 22:08, Fabiano ftar...@gmail.com wrote:



  On Mar 16, 3:11 pm, crojay78 croja...@googlemail.com wrote:
   Hi,

   I read a few posts that some people had problems with the integration
   of gwt with jaxb generated files. I want to use generated files from
   jaxb to use as shared objects in gwt. Is there anything new with gwt
   2.0 ? Can I use it without problems or is there a good workaround how
   to get it working?

   Thanks a lot

  Hi,
  just for curiosity..
  do you need shared objects between gwt javascript and server side
  java , or shared objects between gwt javascript and native javascripts
  on the browser's side?

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group. To post to this group, send email 
  togoogle-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email 
  togoogle-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



JAXB compatibility with GWT 2.0, any news?

2010-03-16 Thread crojay78
Hi,

I read a few posts that some people had problems with the integration
of gwt with jaxb generated files. I want to use generated files from
jaxb to use as shared objects in gwt. Is there anything new with gwt
2.0 ? Can I use it without problems or is there a good workaround how
to get it working?


Thanks a lot

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Working Example of TabLayoutPanel with UIBinder?

2010-03-03 Thread crojay78

Hi,

great now it works I updated to Version 2.0.3.

Does anyone has a good example or tutorial for using TabLayoutpanel
with uibinder. I do not know how i can fill the different tabs with
content??

On 2 Mrz., 16:29, Paul Stockley pstockl...@gmail.com wrote:
 You need to make sure you are using the latest version of GWT (at
 least 2.02 I think) because the styles where missing from prior
 versions. It works fine for me in UIBinder. Also make BarHeight
 bigger, say 20px. You don't really need the size set on the header for
 it to work.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



App works in ff and chrome but not in ie8

2010-02-09 Thread crojay78
Hi,

my app is running in chrome and ff as expected but in ie8 nothing will
be shown, my two div's will not be filled.
I am using a flextable to show user lists and also I use a few times
the setstylename method on the widgets. I read that a few people has
also problems with flextable in ie8 but I could not find a solition
for that.

Does anybody knows how to solve this issue?

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



struts integration problem

2010-02-08 Thread crojay78
Hi,

I was able to put my client code stuff of my gwt-app into my existing
Struts 1.2.x . So far so good, but now I am stuck on the integration
of my rpc-services into my struts app. I created a jar file of the
server class files and put it into my struts app also i configured the
servlet in the web.xml. I can call the configured url pattern of the
servlet and it will not produce an error in the logs so i guess its
valid configured. My problem is that my gwt client area of the struts
app does not use the rpc's, normally it should load user properties
from the databaseDid I miss an additionally configuration which is
necessary so that the gwt stuff works together?

Hope somebody can help me!

Best Regards

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Sample Application which shows how to use GWT inside a Struts 1.2 App

2010-02-05 Thread crojay78
Hi,

does anyone has a sample application where I can see how to use GWT
screens in a struts application? I was looking for this but without
success. It would be nice if somebody can provide something or maybe
has the mood to make such a sample app.

I guess a lot of people would be greatful or at least I am :-)

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



CSS does not reload

2010-02-02 Thread crojay78
Hi,

I have the problem that my changes on the CSS of my project will not
be used in the development mode. It does not take the actual css which
lies in the war folder. Does anybody know where the problem might be?

Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: CSS does not reload

2010-02-02 Thread crojay78
Hi,

thanks for your response. Firebug does not show any errror on the CSS.
But my problem is, that the file wich is lying in the war folder will
not be used in the development mode I do not know why? I restarted
eclipse, refreshed the project, rebuilded the project  but the css
which is lying in the war folder will be ignored, and instead a older
version of my css will be used


On 2 Feb., 14:40, Sean slough...@gmail.com wrote:
 Did you use FireBug to verify which CSS is being loaded? Make sure
 there are no errors in your CSS, that will stop your CSS after the
 error from being loaded.

 See if it's a caching problem by hitting CTRL+F5 to force a full re-
 load of all the website's data.

 On Feb 2, 8:32 am, crojay78 croja...@googlemail.com wrote:



  Hi,

  I have the problem that my changes on the CSS of my project will not
  be used in the development mode. It does not take the actual css which
  lies in the war folder. Does anybody know where the problem might be?

  Thanks

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.