Re: How can I share text resources with multiple web applications?

2009-03-21 Thread Igor Vaynberg
the real question is, where do the ant folks keep their resources? :) -igor On Fri, Mar 20, 2009 at 10:58 PM, Brill Pappin br...@pappin.ca wrote: Ahh... yes of course. I was hoping for a switch that would put the html there as well, and not include the extra resource config :) Oh well...

Re: Why are we top-posting...

2009-03-21 Thread Stephen Swinsburg
You read text from bottom to top? I thought this was dead and buried, people can post however they like and we are not going to conform to someone's 'standard'. Think of it this way, it's a mailing list where people write and read emails. How do you read and write your email? Pretty sure

wicket-jasper UI

2009-03-21 Thread freak182
Hello, I just wanna share this simple project called wicket-jasper. It is basically jasperreports embeded in wicket. If you wanna share your idea or added some features,please do so. Anyway, our company is already using it please see the attached files. Thanks. Cheers

Wicketstuff Core Dependency Management...

2009-03-21 Thread James Carman
The dependencies in the main wicketstuff-core are scoped for stuff like slf4j and jetty to be provided. This totally screwed me up when I was trying to write an example application (the log4j stuff wasn't showing up because it was marked as provided by the parent pom). Does anyone care if I

Re: Extensible wicket application

2009-03-21 Thread Daniel Dominik Holúbek
Thanks a lot, it works now. However, two more questions. Where should I place images folder and how should I access it in my html files (or style.css as well)? And the second one: when i try to insert a record with hibernate into my database, i get this exception: Batch entry 0 insert into

RE: Wicketstuff Core Dependency Management...

2009-03-21 Thread Jeremy Thomerson
I'm no Maven expert, but I believe we ended up doing it that way because it allowed subprojects to override those dependencies. I think if your subproject specifically needs it, you simply add it as a dependency to your pom and change it to required. You don't have to define a version - that

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread James Carman
Well, it does break some things and I plan on fixing those. The problem with dictating the provided scope in the parent is that it totally screws up the transitive dependencies. So, in my example (which was generated from a quickstart), I've got slf4j-log4j declared as a dependency. But, since

Re: How can I share text resources with multiple web applications?

2009-03-21 Thread Brill Pappin
Laugh. Don't start that now! - Brill Pappin Sent from my mobile. On 21-Mar-09, at 3:23 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the real question is, where do the ant folks keep their resources? :) -igor On Fri, Mar 20, 2009 at 10:58 PM, Brill Pappin br...@pappin.ca wrote:

Re: wicket-jasper UI

2009-03-21 Thread Brill Pappin
Oh nice! I was just contemplating how I was going to integrate jasper. Thanks for the heads up. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 6:38 AM, freak182 eman.noll...@gmail.com wrote: Hello, I just wanna share this simple project called wicket-jasper. It is basically

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread Brill Pappin
Actually that might mess up the rest of us :) If you need those lobs to be includes, simply add them to you pom and change their scope so they are included... The build should then override the provided scope in the parent. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 9:01 AM,

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread James Carman
But, I shouldn't *have* to do that, Brill. That's the whole point. Breaking transitive dependency resolution is a bad thing in the maven world. We're handing dependencies the wrong way if we're breaking stuff. On Sat, Mar 21, 2009 at 11:07 AM, Brill Pappin br...@pappin.ca wrote: Actually that

AutoCompleteTextField and accentuated characters

2009-03-21 Thread tleveque
Hi, I have a problem AutoCompleteTextField and accentuated characters. When I type characters within the us-ascii set, there is no problem, but as soon as I use other characters (like 'é'), it doesn't work. The wrong character is received. With the Ajax debugger I can see that what is sent is

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread James Carman
Wicket itself doesn't declare the dependencies this way. So, why should wicketstuff-core? On Sat, Mar 21, 2009 at 11:11 AM, James Carman jcar...@carmanconsulting.com wrote: But, I shouldn't *have* to do that, Brill.  That's the whole point. Breaking transitive dependency resolution is a bad

Re: Extensible wicket application

2009-03-21 Thread Brill Pappin
At the risk of starting another useless thread, this is what I do for images and other non HTML resources that are shared: - if the project is small, they can just sit with the HTML. - if the project is larger then it might be useful to keep them more separate, under an images directory and

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread Brill Pappin
I thought you were talking about the the jetty dependencies (which I think slf4j is part of)? If they are not marked as provided, then won't everyone have to override them in order to exclude them? - Brill On 21-Mar-09, at 11:11 AM, James Carman wrote: But, I shouldn't *have* to do that,

GRIDVIEW refresh -- yes or no.

2009-03-21 Thread ej595
Been spending some time with the Gridview repeater. Im using it for the cols and rows feature, and all seems great. However, it seems the dataprovider is only called once. If you have an ajax checkbox for example in your grid, and as a result of a click you want to update the ENTIRE item list,

RE: Wicketstuff Core Dependency Management...

2009-03-21 Thread Jeremy Thomerson
I'm totally in favor of anyone who knows more about Maven than me to fix it. I didn't know about the transitive dependency issue. Here are two things that I would add, though: - other than wicket itself, I don't think the parent should add any required dependencies - many subprojects may not

Re: Extensible wicket application

2009-03-21 Thread Ernesto Reinaldo Barreiro
useless thread? On Sat, Mar 21, 2009 at 4:17 PM, Brill Pappin br...@pappin.ca wrote: At the risk of starting another useless thread, this is what I do for images and other non HTML resources that are shared: - if the project is small, they can just sit with the HTML. - if the project is

Re: Extensible wicket application

2009-03-21 Thread Ernesto Reinaldo Barreiro
You are welcome. Sorry, I can no longer help with your new problems... Just one more thing: if you are going to ask different questions maybe is better if you start a new thread. Best, Ernesto On Sat, Mar 21, 2009 at 2:38 PM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: Thanks a lot,

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread James Carman
I don't mind fixing it at all, but I do believe it should be fixed. I spent a LONG time trying to figure out why my dependencies were showing up as provided when I clearly set them up in my pom as the default scope (compile). On Sat, Mar 21, 2009 at 12:27 PM, Jeremy Thomerson

Re: Extensible wicket application

2009-03-21 Thread Brill Pappin
Yah, the whole argument about where the resources should go or the one before that about top posting or bottom posting. You'd think we didn't have any actual work to do :) - Brill On 21-Mar-09, at 12:39 PM, Ernesto Reinaldo Barreiro wrote: useless thread? On Sat, Mar 21, 2009 at 4:17 PM,

Re: GRIDVIEW refresh -- yes or no.

2009-03-21 Thread Igor Vaynberg
webmarkupcontainer container=new webmarkupcontainer(); container.setoutputmarkupid(true); container.add(new mygridview()); ...add(new ajaxlink() { onclick(target) { target.add(container); }}); will repaint the entire gridview via ajax. -igor On Sat, Mar 21, 2009 at 9:25 AM, ej595

Re: GRIDVIEW refresh -- yes or no.

2009-03-21 Thread ej595
Yes , for sure it definately repaints it, but it seems that it repaints with the same contents or updated contents of the Items loaded from the inital dataprovider call ( iterator(int first, int count) ). If for example i want to refresh that list with a NEW database call, or rebuild the list -

Re: How can I share text resources with multiple web applications?

2009-03-21 Thread Martijn Dashorst
Ant is for n00bz... real men use commandline cp and javac, or if you're really good just type in byte code directly. Martijn On Sat, Mar 21, 2009 at 8:23 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the real question is, where do the ant folks keep their resources? :) -igor On Fri, Mar

AjaxTabbedPanel stopped working.

2009-03-21 Thread Mathias P.W Nilsson
Hi, I know this code is long but for some reason my AjaxTabbedPanel,link,onSubmit() is not getting called. package se.edgesoft.hairless.web.page.site.checkout; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import

Re: AjaxTabbedPanel stopped working.

2009-03-21 Thread Adriano dos Santos Fernandes
Mathias P.W Nilsson wrote: Hi, I know this code is long but for some reason my AjaxTabbedPanel,link,onSubmit() is not getting called. Create an onError and add the feedback panel to target, so you'll know why. Adriano -

Re: AjaxTabbedPanel stopped working.

2009-03-21 Thread Mathias P.W Nilsson
Thanks! You really saved my day. -- View this message in context: http://www.nabble.com/AjaxTabbedPanel-stopped-working.-tp22639328p22639422.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: GRIDVIEW refresh -- yes or no.

2009-03-21 Thread Igor Vaynberg
set a breakpoint in idataprovider and see if size/iterator() are called inside the ajax call. they should be. -igor On Sat, Mar 21, 2009 at 10:49 AM, ej595 kiks...@yahoo.co.uk wrote: Yes , for sure it definately repaints it, but it seems that it repaints with the same contents or updated

Re: GRIDVIEW refresh -- yes or no.

2009-03-21 Thread ej595
Yes i tried that also to see what the situation is. Iterator is only called once. Unless the entire page is re-loaded. I could be missing something simple. What ive done now is in the onUpdate(AjaxRequestTarget target) ive called getItems(); and i maniplate the items in the list manually. If

Re: GRIDVIEW refresh -- yes or no.

2009-03-21 Thread Igor Vaynberg
if that is the case you can create a quickstart and attach it to a jira issue. -igor On Sat, Mar 21, 2009 at 12:39 PM, ej595 kiks...@yahoo.co.uk wrote: Yes i tried that also to see what the situation is. Iterator is only called once. Unless the entire page is re-loaded. I could be missing

DropDownChoice in ListView

2009-03-21 Thread Alexander Lohse
Hi, I am encountering a strange problem when adding DropDownChoices to a ListView. Displaying and retrieving values works fine, BUT the values are lost during errorous form submission. The following ListView is added to a form. When the form is submitted successful all ModelObjects are

Re: DropDownChoice in ListView

2009-03-21 Thread Martijn Dashorst
ListView documentation states that you should setReuseItems(true) when working in a form or with form components. Martijn On Sat, Mar 21, 2009 at 9:26 PM, Alexander Lohse a...@humantouch.de wrote: Hi, I am encountering a strange problem when adding DropDownChoices to a ListView. Displaying

Re: DropDownChoice in ListView

2009-03-21 Thread Alexander Lohse
Thank you very much! Now that I know what to look out for, I think I must have been blind while searching for an answer. But my first reference, this cwiki page, missed out on this: http://cwiki.apache.org/WICKET/listview-with-checkboxes.html I just updated it and added the necessary line!

Re: Extensible wicket application

2009-03-21 Thread Daniel Dominik Holúbek
Ernesto, thank you very much :) If my application ever goes to the production, it will be thanks to you :) Regarding the images problem: I think I did not explain it well. I'm not asking where to place them. I placed them almost everywhere, but I still can't access them - in the bundle. You see,

Re: Extensible wicket application

2009-03-21 Thread Martijn Dashorst
surround your img tags with wicket:link Martijn On Sat, Mar 21, 2009 at 10:29 PM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: Ernesto, thank you very much :) If my application ever goes to the production, it will be thanks to you :) Regarding the images problem: I think I did not

WicketStuff yui-parent yui examples war not deploying correctly

2009-03-21 Thread Flavius
I just started looking at some of the JS framework integration a few days ago on WicketStuff. I am looking to do some drag drop stuff and possibly looking for split pane functionality. I am looking at YUI because a couple of people in here said the dnd stuff worked better than the

Bean Validation and Wicket

2009-03-21 Thread subbu_tce
Are there any plans in the future to make use of the Bean Validation Framework (JSR 303) in Wicket? Though we dont have any concrete implementations for JSR 303 yet and JSF 2.0 will be using JSR 303, how well is Wicket positioned to use bean validation? Thanks, Subbu. -- View this message in

Re: Why are we top-posting...

2009-03-21 Thread taha siddiqi
Now you all get a gun and shoot me :) I got your point How many times No No No .. Enough This is a declaration I, TAHA, WILL NEVER SAY THAT TOP POSTING IS BAD OR BOTTOM POSTING IS GOOD CLOSE THIS