Hi,

additionnally, since I finally found it, here is the code that caused
this issue:
public class AuthPanel extends com.google.gwt.user.client.ui.DialogBox
{
  ...
  private com.google.gwt.user.client.ui.CheckBox rememberLoginCheckBox
= new com.google.gwt.user.client.ui.CheckBox();
  ...
 
rememberLoginCheckBox.setText(Messages.INSTANCE.getAuthPanelRememberLoginLabel(),
com.google.gwt.i18n.client.HasDirection.Direction.LTR);
  ...
}
(Messages.INSTANCE.getAuthPanelRememberLoginLabel() is a translated
text.)

I've changed the last line with:
rememberLoginCheckBox.setText(Messages.INSTANCE.getAuthPanelRememberLoginLabel());
and it worked.
I don't need the RTL feature for my application, so I'm not stuck
here, but I guess if the issue is confirmed, it should still be fixed
for developers who would need the RTL feature.

Regards

On Aug 11, 9:34 am, Patrick Herrmann <[email protected]>
wrote:
> Hi all,
>
> I'm having a weird issue when I run a war I created using the Maven
> plugin (gwt.version is 2.3.0):
>                          <plugin>
>                                 <groupId>org.codehaus.mojo</groupId>
>                                 <artifactId>gwt-maven-plugin</artifactId>
>                                 <version>${gwt.version}</version>
>                                 <dependencies>
>                                         <dependency>
>                                                 
> <groupId>com.google.gwt</groupId>
>                                                 
> <artifactId>gwt-user</artifactId>
>                                                 
> <version>${gwt.version}</version>
>                                         </dependency>
>                                         <dependency>
>                                                 
> <groupId>com.google.gwt</groupId>
>                                                 
> <artifactId>gwt-dev</artifactId>
>                                                 
> <version>${gwt.version}</version>
>                                         </dependency>
>                                 </dependencies>
>                                 <configuration>
>                                         <logLevel>INFO</logLevel>
>                                         <extraJvmArgs>-Xmx512m 
> -Xss1024k</extraJvmArgs>
>                                         <module>${gwt.module.name}</module>
>                                         <runTarget>front.html</runTarget>
>                                         
> <webappDirectory>${gwt.output.directory}</webappDirectory>
>                                         <style>${gwt.style}</style>
>                                 </configuration>
>                                 <executions>
>                                         <execution>
>                                                 <goals>
>                                                         <goal>compile</goal>
>                                                 </goals>
>                                         </execution>
>                                 </executions>
>                         </plugin>
> The browser cannot open the main page because it complains about
> "LAST_STRONG_IS_RTL_REis undefined". I've checked ant 
> noticedLAST_STRONG_IS_RTL_REis a regular expression declared in class
> com.google.gwt.i18n.shared.BidiUtils. And this class exists in the
> dependencies above.
> When I run the same code in embedded mode, everything runs fine. Also,
> I've noticed that this issue appeared after I introduced a class
> extending CssResource in my code to manage CSS styles.
>
> I cannot find any occurrence of this issue on the web, so I guess I'm
> just missing something obvious, but cannot find out what.
> Could anyone give me a hint?
>
> Thanks a lot for your feedback

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to