You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Zheng Shuai (JIRA)" <ji...@apache.org> on 2007/02/11 05:18:20 UTC
[jira] Updated: (WW-1730) The refreshOnShow attribute in
tabbedPanel does not work
[ https://issues.apache.org/struts/browse/WW-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shuai updated WW-1730:
----------------------------
Description:
Just upgrate my current project from 2.0.1 to 2.0.5, but unfortunately the new div which is used to replace previous panel tag does not run correctly based on the document:
refreshOnShow : Content will be loaded when div becomes visible, used only inside tabbedPanel
it does not work, I modify the example:
<s:tabbedPanel id="test2" theme="ajax" cssStyle="width: 500px; height: 300px;" doLayout="true">
<s:div theme="ajax" id="left" label="left" refreshOnShow="true" >
This is the left pane<br/>
<s:form >
<s:textfield name="tt" label="Test Text" /> <br/>
<s:textfield name="tt2" label="Test Text2" />
</s:form>
</s:div>
<s:div theme="ajax" href="%{ajaxTest}" id="ryh1" label="remote one" refreshOnShow="true"/>
<s:div theme="ajax" id="middle" label="middle" refreshOnShow="true">
middle tab<br/>
<s:form >
<s:textfield name="tt" label="Test Text44" /> <br/>
<s:textfield name="tt2" label="Test Text442" />
</s:form>
</s:div>
<s:div theme="ajax" href="%{ajaxTest}" id="ryh21" label="remote right" refreshOnShow="true"/>
</s:tabbedPanel>
The attribute refreshOnShow does not affect anything.
BTW: in the release note, why I don't see any places talk about the removal of panel tag.
2.0.5 is a great improve comparing with 2.0.1(I check out the code everyday but no time to test it, because it is quite often the build progress is broken), as what I see on the screen effect and performance, but unfortunately refreshOnShow feature is key functionality to my project, so I just rollback to 2.0.1, hope this can be solved soon then I can enjoy the new features.
was:
Just upgrate my current project from 2.0.1 to 2.0.5, but unfortunately the new div which is used to replace previous panel tag does run correctly based on the document:
refreshOnShow : Content will be loaded when div becomes visible, used only inside tabbedPanel
it does not work, I modify the example:
<s:tabbedPanel id="test2" theme="ajax" cssStyle="width: 500px; height: 300px;" doLayout="true">
<s:div theme="ajax" id="left" label="left" refreshOnShow="true" >
This is the left pane<br/>
<s:form >
<s:textfield name="tt" label="Test Text" /> <br/>
<s:textfield name="tt2" label="Test Text2" />
</s:form>
</s:div>
<s:div theme="ajax" href="%{ajaxTest}" id="ryh1" label="remote one" refreshOnShow="true"/>
<s:div theme="ajax" id="middle" label="middle" refreshOnShow="true">
middle tab<br/>
<s:form >
<s:textfield name="tt" label="Test Text44" /> <br/>
<s:textfield name="tt2" label="Test Text442" />
</s:form>
</s:div>
<s:div theme="ajax" href="%{ajaxTest}" id="ryh21" label="remote right" refreshOnShow="true"/>
</s:tabbedPanel>
The attribute refreshOnShow does not affect anything.
BTW: in the release note, why I don't see any places talk about the removal of panel tag.
2.0.5 is a great improve comparing with 2.0.1(I check out the code everyday but no time to test it, because it is quite often the build progress is broken), as what I see on the screen effect and performance, but unfortunately refreshOnShow feature is key functionality to my project, so I just rollback to 2.0.1, hope this can be solved soon then I can enjoy the new features.
> The refreshOnShow attribute in tabbedPanel does not work
> --------------------------------------------------------
>
> Key: WW-1730
> URL: https://issues.apache.org/struts/browse/WW-1730
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.5
> Reporter: Zheng Shuai
>
> Just upgrate my current project from 2.0.1 to 2.0.5, but unfortunately the new div which is used to replace previous panel tag does not run correctly based on the document:
> refreshOnShow : Content will be loaded when div becomes visible, used only inside tabbedPanel
> it does not work, I modify the example:
> <s:tabbedPanel id="test2" theme="ajax" cssStyle="width: 500px; height: 300px;" doLayout="true">
> <s:div theme="ajax" id="left" label="left" refreshOnShow="true" >
> This is the left pane<br/>
> <s:form >
> <s:textfield name="tt" label="Test Text" /> <br/>
> <s:textfield name="tt2" label="Test Text2" />
> </s:form>
> </s:div>
> <s:div theme="ajax" href="%{ajaxTest}" id="ryh1" label="remote one" refreshOnShow="true"/>
> <s:div theme="ajax" id="middle" label="middle" refreshOnShow="true">
> middle tab<br/>
> <s:form >
> <s:textfield name="tt" label="Test Text44" /> <br/>
> <s:textfield name="tt2" label="Test Text442" />
> </s:form>
> </s:div>
> <s:div theme="ajax" href="%{ajaxTest}" id="ryh21" label="remote right" refreshOnShow="true"/>
> </s:tabbedPanel>
> The attribute refreshOnShow does not affect anything.
> BTW: in the release note, why I don't see any places talk about the removal of panel tag.
> 2.0.5 is a great improve comparing with 2.0.1(I check out the code everyday but no time to test it, because it is quite often the build progress is broken), as what I see on the screen effect and performance, but unfortunately refreshOnShow feature is key functionality to my project, so I just rollback to 2.0.1, hope this can be solved soon then I can enjoy the new features.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.