You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Hoover, William " <wh...@nemours.org> on 2009/02/02 15:05:56 UTC
RE: What is the best way to handle
"Undefined attribute name (wicket:id)" warnings from Eclipse Ganymede?
<?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:pills@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by James Carman <jc...@carmanconsulting.com>.
I don't know that I'd point your xmlns at the Apache Subversion
server. Can't you just use the URL mentioned in the wiki?
On Mon, Feb 2, 2009 at 10:55 PM, Timo Rantalaiho <Ti...@ri.fi> wrote:
> On Mon, 02 Feb 2009, jWeekend wrote:
>> We've been using:
>> xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd".
>
> Nowadays there's also
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by Bert <ta...@gmail.com>.
You can always surround your <wicket:extend> tags with a HTML header.
I do so all the time,
that i can preview the panel.
Everything outside the <wicket:extends> gets thrown away by wicket
when using the panel.
On Wed, Sep 2, 2009 at 09:18, PDiefent<pd...@csc.com> wrote:
>
> This works fine for pages, but how can I manage it when working with panels -
> there are no <html> tags to put the DTD in ...
>
>
> <wicket:extend>
> <div class="OptionsContainer" wicket:id="options"></div>
> ...
> </wicket:extend>
>
>
> Timo Rantalaiho wrote:
>>
>> On Mon, 02 Feb 2009, jWeekend wrote:
>>> We've been using:
>>> xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd".
>>
>> Nowadays there's also
>>
>> http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd
>>
>> http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd
>>
>> Best wishes,
>> Timo
>>
>> --
>> Timo Rantalaiho
>> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p25252744.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by PDiefent <pd...@csc.com>.
This works fine for pages, but how can I manage it when working with panels -
there are no <html> tags to put the DTD in ...
<wicket:extend>
<div class="OptionsContainer" wicket:id="options"></div>
...
</wicket:extend>
Timo Rantalaiho wrote:
>
> On Mon, 02 Feb 2009, jWeekend wrote:
>> We've been using:
>> xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd".
>
> Nowadays there's also
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p25252744.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by Anton Veretennikov <an...@gmail.com>.
I mean when wicket attributes and tags are stripped for production,
please, remove this namespace too.
On Wed, Feb 4, 2009 at 3:36 PM, Timo Rantalaiho <Ti...@ri.fi> wrote:
> On Wed, 04 Feb 2009, Anton Veretennikov wrote:
>> Please, don't forget to remove it when mode is DEPLOYMENT.
>
> What do you mean?
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name (wicket:id)" warnings from Eclipse Ganymede?
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Wed, 04 Feb 2009, Anton Veretennikov wrote:
> Please, don't forget to remove it when mode is DEPLOYMENT.
What do you mean?
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by Anton Veretennikov <an...@gmail.com>.
Please, don't forget to remove it when mode is DEPLOYMENT.
On Wed, Feb 4, 2009 at 8:29 AM, James Carman
<jc...@carmanconsulting.com> wrote:
> Ahhh, that's right. The archetype is released with wicket. DUH! :)
>
>
> On Tue, Feb 3, 2009 at 8:17 PM, jWeekend <jw...@cabouge.com> wrote:
>>
>> James,
>>
>> The version of Wicket that you'll find in your generated QuickStart's POM is
>> dictated by the archetype version you specify (eg -DarchetypeVersion=1.3.5).
>> The chosen version of the archetype will have the right xmlns in its
>> \archetype-resources\src\main\java\HomePage.html, right?
>>
>> Regards - Cemal
>> http://www.jWeekend.co.uk jWeekend
>>
>>
>>
>>
>> James Carman-3 wrote:
>>>
>>> You'd need to make sure the DTD matches what version of Wicket they
>>> chose, wouldn't you?
>>>
>>> On Tue, Feb 3, 2009 at 5:33 PM, jWeekend <jw...@cabouge.com>
>>> wrote:
>>>>
>>>> Timo,
>>>>
>>>> It's very simple change to the archetype:
>>>> just replace the html open tag
>>>>
>>>> with
>>>>
>>>> html
>>>> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
>>>>
>>>> in \archetype-resources\src\main\java\HomePage.html
>>>>
>>>> The question is, is there any reason why we wouldn't want to do this?
>>>> I've raised https://issues.apache.org/jira/browse/WICKET-2074 the Jira
>>>> issue anyway.
>>>>
>>>> Regards - Cemal
>>>> http://www.jWeekend.co.uk jWeekend
>>>>
>>>>
>>>>
>>>> Timo Rantalaiho wrote:
>>>>>
>>>>> On Tue, 03 Feb 2009, jWeekend wrote:
>>>>>> Is there a reason why the Wicket archetype doesn't add the appropriate
>>>>>> namespace in HomePage.html? Do you want a Jira issue raised for this?
>>>>>
>>>>> Yep, preferably with a patch and/or instructions of how
>>>>> exactly it should be -- I for one don't know much about this
>>>>> XML stuff :)
>>>>>
>>>>> Cheers,
>>>>> Timo
>>>>>
>>>>> --
>>>>> Timo Rantalaiho
>>>>> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21820419.html
>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21822673.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by James Carman <jc...@carmanconsulting.com>.
Ahhh, that's right. The archetype is released with wicket. DUH! :)
On Tue, Feb 3, 2009 at 8:17 PM, jWeekend <jw...@cabouge.com> wrote:
>
> James,
>
> The version of Wicket that you'll find in your generated QuickStart's POM is
> dictated by the archetype version you specify (eg -DarchetypeVersion=1.3.5).
> The chosen version of the archetype will have the right xmlns in its
> \archetype-resources\src\main\java\HomePage.html, right?
>
> Regards - Cemal
> http://www.jWeekend.co.uk jWeekend
>
>
>
>
> James Carman-3 wrote:
>>
>> You'd need to make sure the DTD matches what version of Wicket they
>> chose, wouldn't you?
>>
>> On Tue, Feb 3, 2009 at 5:33 PM, jWeekend <jw...@cabouge.com>
>> wrote:
>>>
>>> Timo,
>>>
>>> It's very simple change to the archetype:
>>> just replace the html open tag
>>>
>>> with
>>>
>>> html
>>> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
>>>
>>> in \archetype-resources\src\main\java\HomePage.html
>>>
>>> The question is, is there any reason why we wouldn't want to do this?
>>> I've raised https://issues.apache.org/jira/browse/WICKET-2074 the Jira
>>> issue anyway.
>>>
>>> Regards - Cemal
>>> http://www.jWeekend.co.uk jWeekend
>>>
>>>
>>>
>>> Timo Rantalaiho wrote:
>>>>
>>>> On Tue, 03 Feb 2009, jWeekend wrote:
>>>>> Is there a reason why the Wicket archetype doesn't add the appropriate
>>>>> namespace in HomePage.html? Do you want a Jira issue raised for this?
>>>>
>>>> Yep, preferably with a patch and/or instructions of how
>>>> exactly it should be -- I for one don't know much about this
>>>> XML stuff :)
>>>>
>>>> Cheers,
>>>> Timo
>>>>
>>>> --
>>>> Timo Rantalaiho
>>>> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21820419.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21822673.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by jWeekend <jw...@cabouge.com>.
James,
The version of Wicket that you'll find in your generated QuickStart's POM is
dictated by the archetype version you specify (eg -DarchetypeVersion=1.3.5).
The chosen version of the archetype will have the right xmlns in its
\archetype-resources\src\main\java\HomePage.html, right?
Regards - Cemal
http://www.jWeekend.co.uk jWeekend
James Carman-3 wrote:
>
> You'd need to make sure the DTD matches what version of Wicket they
> chose, wouldn't you?
>
> On Tue, Feb 3, 2009 at 5:33 PM, jWeekend <jw...@cabouge.com>
> wrote:
>>
>> Timo,
>>
>> It's very simple change to the archetype:
>> just replace the html open tag
>>
>> with
>>
>> html
>> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
>>
>> in \archetype-resources\src\main\java\HomePage.html
>>
>> The question is, is there any reason why we wouldn't want to do this?
>> I've raised https://issues.apache.org/jira/browse/WICKET-2074 the Jira
>> issue anyway.
>>
>> Regards - Cemal
>> http://www.jWeekend.co.uk jWeekend
>>
>>
>>
>> Timo Rantalaiho wrote:
>>>
>>> On Tue, 03 Feb 2009, jWeekend wrote:
>>>> Is there a reason why the Wicket archetype doesn't add the appropriate
>>>> namespace in HomePage.html? Do you want a Jira issue raised for this?
>>>
>>> Yep, preferably with a patch and/or instructions of how
>>> exactly it should be -- I for one don't know much about this
>>> XML stuff :)
>>>
>>> Cheers,
>>> Timo
>>>
>>> --
>>> Timo Rantalaiho
>>> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21820419.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21822673.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by James Carman <jc...@carmanconsulting.com>.
You'd need to make sure the DTD matches what version of Wicket they
chose, wouldn't you?
On Tue, Feb 3, 2009 at 5:33 PM, jWeekend <jw...@cabouge.com> wrote:
>
> Timo,
>
> It's very simple change to the archetype:
> just replace the html open tag
>
> with
>
> html
> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
>
> in \archetype-resources\src\main\java\HomePage.html
>
> The question is, is there any reason why we wouldn't want to do this?
> I've raised https://issues.apache.org/jira/browse/WICKET-2074 the Jira
> issue anyway.
>
> Regards - Cemal
> http://www.jWeekend.co.uk jWeekend
>
>
>
> Timo Rantalaiho wrote:
>>
>> On Tue, 03 Feb 2009, jWeekend wrote:
>>> Is there a reason why the Wicket archetype doesn't add the appropriate
>>> namespace in HomePage.html? Do you want a Jira issue raised for this?
>>
>> Yep, preferably with a patch and/or instructions of how
>> exactly it should be -- I for one don't know much about this
>> XML stuff :)
>>
>> Cheers,
>> Timo
>>
>> --
>> Timo Rantalaiho
>> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21820419.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by jWeekend <jw...@cabouge.com>.
Timo,
It's very simple change to the archetype:
just replace the html open tag
with
html
xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
in \archetype-resources\src\main\java\HomePage.html
The question is, is there any reason why we wouldn't want to do this?
I've raised https://issues.apache.org/jira/browse/WICKET-2074 the Jira
issue anyway.
Regards - Cemal
http://www.jWeekend.co.uk jWeekend
Timo Rantalaiho wrote:
>
> On Tue, 03 Feb 2009, jWeekend wrote:
>> Is there a reason why the Wicket archetype doesn't add the appropriate
>> namespace in HomePage.html? Do you want a Jira issue raised for this?
>
> Yep, preferably with a patch and/or instructions of how
> exactly it should be -- I for one don't know much about this
> XML stuff :)
>
> Cheers,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21820419.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name (wicket:id)" warnings from Eclipse Ganymede?
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Tue, 03 Feb 2009, jWeekend wrote:
> Is there a reason why the Wicket archetype doesn't add the appropriate
> namespace in HomePage.html? Do you want a Jira issue raised for this?
Yep, preferably with a patch and/or instructions of how
exactly it should be -- I for one don't know much about this
XML stuff :)
Cheers,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by jWeekend <jw...@cabouge.com>.
Timo, James et al,
Yes I agree, that's better.
Core devs,
Is there a reason why the Wicket archetype doesn't add the appropriate
namespace in HomePage.html? Do you want a Jira issue raised for this?
Regards - Cemal
http://www.jWeekend.co.uk jWeekend
Timo Rantalaiho wrote:
>
> On Mon, 02 Feb 2009, jWeekend wrote:
>> We've been using:
>> xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd".
>
> Nowadays there's also
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21807362.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by Michael Sparer <mi...@gmx.at>.
I'd say as currently there are no new tags in wicket 1.4 but there might be
later on - so it's best to keep the versions apart ...
michael
Kent Larsson-3 wrote:
>
> On Tue, Feb 3, 2009 at 4:55 AM, Timo Rantalaiho
> <Ti...@ri.fi>wrote:
>
>> Nowadays there's also
>>
>> http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd
>>
>> http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd
>>
>> Best wishes, Timo
>>
>
> But those two are exactly the same (same size and same content, only the
> file names differ). Why are there two identical files?
>
> Best regards, Kent
>
>
-----
Michael Sparer
http://techblog.molindo.at
--
View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21807039.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by Kent Larsson <ke...@gmail.com>.
On Tue, Feb 3, 2009 at 4:55 AM, Timo Rantalaiho <Ti...@ri.fi>wrote:
> Nowadays there's also
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd
>
> http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd
>
> Best wishes, Timo
>
But those two are exactly the same (same size and same content, only the
file names differ). Why are there two identical files?
Best regards, Kent
Re: What is the best way to handle "Undefined attribute name (wicket:id)" warnings from Eclipse Ganymede?
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Mon, 02 Feb 2009, jWeekend wrote:
> We've been using:
> xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd".
Nowadays there's also
http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd
http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: What is the best way to handle "Undefined attribute name
(wicket:id)" warnings from Eclipse Ganymede?
Posted by jWeekend <jw...@cabouge.com>.
We've been using:
xmlns:wicket="http://svn.apache.org/repos/asf/wicket/trunk/wicket/wicket-xhtml1-strict.dtd".
Regards - Cemal
http://www.jWeekend.co.uk jWeekend
whoover wrote:
>
> <?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/>
> message will be here
> </body>
> </html>
>
> -----Original Message-----
> From: Piller Sébastien [mailto:pills@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/>
>> message will be here
>> </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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-%22Undefined-attribute-name-%28wicket%3Aid%29%22--warnings-from-Eclipse-Ganymede--tp21788889p21794951.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org