Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NiftyCube in WO (maybe off-topic)



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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.