Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-09-02 Thread PDiefent

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 OyURL: http://www.ri.fi/ 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p25252744.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-09-02 Thread Bert
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, PDiefentpdief...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p25252744.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-04 Thread Timo Rantalaiho
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 OyURL: http://www.ri.fi/ 

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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-04 Thread Anton Veretennikov
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 timo.rantala...@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 OyURL: http://www.ri.fi/ 

 -
 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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread Michael Sparer

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
 timo.rantala...@ri.fiwrote:
 
 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--tp2179p21807039.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread jWeekend

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 OyURL: http://www.ri.fi/ 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p21807362.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread Timo Rantalaiho
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 OyURL: http://www.ri.fi/ 

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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread jWeekend

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 OyURL: http://www.ri.fi/ 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p21820419.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread James Carman
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 jweekend_for...@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 OyURL: http://www.ri.fi/ 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p21820419.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread jWeekend

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 jweekend_for...@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 OyURL: http://www.ri.fi/ 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p21820419.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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
 
 
 

-- 
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--tp2179p21822673.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread James Carman
Ahhh, that's right.  The archetype is released with wicket.  DUH! :)


On Tue, Feb 3, 2009 at 8:17 PM, jWeekend jweekend_for...@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 jweekend_for...@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 OyURL: http://www.ri.fi/ 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p21820419.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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




 --
 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--tp2179p21822673.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-03 Thread Anton Veretennikov
Please, don't forget to remove it when mode is DEPLOYMENT.

On Wed, Feb 4, 2009 at 8:29 AM, James Carman
jcar...@carmanconsulting.com wrote:
 Ahhh, that's right.  The archetype is released with wicket.  DUH! :)


 On Tue, Feb 3, 2009 at 8:17 PM, jWeekend jweekend_for...@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 jweekend_for...@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 OyURL: http://www.ri.fi/ 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@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--tp2179p21820419.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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




 --
 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--tp2179p21822673.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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



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



RE: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread jWeekend

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
  titleNew User Registration/title
  /head
  body
  strongEven Newer User Registration Form/strong
  br/br/
  message will be here
  /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
 titleNew User Registration/title
 /head
 body
 strongEven 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-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
 
 
 

-- 
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--tp2179p21794951.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread Kent Larsson
Hi,

If I have some HTML with Wicket attributes in it:

html
head
titleNew User Registration/title
/head
body
strongEven Newer User Registration Form/strong
br/br/
span wicket:id=messagemessage 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


Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread James Carman
You could start by declaring the wicket namespace:

http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html


On Mon, Feb 2, 2009 at 7:33 AM, Kent Larsson kent.lars...@gmail.com wrote:
 Hi,

 If I have some HTML with Wicket attributes in it:

 html
head
titleNew User Registration/title
/head
body
strongEven Newer User Registration Form/strong
br/br/
span wicket:id=messagemessage 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



RE: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread Hoover, William
?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
 titleNew User Registration/title
 /head
 body
 strongEven Newer User Registration Form/strong
 br/br/
 span wicket:id=messagemessage 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
 titleNew User Registration/title
 /head
 body
 strongEven Newer User Registration Form/strong
 br/br/
 span wicket:id=messagemessage 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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread Piller Sébastien

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
titleNew User Registration/title
/head
body
strongEven Newer User Registration Form/strong
br/br/
span wicket:id=messagemessage 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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread Timo Rantalaiho
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 OyURL: http://www.ri.fi/ 

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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread James Carman
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 timo.rantala...@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 OyURL: http://www.ri.fi/ 

 -
 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



Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-02 Thread Kent Larsson
On Tue, Feb 3, 2009 at 4:55 AM, Timo Rantalaiho timo.rantala...@ri.fiwrote:

 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