Pretty long subject eh..

use the labelposition property for your first <s:div tag
so it will be something like

                     <s:div id=\"left\" label=\"test1\" theme=\"ajax\"
labelposition=\"top\">
                         I\'m a Tab!!!
                     </s:div >
                     <s:div  id=\"middle\" label=\"test2\"  theme=\"ajax\" >
                         I\'m the other Tab!!!
                     </s:div >

and lose all the css and theme=\"simple\" from the <s:tabbedPanel tag.
just to see if it works..



                               <s:tabbedPanel id=\"test2\"
theme=\"simple\" cssStyle=\"width: 500px; height:
300px;\" doLayout=\"true\" closeButton=\"pane\" labelposition=\"bottom\">
                     <s:div id=\"left\" label=\"test1\" theme=\"ajax\" >
                         I\'m a Tab!!!
                     </s:div >
                     <s:div  id=\"middle\" label=\"test2\"  theme=\"ajax\" >
                         I\'m the other Tab!!!
                     </s:div >


On 2/20/08, xianwinwin <[EMAIL PROTECTED]> wrote:

> WHAT am I possibly doing wrong here?
>
> I want to get this result: (attention on the tabs example)
> http://www.nabble.com/file/p15600219/good.jpeg
>
>
> but I get this result:
> http://www.nabble.com/file/p15600219/wrong.bmp
>
>
> the code is:
>
> <%@ include file=\"/pages/layouts/taglibs.jsp\" %>
> <html>
> <h2 class=\"menu\" id=title>Welcome <s:property
> value=\"%{#session.USER_SESSSION_HANDLE.fname}\"/>; last login <s:property
> value=\"%{#session.security_user_last_logged_in}\"/></h2>
> <%@ include file=\"tabMenu.jsp\" %><body class=\"section-3\">
>
>
>
>
> <head>
>     <title>Ajax examples - tabbled panel</title>
>
>     <s:head theme=\"ajax\"/>
>     <link rel=\"stylesheet\" type=\"text/css\" href=\"<s:url
> value=\"/struts/tabs.css\"/>\">
>
>
>
>
> <body>
>
>                                 <s:tabbedPanel id=\"test2\" theme=\"simple\" 
> cssStyle=\"width: 500px; height:
> 300px;\" doLayout=\"true\" closeButton=\"pane\" labelposition=\"bottom\">
>                       <s:div id=\"left\" label=\"test1\" theme=\"ajax\" >
>                           I\'m a Tab!!!
>                       </s:div >
>                       <s:div  id=\"middle\" label=\"test2\"  theme=\"ajax\" >
>                           I\'m the other Tab!!!
>                       </s:div >
>
>                   </s:tabbedPanel>
>
>
>
> </body>
> </html>
>
> --
> View this message in context: 
> http://www.nabble.com/strut2---Ajax-dojo%3A-rrrrrr-what%27s-wrong-with-my-settings--cant-get-the-theme%3Dajax-to-wrork-%28pictures-included%29-tp15600219p15600219.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to