Project

General

Profile

Authentication Widget Layout is Bad - derived from hangman

Added by Thomas Lynch over 10 years ago

This is my first Wt application, and I sure would appreciate some help.

Using firefox 23.0 and google-chrome 29.0:

I have reduced my application to be identical to the startup code for hangman - but the authentication widget layout is always just in one long line without formatting.

If I chop the game section out of hangman, I get seemingly identical code, but the authentication widget lays out correctly.

If I run hangman, kill the sever, then start the server for my application, then the authentication widget layout will be correct for all later sessions in that browswer for my application.

... so I guess there is a typo somewhere or the configuration is different. The /etc/wt/wt_config.xml is the default, there is no application specific code in it. The css I'm using and the local config file are now just copied from hangman.

Attached is the reduced to authentication widget only application. There is a simple build command in a comment at the top of Hangman.C One must first clear the browswer history before running it to see the layout error.


Replies (1)

RE: Authentication Widget Layout is Bad - derived from hangman - Added by Koen Deforche over 10 years ago

Hey,

You are missing the resources in your deployment. See also:

http://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html

Look for "Running an example" where it mentions symlinking the resources.

It will work briefly for your application because the browser caches these files.

Regards,

koen

    (1-1/1)