gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Tab problem, href and label, in Safari #937

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
1.Make TabbedPanel with Remote Content as shown in example 
http://code.google.com/p/struts2-jquery/wiki/TabbedPanelTag
2.Change the label to a word with special characters.
3.Run it on Safari.

What is the expected output? What do you see instead?

The html code in the showcase (Remote Tabs with preselected Tab) for the tab 
four:

<a href="/struts2-jquery-showcase/ajax4.action" title="Remote Tab Four" 
class="ui-tabs-anchor" role="presentation" tabindex="-1" 
id="ui-id-98"><span>Remote Tab Four</span></a>

But when i try to do the same example in my project i can see this:

<a href="#Remote_Tab_Four" title="Remote Tab Four"><span>Remote Tab 
Four</span></a>

The href is like the TabTag label with a '#' at the start, in this case is not 
a problem but if i change the label with a word with special characters when i 
run it in Safari the Ajax page is not loading.

For example if i change the label="Remote Tab Four" by "#Pestaña Cuatro" the 
Ajax Page is not loading and the url bar of Safari show: 
.../TheNameOfMyJsp.jsp#Pestaña_Cuatro

Which struts2 version?
2.3.4.1

Which struts2-jquery plugin version?
3.4.0

Please provide any additional information below.

I saw another 
issue(http://code.google.com/p/struts2-jquery/issues/detail?id=791) with the 
same problem, but now his status is invalid.
I don't know if is correct open this issue, if not i sorry.

PD: Sorry for my awful english. 

Original issue reported on code.google.com by neolu...@gmail.com on 9 Jan 2013 at 9:14

GoogleCodeExporter commented 9 years ago
Edit: In my example, i change the label="Remote Tab Four' by "Pestaña Cuatro" 
with no '#' , i wrote it wrong.

Original comment by neolu...@gmail.com on 16 Jan 2013 at 5:08

GoogleCodeExporter commented 9 years ago
Please help me !

Original comment by neolu...@gmail.com on 21 Feb 2013 at 10:28