Re: [Wicket-user] Wicket + Sitemesh - Page truncation problem

2006-06-29 Thread Eelco Hillenius
I had problems with sourceforge too today. Thanks Ingram, Eelco On 6/28/06, Ingram Chen [EMAIL PROTECTED] wrote: I will post it after sourceforge allow login. On 6/29/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Thanks. Would you mind attaching that to an issue on sourceforge please?

Re: [Wicket-user] Auto-reloading template files

2006-06-29 Thread Marco Geier
Even with DEPLOYMENT in web.xml, wicket reloads markup from time to time. ( i didn't yet find any rules / corellations for these sporadic reloads, but they do happen - get logged) This doesn't happen on my WinXp based development platform, but on the FedoraCore4 based deployment platform. Any

Re: [Wicket-user] Auto-reloading template files

2006-06-29 Thread Johan Compagner
if you didn't program yourself somewhere in the code that he needs to do resource pollingthen this isn't possible because then we really don't check it.Isn't it really a poll for a new resource or a new resouce for a different locale? Or is the webapp or context not restarted suddenly somehow?If

[Wicket-user] [Ann] jwebunit 1.3-rc1 available

2006-06-29 Thread Martijn Dashorst
All, This is sort of spam, but I think this news may be of interest for you. The integration test framework jwebunit has gotten a new committer on the project, and he has been very active, resulting in a new and much improved jwebunit. jWebUnit is/has been used as a test framework for the wicket

Re: [Wicket-user] Auto-reloading template files

2006-06-29 Thread Johan Compagner
if this: /** * @see wicket.settings.IResourceSettings#setResourcePollFrequency(wicket.util.time.Duration) */ public void setResourcePollFrequency(final Duration resourcePollFrequency) and then:/** * @see wicket.settings.IResourceSettings#getResourceWatcher() */ public ModificationWatcher

[Wicket-user] Form validation

2006-06-29 Thread ketan gote
hello friends i am looking for form validation other then feedbackpanel. for eg ajax form validation etc or the displaying all message in feedback in one ine for all component wating for reply -- RegardsKetan D.Gote Using Tomcat but need to do more? Need to support web services, security? Get

Re: [Wicket-user] Allow nested components in VelocityPanel

2006-06-29 Thread Johan Compagner
now we directly see the problem..Who is responsible of closing that stream?When i walk through that code from newInputStream to Streams.readString() i don't see any closes.I also see that Streams doesn't close the BufferedReader that itself makes. Which seems wrong to me. I always say. The one who

Re: [Wicket-user] Form validation

2006-06-29 Thread Igor Vaynberg
see ComponentFeedbackPanel -Igor On 6/29/06, ketan gote [EMAIL PROTECTED] wrote: hello friends i am looking for form validation other then feedbackpanel. for eg ajax form validation etc or the displaying all message in feedback in one ine for all component wating for reply -- RegardsKetan

Re: [Wicket-user] Allow nested components in VelocityPanel

2006-06-29 Thread Jean-Baptiste Quenot
* Johan Compagner: now we directly see the problem.. Who is responsible of closing that stream? When i walk through that code from newInputStream to Streams.readString() i don't see any closes. I see your point now, I didn't notice FileResourceStream.close() method. Please find updated

[Wicket-user] Button and its model

2006-06-29 Thread cowwoc
Hi, I'd like to pass in a non-String model into a Button so I can use it for onSubmit() but then the Button text ends up being crap (hashcode of the model object). I can workaround this issue using an AttributeModifier(value) but this seems like a hack to me that might break in future

Re: [Wicket-user] Button and its model

2006-06-29 Thread Matej Knopp
Why do you have to specify object as component model to be able to use it in onSubmit? -Matej cowwoc wrote: Hi, I'd like to pass in a non-String model into a Button so I can use it for onSubmit() but then the Button text ends up being crap (hashcode of the model object). I can

Re: [Wicket-user] Button and its model

2006-06-29 Thread Eelco Hillenius
From the javadocs: * The model property is used to set the 'value' attribute. It will * thus be the label of the button that shows up for end users. If you want the * attribute to keep it's markup attribute value, don't provide a model, or let * it return an empty string. If you provide a

Re: [Wicket-user] Button and its model

2006-06-29 Thread Igor Vaynberg
the button uses its model to set the value of the value attributeso new Button(..., new ResourceModel(button.save)); for i18nsimple as that-Igor On 6/29/06, Eelco Hillenius [EMAIL PROTECTED] wrote: From the javadocs: * The model property is used to set the 'value' attribute. It will * thus be the

Re: [Wicket-user] RadioGroup onchange event (Wicket 1.2)

2006-06-29 Thread Paolo Di Tommaso
Well, with AjaxFormSubmitBehavior work with both onclick and onchange event .. quite impressive!But I'm get a bit confused about wicket ajax model .. if so which is the main difference between AjaxFormSubmitBehavior and AjaxFormComponentUpdatingBehavior? How to choose between them? Anyway thank

Re: [Wicket-user] Disabling Palette

2006-06-29 Thread Igor Vaynberg
we dont have a strict process in place. we spend as much of our own time as possible testing and rely on our users heavily. we also eat our own dog food, i believe all core committer's employers use wicket and so we work with it during our day jobs. in a company i work for i think we cover about

Re: [Wicket-user] RadioGroup onchange event (Wicket 1.2)

2006-06-29 Thread Igor Vaynberg
the formsubmit submits the entire form and goes through the entire form processing workflow while the component updating will only submit the value for that one component and perform the form processing workflow on just that one component. but because of the nature of radiogroup/radio components

[Wicket-user] How to customize multiple validate message in ListView ?

2006-06-29 Thread Ingram Chen
I have a table of data need to do form submission: Name Data === Item1 [ ] Item2 [ ] new ListView(items, items) { populateItem(ListItem item) { item.add(new Lebel(name) item.add(new RequiredTextField(data)); }} ;if I leave all data blank, I will got multiple

Re: [Wicket-user] How to customize multiple validate message in ListView ?

2006-06-29 Thread Igor Vaynberg
if you do textfield.setLabel(new ResourceModel(label.field1)) and define validator message as ${label} is required which it already is defined like that i think you will get the desired message with key label.field1 in the properties file defning the name of the field, or do setLabel(new

Re: [Wicket-user] How to customize multiple validate message in ListView ?

2006-06-29 Thread cowwoc
I also ran into similar problems. I had a NumberValidator and the default message was: '0' is not in the range 1-65535 (limits which I had set), which is nice and all but it would be nice if it mentioned which field contained the invalid value instead. For example, I would have preferred

Re: [Wicket-user] How to customize multiple validate message in ListView ?

2006-06-29 Thread Igor Vaynberg
yes it would, this is how i wanted our default error messages to work, but i guess other core committers dont think people use setLabel() that often on form components and looks like they were right-Igor On 6/29/06, cowwoc [EMAIL PROTECTED] wrote: Ah! Would this also work for what I just posted