Prefixing each class with @external in css is some kind of solution,
but doing it for all class in all css I want to test is not a real
solution.
So, my question is : Is there any options for telling UIBinder not to
obfuscate css class ? (like a "global" @external)
Thanks in advance
<set-configuration-property name="CssResource.style" value="pretty" />
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
On Apr 13, 11:16 pm, Sripathi Krishnan <sripathikrish...@gmail.com>
wrote:
> See the file Resources.gwt.xml .. It has a bunch of properties that you can
> specify to control how CSS is generated..
> I haven't tried it, but putting this in your module.gwt.xml should do the
> trick.
>
> <set-configuration-property name="CssResource.style" value="pretty" />
>
>
>
> --Sri
>
> On 13 April 2010 13:32, david.herv...@gmail.com <david.herv...@gmail.com>wrote:
>
> > Hi,
> > I'm currently searching around the web to found out how to tell
> > UIBinder not to perform obfuscation (at-all) on css class. I've read
> > codes samples in which it is tell to put inside the .gwt.xml the
> > property CssResource.obfuscationPrefix to empty. But the css class
> > name doesn't have any links with original name. I've tried to combined
> > with the CssResource.style to pretty but the css class are still
> > prefixed with the package name in which the css resources are located.
>
> > Prefixing each class with @external in css is some kind of solution,
> > but doing it for all class in all css I want to test is not a real
> > solution.
>
> > So, my question is : Is there any options for telling UIBinder not to
> > obfuscate css class ? (like a "global" @external)
>
> > Thanks in advance
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
thanks.
On Apr 14, 4:09 am, "david.herv...@gmail.com"
> > > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs cr...@googlegroups.com>
Try using the @external annotation
@external gwt-TextBox;
.gwt-TextBox {
border-color: Black Black Gray;
border-style: solid double groove solid;
border-width: thin;
font-size: small;
padding: 0;
}
My fear is that the UIBinder has to keep this kind of obfuscation/
renaming rules to garantee the non collision in css class name.
But, why can't we imagine an option to not obfuscate css classes and
raise an error when a collision occured ?