Thursday, April 16, 2015

Re: GSS condition with Variable not working ?

@Julien:
Btw: is it possible to define the value of the BLA property when a certain browser.engine value is met ?

So I am looking for support for something like (not gwt correct syntax):
<define-configuration-property name="BLA" is-multi-valued="false" /> 
<set-configuration-property name="BLA" value="true" >
  <when-property-is name="user.agent" value="webkit" />
</set-configuration-property> 

Or:
<set-property name="BLA" value="true">
  <when-property-is name="user.agent" value="safari" />
</set-property>

@if (BLA) {
  html {background-color: #FF00FF;}
}

But the above doesn't seem to be supported.
So currently it's only supported by manually setting it manually in the gwt config file?

--
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+unsubscribe@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/d/optout.

No comments:

Post a Comment