Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Thomas Broyer
On Monday, March 24, 2014 6:52:38 AM UTC+1, Tom wrote: Hi Thomas, I tried, it almost done, BUT... Suppose I want to style the cell that is the intersection of the following Row Index and Column Index: (Note: index start from 0, so column2 got index=1) *Row - Col* 0 - 1 0 -

Development Mode not working : BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/tx]

2014-03-24 Thread mzamoun
I have an application gwt(2.6.0), spring(3.2.5.RELEASE), hibernate(4.2.1.Final), maven(2.2). When I run as web Application, I got this error : org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML

Re: Development Mode not working : BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/tx]

2014-03-24 Thread Thomas Broyer
Are all of your JARs in WEB-INF/lib, and all your compiled classes in WEB-INF/classes? (put differently: are all of your server-side code and dependencies in WEB-INF/ ?) On Monday, March 24, 2014 11:28:55 AM UTC+1, mzamoun wrote: I have an application gwt(2.6.0), spring(3.2.5.RELEASE),

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Tom
Hi Thomas, thank you very much for your answer, Actually, in my real application, I have a ListInteger[] rowColIntersectionList=new ArrayListInteger[](); Integer[] int1={0,1}; Integer[] int2={0,2}; Integer[] int3={1,1}; Integer[] int4={1,2}; Integer[] int5={2,2); But I can't create the Css

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Tom
Hi Thomas, thank you very much for your answer, Actually, in my real application, I have to set the cells BOLD Dynamically. I don't know which cells need to be bold in advanced but depend on the List Integer[] rowColIntersectionList. For example, ListInteger[] rowColIntersectionList=new

Re: Request Factory and Overlay Type generator

2014-03-24 Thread salk31
How does the overlap type generation relate to https://code.google.com/p/gwt-api-interop/wiki/JSIOJSWrapperExamples (looks dormant) and https://code.google.com/p/gwt-exporter/ (maybe different thing) ? I've trying to get my head around the state of the art for GWT/native JS Generating proxies

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Tom
Also, i forgot to mention this. Not all cells have the same Bold, some are bolder than others. There are 3 level of bold. So, how to mange this as well? On Monday, March 24, 2014 8:51:42 PM UTC+11, Thomas Broyer wrote: On Monday, March 24, 2014 6:52:38 AM UTC+1, Tom wrote: Hi Thomas, I

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Jens
I have the feeling that it would be easier to write a custom cell (possibly extending an existing one) and in its render method decide if it should add a bold, bolder or extrabold css class to the output. Inside Cell.render() you have access to everything you need to make that decision (row

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Thomas Broyer
Actually, Column#getCellStyleNames also has everything you need; if you need to add the style to the table cell, rather than a content container (div or whatever) within the table cell. On Monday, March 24, 2014 1:31:21 PM UTC+1, Jens wrote: I have the feeling that it would be easier to write

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Tom
Hi, i think i can just loop over the ListInteger[] rowColIntersectionList and then loop over the text of each cell append a control String like colorLevel=1* to the cell value, then in the IndexedColumn i just need to do @Override public String getCellStyleNames(Context context, ListString

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Thomas Broyer
Wouldn't it be easier to first convert your ListInteger[] into a MapInteger, MapInteger, Integer (or a a Guava Tablehttp://docs.guava-libraries.googlecode.com/git-history/release/javadoc/com/google/common/collect/Table.html) and then in your column's getCellStyleNames (assuming a Table here,

Re: How to style specific cells in CellTable depending the value of that cell (GWT)?

2014-03-24 Thread Tom
Thank You Very Very Much Thomas, I did. You *didn't* tell me in advance that we can get *row index* via *context *param of *getCellStyleNames* in *IndexedColumn* that is why I didn't know how to get the row index in *IndexedColumn* in the previous post. Anyway, I fixed, so easy, thank you

[gwt-contrib] Next Contributor Hangout

2014-03-24 Thread Bhaskar Janakiraman
Hi Folks, The next contributor hangout will be on Wednesday, March 26, from 10.45am to 11.30am PST. As before, please send me email (bjanakiraman at google) if you have something to discuss and want to participate in person, and I'll send you an invite. Agenda: GWT 2.6.1: Status and Plans

Re: [gwt-contrib] Cannot build my project since 779627ac

2014-03-24 Thread Goktug Gokdogan
[+stalcup] On Sat, Mar 22, 2014 at 2:55 AM, Honza Rameš rame...@gmail.com wrote: Hello everyone, recently, after updating GWT master I wasn't able to neither compile nor debug my project in DevMode. I tracked the problem down to commit 779627ac after which I'm getting errors (see bellow)

Re: [gwt-contrib] watch

2014-03-24 Thread Goktug Gokdogan
JSNI and Impl.getNameOf (!! not public api !!) are your friends to make this work. For cross-browser support, In the future there will be Object.observe but not sure about the current state. Also you can probably find some polyfills to make it work today. On Sun, Mar 23, 2014 at 12:40 AM,

Re: [gwt-contrib] Cannot build my project since 779627ac

2014-03-24 Thread John Stalcup
reconstructing the failure chain: com.promis.weblink.client.ui.SplashFrm.java // victim com.promis.weblink.client.ui.SplashFrm_SplashFrmUiBinderImpl // victim com.promis.ui.client.bundles.Images // victim com.promis.ui.client.bundles.Images_cs_InlineClientBundleGenerator // actually is

Re: [gwt-contrib] watch

2014-03-24 Thread Michael Vogt
Thank you very much for your answer. Yes, getNameOf() seems to be exactly what I was looking for. Looks like support for Object.observe is in Chrome 33 behind the experimental JavaScript flag, and Polymer provides a library for (all the other) browsers that don't support Object.observe. --