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