2007/8/29, Josh Paul <[EMAIL PROTECTED]>:
>
> 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 PROTECTED]
> 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="$logIn" />
> > </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 PROTECTED]
> >
> > --
> > 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 PROTECTED]
--
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]