struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <mbarr...@wfscorp.com>
Subject Re: [S2] Adding a Tab Dynamically
Date Wed, 17 Jan 2007 14:39:56 GMT
How is it different? Feel free to log a ticket.

regards
musachy

André Faria wrote:
> Is the a way to add tag dynamically in tabbedPane...
>
> I am triyng this way:
> <script>
>    var tabContainer = dojo.widget.byId("tabbedPane");
>    var url = 'person.action';
>    var cp = dojo.widget.createWidget("BindDiv", {label:'Persons', 
> executeScripts:true, parseContent:true, extractContent:true, href:url, 
> id:'personTab' });
>    tabContainer.addChild(cp);
> </script>
>
> That's works but the result is not the same that when using 
> <s:tabbedPane><s:div>...
>
> Regards,
> André Faria
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message