W dniu poniedziałek, 4 marca 2013 11:40:35 UTC+1 użytkownik Thomas Broyer napisał:
> The issue is with UiBinder; SafeStyles obviously work OK with > SafeHtmlTemplates (they're almost useless without it). > The problem is that UiBinder requires a String value for all HTML > attributes, and then it generates a SafeHtmlTemplates, and the HTML parser > used by the SafeHtmlTemplate generator knows which attribute accepts URLs > or CSS, and warns if their values are not SafeUri or SafeStyles > respectively. > So, UiBinder forces you to use a String, and generates a SafeHtmlTemplates > that warns you that you don't use a SafeStyles. > > @Enrique: please file an issue: UiBinder should at least accept SafeStyles > in attributes, and then let the generated SafeHtmlTemplate warn or fail if > used in inappropriate places. > Actually, this is already done for SafeUri in GWT 2.5, and needs to be > done for SafeStyles (see > https://code.google.com/p/google-web-toolkit/source/detail?r=10548 which > explicitly says "Similar will be needed for SafeStyles.") > Hello, I have just same problem with using SafeStyle with UiRenderer for my cell. Do you know when support SafeStyles in uibinder for HTML tag is expected? I would appreciate any info about this issue. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
