Re: NiftyCube in WO (maybe off-topic)
Re: NiftyCube in WO (maybe off-topic)
- Subject: Re: NiftyCube in WO (maybe off-topic)
- From: "Daniele Corti" <email@hidden>
- Date: Wed, 29 Aug 2007 16:42:27 +0200
2007/8/29, Josh Paul <email@hidden>:
It may be that I haven't had my coffee yet, but where is your
NiftyLoad _javascript_ function being called? I believe it should be
onLoad.
On Aug 29, 2007, at 1:27 AM,
email@hidden
wrote:
> Hi all,
> I'm trying to use NiftyCube in WO, but it seems to not working
> properly:
> when I open the first page I've noproblem, but, after I open the
> next page,
> the Niftied corners don't appear.
>
> Probably I'm simply doing something wrong. My structure is:
>
>
>
> GWTWrapper:
> <head>
> import css
**********************************
> import nifty script
**********************************
This explain why the first thing I do at work is COFFEEEEEE!!!!
;-P
> <script type="text/_javascript_">
> NiftyLoad = function()
> {
> Nifty("div#content", "br");
> Nifty("div#header","top,trasparent");
> Nifty("span#footer");
> }
> </script>
> </head>
>
> <body>
> <div>
> <div id="general">
> <div id="header">
> <wo:GWTHeader />
> </div>
> <div id="content">
>
> <wo:WOComponentContent />
>
> </div>
> <div id="actionBar">
> <wo:GWTActionBar />
> </div>
> <span id="footer">
> <wo:GWTFooter />
> </span>
> </div>
> </div>
> </body>
>
>
> the main is:
> <wo:GWTWrapper>
>
> <wo:WOForm>
> <h2>Log In</h2>
> <wo:WOConditional condition="$errorLogin">
> <p><wo:WOString value="$~localizeString(errorLogin)"
> escapeHTML="$false" /></p>
> </wo:WOConditional>
> <p style="width: 300px; text-align: right;">
> <wo:WOString value="$~localizeString(\"UsernamePrompt\")"
> escapeHTML="$false" />: <wo:WOTextField value="$username" />
> </p>
> <p style="width: 300px; text-align: right;">
> <wo:WOString value="$~localizeString(\"PasswordPrompt\")"
> escapeHTML="$false" />: <wo:WOPasswordField value="$password" />
> </p>
> <p style="width: 280px; text-align: right; margin-right: 20">
> <wo:WOSubmitButton value="$~localizeString(\"EnterPrompt\")"
> action="" />
> </p>
> </wo:WOForm>
> </wo:GWTWrapper>
>
> the action, for now, simply make
>
> return this.pageWithName(Main.class.getName());
>
>
> but after reload the page the divs are not rounded.
>
> I've also tried to point the reload to another page, but it still
> doesn't
> work.
>
> Thank for all advices!
> --
> Daniele Corti
> AIM: S0CR4TE5
> Messenger: email@hidden
>
> --
> Computers are like air conditioners -- they stop working properly
> if you
> open
> WINDOWS
>
> --
> What about the four lusers of the apocalypse? I nominate:
> "advertising", "can't log in", "power switch" and "what backup?"
> --Alistair Young
--
Daniele Corti
AIM: S0CR4TE5
Messenger:
email@hidden--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden