NiftyCube in WO (maybe off-topic)
NiftyCube in WO (maybe off-topic)
- Subject: NiftyCube in WO (maybe off-topic)
- From: "Daniele Corti" <email@hidden>
- Date: Wed, 29 Aug 2007 10:26:58 +0200
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
<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
_______________________________________________
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