Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.5.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Windows XP
Platform: PC
Description
The MenuItem is not rendering the target attribute when links are specified in a
MenuItem.
Carlo identified this issue and was able to work around it as follows;
<script>
function showMedium( sUrl ) {
popup_win = window.open( sUrl, '', 'width=800, height=600,
scrollbars=yes, resizable=yes, status=no, location=no, menubar=no');
}
</script>
<ice:menuItem value="About ICEfaces" link="javascript:
showMedium('http://www.icefaces.org')"/>
MenuItem.
Carlo identified this issue and was able to work around it as follows;
<script>
function showMedium( sUrl ) {
popup_win = window.open( sUrl, '', 'width=800, height=600,
scrollbars=yes, resizable=yes, status=no, location=no, menubar=no');
}
</script>
<ice:menuItem value="About ICEfaces" link="javascript:
showMedium('http://www.icefaces.org')"/>
It appears that the target attribute is missing from the MenuItemTag class.
I will also check the component-dt meta-data.