Re: Multiple TextField in ListView

2008-04-05 Thread Mathias P.W Nilsson
Thanks! I will try this immediately! -- View this message in context: http://www.nabble.com/Multiple-TextField-in-ListView-tp16492002p16510457.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Form processing question

2008-04-05 Thread Mathias P.W Nilsson
Hi! I have this simple form that has a property model and in the onSubmit I handle the data. Is this the correct way of doing it? Sometimes it takes a little time for the form to redirect after post. If doing this in php I would have an intermediate page that would handle the process so the

Re: Sorting and ListView

2008-04-05 Thread Edvin Syse
I'm using a ListView to display contents of a List of a domain object. Pretty simply. However, the domain has a name on it that is internationalized, ie it will used a key value from a dot properties file. The issue is is that the List of object must be sorted based on the internationalized

Cannot add wicket component to style tag

2008-04-05 Thread Daniel Walmsley
Hi there, I'm writing a wicket template that produces a KML document, and it won't let me add labels or resolve component wicket:id within the KML Style tag. D'oh! I'm assuming this is a hangover from the HTML world. My KML snippet: !-- styles for every user -- Style

Inheritance inside a Container

2008-04-05 Thread Oliver Sawade
Hi everyone, my first mail to the list, i hope this wasn`t answered million times before, but the wicket users faq is empty so i couldn`t find it there ;) I'm using wicket1.3 to create a generic panel with the option to hide everything inside when clicking an ajax-button. While the actual

AjaxEditableLabel default type

2008-04-05 Thread Jan Kriesten
Hi, is there a reason why AEL assumes type String by default and doesn't use the ConverterLocator on the ModelObject to create the label + read/write the Model? String should only be a fallback if no IConverter could be found? Best regards, --- Jan.

Re: AjaxEditableLabel default type

2008-04-05 Thread Erik van Oosten
Regardless of the reason (I don't know it), you can use a model wrapper to circumvent this. Search for ModelWrapper in earlier posts. Regards, Erik. Jan Kriesten wrote: Hi, is there a reason why AEL assumes type String by default and doesn't use the ConverterLocator on the

DoubleConverter broken for locale vi (vietnamese)

2008-04-05 Thread petrisoft
Hi I am using wicket 1.3.2 and it seems the Double Converter is broken for the Vietnamese language. How would I get round this?. It keeps on adding an extra zero. IConverter iConverter = new DoubleConverter(); String valueStr = 99.0; Double convertValue = (Double)

Re: AjaxEditableLabel default type

2008-04-05 Thread Jan Kriesten
hi erik, Regardless of the reason (I don't know it), you can use a model wrapper to circumvent this. you don't need a wrapper if you set the type on the ael - that's why i'm curious why the converterlocator isn't used in the first place. best regards, --- jan.

Re: Inheritance inside a Container

2008-04-05 Thread Martijn Dashorst
You should do this: WMC wmc = new WMC(childContainer) { @override boolean isTransparentResolver() { return true; } }; This is not a bug. If you do add() in the subclass's constructor, you add to the page itself. Which is how the hierarchy is constructed. By telling the WMC that it is a

Re: DoubleConverter broken for locale vi (vietnamese)

2008-04-05 Thread Matthew Young
For the vi locale, . is the radix mark and , is the decimal mark. So 99,0 is 990. See this: Double doubleValue = new Double(999.999); String convertString = iConverter.convertToString(doubleValue, newLocale(vi)); System.out.println(Double value: + doubleValue +

FeedbackPanel ul has no class

2008-04-05 Thread Zach Cox
In the latest early access version of Wicket in Action, page 202, it gives this as the markup that FeedbackPanel produces: ul class=feedbackPanel li class=feedbackPanelERROR span class=feedbackPanelERRORField 'name' is required./span /li /ul However, in real usage the ul element has

Re: Inheritance inside a Container

2008-04-05 Thread Maurice Marrink
In other words, what you should have done in the first place was public class testChildPanel extends testSuperPanel { public testChildPanel(String id) { super(id); get(childContainer).add(new Label(childLabel,Test!)); } } So that the label would have actually been attached to the

Re: FeedbackPanel ul has no class

2008-04-05 Thread Matthew Young
The book is incorrect. There is no class attribute in the ul tag and there is no way to add one through FeedbackPanel class. But you can do this: div class=feedbackPanel wicket:id=feedbackF/div and style the feedback ul: .feedbackPanel ul { etc etc } On Sat, Apr 5, 2008 at 12:57 PM, Zach

Re: FeedbackPanel ul has no class

2008-04-05 Thread Igor Vaynberg
you can just subclass the panel and provide your own markup with the class on the ul. also add a jira issue to have it added to the core panel -igor On Sat, Apr 5, 2008 at 2:08 PM, Matthew Young [EMAIL PROTECTED] wrote: The book is incorrect. There is no class attribute in the ul tag and

Re: FeedbackPanel ul has no class

2008-04-05 Thread Matthew Young
Jira added: https://issues.apache.org/jira/browse/WICKET-1485 On Sat, Apr 5, 2008 at 2:11 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: you can just subclass the panel and provide your own markup with the class on the ul. also add a jira issue to have it added to the core panel -igor On

Re: FeedbackPanel ul has no class

2008-04-05 Thread atul singh
I find the class attribute feedbackPanelERROR in my error feedback for wicket1.3.0 beta2 Does this mean that this was removed from feedback panel in further version..? On Sun, Apr 6, 2008 at 2:56 AM, Matthew Young [EMAIL PROTECTED] wrote: Jira added:

Re: FeedbackPanel ul has no class

2008-04-05 Thread Martijn Dashorst
the problem is not feedbackPanelERROR on the li elemnt but the class element of the ul element: ul class=feedbackPanel On 4/6/08, atul singh [EMAIL PROTECTED] wrote: I find the class attribute feedbackPanelERROR in my error feedback for wicket1.3.0 beta2 Does this mean that this was

Re: FeedbackPanel ul has no class

2008-04-05 Thread Martijn Dashorst
and why are you still working with beta2? Martijn On 4/6/08, atul singh [EMAIL PROTECTED] wrote: I find the class attribute feedbackPanelERROR in my error feedback for wicket1.3.0 beta2 Does this mean that this was removed from feedback panel in further version..? On Sun, Apr 6,