Bom dia a todos, estou estudando o struts dois e coloquei esse trecho no meu jsp, idêntico ao exemplo do próprio struts:
<s:tabbedPanel id="test2" theme="simple" cssStyle="width: 500px; height: 300px;" doLayout="true">
<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>
Só que não ficam as abas quando eu vejo a página, fica mostrando os dois textos(I’m a Tab e I’m the other Tab) um embaixo do outro. Alguém tem alguma dica?
Abraço.
Jonatas
Outubro 22, 2007, 10:35am
#2
Fabio,
Olá!
Você conseguiu achar uma solução para este problema??
Muito obrigado!
Jonatas
Fala fabiozoroastro imagino que vc precisa configurar o seu dwr e um outro arquivo que eu nao lembro o nome agora ! rsrs
mas da uma fuçada. que eu acho que vc resolve
falo
Abs
Olá pessoal.
Conseguiram achar uma solução para o problema?
T+
Verifique a versão que estas utilizando. Eu estava utilizando a versão 2.0.12 do Struts. Realizei testes com a versão 2.0.6 e 2.0.11. Ambas funcionaram direitinho.
Até mais,
Marcos.
Cara o meu funciona bem, tenta o codigo abaixo:
<s:tabbedPanel id=“Tabs” cssStyle=“font-family: Verdana; font-wheght: bold; width: 60%”>
<s:div label=“Topico 1” href="…/…/candidato/topico1.jsp" theme=“ajax” refreshOnShow=“true” cssStyle=“display:none; font-weight: normal; padding= 10px; text-align: left;”></s:div>
<s:div label=“Topico 2” href="…/…/candidato/topico2.jsp" theme=“ajax” refreshOnShow=“true” executeScripts=“true” cssStyle=“display:none; font-weight: normal; padding: 10px; text-align: left;”></s:div>
<s:div label=“Topico 3” href="…/…/candidato/topico3.jsp" theme=“ajax” refreshOnShow=“true” executeScripts=“true” cssStyle=“display:none; font-weight: normal; padding: 10px; text-align: left;”></s:div>
<s:div label=“Topico 4” href="…/…/candidato/topico4.jsp" theme=“ajax” refreshOnShow=“true” executeScripts=“true” cssStyle=“display:none; font-weight: normal; padding: 10px; text-align: left;”></s:div>
<s:div label=“Topico 5” href="…/…/candidato/topico5.jsp" theme=“ajax” refreshOnShow=“true” executeScripts=“true” cssStyle=“display:none; font-weight: normal; padding: 10px; text-align: left;”></s:div>
<s:div label=“Topico 6” href="…/…/candidato/topico6.jsp" theme=“ajax” refreshOnShow=“true” executeScripts=“true” cssStyle=“display:none; font-weight: normal; padding: 10px; text-align: left;”> </s:div>
<s:div label=“Topico 7” href="…/…/candidato/topico7.jsp" theme=“ajax” refreshOnShow=“true” executeScripts=“true” cssStyle=“display:none; font-weight: normal; padding: 10px; text-align: left;”> </s:div>
<s:div label=“Topico 8” href="…/…/candidato/topico8.jsp" theme=“ajax” refreshOnShow=“true” executeScripts=“true” cssStyle=“display:none; font-weight: normal; padding: 10px; text-align: left;”> </s:div>
</s:tabbedPanel>