Re: CSP issues with UiBinder

2024-08-01 Thread Craig Mitchell
then would mean that you may load them unnecessarily). >> >> Alternatively, a nonce could be specified and injected with each style >> tag - but that seems like a weaker approach in general, since it requires >> making the nonce available to the page's script code. >&g

Re: CSP issues with UiBinder

2024-08-01 Thread Craig Mitchell
be specified and injected with each style tag > - but that seems like a weaker approach in general, since it requires > making the nonce available to the page's script code. > > On Wednesday, July 31, 2024 at 8:26:57 PM UTC-5 ma...@craig-mitchell.com > wrote: > >> T

Re: CSP issues with UiBinder

2024-07-31 Thread Colin Alworth
te: > There are multiple ways of using CSS in the UIBinder, I'm not sure which > one uses injectStyleSheet behind the scenes. Are you referring to using: > >1. The tag in the ui.xml files. >2. Resources with CssResource and the tag in the ui.xml >files. >3.

Re: CSP issues with UiBinder

2024-07-31 Thread Craig Mitchell
There are multiple ways of using CSS in the UIBinder, I'm not sure which one uses injectStyleSheet behind the scenes. Are you referring to using: 1. The tag in the ui.xml files. 2. Resources with CssResource and the tag in the ui.xml files. 3. Or are you programmati

CSP issues with UiBinder

2024-07-31 Thread mighty...@gmail.com
Hello all. I am working to make our webapp compliant with our CSP, and have removed `style-src unsafe-inline`. I am working through any errors that have popped up, but one is stumping me At runtime, it appears that GWT is injecting all the CSS from our Ui Binder files using StyleInjectorImpl <

Re: Adding a custom attribute to Button using UiBinder?

2022-05-11 Thread Jens
UiBinder XML can only call setters on the widget itself. In the corresponding java file you can call button.getElement().setAttribute(). -- J. ime...@gmail.com schrieb am Dienstag, 10. Mai 2022 um 20:55:41 UTC+2: > All, > > Is there a way to add a custom attribute to a Button using

Adding a custom attribute to Button using UiBinder?

2022-05-10 Thread Slava Imeshev
All, Is there a way to add a custom attribute to a Button using UiBinder? I'm looking for smth like eem-id="my-button". Ideally it would be the button element itself, worst case the GWT container. TIA, Slava -- You received this message because you are subscribed to the Goo

Re: Share Header, Footer, ... in different views with UIBinder

2020-10-09 Thread Guillen Antonio
Thnaks a lot Frank, I read and test and use your Nalu example. Very nice and interesting job. I start to implement it in my project, but I change my mind because I discover MaterialDesign and using the MaterialContainer where I can put after clear all of my views it's much more simple I think. Th

Re: Share Header, Footer, ... in different views with UIBinder

2020-10-08 Thread Frank Hossfeld
There is a project generator, that generates a Nalu project. The generated project has a header, footer, navigation and content area.The content area will change when clicking a navigation item. It works in the same way as the way, Thomas mentioned, but is based on Nalu instead of Activities and

Re: Share Header, Footer, ... in different views with UIBinder

2020-10-08 Thread Guillen Antonio
Thanks a lot Thomas, II have already read the pages you propose, but maybe I have some gaps because I really don't understand the system. A concrete example with the code would surely help me. Is there an example of how to do this? I guess it already exists but I can't find it after several ho

Re: Share Header, Footer, ... in different views with UIBinder

2020-10-08 Thread Thomas Broyer
If *all* your "views" share the same header/footer/nav, then they should be part of your "shell", with your ActivityManager only managing the "main" part of the screen. See https://blog.ltgt.net/gwt-21-activities/ and https://blog.ltgt.net/gwt-21-activities-nesting-yagni/ (wow, 10 years old!)

Share Header, Footer, ... in different views with UIBinder

2020-10-08 Thread Guillen Antonio
Hi all, I am still learning GWT and now I want to build views using materialdesign (with MVP and activity/places) sharing the same header, footer and side navigation. I don't found examples or tutorial to do this and I have no idea how to do. Thanks for your help Antonio -- You received t

Re: How to use DatePicker with UiBinder

2019-06-28 Thread Craig Mitchell
I don't believe GWT supports a Time picker out of the box. Only date: http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwDatePicker A quick search shows that some people have created one: https://stackoverflow.com/questions/4509655/gwt-time-picker Or you could use JSNI to bind t

Re: How to use DatePicker with UiBinder

2019-06-25 Thread Shweta Thainua
Can u tell me how to make are and time picker both in ui binder file -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com

Re: Migrating a css file into gwt uibinder

2019-03-27 Thread Craig Mitchell
I never figured out how to add the @keyframes in the GWT resources. As a workaround, you can add the CSS like you would a standard site. Eg, in your index.html like this: @keyframes fadeIn { 0% { opacity: 0 } 100% { opacity: 1 } } Then in your ui.xml, you can just refer to it as

Migrating a css file into gwt uibinder

2019-03-26 Thread Gary Barnes
to my panel? Existing code snippets Panel.ui.xml .apwidth { width: 100% } . . . Sys 1 Panel.java class Panel extends Composite { private static final PanelUiBinder uiBinder = GWT.create(PanelUiBinder.

Injecting CSS and JS into UiBinder - Issue with getting access to image path

2017-11-02 Thread Muhammad Zbeedat
Hi, I'm trying to implement a JS library (VisJs: http://visjs.org/) in my GWT project. So, in order to use it from my UiBinder I used the ScriptInjector: ScriptInjector.fromString(JsResources.INSTANCE.visScript().getText()).inject(); and in ui.xml I used the following: .htmlPanel { font

Re: GWT 2.8.1 Super dev mode error uibinder

2017-10-03 Thread Серик Идрисов
Unfortunately didn't helped. Probably it's bug of xerces or in class path there is another xerces... what do you think? понедельник, 25 сентября 2017 г., 14:49:49 UTC+6 пользователь Jens написал: > > Hmm never seen this before. Have you tried cleaning SuperDevMode caches? > You can do so by open

Re: GWT 2.8.1 Super dev mode error uibinder

2017-09-25 Thread Jens
Hmm never seen this before. Have you tried cleaning SuperDevMode caches? You can do so by opening the SuperDevMode UI (usually localhost:9876 but seems like you use localhost:7002) and hit the small "clean" button at the bottom. -- J. -- You received this message because you are subscribed to

GWT 2.8.1 Super dev mode error uibinder

2017-09-25 Thread Серик Идрисов
Hi all! I tried to use super dev mode in my project, but faced with compilation problems. There are a lot of error like Computing all possible rebind results for 'com.wktransportservices.wktsadmin.web.client.adminmodule.view.EventPopupDialog.EventPopupViewUiBinder' Rebinding com.

Re: Errors in UIBinder XML files

2017-03-27 Thread Magnus
This are the steps to reproduce the problem: - create the project: webAppCreator -templates sample,maven test.Application - import as "Maven Project" into eclipse - copy the above ui.xml file into the project Magnus -- You received this message because you are subscribed to the Goo

Re: Errors in UIBinder XML files

2017-03-27 Thread Magnus
It's strange: - When I create a project inside eclipse, no error is shown in my *ui.xml file. - When I create a project with maven and import it into eclipse, the same ui.xml file produces the validation error. The validation settings are the same in both projects. I noticed som

Re: Errors in UIBinder XML files

2017-03-24 Thread Jens
> But if the error results from XML validation: Why doesn't eclipse show the > error in the non-maven project? > No idea. Maybe your non Maven project does not have an XML validator active? If I remember correctly you can see the validators somewhere in the project preferences. -- J. -- Yo

Re: Errors in UIBinder XML files

2017-03-24 Thread Magnus
> > @Magnus: I think you could fix that issue in Eclipse by disabling XML > validation. > It's true that the problem only exists inside eclipse. The maven project compiles without errors on the command line. But if the error results from XML validation: Why doesn't eclipse show the error in t

Re: Errors in UIBinder XML files

2017-03-24 Thread Jens
> Check your dependencies, this was fixed in GWT 2.4: > https://github.com/gwtproject/gwt/commit/ad144ac26693272b2d897454a13b7fddf389fedf > > (see linked issue, exact same error message) @tbroyer: While it is fixed in the UiBinder parser, I think the real issue causing the Ecli

Re: Errors in UIBinder XML files

2017-03-24 Thread Magnus
dependencies in the pom.xml file? Which dependencies are important? And why is the same UIBinder xml file ok in the non-maven project? Magnus -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop rec

Re: Errors in UIBinder XML files

2017-03-24 Thread Thomas Broyer
Check your dependencies, this was fixed in GWT 2.4: https://github.com/gwtproject/gwt/commit/ad144ac26693272b2d897454a13b7fddf389fedf (see linked issue, exact same error message) -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from

Re: Errors in UIBinder XML files

2017-03-24 Thread Magnus
This is my UIBinder xml file: (It works within the old project) http://dl.google.com/gwt/DTD/xhtml.ent";> ... -- You received this message because you are subscribed to the Google Groups "GWT Use

Errors in UIBinder XML files

2017-03-24 Thread Magnus
Hello, while moving a project to maven, I copied a source tree into src/main/java of the maven tree. This source tree also contains UIBinder xml files. There is no error in the original project, but in the maven project, the same UIBinder xml files cause errors like this: cvc-complex-type.2.4

Re: styling Uibinder with external css using background image

2017-01-06 Thread NewbieGwtUser
tp://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#ImageResource >> ? >> >> On Thu, 5 Jan 2017 at 13:40 NewbieGwtUser wrote: >> >>> Hello everyone, >>> >>> Since two days, i'm struggling to find a tip for showing an image as a >>> ba

Re: styling Uibinder with external css using background image

2017-01-06 Thread NewbieGwtUser
l#ImageResource > ? > > On Thu, 5 Jan 2017 at 13:40 NewbieGwtUser > wrote: > >> Hello everyone, >> >> Since two days, i'm struggling to find a tip for showing an image as a >> background within my uibinder file but I were unable to get it work. >>

Re: styling Uibinder with external css using background image

2017-01-05 Thread Juan Pablo Gardella
Did you check http://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#ImageResource ? On Thu, 5 Jan 2017 at 13:40 NewbieGwtUser wrote: > Hello everyone, > > Since two days, i'm struggling to find a tip for showing an image as a > background within my uibinder file but

styling Uibinder with external css using background image

2017-01-05 Thread NewbieGwtUser
Hello everyone, Since two days, i'm struggling to find a tip for showing an image as a background within my uibinder file but I were unable to get it work. Actually I've a gwt-maven project with of course an src/main/java and src/main/resources structure. In this latter, I'v

Re: UiBinder alternative

2016-09-16 Thread Predrag Remark
Ahmed, just a few suggestions: This time try to build it more abstract so that it does not depend on particular version of GWT/GXT. Try to avoid all unnecessary things that might disappear over time (like UIBinder - use html, css instead). In fact, try to make it future proof by not depending

Re: UiBinder alternative

2016-09-08 Thread Slava Pankov
UiBinder should not be removed. It's not about widgets, but about convenient way of defining UI. And also it's quite similar to Android way of developing, so quite comfortable for developers with Android experience. On Thursday, September 8, 2016 at 8:25:52 AM UTC-7, Ahmad Baw

Re: UiBinder alternative

2016-09-08 Thread Ahmad Bawaneh
ahead. I might be wrong but this is what i think. On Thursday, September 8, 2016 at 4:41:43 PM UTC+3, Thomas Broyer wrote: > > > > On Thursday, September 8, 2016 at 3:00:36 PM UTC+2, Ahmad Bawaneh wrote: >> >> Hi >> Is there any plans or suggestions for the UiBinder a

Re: UiBinder alternative

2016-09-08 Thread Ahmad Bawaneh
On Thursday, September 8, 2016 at 4:41:43 PM UTC+3, Thomas Broyer wrote: > > > > On Thursday, September 8, 2016 at 3:00:36 PM UTC+2, Ahmad Bawaneh wrote: >> >> Hi >> Is there any plans or suggestions for the UiBinder alternatives since >> UiBinder will be rem

Re: UiBinder alternative

2016-09-08 Thread Thomas Broyer
On Thursday, September 8, 2016 at 3:00:36 PM UTC+2, Ahmad Bawaneh wrote: > > Hi > Is there any plans or suggestions for the UiBinder alternatives since > UiBinder will be removed from GWT 3.0? > *might* be removed would be more accurate. Let me repeat one more time: development

Re: UiBinder alternative

2016-09-08 Thread Ümit Seren
te: > > Hi > Is there any plans or suggestions for the UiBinder alternatives since > UiBinder will be removed from GWT 3.0? > and i wonder why such cool feature should be removed instead of being > updated to match the new changes? > Thanks. > -- You received this message b

Re: UiBinder alternative

2016-09-08 Thread zakaria amine
s for the UiBinder alternatives since > UiBinder will be removed from GWT 3.0? > and i wonder why such cool feature should be removed instead of being > updated to match the new changes? > Thanks. > -- You received this message because you are subscribed to the Google Group

UiBinder alternative

2016-09-08 Thread Ahmad Bawaneh
Hi Is there any plans or suggestions for the UiBinder alternatives since UiBinder will be removed from GWT 3.0? and i wonder why such cool feature should be removed instead of being updated to match the new changes? Thanks. -- You received this message because you are subscribed to the Google

Elemental 2 inside uiBinder

2016-07-26 Thread Stefano Pulze
Hi all, Can I use elemental 2 inside a uiBinder? Where I can find examples and what is the best way to do that? Thanks -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from i

gwt material and uibinder + gradle

2016-07-05 Thread Michael Joyner
two dimes: We find Gradle much easier to work with than Maven here at my shop. Especially for "loosely coupled" project dependency setup. We never could get Maven to simply reference other projects arbitrarily. We find Maven is too strict in specifying how projects are connected up with each

Re: gwt material and uibinder

2016-07-04 Thread Pierre Mineaud
> > Oups... This topic is really gone ! :) > But last answer for Gilberto : Without entering too much in detail, our project is about making a huge platform (intranet) for our enterprise with different real application in there with different rules for each login. This can be planning schedul

Re: gwt material and uibinder

2016-07-04 Thread Vassilis Virvilis
I use ant+ivy. It's not perfect for sure but with time it grew deep roots in my company. If you invest on it you can do anything (Turing complete). Right now it's a major undertaking for me to leave ant+ivy for maven. I am not event sure that I like maven that much to do the necessary work... One

Re: gwt material and uibinder

2016-07-04 Thread Gilberto
Yes, Thomas is right: you should try other dependency/build management tools before making a final decision on which one to use. The important thing, in my opinion, is to use something that can read the maven central repository and can automate and standardize your build. Glad your problems are

Re: gwt material and uibinder

2016-07-04 Thread Thomas Broyer
On Monday, July 4, 2016 at 8:58:10 AM UTC+2, Pierre Mineaud wrote: > > About maven, you're probably right. But at the moment in my enterprise, we >> are switching direction for our web development (we were on meteor, a >> javascript framework client and server side), and for all developers and

Re: gwt material and uibinder

2016-07-03 Thread Pierre Mineaud
> > Hi Gilberto and thanks for your answer ! ;) > Thanks too for the invitation on the gwt material chat, I will come ! About maven, you're probably right. But at the moment in my enterprise, we are switching direction for our web development (we were on meteor, a javascript framework client

Re: gwt material and uibinder

2016-07-02 Thread Gilberto
Hi Pierre! Welcome to GWT and GWT Material =) If you want a faster, direct communication with the developers from GWT Material, join us at the Gitter chat: https://gitter.im/GwtMaterialDesign/gwt-material Also, I advise you to really try to use Maven. I know it's hard and sometimes frustratin

Re: gwt material and uibinder

2016-06-29 Thread Pierre Mineaud
Ok... I finally found my error... Here is what I have done : in my myButton2.java code : public class myButton2 extends Composite { private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class); @UiTemplate("myButton2.ui.xml") interface MyUiBinder extends UiBinder { } public

Re: gwt material and uibinder

2016-06-29 Thread Pierre Mineaud
I didn't mentionned : I follow this get Started : http://gwtmaterialdesign.github.io/gwt-material-demo/snapshot/#!gettingstarted So I added well the "" in my app.gwt.xml. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this gr

gwt material and uibinder

2016-06-29 Thread Pierre Mineaud
on(); myButton1.setTextColor("white"); myButton1.setText("myButton1"); myButton1.setType(ButtonType.RAISED); myButton1.setWaves(WavesType.DEFAULT); RootPanel.get("divContainer").add(myButton1); My button is shown in my page and it is perfect. But I would like to do

Re: Designer Problem : « uibinder template should be in client package »

2016-06-03 Thread Steve Cook
c >> | >> images(folder) >> package1.css >> package2.css >> package1.gwt.xml >> package2.gwt.xml >&

Re: Organizing project files with UIBinder

2016-04-20 Thread Thomas Broyer
This all depends how you do MVP; see tutorials on GWT website for various flavors; one doesn't involve HasText / HasClickHandlers. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, se

Re: Organizing project files with UIBinder

2016-04-20 Thread Martinus van de Ruitenbeek
Hi, I also started using MVP and Polymer with UIBinder. Problem is, that Polymer does not have all the interfaces that vanilla GWT has to enable MVP and proper unit testing, for example HasText, HasClickListeners etc. How did you manage to implement MVP with GWT-Polymer? I am using vaadin

Re: UIBinder & Materials

2016-03-07 Thread Sam Wootton
> http://gwtmaterialdesign.github.io/gwt-material-demo/#!gettingstarted >> >> ... states "*Assuming that you're using UIBinder, add the following >> namespace to the element*". >> >> My current gwt application does not use UIBinder framework (just >> t

Re: UIBinder & Materials

2016-03-07 Thread Stefan Falk
start investigating GWT > Materials > > http://gwtmaterialdesign.github.io/gwt-material-demo/#!gettingstarted > > ... states "*Assuming that you're using UIBinder, add the following > namespace to the element*". > > My current gwt application does not use UIBinder f

Re: UIBinder & Materials

2016-03-06 Thread Jens
> Can I continue the same approach 'converting' each instance to Material > versions? I'd stil like to use some of my existing styling / css. > I never used the library and I don't know you app. So no idea, if everything that this library offers fits your needs. But I am pretty sure you can

Re: UIBinder & Materials

2016-03-06 Thread Sam Wootton
of my existing styling / css. What, in your opinion, is the best way to Materialise a gwt project? Regards, Sam On 6 March 2016 at 14:52, Jens wrote: > > My current gwt application does not use UIBinder framework (just >> traditional Java). Do I *have* to switch to UIBin

Re: UIBinder & Materials

2016-03-06 Thread Jens
> My current gwt application does not use UIBinder framework (just > traditional Java). Do I *have* to switch to UIBinder if I want to use > GWT Materials? > No, of course not. -- J. -- You received this message because you are subscribed to the Google Groups "GWT

UIBinder & Materials

2016-03-06 Thread Sam Wootton
Dear GWT Users, As ever, thanks for any help. Quick (possibly stupid) question. I'd like to start investigating GWT Materials http://gwtmaterialdesign.github.io/gwt-material-demo/#!gettingstarted ... states "*Assuming that you're using UIBinder, add the following namespace

Re: Using events but keeping styles out of UiBinder??

2016-03-02 Thread Adolfo Rodriguez
* included in the .gwt.xml module file, i.e. 3* imported to UiBinder and declared as<*ui*:*style* src="stylesheet.css" /> 4* created inside UiBinder as.panel { width: 100%; } used as *addStyleNames="{style.panel}* 5* created inside UiBin

Re: Using events but keeping styles out of UiBinder??

2016-03-02 Thread Michael Harray
I may be misunderstanding the question, but you don't need to define the styles in the UiBinder inside a , you can just do: and they will be treated as plain text stylenames, which your imported css file will recognise On Wednesday, 2 March 2016 10:23:10 UTC+13, Adolfo Rodriguez

Using events but keeping styles out of UiBinder??

2016-03-01 Thread Adolfo Rodriguez
Hi, I have imported a full template. I added the HTMLs as UiBinder and referenced the js and css from the main HTML page. So far it works great. I am trying to keep the styles outside of UiBinder as most as I can to avoid a hardcoded maintenance. However, I need to handle some events on some

Re: UIBinder and UI update/change at runtime

2016-02-28 Thread vadim
Gilberto, Thank you very much - you saved me a lot of time figuring out what is happening. The problem was indeed in DockLayoutPanel "add" method that is locked after adding "center" widget. I didn't mention this note at documentation. When I replaced DockLayoutPanel with LayoutPanel - e

Re: UIBinder and UI update/change at runtime

2016-02-27 Thread Gilberto
That's not an issue of the UiBinder, but the DockLayoutPanel itself. Once you add the central widget, you cannot add anymore other widgets to it ( reference <http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/DockLayoutPanel.html#add(com.google.gwt.user.client.u

UIBinder and UI update/change at runtime

2016-02-26 Thread vadim
Hello all, I have View, created by UIBinder using DockLayoutPanel. I have a button there. I would like after pushing the button change UI layout of the view (for example add new widget to it). Having it attached to uifield = "dockPanel" allows me to read different propert

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
Thank you, Thomas. Your advice helped again. Now I know the main UI layout building principle -- do not mix *Panels with *LayoutPanels! :) On Wednesday, January 6, 2016 at 6:12:48 PM UTC+2, Thomas Broyer wrote: > > > Use SimpleLayoutPanel instead of SimplePanel, and RootLayoutPanel instead > o

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread Thomas Broyer
On Wednesday, January 6, 2016 at 2:55:02 PM UTC+1, va...@ant.ee wrote: > > DockLayoutPanel does not implement AcceptsOneWidget interface and thus can > not be passed to ActivityManager as parameter for > activityManager.setDisplay(appWidget). Without ActivityManager display > function widget i

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
DockLayoutPanel does not implement AcceptsOneWidget interface and thus can not be passed to ActivityManager as parameter for activityManager.setDisplay(appWidget). Without ActivityManager display function widget is not shown. It seems tricky. -- You received this message because you are subsc

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread Frank
This look to me because one of the parent panels of the docklayout is not a layout panel. When one of the parent panel is not a layoutpanel the height gets broken. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
I am using UIBinder and MVP to construct View. View ui.xml file is very simple (with DockLayoutPanel on the top): .panelHeight { height: 300px; } Empty Not empty DockLayoutPanel is not a part of

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread N Troncoso
What is your DockLayoutPanel in? You should be putting it in a RootLayoutPanel, or some other LayoutPanel. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-w

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
Thank you for response N Troncoso, I have figured out that none of my assumptions were true. If I don't give width/heights as parameters for DockLayoutPanel it is still present in document DOM, but not visible. The reason for that is somehow depends from the widget I put into it. For example:

Re: Layout principles for UIBinder with Polymer elements

2016-01-05 Thread N Troncoso
The DockLayoutPanel is designed to take up the whole screen. You only have to define the size of the north/south/east/west panels (or don't give them a size for them to not appear). The center takes up the rest of the available space. As for Polymer, look at the catalog for the elements you wan

Layout principles for UIBinder with Polymer elements

2015-12-28 Thread vadim
Hello all, After a number of experiments I have decided to build UI using UIBuilder and Polymer elements library. Tutorials went well and I have build my own interface mixing standard GWT DockLayotPanel (for widget placement) and paper/iron elements from the library. I am not very exper

Re: Organizing project files with UIBinder

2015-12-15 Thread vadim
Thank you Thomas, I did as you said - put my resources under src/main/resources with the same package name. I have better project layout under Eclipse and maven puts them into the same package during deploy, so application runs without error. On Tuesday, December 15, 2015 at 10:52:50 A

Re: Organizing project files with UIBinder

2015-12-15 Thread Rogelio Flores
I've done both approaches. I started creating UiBinder ui.xml files in the resources folder separate from java files (same package name). This helps to cleanly separate .java from other types of files just like I do for css/etc. However, I think both eclipse and IntelliJ create the pa

Re: Organizing project files with UIBinder

2015-12-15 Thread Thomas Broyer
On Tuesday, December 15, 2015 at 4:43:09 AM UTC+1, Luke Last wrote: > > Here's my quick stab at these, hope it helps. > > 1. I've never seen this done differently, and personally I find it helpful > to have them in the same package. > The need to be in the same package (unless you use @UiTempla

Re: Organizing project files with UIBinder

2015-12-15 Thread vadim
ay, December 15, 2015 at 5:43:09 AM UTC+2, Luke Last wrote: > > Here's my quick stab at these, hope it helps. > > 1. I've never seen this done differently, and personally I find it helpful > to have them in the same package. > 2. UIBinder is only client side. > 3.

Re: Organizing project files with UIBinder

2015-12-14 Thread Luke Last
Here's my quick stab at these, hope it helps. 1. I've never seen this done differently, and personally I find it helpful to have them in the same package. 2. UIBinder is only client side. 3. UIBinder will work with classic CSS. You could also consider using CssResource (gss) or

Organizing project files with UIBinder

2015-12-14 Thread vadim
Hello all, I have read the chapter http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html about GWT project layout, but still have some questions: 1. View .ui.xml files are "by default" located at the same folder where .java files are. Is it better to move them to s

Re: Mixing Html and Widgets in UiBinder

2015-09-23 Thread Jens
> @Jens > Any idea what will be UI Binder replacement in GWT 3.0 and above ? > Well I hope that UiBinder can be made GWT 3.0 friendly however that would require code changes in each app (you would need to place annotation on your UiBinder sub interface and replace GWT.create() calls

Re: Mixing Html and Widgets in UiBinder

2015-09-23 Thread Alain Ekambi
ure this out for some time now and I hope someone can help >> me to figure this out, because I have no idea what I am missing. >> >> I'm using Gwt 2.7 and I want to mix html and my own widgets inside the >> UiBinder as following: >> >> >&

Re: Mixing Html and Widgets in UiBinder

2015-09-23 Thread Andrei Preda
using Gwt 2.7 and I want to mix html and my own widgets inside the > UiBinder as following: > > > > > > > > > In this case SomeOtherObject throws "[ERROR] Not allowed in an HTML > context:" > > I am puzzled b

Re: Mixing Html and Widgets in UiBinder

2015-09-22 Thread Jens
That would only work by using a custom element parser for UiBinder. However that API is private inside UiBinder, so you can not provide your own. So when your custom widget implements HasText, HasHTML and HasWidgets then you can only be in one of these contexts but you can not mix them. In

Mixing Html and Widgets in UiBinder

2015-09-22 Thread Andrei Preda
I tried to figure this out for some time now and I hope someone can help me to figure this out, because I have no idea what I am missing. I'm using Gwt 2.7 and I want to mix html and my own widgets inside the UiBinder as following: In this

Re: GWT MVP and UiBinder Question

2015-08-28 Thread Alain Ekambi
This is how we do it. Easy to understand. Easy to maintain https://www.youtube.com/watch?v=kilmaSRq49g On 28 August 2015 at 12:43, Abel Oszwald wrote: > Hello, > > I read the documentation of MVP and i have a question about UiBinder > ClickListener. > Is it make sense

GWT MVP and UiBinder Question

2015-08-28 Thread Abel Oszwald
Hello, I read the documentation of MVP and i have a question about UiBinder ClickListener. Is it make sense if i define the ClickListener in the UiBinder java file like in the docs, which in turn call the presenter.OnItemClicked() or i define the Clicklistener in Presenter where all the logic

Re: UiBinder + CssResource + @ClassName = Error

2015-08-17 Thread Thomas Broyer
On Monday, August 17, 2015 at 6:18:05 PM UTC+2, DaveC wrote: > > I get the same error if I use {style.defaultStyle}. > Then I guess maybe @ClassName is not supported with "implicit CssResources" in UiBinder (aka )… > Could you clarify why {style.panel-default

Re: UiBinder + CssResource + @ClassName = Error

2015-08-17 Thread DaveC
t a valid value AFAICT, but maybe it'd be > detected only later (and is hidden by the current error) > > On Wednesday, August 5, 2015 at 11:28:37 AM UTC+2, DaveC wrote: >> >> Hi, >> >> I have the following UiBinde

Re: UiBinder + CssResource + @ClassName = Error

2015-08-15 Thread Thomas Broyer
Have you tried using {style.defaultStyle} in your attribute? {style.panel-default} is not a valid value AFAICT, but maybe it'd be detected only later (and is hidden by the current error) On Wednesday, August 5, 2015 at 11:28:37 AM UTC+2, DaveC wrote: > > Hi, > > I have the f

Re: UiBinder + CssResource + @ClassName = Error

2015-08-15 Thread Shiv Kumar
Even i faced the same problem... if you got solution please give some ints to solve this, im new to GWT On Wednesday, August 5, 2015 at 2:58:37 PM UTC+5:30, DaveC wrote: > > Hi, > > I have the following UiBinder: > > http://dl.google.com

UiBinder + CssResource + @ClassName = Error

2015-08-05 Thread DaveC
Hi, I have the following UiBinder: http://dl.google.com/gwt/DTD/xhtml.ent";> .panel-default { background: grey; } Hello World! and CssResource: public interface Style extends CssResource { @ClassName("panel-default") S

Re: How to get autocomplete of CSS3 properties on Eclipse inside the tag of GWT UiBinder?

2015-07-16 Thread Gilberto
Issue reported: https://github.com/gwt-plugins/gwt-eclipse-plugin/issues/79 -- 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...@

Re: How to get autocomplete of CSS3 properties on Eclipse inside the tag of GWT UiBinder?

2015-07-16 Thread Gilberto
Thanks Jens for the answer. Ok, I was missing the GWT DIY Policy™ on this one =) I'll take a look and update this thread and the StackOverflow question if I get something. On Thursday, July 16, 2015 at 3:07:52 PM UTC-3, Jens wrote: > > You could also use the open source fork of GPE > > https://

Re: How to get autocomplete of CSS3 properties on Eclipse inside the tag of GWT UiBinder?

2015-07-16 Thread Jens
You could also use the open source fork of GPE https://github.com/gwt-plugins/gwt-eclipse-plugin and figure out how to patch it to provide CSS 3 autocompletion. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from t

Re: How to get autocomplete of CSS3 properties on Eclipse inside the tag of GWT UiBinder?

2015-07-16 Thread Jens
*.ui.xml files have their own UiBinder editor in Eclipse provided by the GPE plugin. It might be that your Eclipse settings regarding CSS simply do not take effect in that editor. As a workaround you could probably avoid using inline styles and instead create a *.gss file for it, . Then you

Re: How to get autocomplete of CSS3 properties on Eclipse inside the tag of GWT UiBinder?

2015-07-16 Thread Gilberto
Well, after more than one month I asked this question on StackOverflow I still got no answers. It must be something so stupid to find out that no one took the time to answer it. Oh well... I'll keep using the old CSS2 content assist on Eclipse till the UiBinder is dead on 3.0. On Tu

How to get autocomplete of CSS3 properties on Eclipse inside the tag of GWT UiBinder?

2015-06-23 Thread Gilberto
3 properties (such as background-position, border-radius and so on) inside *.ui.xml files (GWT UiBinder). For example: .randomStuff { background-repeat: no-repeat; background-position: center; background-s } How can I enable autocomplete of CSS3 inside those file

  1   2   3   4   5   6   7   8   9   10   >