JoaoPagottoPJ 26 de jul. de 2007
Fala fabio blz ?
Coloque apenas o theme=ajax no head e vai dar certo. O tema já é embutido no Struts2
Eis a solução:
<%@ page contentType=“text/html; charset=UTF-8” %>
<%@ taglib prefix=“s” uri="/struts-tags" %>
<html>
<head>
<title>JM Struts 2 </title>
<link href="<s:url value="/css/styles.css"/>" rel=“stylesheet” type=“text/css” />
<s:head theme=“ajax”/>
</head>
& lt ; body & gt ;
& lt ; h1 & gt ; Exemplo de Abas & lt ; / h1 & gt ;
& lt ; s : tabbedPanel id = "test2" theme = "simple" cssStyle = "width: 500px; height: 300px;" doLayout = "true" & gt ;
& lt ; s : div id = "left" label = "test1" theme = "ajax" & gt ; I ' m a Tab !!! & lt ; / s : div & gt ;
& lt ; s : div id = "middle" label = "test2" theme = "ajax" & gt ; I ' m the other Tab !!! & lt ; / s : div & gt ;
& lt ; / s : tabbedPanel & gt ;
& lt ; / body & gt ;
</html>
[]'s
JoaoPagottoPJ 26 de jul. de 2007
Fala fabio blz ?
Coloque apenas o theme=ajax no head e vai dar certo. O tema já é embutido no Struts2
Eis a solução:
& lt ; % @ page contentType = "text/html; charset=UTF-8" %& gt ;
& lt ; % @ taglib prefix = "s" uri = "/struts-tags" %& gt ;
& lt ; html & gt ;
& lt ; head & gt ;
& lt ; title & gt ; JM Struts 2 & lt ; / title & gt ;
& lt ; link href = "<s:url value=" / css / styles . css "/>" rel = "stylesheet" type = "text/css" /& gt ;
& lt ; s & # 58 ; head theme = "ajax" /& gt ;
& lt ; / head & gt ;
& lt ; body & gt ;
& lt ; h1 & gt ; Exemplo de Abas & lt ; / h1 & gt ;
& lt ; s & # 58 ; tabbedPanel id = "test2" theme = "simple" cssStyle = "width: 500px; height: 300px;" doLayout = "true" & gt ;
& lt ; s & # 58 ; div id = "left" label = "test1" theme = "ajax" & gt ; I ' m a Tab !!! & lt ; / s & # 58 ; div & gt ;
& lt ; s & # 58 ; div id = "middle" label = "test2" theme = "ajax" & gt ; I ' m the other Tab !!! & lt ; / s & # 58 ; div & gt ;
& lt ; / s & # 58 ; tabbedPanel & gt ;
& lt ; / body & gt ;
& lt ; / html & gt ;
[]'s
fabiozoroastroPJ 26 de jul. de 2007
Olá JoaoPagotto.
Eu tinha perguntado isso a um tempinho já… rs…
Eu já tinha resolvido na época, mas mesmo assim Valeu!!!