<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
        xmlns:wicket="http://wicket.apache.org";
        xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd 
http://wicket.apache.org";
        xml:lang="en">
     <head>
         <title>New User Registration</title>
     </head>
     <body>
         <strong>Even Newer User Registration Form</strong>
         <br/><br/>
         <span wicket:id="message">message will be here</span>
     </body>
</html> 

-----Original Message-----
From: Piller Sébastien [mailto:pi...@hmcrecord.ch] 
Sent: Monday, February 02, 2009 7:35 AM
To: users@wicket.apache.org
Subject: Re: What is the best way to handle "Undefined attribute name 
(wicket:id)" warnings from Eclipse Ganymede?

Hi,

add the "xmlns:wicket" definition in "html":

    <html xmlns:wicket>
    ...


this works fine for me

Kent Larsson a écrit :
> Hi,
>
> If I have some HTML with Wicket attributes in it:
>
> <html>
>     <head>
>         <title>New User Registration</title>
>     </head>
>     <body>
>         <strong>Even Newer User Registration Form</strong>
>         <br/><br/>
>         <span wicket:id="message">message will be here</span>
>     </body>
> </html>
>
> I get "Undefined attribute name (wicket:id)." warning from Eclipse 
> Ganymede from the <span...> line. What's the best solution to get rid 
> of such warnings? If it's possible having some validation would be nice.
>
> Best regards, Kent
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to