Re: Running Hupa in Development Mode

2014-02-18 Thread Harry Lin

Hi Manuel,
I download Hupa from http://james.apache.org/hupa/ ,
The version is 0.0.2.


Manuel Carrasco於 2014年2月17日星期一UTC+8上午3時58分55秒寫道:
>
> Which version have you checked out?
>
>
> On Thu, Feb 13, 2014 at 11:43 AM, Harry Lin 
> > wrote:
>
>> In my attempt to run hupa in Development  mode I receive the following 
>> error.  
>>
>> The application was stuck in loading, although it can get into the Mail 
>> page
>> (I can see the number of mails in INBOX and Trash...But the loading 
>> message showing in the middle)
>>  
>>
>> Could anyone provide some direction as to what may be going on here?
>>
>>
>>  log start here
>> Loading modules
>>org.apache.hupa.HupaProd
>>   Validating  tags for module 'hupa'
>>  [WARN] Module declares a servlet class 
>> 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml 
>> has no corresponding declaration; please add the following lines to your 
>> web.xml:
>> 
>>   remoteLoggingService
>>   
>> com.google.gwt.gen2.logging.server.RemoteLoggingService
>> 
>> 
>>   remoteLoggingService
>>   /hupa/logging
>> 
>>org.apache.hupa.Hupa
>>   Validating  tags for module 'hupa'
>>  [WARN] Module declares a servlet class 
>> 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml 
>> has no corresponding declaration; please add the following lines to your 
>> web.xml:
>> 
>>   remoteLoggingService
>>   
>> com.google.gwt.gen2.logging.server.RemoteLoggingService
>> 
>> 
>>   remoteLoggingService
>>   /hupa/logging
>> 
>> [WARN] Server class 'org.apache.hupa.server.mock.MockConstants' could not 
>> be found in the web app, but was found on the system classpath
>>[WARN] Adding classpath entry 
>> 'file:/D:/Harry.Lin/java/workspace/hupa-parent-0.0.2/mock/target/classes/' 
>> to the web app classpath for this session
>> 0[main] INFO  HupaLogger  - >> Started HUPA with configuration -> 
>> {IMAPS=true, SMTPAuth=true, IMAPServerPort=993, IMAPServerAddress=
>> imap.gmail.com, TrustStore=, SMTPServerPort=465, 
>> DefaultTrashFolder=[Gmail]/Trash, SMTPServerAddress=smtp.gmail.com, 
>> DefaultInboxFolder=INBOX, SMTPS=true, DefaultDraftsFolder=[Gmail]/Drafts, 
>> PostFetchMessageCount=0, DefaultSentFolder=[Gmail]/Sent, 
>> IMAPConnectionPoolSize=4, IMAPConnectionPoolTimeout=30, 
>> TrustStorePassword=, SessionDebug=true}
>> 60   [main] INFO  gwtupload.server.UploadServlet  - UPLOAD-SERVLET init: 
>> maxSize=10485760, slowUploads=null, isAppEngine=false
>> 61   [main] INFO  gwtupload.server.UploadServlet  - UPLOAD-ACTION init: 
>> removeSessionFiles=false, removeData=false
>> [WARN] Server class 'junit.framework.AssertionFailedError' could not be 
>> found in the web app, but was found on the system classpath
>>[WARN] Adding classpath entry 
>> 'file:/C:/Users/kirin/.m2/repository/junit/junit/4.9/junit-4.9.jar' to the 
>> web app classpath for this session
>> 111461 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: executing: 
>> CheckSession
>> 111475 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: finished: 
>> CheckSession
>> 133238 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: executing: 
>> LoginUser
>> 136221 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: finished: 
>> LoginUser
>> java.lang.RuntimeException
>> at 
>> org.apache.hupa.client.CachingDispatchAsync.executeOneRequestPerAction(CachingDispatchAsync.java:87)
>> at 
>> org.apache.hupa.client.CachingDispatchAsync.execute(CachingDispatchAsync.java:67)
>> at 
>> org.apache.hupa.client.mvp.MessageTableModel.requestRows(MessageTableModel.java:120)
>> at 
>> com.google.gwt.gen2.table.client.CachedTableModel.requestRows(CachedTableModel.java:321)
>> at 
>> com.google.gwt.gen2.table.client.PagingScrollTable.gotoPage(PagingScrollTable.java:732)
>> at 
>> org.apache.hupa.client.mvp.IMAPMessageListView.reset(IMAPMessageListView.java:477)
>> at 
>> org.apache.hupa.client.mvp.IMAPMessageListPresenter.revealDisplay(IMAPMessageListPresenter.java:421)
>> at 
>> org.apache.hupa.client.mvp.MainPresenter.showMessageTable(MainPresenter.java:233)
>> at 
>> org.apache.hupa.client.mvp.MainPresenter.access$5(MainPresenter.java:227)
>> at 
>> org.apache.hupa.client.mvp.MainPresenter$23.onLogin(MainPresenter.java:484)
>> at 
>> org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:46)
>> at 
>> org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:1)
>> at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
>> at 
>> com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
>> at 
>> com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
>> at 
>> com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
>> at 
>> com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
>> at 
>> org.apache.hupa.client.mvp.LoginPresenter$1.callback(LoginPresenter.ja

Passing data between Views

2014-02-18 Thread Glyndwr Bartlett


I am trying to pass the login details from the login view to the next view. 
I found a tutorial and followed it however I am stuck. I am able to store 
the login data on the server side but an unable to retrieve it.
The server side code is:
 
private ViewData viewData = new ViewData();

public ViewData setViewData(String accountId, String accountLevel, StringymId
) {

System.out.println("accountId = " + accountId);
ViewData viewData = new ViewData();

viewData.setaccountId(accountId);
viewData.setaccountLevel(accountLevel);
viewData.setymId(ymId);

System.out.println("setViewData viewData.getaccountId() = " + viewData.
getaccountId());

return null;
}

public ViewData getViewData(String accountId, String accountLevel, StringymId
) {

//viewData = new ViewData(viewData.getaccountId(), 
viewData.getaccountLevel(), viewData.getymId());
viewData = new ViewData();

System.out.println("getViewData viewData.getaccountId() = " + viewData.
getaccountId());
System.out.println("getViewData accountId = " + accountId);

return viewData;

}

public ViewData getViewData() {
return viewData;
}
 

getViewData is called by:
verticalPanel.addAttachHandler(new Handler() {
public void onAttachOrDetach(AttachEvent event) {
//On load of page get the Account Level and ID.
Window.alert("SelectPersonView vertical panel attached.");
AsyncCallback callback = new ViewDataHandler(SelectPersonView.this);
rpc.getViewData(null, null, null, callback); 

When I call setViewData the two System.out.println display 7 and 7 which is 
correct.

When I call getViewData the two System.out.println display null and null is 
returned to the calling view.

}
});

class ViewDataHandler implements AsyncCallback {

SelectPersonView view;

public ViewDataHandler(SelectPersonView view) {
this.view = view;
}

public void onFailure(Throwable ex) {
Window.alert("RPC call failed.");
}
public void onSuccess(ViewData result) {
//Store the view data
ViewData viewData = result;
accountId = viewData.getaccountId();
accountLevel = viewData.getaccountLevel();
ymId = viewData.getymId();

Window.alert("accountId = " + accountId + " accountLevel = " 
+accountLevel 
+ " ymId = " + ymId);
}
}
 
The asynchronous version of the interface is:
 
//View data

public void setViewData(String accountId, String accountLevel, String ymId, 
AsyncCallback callback);
public void getViewData(String accountId, String accountLevel, String ymId, 
AsyncCallback callback);
 

The class that represent the data model is:
package org.AwardTracker.client;

import java.io.Serializable;

public class ViewData implements Serializable {
private static final long serialVersionUID = 1L;

private String accountId;
private String accountLevel;
private String ymId;

//@SuppressWarnings("unused")
public ViewData() {
//just here because GWT wants it.
}
//  public ViewData(String accountId, String accountLevel, String ymId) {
//  this.accountId = accountId;
//  this.accountLevel = accountLevel;
//  this.ymId = ymId;
//  }

public String getaccountId() {
return accountId;
}
public void setaccountId(String accountId) {
this.accountId = accountId;
}

public String getaccountLevel() {
return accountLevel;
}
public void setaccountLevel(String accountLevel) {
this.accountLevel = accountLevel;
}

public String getymId() {
return ymId;
}
public void setymId(String ymId) {
this.ymId = ymId;
}

}
 
 
As stated above, when I call setViewData the two System.out.println display 
7 and 7 which is correct. However, is the code correct (i.e., is the data 
actually being stored)?

If not then how should I code to store the data from the Login view to be 
retrieved by the next view?

If the code is correct and the data is stored then what changes do I need 
to make to retrieve the data using getViewData by the calling view.

I am doing this for my Scout Group and have been working on the project for 
over 12 months and this is the final hurdle I need to complete the project. 
So your help would be greatly appreciated.

 

Regards,

 

Glyn

 
 
 

-- 
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.


Audio Streaming on iOS

2014-02-18 Thread Tim Hill
Hi all,

I am investigating putting Text To Speak functionality into a site I am 
developing.I have found a free site to do the conversion 
(e.g. http://speechutil.com/convert/wav?text=some+text)that streams the 
result back, and it is all working fine APART from on iOS devices - I am 
passing in the URL to the audio object via addSource. 

>From doing some research it seems that audio support on mobile, 
specifically iOS (Chrome and Safari), is quite patchy, but my approach is 
working on Android devices. From what I can see, when on iOS, the browser 
just doesn't appear to try and fetch the stream/submit the http request as 
the onReadyState never changes.

So, I was just wondering if there are any known workarounds for this, or do 
I just need to accept that audio support on iOS is broken?

Cheers

Tim

-- 
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.


CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?

2014-02-18 Thread GWTter
Hi all,

Let me just go with an example right off the bat.

Let's say I have the following:

=== Pseudocode ===

SuperCssResource: This is injected onModuleLoad before anything else
.genButton{
color: black;
}

Widget1 consists of:
--- css ---
MyCssResource:
.myButton{
color: red;
}

--- html ---


Widget2 consists of:
--- css ---
XCssResource extends SuperCssResource:
... rules that use classes from SuperCssResource

--- html ---
...elements

My problem is that if I display Widget1 first and then display Widget2 then 
the button in Widget1 will have a color of black instead of red.

I know that this is expected behavior (GWT will merge the stylesheets 
together) since inheritance is basically the cssresource equivalent of CSS 
@import 
but I thought since this was GWT maybe there was a way to use inheritance 
in the sense that the inherited stylesheet would only be injected if
not injected already. Is this currently possible? or could it be done with 
like a @Require annotation on the extending interface which would indicate
that merging of the super stylesheet should not be done but rather a check 
would be made to see if it already exists and if not to inject it.
This would easily resolve the specificity overriding issue in the example 
when it's not the desired behavior.

I know I could also get around this by importing with a prefix, however I 
still don't like the idea of essentially reinjecting the same styles.

Any thoughts? 

Much thanks in advance.

-- 
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 RC1 DevMode log4j fail?

2014-02-18 Thread Dennis R.
Ok Thanks for your help then I will keep an eye on this.

Am Dienstag, 18. Februar 2014 16:18:58 UTC+1 schrieb Thomas Broyer:
>
>
>
> On Tuesday, February 18, 2014 3:36:00 PM UTC+1, Dennis R. wrote:
>>
>> Ok I understand why splitting client and server side might be a good idea 
>> and we will check if this is applicable for us and worth the time 
>> investment.
>>
>> Except the Warnings/Errors in DevMode do we have to fear anything else 
>> when we keep up our approach with GWT 2.6?
>>
>
> Hopefully not (fingers crossed)
>  
>
>> Why does this only come up with 2.6 and not with 2.5.1?
>>
>
> Jetty was updated from 6 to 8, and it incurred changes in the way classes 
> are loaded.
>

-- 
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 RC1 DevMode log4j fail?

2014-02-18 Thread Thomas Broyer


On Tuesday, February 18, 2014 3:36:00 PM UTC+1, Dennis R. wrote:
>
> Ok I understand why splitting client and server side might be a good idea 
> and we will check if this is applicable for us and worth the time 
> investment.
>
> Except the Warnings/Errors in DevMode do we have to fear anything else 
> when we keep up our approach with GWT 2.6?
>

Hopefully not (fingers crossed)
 

> Why does this only come up with 2.6 and not with 2.5.1?
>

Jetty was updated from 6 to 8, and it incurred changes in the way classes 
are loaded.

-- 
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 RC1 DevMode log4j fail?

2014-02-18 Thread Dennis R.
Ok I understand why splitting client and server side might be a good idea 
and we will check if this is applicable for us and worth the time 
investment.

Except the Warnings/Errors in DevMode do we have to fear anything else when 
we keep up our approach with GWT 2.6? Why does this only come up with 2.6 
and not with 2.5.1?

Am Dienstag, 18. Februar 2014 15:22:32 UTC+1 schrieb Thomas Broyer:
>
>
>
> On Tuesday, February 18, 2014 2:15:26 PM UTC+1, Dennis R. wrote:
>>
>> Hi,
>>
>> we got a similiar problem in our project. At startup in DevMode we get:
>>
>> log4j:WARN No appenders could be found for logger 
>> (org.eclipse.jetty.util.log).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
>> more in
>>
>> And after that lots of errors like:
>>
>> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable 
>> to a "org.apache.log4j.Appender" variable.
>> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
>> log4j:ERROR [sun.misc.Launcher$AppClassLoader@566d0085] whereas object of 
>> type 
>> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by 
>> [WebAppClassLoader=MyPortal (0.1)@61c42ccd].
>>
>> This is only in DevMode and it seems to have no other effect then to be a 
>> little annoying but this was not the case with 2.5.1 so there seems to be 
>> something changed with the startup. This is why we don't know if it's safe 
>> for us to upgrade to 2.6.0 or not.
>>
>> I tried to move the log4j dependencie in Eclipse runconfig from User to 
>> Bootstrap but this seems not possible because we are using maven 
>> dependencies and our structure there now looks like:
>>
>>
>> *Bootstrap Entries*- JRE  System Library
>> User Entries
>> - main/src
>> - main/resource
>> - test/src
>> - test/resource 
>> - *dependency*/main/src
>> ...
>> ...
>> + MyPortal (default classpath)
>> --- MyPortal  (folder icon)
>> --- Maven Dependencies (libs icon)
>> --- GWT SDK 2.6 (libs icon)
>>
>> In this structure everything under +MyPortal is not openable. The 
>> dependency projects are also provided via the pom.xml as dependency and one 
>> of it is our domain model which should not be on the client. But if I 
>> understand the information in this thread correctly everything under "User 
>> Entries" is on the clients classpath instead (or both?) on the webapps 
>> classpath?
>>
>
> Yes.
> (the "instead of" bit depends on your project; I keep thinking that if you 
> mix client-side and server-side code in the same Maven module, then you're 
> doing it wrong; Maven wants you to modularize your project, and it really 
> works great; see https://github.com/tbroyer/gwt-maven-archetypes for 
> examples)
>  
>
>> Can you please provide us some information about the impact of this 
>> change in our case or how to fix this issue?
>>
>
> If you insist using a single Maven module (I've heard it works better with 
> Google App Engine), then run "mvn package" once (and then again each time 
> you change your dependencies) so the server-side dependencies are copied 
> into target/…/WEB-INF/lib.
> See 
> http://web.archive.org/web/20130619170526/https://developers.google.com/eclipse/docs/faq#gwt_with_maven
>

-- 
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 RC1 DevMode log4j fail?

2014-02-18 Thread Thomas Broyer


On Tuesday, February 18, 2014 2:15:26 PM UTC+1, Dennis R. wrote:
>
> Hi,
>
> we got a similiar problem in our project. At startup in DevMode we get:
>
> log4j:WARN No appenders could be found for logger 
> (org.eclipse.jetty.util.log).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
> more in
>
> And after that lots of errors like:
>
> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable 
> to a "org.apache.log4j.Appender" variable.
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
> log4j:ERROR [sun.misc.Launcher$AppClassLoader@566d0085] whereas object of 
> type 
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by 
> [WebAppClassLoader=MyPortal (0.1)@61c42ccd].
>
> This is only in DevMode and it seems to have no other effect then to be a 
> little annoying but this was not the case with 2.5.1 so there seems to be 
> something changed with the startup. This is why we don't know if it's safe 
> for us to upgrade to 2.6.0 or not.
>
> I tried to move the log4j dependencie in Eclipse runconfig from User to 
> Bootstrap but this seems not possible because we are using maven 
> dependencies and our structure there now looks like:
>
>
> *Bootstrap Entries*- JRE  System Library
> User Entries
> - main/src
> - main/resource
> - test/src
> - test/resource 
> - *dependency*/main/src
> ...
> ...
> + MyPortal (default classpath)
> --- MyPortal  (folder icon)
> --- Maven Dependencies (libs icon)
> --- GWT SDK 2.6 (libs icon)
>
> In this structure everything under +MyPortal is not openable. The 
> dependency projects are also provided via the pom.xml as dependency and one 
> of it is our domain model which should not be on the client. But if I 
> understand the information in this thread correctly everything under "User 
> Entries" is on the clients classpath instead (or both?) on the webapps 
> classpath?
>

Yes.
(the "instead of" bit depends on your project; I keep thinking that if you 
mix client-side and server-side code in the same Maven module, then you're 
doing it wrong; Maven wants you to modularize your project, and it really 
works great; see https://github.com/tbroyer/gwt-maven-archetypes for 
examples)
 

> Can you please provide us some information about the impact of this change 
> in our case or how to fix this issue?
>

If you insist using a single Maven module (I've heard it works better with 
Google App Engine), then run "mvn package" once (and then again each time 
you change your dependencies) so the server-side dependencies are copied 
into target/…/WEB-INF/lib.
See 
http://web.archive.org/web/20130619170526/https://developers.google.com/eclipse/docs/faq#gwt_with_maven

-- 
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 RC1 DevMode log4j fail?

2014-02-18 Thread Dennis R.
Hi,

we got a similiar problem in our project. At startup in DevMode we get:

log4j:WARN No appenders could be found for logger 
(org.eclipse.jetty.util.log).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more in

And after that lots of errors like:

log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable 
to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
log4j:ERROR [sun.misc.Launcher$AppClassLoader@566d0085] whereas object of 
type 
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by 
[WebAppClassLoader=MyPortal (0.1)@61c42ccd].

This is only in DevMode and it seems to have no other effect then to be a 
little annoying but this was not the case with 2.5.1 so there seems to be 
something changed with the startup. This is why we don't know if it's safe 
for us to upgrade to 2.6.0 or not.

I tried to move the log4j dependencie in Eclipse runconfig from User to 
Bootstrap but this seems not possible because we are using maven 
dependencies and our structure there now looks like:


*Bootstrap Entries*- JRE  System Library
User Entries
- main/src
- main/resource
- test/src
- test/resource 
- *dependency*/main/src
...
...
+ MyPortal (default classpath)
--- MyPortal  (folder icon)
--- Maven Dependencies (libs icon)
--- GWT SDK 2.6 (libs icon)

In this structure everything under +MyPortal is not openable. The 
dependency projects are also provided via the pom.xml as dependency and one 
of it is our domain model which should not be on the client. But if I 
understand the information in this thread correctly everything under "User 
Entries" is on the clients classpath instead (or both?) on the webapps 
classpath?

Can you please provide us some information about the impact of this change 
in our case or how to fix this issue?

Am Dienstag, 19. November 2013 16:06:38 UTC+1 schrieb Thomas Broyer:
>
> Hmm, you have way too many things in your classpath: server-side 
> dependencies need not (and should not) be in the DevMode classpath, only in 
> the war's WEB-INF/lib.
> I'd try that first (trimming the classpath, to make sure Log4J, Spring et 
> al are only present in, and loaded from, the web context classloader).
>
> On Tuesday, November 19, 2013 12:00:21 PM UTC+1, pierre wrote:
>>
>> Hi,
>>
>> After switched to use GWT 2.6 RC1, DevMode Jetty 8.1 fail to initialize 
>> the logger for the web container.
>>
>> Attached 2.5 log and 2.6 log with 
>> -Dorg.apache.commons.logging.diagnostics.dest=STDERR -Dlog4j.debug=true for 
>> reference.
>>
>> Any tips/hints will be welcome.
>>
>> Many 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.


Can't create datatable using GWT

2014-02-18 Thread jas86f
Hi,
When I try to create a datatable in java, using GWT I get an error that 
shows that there is a problem with datatable creation.

Does anyone know something about 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-18 Thread Luis Fernando Planella Gonzalez
Well, I hope this will be sorted out, because debugging on a monolithic 
code of hundreds of thousands lines of code simply doesn't work - the 
browser hangs as expected.
There's the following statement on 
http://www.gwtproject.org/articles/superdevmode.html : "Currently, Super 
Dev Mode doesn't work on some very large GWT apps where classic Dev Mode 
works".
This is probably because of the generated JS code size, but I'm sure 
this will be worked out. Otherwise, GWT will die in the short-mid term, 
because browser plugin based debugging is mostly dead (already in FF, 
soon in Chrome).


Luis Fernando Planella Gonzalez

Em 18-02-2014 04:57, Klemens Schrage escreveu:
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 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: GWT Wrapper for Twitter Bootstrap v3!

2014-02-18 Thread Joshua Godi
Just have to use the setters that are there for non-UiBinder.

// Create overall container
FluidContainer container = new FluidContainer();

// Create the row for the columns
Row row = new Row();

// Create the columns
Column first = new Column(ColumnSize.XS_6);
Column second = new Column(ColumnSize.XS_6);

first.add(new Span("I am the first column"));
second.add(new Span("I am the second column"));

row.add(first);
row.add(second);
container.add(row);

Curious though, why not use UiBinder? It provides a more declarative UI.

-- 
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: Development Mode will not be supported in Firefox 27+

2014-02-18 Thread Aleksander Gralak
That is pretty bad information for all GWT developers. 
For now I can stick with FF 24.2, however in the future we need to develop 
on the most up to date browsers. 

When do you estimate Super Dev Mode will be production ready? If it is more 
then 6 months then we should think of some workaround. Is is possible to do 
a custom build of FF with all necessery symbols exported? According to

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=920731

they have switched it off. But if someone (sorry I am not C++ developer so 
I will not do it myself) can build GWT development version with those 
symbols. Then we would be able to do development for several more months on 
the latest browser and wait till Super Dev Mode if fully functional.

-- 
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-18 Thread Jens
Alternatively you could also download jetty (any version you like), 
configure it like you want and let it point to your projects' war folder. 
Then you launch DevMode with -noserver parameter.

That way you do not depend on GWT's embedded server.

-- 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.