Ok, so I revealed my complete ignorance of _javascript_ in the last question, but I still have an issue with MyFaces _javascript_ not executing in the portal environment. When I looked at the html generated in Tomcat, all of the scripts were gathered under the <head> tag and executed fine. In the portal, my <script> tags are all over the place and fail to execute. Onclick _javascript_ events do work, but I did have to change clientSideToggle to false for my tree to maintain it's expanded state.
I have tried adding a head tag in my jsp and including the head.inc from the examples with no luck. Anybody else run into this issue?
<table class="pageLayout">
<tr>
<td colspan="2" class="pageHeader">
<table id="program_subview_header:PC_7_0_5LG__id98" border="0" width="100%" class="pageHeader1">
<tbody>
<tr>
<td><span id="program_subview_header:PC_7_0_5LG__id99"> <font size="+1" color= "#FFFFFF">Ajax Information Services </font> <font size="-1" color="#FFFFFF" >Project Tracking Web</font>
</span></td>
<td><span id="program_subview_header:PC_7_0_5LG__id100" class="pageHeader">
<script type="text/_javascript_"><!--
var program_subview_header_PC_7_0_5LG__id101_menu =
[[null, 'Main', null, 'linkDummyForm', null,[null, 'Home', 'program_subview_header_PC_7_0_5LG__id101_menu:goHome', 'linkDummyForm', null],
[null, 'My Status', 'program_subview_header_PC_7_0_5LG__id101_menu:viewStatus', 'linkDummyForm', null]],[null, 'Edit', null, 'linkDummyForm', null,[null, 'Manage Databases', 'program_subview_header_PC_7_0_5LG__id101_menu:editDb', 'linkDummyForm', null], [null, 'Manage People', program_subview_header_PC_7_0_5LG__id101_menu:editPeople',
'linkDummyForm', null]], [null, 'Projects', 'program_subview_header_PC_7_0_5LG__id101_menu:#{treeNode.send}', 'linkDummyForm', null,[null, 'Reset Tree', 'program_subview_header_PC_7_0_5LG__id101_menu:#{treeNode.reset}', 'linkDummyForm', null],
_cmSplit,['<img src="">, 'Show Inactive', 'program_subview_header_PC_7_0_5LG__id101_menu:#{treeNode.filterInactive}', 'linkDummyForm', null],
['<img src="">, 'Show Completed', 'program_subview_header_PC_7_0_5LG__id101_menu:#{treeNode.filterComplete}', 'linkDummyForm', null]],
[null, 'Help', 'program_subview_header_PC_7_0_5LG__id101_menu:goHelp', 'linkDummyForm', null]];
//--></script>
<div id="program_subview_header_PC_7_0_5LG__id101_menu"></div>
<script type="text/_javascript_"><!--
cmDraw ('program_subview_header_PC_7_0_5LG__id101_menu', program_subview_header_PC_7_0_5LG__id101_menu, 'hbr', cmThemeOffice, 'ThemeOffice');
//--></script>
</span></td>
</tr>
</tbody>
</table>
Louis M. Burroughs III
| Louis Burroughs <[EMAIL PROTECTED]>
12/21/2005 07:49 PM
|
To: "MyFaces Discussion" <[email protected]> cc: bcc: Subject: JSCookMenu and JSCalendar script tag contents commented out |
I am running a MyFaces app in a WebSphere 5.1 portal environment. When my page renders, the content inside of the jscookmenu and the jscalendar script tags is commented. How can I stop this from happening? The same jsp worked fine in Tomcat 5.0.
Thanks
Louis M. Burroughs III

