You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Musachy Barroso <mu...@gmail.com> on 2007/05/04 22:11:45 UTC

Re: [S2] s:div tag question.

We could do this on 2.1, locking the tabs so they cannot be selected is easy
(I just beforeSelectTabNotifyTopics/afterSelectTabNotifyTopics, where the
first one has a parameter, cancel, so you can set cancel.cancel = true on a
topic, preventing a tab from being selected), how could we visually "mark"
them as unselectable? Should we have a "disabledCssClass"?

musachy

On 4/26/07, Alberto Chiang <ac...@sistran.com.br> wrote:
>
> Hi all again!
>
> Well I did some research and i found that the tabbedPanel component
> belongs
> to the dojo framework and this "feature" is currently marked as an
> improvement *sight* to be released yet (version 0.9). Maybe I will have a
> go
> to struts-menu or something like this....does anyone know any good tab
> component around to integrate with S2?
>
>
> Cheers,
>
>
> Alberto Chiang
>
>
>
>
> -----Mensagem original-----
> De: Alberto Chiang [mailto:achiang@sistran.com.br]
> Enviada em: quinta-feira, 26 de abril de 2007 09:17
> Para: user@struts.apache.org
> Assunto: [S2] s:div tag question.
>
> Hi all,
>
>
>
> I'm currently using the <s:div> tag whitin the <s:tabbedPanel/> tag , and
> im
> wondering if there is a bug with the attribute disabled in the s:div tag,
> since i didn't succeed to disabled some tabs at al . Is this a bug or
> there
> is a work around on this?
>
>
>
> Code:
>
>
>
> <s:tabbedPanel id="tabbedPanel" theme="simple" doLayout="true">
>
>        <s:form theme="simple" action="myAction" namespace="/myNameSpace">
>
> <s:div id="tabOne" disabled="true" label="MyLabel" theme="ajax">
>
>              </s:div>
>
>        </s:form>
>
> <s:tabbedPanel>
>
>
>
> Any help would be really appreciated.
>
>
>
>
>
> Cheers,
>
> Alberto Chiang
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd