I link your xsd to external resources of IDEA and add wicket:id to custom  
html tags/attributes, and now it know wicket'tags
, but  after validate following xhtml file :


<html xmlns="http://www.w3.org/1999/xhtml";
xmlns:wicket="http://wicket.sourceforge.net/"; xml:lang="en" lang="en">
<head>
        <title>your site : location within site : topic title</title>

        <wicket:remove>
         <script type="text/javascript" src="wicket-preview.js"></script>
        </wicket:remove>
</head>

<body>
     <p>Place your content here</p>
     <wicket:extend>
         <ol wicket:id="wmc">
             <li wicket:id="dates"><span wicket:id="date">[Test  
Date]</span></li>
         </ol>
     </wicket:extend>
</body>
</html>
============
i see :

D:\Documents and  
Settings\JavaMan\IdeaProjects\Modules\test1\src\main\java\app1\Home.xhtml

<b>Error</b>:Error:line (1,482)ct-props-correct.5: Error for type  
'#AnonType_a'. Two attribute declarations, 'name' and 'id' have types  
which are derived from ID.

<b>Error</b>:Error:line (20)cvc-complex-type.2.4.a: Invalid content was  
found starting with element 'wicket:remove'.
One of
        '{"http://www.w3.org/1999/xhtml":script,
        "http://www.w3.org/1999/xhtml":style,
        "http://www.w3.org/1999/xhtml":meta,
        "http://www.w3.org/1999/xhtml":link,
        "http://www.w3.org/1999/xhtml":object,
        "http://www.w3.org/1999/xhtml":isindex,
        "http://www.w3.org/1999/xhtml":base}' is expected.

<b>Error</b>:Error:line (26)cvc-complex-type.2.4.a: Invalid content was  
found starting with element 'wicket:extend'.
One of
        '{"http://www.w3.org/1999/xhtml":p,
        "http://www.w3.org/1999/xhtml":h1,
        "http://www.w3.org/1999/xhtml":h2,
        "http://www.w3.org/1999/xhtml":h3,
        "http://www.w3.org/1999/xhtml":h4,
        "http://www.w3.org/1999/xhtml":h5,
        "http://www.w3.org/1999/xhtml":h6,
        "http://www.w3.org/1999/xhtml":div, "http://www.w3.org/1999/xhtml":ul,  
"http://www.w3.org/1999/xhtml":ol, "http://www.w3.org/1999/xhtml":dl,  
"http://www.w3.org/1999/xhtml":menu, "http://www.w3.org/1999/xhtml":dir,  
"http://www.w3.org/1999/xhtml":pre, "http://www.w3.org/1999/xhtml":hr,  
"http://www.w3.org/1999/xhtml":blockquote,  
"http://www.w3.org/1999/xhtml":address,  
"http://www.w3.org/1999/xhtml":center,  
"http://www.w3.org/1999/xhtml":noframes,  
"http://www.w3.org/1999/xhtml":isindex,  
"http://www.w3.org/1999/xhtml":fieldset,  
"http://www.w3.org/1999/xhtml":table, "http://www.w3.org/1999/xhtml":form,  
"http://www.w3.org/1999/xhtml":a, "http://www.w3.org/1999/xhtml":br,  
"http://www.w3.org/1999/xhtml":span, "http://www.w3.org/1999/xhtml":bdo,  
"http://www.w3.org/1999/xhtml":object,  
"http://www.w3.org/1999/xhtml":applet, "http://www.w3.org/1999/xhtml":img,  
"http://www.w3.org/1999/xhtml":map, "http://www.w3.org/1999/xhtml":iframe,  
"http://www.w3.org/1999/xhtml":tt, "http://www.w3.org/1999/xhtml":i,  
"http://www.w3.org/1999/xhtml":b, "http://www.w3.org/1999/xhtml":u,  
"http://www.w3.org/1999/xhtml":s, "http://www.w3.org/1999/xhtml":strike,  
"http://www.w3.org/1999/xhtml":big, "http://www.w3.org/1999/xhtml":small,  
"http://www.w3.org/1999/xhtml":font,  
"http://www.w3.org/1999/xhtml":basefont,  
"http://www.w3.org/1999/xhtml":em, "http://www.w3.org/1999/xhtml":strong,  
"http://www.w3.org/1999/xhtml":dfn, "http://www.w3.org/1999/xhtml":code,  
"http://www.w3.org/1999/xhtml":q, "http://www.w3.org/1999/xhtml":samp,  
"http://www.w3.org/1999/xhtml":kbd, "http://www.w3.org/1999/xhtml":var,  
"http://www.w3.org/1999/xhtml":cite, "http://www.w3.org/1999/xhtml":abbr,  
"http://www.w3.org/1999/xhtml":acronym,  
"http://www.w3.org/1999/xhtml":sub, "http://www.w3.org/1999/xhtml":sup,  
"http://www.w3.org/1999/xhtml":input,  
"http://www.w3.org/1999/xhtml":select,  
"http://www.w3.org/1999/xhtml":textarea,  
"http://www.w3.org/1999/xhtml":label,  
"http://www.w3.org/1999/xhtml":button,  
"http://www.w3.org/1999/xhtml":noscript,  
"http://www.w3.org/1999/xhtml":ins, "http://www.w3.org/1999/xhtml":del,  
"http://www.w3.org/1999/xhtml":script}' is expected.

<b>Error</b>:Error:line (27)cvc-complex-type.3.2.2: Attribute 'wicket:id'  
is not allowed to appear in element 'ol'.

<b>Error</b>:Error:line (28)cvc-complex-type.3.2.2: Attribute 'wicket:id'  
is not allowed to appear in element 'li'.

<b>Error</b>:Error:line (28)cvc-complex-type.3.2.2: Attribute 'wicket:id'  
is not allowed to appear in element 'span'.
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to