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:

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

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/ -

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

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

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

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

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?

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

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

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

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,

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

2009-02-02 Thread jWeekend
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

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

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

2009-02-02 Thread Hoover, William
] 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

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

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

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:

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