Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Johan Compagner
the whole idea is of this thread that we don't want to have to add all kind of components on every place to localize youre html of all youre labels. I do see a good reason for that (maybe you as an american don's use i18n a lot ;)) Now i have slept a night over it i think we need to keep it

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread sven
Every time we're running into syntax discussions (see 'replacing OGNL') I feel that Wicket is deviating from the Java way. I think all the following suggestions would better be left unimplemented: input wicket:message=value=my-key type=.../ input wicket:message=value=my-key,

[Wicket-user] FormFeedbackIndicator

2005-11-10 Thread Marco van de Haar
We're trying to test a TextField wit a FormFeedbackIndicator. but we keep getting a 'the following Components failed to render' error on testform.indicator.FormFeedbackIndicator when we submit the form with errors. java: ... testfield = new RequiredTextField(text, new

[Wicket-user] Re: FormFeedbackIndicator

2005-11-10 Thread Marco van de Haar
Typo, sorry, ofcourse I meant FormComponentFeedbackIndicator We're trying to test a TextField wit a FormFeedbackIndicator. but we keep getting a 'the following Components failed to render' error on testform.indicator.FormFeedbackIndicator when we submit the form with errors. java: ...

Re: [Wicket-user] simple bookmarkable url

2005-11-10 Thread Igor Vaynberg
thats my point. there are thousands of possibilities as to how to do this. thats why we are trying to create something flexible instead of catering to one specific solution. in the meantime, you can still do what you want without any changes to wicket. -Igor On 11/9/05, Jeff Miller [EMAIL

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Scott Sauyet
[EMAIL PROTECTED] wrote: Every time we're running into syntax discussions (see 'replacing OGNL') I feel that Wicket is deviating from the Java way. I think all the following suggestions would better be left unimplemented: input wicket:message=value=my-key type=.../ input

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Igor Vaynberg
+1 -Igor On 11/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think wicket:message key=../ would fit well with our other wicket tags, e.g wicket:panel.IMHO such an addition would be very useful.SvenYou mean for tag text, correct? span wicket:message= hello.message /What do you think about

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Juergen Donnerstag
I've implemented it last night. Was fairly easy. I'll commt it tonight. wicket:message key=my-keyDefault value/wicket:message input wicket:message=attrName=my-key type=.../ As wicket core is very much pluggable, it can easily be added / removed. Juergen On 11/9/05, Igor Vaynberg [EMAIL

[Wicket-user] Re: where do I put controller/dispatcher logic?

2005-11-10 Thread Steven McNeel
Thanks for all the responses about this topic. The specific thing I'm trying to accomplish is this: I'm building a site with a standard sort of template page (which includes a navigation pane, a content pane, a search pane, the usual stuff). Every request needs to fire a query to a data store

Re: [Wicket-user] Re: where do I put controller/dispatcher logic?

2005-11-10 Thread Eelco Hillenius
If they are not in the scope of components but in the scope of a request, than it's fine to put the logic in a custom request cycle. Nothing wrong with that. Just wanted to make sure you have to be in that scope :) Eelco On 11/10/05, Steven McNeel [EMAIL PROTECTED] wrote: Thanks for all the

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Juergen Donnerstag
Igor, Eclipse warns me that Discouraged access: The type RenameResourceChange is not accessible due to restriction on required library D:\Programme\eclipse-3.1\eclipse\plugins\org.eclipse.jdt.ui_3.1.1.jar Any idea what I'm doing wrong? What is the easiest way to deploy it. I know I can copy the

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Igor Vaynberg
Juergen, I get the same warning. Im not really sure why its there. What im thinking is just copying and pasting that class into the plugin's source. As i said, this is my first time fiddling with eclipse. The easiest way i found to deploy it is to let eclipse generate an ant file by right

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Alexandru Popescu
#: Igor Vaynberg changed the world a bit at a time by saying on 11/11/2005 12:01 AM :# Juergen, I get the same warning. Im not really sure why its there. What im thinking is just copying and pasting that class into the plugin's source. As i said, this is my first time fiddling with eclipse.

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Igor Vaynberg
unfortunately i havent seen any open source plugins that embed a java editor inside a multitabbed editor yet, so its been hard to get my expiration :) unfortunately i just dont have the time to become an eclipse guru to work on this. maybe you can help out. -Igor On 11/10/05, Alexandru Popescu

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Juergen Donnerstag
First draft version available in CVS HEAD Juergen On 11/10/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: I've implemented it last night. Was fairly easy. I'll commt it tonight. wicket:message key=my-keyDefault value/wicket:message input wicket:message=attrName=my-key type=.../ As wicket

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Alexandru Popescu
#: Igor Vaynberg changed the world a bit at a time by saying on 11/11/2005 12:44 AM :# unfortunately i havent seen any open source plugins that embed a java editor inside a multitabbed editor yet, so its been hard to get my expiration :) unfortunately i just dont have the time to become an

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Igor Vaynberg
well what i would really like is this. whenever i click on a java file that extends from markupcontainer, i would like the java editor to open. On the bottom i would like to have tabs, one for each wicket resource So if i have MyPanel.java MyPanel.html MyPanel.properties and i double clik

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Alexandru Popescu
#: Igor Vaynberg changed the world a bit at a time by saying on 11/11/2005 2:50 AM :# well what i would really like is this. whenever i click on a java file that extends from markupcontainer, i would like the java editor to open. On the bottom i would like to have tabs, one for each wicket

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Igor Vaynberg
well it sounds resonable. but it also sounds like a lot of research and learning, unfortunately i dont think i have time for all that. i barely have enough time to work on wicket and wicket-spring integration stuff. so if someone wants to pick this up they are more then welcome to :) the code is

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Alexandru Popescu
#: Igor Vaynberg changed the world a bit at a time by saying on 11/11/2005 3:16 AM :# well it sounds resonable. but it also sounds like a lot of research and learning, unfortunately i dont think i have time for all that. i barely have enough time to work on wicket and wicket-spring integration

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Igor Vaynberg
I think it is worth it because it consolidates what usually is three different editor tabs into one, so i can access more things quickly. i have a 21 screen and i can only see about 6-7 tabs at a time, this plugin would double/tripple that real-estate. and it eliminates all the scrolling you have

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Andrew Berman
Jeurgen, I think the attribute feature should be removed. I think it is just un-Wicket-like, and I think others agree as I read form the emails in this thread. As I mentioned before I think when it comes to attributes, it is best to just do it from within the component manually instead of the

[Wicket-user] How to supply dynamic table header in Wicket Example ExamplePse

2005-11-10 Thread Huiping Yan
I am trying to use SortablePagableExportable table listed in wicket example 1.1 rc2, especialy, ExamplePse. Table header is created by SortableListViewHeaders.java as add(new SortableListViewHeaders(header, table) {...} hardcoded in html as below: thead wicket:id=header tr th

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Eelco Hillenius
I think/ agree that while Wicket's strong point lies in the fact that we keep things clean and code-centric, having easy localized string replacement without going through the whole requirement of having Wicket components in a matching hierarchy is a very good exception to the rule. Eelco On

Re: [Wicket-user] How to supply dynamic table header in Wicket Example ExamplePse

2005-11-10 Thread Juergen Donnerstag
I guess the sources would have to be modified. I don't think it is supported out-of-the box. Please bare in mind that these components are experimental only and have been developed at the very beginning of wicket. In the meantime the community has developed a much improved paged / sortable table

Re: [Wicket-user] How to supply dynamic table header in Wicket Example ExamplePse

2005-11-10 Thread Igor Vaynberg
see repeater examples in the wicket-examples project, specifically the DataTable. -Igor On 11/10/05, Huiping Yan [EMAIL PROTECTED] wrote: I am trying to use SortablePagableExportable table listed in wicket example1.1 rc2, especialy, ExamplePse.Table header is created