Question on ConditionalProperties

2012-11-15 Thread FKereki
Hi! I was just checking the Wiki page on Conditional Properties, and I think an example is off by one. Given: define-property name=mobile.user.agent values=android, iphone, not_mobile / property-provider name=mobile.user.agent![CDATA[ { var ua =

[gwt-contrib] Re: Comment on ConditionalProperties in google-web-toolkit

2011-09-15 Thread codesite-noreply
-toolkit/wiki/ConditionalProperties -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
nobody? On Wed, Jul 13, 2011 at 7:47 PM, Gal Dolber gal.dol...@gmail.com wrote: Hi, Is this working already? http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties define-property name=mobile.user.agent values=android, iphone, not_mobile / property-provider name

Re: ConditionalProperties

2011-07-19 Thread Thomas Broyer
It is working. Apache Wave uses it. I believe I successfully used it too. Have a look at the top of the generated symbolMaps files, they'll tell you which deferred binding property leads to a particular permutation, along with its value. -- You received this message because you are subscribed

Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
Thanks! I still don't understand what I am doing wrong. I even can't get working a normal selection property. {{{ define-property name=my.property values=default / property-provider name=my.property generator=com.myPropertyGenerator / extend-property name=my.property values=value1, value2 /

Re: ConditionalProperties

2011-07-19 Thread Thomas Broyer
Could it be that GWT optimizes the case where the property isn't used in any generate-with or replace-with rule? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
Yes, I though that, but then I saw the i18n locale property, that is the most similar to the one I am trying to do and It doesn't use when-property-is generate-with class=com.google.gwt.i18n.rebind.LocalizableGenerator when-type-assignable class=com.google.gwt.i18n.shared.Localizable /

[gwt-contrib] Re: Comment on ConditionalProperties in google-web-toolkit

2011-07-15 Thread codesite-noreply
Comment by gal.dol...@gmail.com: Is this working already? I cannot get it working For more information: http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Comment on ConditionalProperties in google-web-toolkit

2011-07-15 Thread codesite-noreply
Comment by gal.dol...@gmail.com: Is this working already? just compiled trunk and it doesn't seems to do anything For more information: http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

ConditionalProperties

2011-07-13 Thread Gal Dolber
Hi, Is this working already? http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties define-property name=mobile.user.agent values=android, iphone, not_mobile / property-provider name=mobile.user.agent![CDATA[ { var ua = window.navigator.userAgent.toLowerCase

[gwt-contrib] Re: Comment on ConditionalProperties in google-web-toolkit

2010-07-25 Thread codesite-noreply
-is name=alternateFeatures value=true / /replace-with shouldn't some condition be value=false? For more information: http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Comment on ConditionalProperties in google-web-toolkit

2009-08-20 Thread codesite-noreply
Comment by sco...@google.com: This is totally sweet. For more information: http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---