[ 
https://issues.apache.org/struts/browse/WW-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41686
 ] 

Rene Gielen commented on WW-2067:
---------------------------------

Do you want to avoid AJAX or JavaScript in general? For the latter case, a 
tabbed panel is not much more than a html link list, visually "pimped" to 
display as tabs - but performing full request and result rendering for every 
click. As you are suggesting to work with jsp includes, I assume that this is 
what you want to do, butI'm not sure if we would need a struts-tag for this....

If you don't like to use AJAX (or Dojo includes), but JS/DHTML is ok, then 
something like WebFX tabbed panels might be nice to use, even nice to integrate 
as tag based solution, e.g. in a third party extension. But this would require 
to send the full page to the browser again, thus not enabling a on demand 
server side include.

> Make tabbed pane usable without the need for AJAX
> -------------------------------------------------
>
>                 Key: WW-2067
>                 URL: https://issues.apache.org/struts/browse/WW-2067
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Views
>    Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 
> 2.0.8, 2.0.9
>            Reporter: Hubert Grininger
>
> There sould be a AJAX-less version of the tabbed panel, because *not everyone 
> wants to use ajax*, at least not as a prerequisite.
> The declaration should look a bit like that:
> Example:
>  <s:tabbedPanel id="test">
>     <s:panel id="one" label="one"       include="inc/panelone.inc.jsp" >      
>   
>     <s:panel id="two" label="remote"  include="inc/paneltwo.inc.jsp" >        
>  </s:tabbedPanel>
> So you just declare which jsp files should be included for each tab. The 
> include is only done when the specific panel is active.
> I think it's a bit like the old WebWork's tabbedpane tag, but not as 
> complicated to configure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to