myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Crose <ipblackh...@gmail.com>
Subject JSCookMenu generating a JBoss server WARN output.
Date Wed, 21 Dec 2005 18:40:06 GMT
I have download the nightly build of myfaces and examples so I can use the
"navigation rules" approach for jscookMenu.

#######################  Info from
www.myfaces.org########################################
Example 1

A simple menu with navigation rules.

Note: This example uses an external link action. This is only available in
nightly builds (as of 3 Dec 2005).

<t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="css/jscookmenu">
         <%/* Availaible jscookMenu themes: ThemeIE, ThemeMiniBlack,
ThemeOffice, ThemePanel
      Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr, vbl, vur, vul
     respect to Heng Yuan http://www.cs.ucla.edu/~heng/JSCookMenu
*/%>

    <t:navigationMenuItem id="nav_2"
            itemLabel="Examples">
            <t:navigationMenuItem id="nav_2_1"
                    itemLabel="Sample 1" action="go_sample1" />
            <t:navigationMenuItem split="true"> </t:navigationMenuItem>
            <t:navigationMenuItem id="nav_2_2"
                    itemLabel="Sample 2" action="go_sample2"
                     icon="images/myfaces.gif" />
            <t:navigationMenuItem id="nav_2_4"
                    itemLabel="Components"
                    icon="images/component.gif" split="true">
                    <t:navigationMenuItem id="nav_2_4_1"
                            itemLabel="Sort Table"
                             action="go_sortTable" icon="images/myfaces.gif" />
                    <t:navigationMenuItem id="nav_2_4_2"
                            itemLabel="Select Box"
                             action="go_selectbox" icon="images/myfaces.gif" />
                    <t:navigationMenuItem id="nav_2_4_3"
                            itemLabel="File upload"
                             action="go_fileupload" icon="images/myfaces.gif" />
            </t:navigationMenuItem>
    </t:navigationMenuItem>

    <%/* Need a new version of MyFaces for this external link action
to function */%>
    <t:navigationMenuItem id="nav_53"
         itemLabel="Apache MyFaces Home" action="http://myfaces.apache.org" />

</t:jscookMenu>

##############################################################################################

I installed the latest examples and binaries on JBoss 4.0.3 and it
runs without any messages or errors.
I changed the jscookmenu.jsp file and the example_config.xml file and
then rebuilt the war file.
Now when I click on any menu item there is no action/navigation to the
requested page, and a message
in the JBoss log:

"08:18:16,775 WARN  [ReducedHTMLParser] Invalid tag found: unexpected
input while looking for attr name or '/>' at line 376"

I would like to know the source of the WARNing and the root cause of
the message.

Any ideas ???

Thanks in advance....

Mime
View raw message