No, not at all.
See this sample of alerady generated menu:
==================================
<div class="menu">
    <ul>
        <li><a href="./menu/index.html">DEMOS<!--[if IE
7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]-->
            <ul>
                <li><a href="../menu/nodots.html">active focus</a></li>
                <li><a class="drop"
href="../menu/hover_click.html"><!--[if IE
7]><!--></a><!--<![endif]-->
                <!--[if lte IE 6]><table><tr><td><![endif]-->
                    <ul>
                        <li><a href="../menu/form.html">styled form</a></li>
                        <li><a href="../menu/nodots.html">removing
active/focus borders</a></li>
                        <li><a
href="../menu/hover_click.html">hover/click</a></li>
                    </ul>
                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                </li>
                <li><a href="../menu/em_images.html">em image sizes
compared</a></li>
            </ul>
            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
        <li><a href="./boxes/index.html">BOXES<!--[if IE
7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]-->
            <ul>
                <li><a href="cross.html">non-rectangular</a></li>
                <li><a href="jigsaw.html">jigsaw links</a></li>
                <li><a href="circles.html">circular links</a></li>
            </ul>
            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
        </li>
    </ul>
</div>
==================================

Those parts are important:

<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]></td></tr></table></a><![endif]-->

the markup which is seen by the browser is not illegal, browser see
correct tags <a>...</a> in the ouput, one of the </a> tags is always
commented for the browser, which one depends on the browser type, only
wicket can see both closing tags and fires an error.

Vitek


Dne 8 Červen 2007, 16:59, Igor Vaynberg napsal(a):
> so, to clarify, what you are trying to do is output illegal html? like
> <a>...</a></a>?
>
>
> -igor
>
>
>
> On 6/8/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote:
>
>>
>> I am afraid that it will not work.
>> I tried it with the Border, but it is the same problem.
>>
>>
>> There is one <a> tag but two </a> closing tags in the html, and the
>> browser accepts only one </a> close tag - it depends on the browser (IE,
>>  Mozilla..) which one, so the menu works without javascript in all
>> modern browsers.
>>
>> So whatever I do, there will be always one component, which will have
>> inside a tag which was not opened before.
>>
>> It still seems to me that I would need to turn off markup validation
>> for some component containing this tag. I looked on the settings
>> interfaces, but did not find it there.
>>
>> Is there some other solution how to solve this?
>>
>>
>> Vitek
>>
>>
>> Juergen Donnerstag wrote:
>>
>>> ok understood. And isn't it than a typical Border situation? Please
>>> take a look at Border and  MarkupComponentBorder and the respective
>>> javadoc and junit tests to see how they work.
>>>
>>> Juergen
>>>
>>>
>>> On 6/8/07, Vit Rozkovec <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>> Actually I do, sometime the conditional text is there (when there
>>>> are subitems for current item), for all the rest the visibility of
>>>> span is set to false.
>>>>
>>>>
>>>> Vitek
>>>>
>>>>
>>>> Juergen Donnerstag wrote:
>>>>
>>>>
>>>>> Why do you need the fragments at all? The fragments body is a
>>>>> constant text, correct? You don't change it, you don't change the
>>>>> visibility.
>>>>>
>>>>> Juergen
>>>>>
>>>>>
>>>>> On 6/7/07, Ví­t Rozkovec <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Good day,
>>>>>> one more issue - is there some way how to turn of markup
>>>>>> validation? In my template I am using this:
>>>>>>
>>>>>>
>>>>>> ====================================
>>>>>> <wicket:panel>
>>>>>> <span wicket:id="outerConditionalStart"></span>
>>>>>> <ul>
>>>>>> <li wicket:id="liItem">
>>>>>> <a href="#" wicket:id="link">
>>>>>> <span wicket:id="linkText">[text
>>>>>>
>> odkazu]</span>
>>>>>> <span
>>>>>>
>> wicket:id="innerConditionalStart"></span>
>>
>>>>>> </a>
>>>>>> <span wicket:id="innerConditionalEnd"></span>
>>>>>> <span wicket:id="subItemInsertPoint"></span>
>>>>>> </li>
>>>>>> </ul>
>>>>>> <span wicket:id="outerConditionalEnd"></span>
>>>>>> </wicket:panel>
>>>>>>
>>>>>>
>>>>>> <wicket:fragment wicket:id="outerConditionalStart">
>>>>>> <!--[if lte IE 6]><table><tr><td><![endif]-->
>>>>>> </wicket:fragment>
>>>>>>
>>>>>>
>>>>>> <wicket:fragment wicket:id="outerConditionalEnd">
>>>>>> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
>>>>>> </wicket:fragment>
>>>>>>
>>>>>>
>>>>>> <wicket:fragment wicket:id="innerConditionalStart">
>>>>>> <!--[if IE 7]><!-->
>>>>>> </wicket:fragment>
>>>>>>
>>>>>>
>>>>>> <wicket:fragment wicket:id="innerConditionalEnd">
>>>>>> <!--<![endif]-->
>>>>>> </wicket:fragment>
>>>>>> ========================================
>>>>>>
>>>>>>
>>>>>> The problem is that wicket complains about using fragments this
>>>>>> way
>> with
>>>>>> message:
>>>>>>
>>>>>>
>>>>>> WicketMessage: Tag '<td>' (line 20, column 30) has a mismatched
>>>>>> close tag at '</wicket:fragment>' (line 21, column 1)
>>>>>>
>>>>>>
>>>>>> My purpose is to first initialize a menu tree and then
>>>>>> traversing
>> whole
>>>>>> tree, generating drop-down menu with the structure which can be
>>>>>> seen
>> here:
>>
>>>>>> http://www.cssplay.co.uk/menus/css/final_drop.txt
>>>>>> The whole working menu can bee seen here:
>>>>>> http://www.cssplay.co.uk/menus/final_drop.html
>>>>>>
>>>>>>
>>>>>> What solution can be for my problem?
>>>>>> Or does wicket has natively some support for creating dropdown
>>>>>> menus?
>> I
>>
>>>>>> was unable to find. Thanks for any help.
>>>>>> Regards Vitek
>>>>>>
>>>>>>
>>>>>>
>> -----------------------------------------------------------------------
>> --
>>
>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>> Download DB2 Express C - the FREE version of DB2 express and
>>>>>> take control of your XML. No limits. Just data. Click to get it
>>>>>> now. http://sourceforge.net/powerbar/db2/
>>>>>> _______________________________________________
>>>>>> Wicket-user mailing list
>>>>>> Wicket-user@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>> -----------------------------------------------------------------------
>> --
>>
>>>>> This SF.net email is sponsored by DB2 Express
>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>> http://sourceforge.net/powerbar/db2/
>>>>> _______________________________________________
>>>>> Wicket-user mailing list
>>>>> Wicket-user@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>>>
>>>>>
>>>>>
>>>>
>> -----------------------------------------------------------------------
>> --
>>
>>>> This SF.net email is sponsored by DB2 Express
>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>> control of your XML. No limits. Just data. Click to get it now.
>>>> http://sourceforge.net/powerbar/db2/
>>>> _______________________________________________
>>>> Wicket-user mailing list
>>>> Wicket-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>>
>>>>
>>>>
>>>
>>>
>> -----------------------------------------------------------------------
>> --
>>
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Wicket-user mailing list
>>> Wicket-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>
>>>
>>
>>
>> -----------------------------------------------------------------------
>> --
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
> -------------------------------------------------------------------------
>  This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/_____________________________________
> __________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to