Re: Nested modal windows

2010-10-03 Thread Martin Grigorov
See http://wicketstuff.org/wicket14/ajax/modal-window , the 'page' example On Sat, Oct 2, 2010 at 11:55 AM, Chris Colman chr...@stepaheadsoftware.comwrote: I use nested modal windows but I was wondering about how I should set those up in markup. Eg., say I have ModalWindow 0 and Modal Window

Re: Wicket 1.4.12 Ajax problems

2010-10-03 Thread Mathias Nilsson
I also tried 1.4.12 and got the same problem in chrome. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-12-Ajax-problems-tp2930684p2953070.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket 1.4.12 Ajax problems

2010-10-03 Thread Martin Grigorov
Did you try with 1.4.11 before trying 1.4.12 ? Someone in IRC had the same problem - try 1.4.11, the browser caches the broken wicket-ajax.js (see WICKET-3040) and then upgrade to 1.4.12 but the browser still used the cached version from 1.4.11. You said that you tried several browsers so maybe

Re: Wicket 1.5 and OSGi

2010-10-03 Thread Eike Kettner
Hi there, Just a few updates from my side : I recompiled wicket-trunk with changed a package structure and then my application starts happily with wicket 1.5-M21. (by the way, I'm using Apache Felix 3.0.2) I now use the workaround of wrapping the wicket jars I need into one jar. So it's no big

Re: Wicket 1.5 and OSGi

2010-10-03 Thread Martin Grigorov
Hi Elke, As I said I don't use OSGi so I can say something that is against OSGi rules, but here is what I'd do in your case: create a Maven project (named for example 'wicket-bundle'), packaging type 'jar' and empty src/ folder. Then use maven-shade-plugin just to produce one bigger .jar out of

Re: Wicket 1.5 and OSGi

2010-10-03 Thread Eike Kettner
Hi Martin thanks for your advice. I didn't know the maven-shade-plugin, but I create on big wicket jar containing all wicket jars like wicket-request, wicket-xyz with pax:wrap-jar. This also works fine. Just want to mention that with this change in wicket 1.5, wicket cannot be used in OSGi

Re: Wicket 1.5 and OSGi

2010-10-03 Thread Eike Kettner
Hi Martin thanks for your advice. I didn't know the maven-shade-plugin, but I create on big wicket jar containing all wicket jars like wicket-request, wicket-xyz with pax:wrap-jar. This also works fine. Just want to mention that with this change in wicket 1.5, wicket cannot be used in OSGi

Re: Wicket 1.5 and OSGi

2010-10-03 Thread Martin Grigorov
Hi Eike, Please file a bug in Jira with link to this mail thread. On Sun, Oct 3, 2010 at 2:33 PM, Eike Kettner e...@eknet.org wrote: Hi Martin thanks for your advice. I didn't know the maven-shade-plugin, but I create on big wicket jar containing all wicket jars like wicket-request,

Re: instantiate panels in a spring bean

2010-10-03 Thread Ben Tilford
What are you using to build the project? If your doing stub generation (mixed java groovy project) see if the stubs look right. There are a few bugs in the stub generator when dealing with inner classes but it shouldn't have compiled in that case. On 10/2/10, fachhoch fachh...@gmail.com wrote:

Re: StatelessLink

2010-10-03 Thread Altuğ Bilgin Altıntaş
I found the problem (not solution yet) Spring's AOP config : aop:config proxy-target-class=true aop:aspect ref=loggingAspect aop:pointcut id=daoPointcut expression=execution(boolean org.jtpd.data..*(..)) / aop:around pointcut-ref=daoPointcut

Re: StatelessLink

2010-10-03 Thread Jeremy Thomerson
Show your link code. You're obviously holding a reference to the aspect, which can't be serialized. Jeremy Thomerson http://wickettraining.com -- sent from my smart phone, so please excuse spelling, formatting, or compiler errors On Oct 3, 2010 2:16 PM, Altuğ Bilgin Altıntaş alt...@gmail.com

Re: StatelessLink

2010-10-03 Thread Altuğ Bilgin Altıntaş
Problem occurs because of Spring integration; I called Service like that final SupplierService supplierService = (SupplierService) LazyInitProxyFactory.createProxy(SupplierService.class, new IProxyTargetLocator() { public Object locateProxyTarget() { return

Re: chrome + wicket ajax + back button = problem?

2010-10-03 Thread Ryan Crumley
What is interesting is this is not a wicket specific issue however it is more serious when using wicket than other frameworks due to the expired links causing errors when they reappear. I created a very simple version of the problem. Chrome and IE8 exhibits the problem but Firefox and Safari do

Re: chrome + wicket ajax + back button = problem?

2010-10-03 Thread Zilvinas Vilutis
Yes, it is not repeatable on FF because FF does page caching which IE does not for Back history. Your page must be stateless on the server side. Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Sun, Oct 3, 2010 at 3:47 PM, Ryan Crumley crum...@gmail.com wrote: What

Re: instantiate panels in a spring bean

2010-10-03 Thread fachhoch
Actually this is groovy script, I load this using spring lang tags lang:groovy id=menuItems script-source=classpath:mypackage/UserMenuItems.groovy /lang:groovy please help me. -- View this message in context:

Re: chrome + wicket ajax + back button = problem?

2010-10-03 Thread Ryan Crumley
Just to clarify: The page in the example link I sent is stateless (it's static html). The other point is that Chrome and IE do not fetch the original page on back button click. They are serving the original html straight from the cache (without the DOM modifications). It sounds like the only fix

New App - Best Practices

2010-10-03 Thread Francisco Diaz Trepat - gmail
Hi I've tested wicket before it was in the apache incubator and found it to be awesome, since then we have adopted it and I have been migrating all legacy applications for my company for the last 3 years aprox. Now I have to build a small app to manage small accounting and logistics for my wife's

Re: New App - Best Practices

2010-10-03 Thread Jeremy Thomerson
So, ideas on what to use? UI = Wicket. + 1.4? + 1.5? middle layer? Persistence? Wicket / Spring / Hibernate is a very common setup, so you will have an easy time finding examples, help, etc. -- Jeremy Thomerson http://www.wickettraining.com

Re: New App - Best Practices

2010-10-03 Thread Sam Stainsby
On Sun, 03 Oct 2010 20:40:04 -0300, Francisco Diaz Trepat - gmail wrote: Now I am free to do whatever I want. This is the worst part. :-) I understand that feeling! When I started designing our web app framework, I picked the technologies from an enormous set of options that I thought would

RE: New App - Best Practices

2010-10-03 Thread Chris Colman
We use Wicket with DataNucleus (JDO) www.datanucleus.org as the persistence layer. The persistence side is truly transparent and it performs really well - your model objects don't need any extra methods and you are free to model and code just as if you were dealing with an 'in memory' only set of

RE: New App - Best Practices

2010-10-03 Thread Chris Colman
So, ideas on what to use? If you want to avoid ORMs completely, you could consider an object database like DB4O as we have in Granite. Granite is currently is not quite complete and poorly documented, and written Scala not Java, but there is surely something you can use there if you want to go

Re: New App - Best Practices

2010-10-03 Thread 7zark7
There's no best practices any more :-) Wicket/Spring/Hibernate is simple and lots of examples. Hibernate with JPA is super-easy to work with. If you want something different, NoSQL such as CouchDB is nice, especially if you need to store binary attachments, etc. My current stack is

Re: New App - Best Practices

2010-10-03 Thread Sam Stainsby
On Mon, 04 Oct 2010 11:36:48 +1000, Chris Colman wrote: Forgot to mention: DataNucleus allows you to use a wide range of datastores and switch between them without any code changes: eg., all the usual RDBMSes (MySQL, Oracle etc.,), Object Databases (DB4O and some others), Google Application

Re: New App - Best Practices

2010-10-03 Thread Brian Topping
I personally use Wicket / Spring / JPA Hibernate / PostgreSQL. Hibernate because I know how to tune it and I'm too busy learning other new technologies to focus on replacing one that is working for my needs now. Spring because it helps immensely with unit testing and marginally by promoting

Rendering Html on Ajax Request

2010-10-03 Thread Gurpreet.Singh
Hi All, I have some property define in property file like below Myproperty.name = This is bbold/b And on some Ajax request I am adding this property to some label like this add(new Label(somelable, getLocalizer().getString(Myproperty.name.)) My problem is , html tags are rendered as text

Re: Rendering Html on Ajax Request

2010-10-03 Thread Mauro Ciancio
Hello, This could help you, org.apache.wicket.Component#setEscapeModelStrings That would disable the escape of strings. Regards. On Sun, Oct 3, 2010 at 11:21 PM, gurpreet.si...@wellsfargo.com wrote: Hi All, I have some property define in property file like below Myproperty.name = This is

RE: New App - Best Practices

2010-10-03 Thread Chris Colman
Forgot to mention: DataNucleus allows you to use a wide range of datastores and switch between them without any code changes: eg., all the usual RDBMSes (MySQL, Oracle etc.,), Object Databases (DB4O and some others), Google Application Engine (GAE), LDAP, Excel plus loads more. If you don't

Re: JFreeChart with clickable imagemap

2010-10-03 Thread James
Dear all, I've added a new wiki page JFreeChart with tooltip examplehttps://cwiki.apache.org/confluence/display/WICKET/JFreeChart+with+tooltip+example, which outlines the steps to follow to create JFreeChart based charts that can display tooltips. On Fri, Oct 1, 2010 at 3:05 PM, James

Re: New App - Best Practices

2010-10-03 Thread Jeremy Thomerson
On Sun, Oct 3, 2010 at 9:17 PM, Brian Topping topp...@codehaus.org wrote: If you want to use Spring, read the first chapter of the reference, skip to the database chapter, THEN skip back as necessary to fill in the gaps on how to set up the database. That's the fastest way to learn it. I've

Re: Rendering Html on Ajax Request

2010-10-03 Thread Jeremy Thomerson
Also, you should do this instead: add(new Label(somelable, new StringResourceModel(your-string-key))) On Sun, Oct 3, 2010 at 9:48 PM, Mauro Ciancio maurocian...@gmail.comwrote: Hello, This could help you, org.apache.wicket.Component#setEscapeModelStrings That would disable the escape of

Re: New App - Best Practices

2010-10-03 Thread Brian Topping
On Oct 3, 2010, at 11:19 PM, Jeremy Thomerson wrote: On Sun, Oct 3, 2010 at 9:17 PM, Brian Topping topp...@codehaus.org wrote: If you want to use Spring, read the first chapter of the reference, skip to the database chapter, THEN skip back as necessary to fill in the gaps on how to set up

Re: New App - Best Practices

2010-10-03 Thread James Carman
Make sure your Manning books don't already come with the free PDF version before you spring (couldn't resist) for it. When I get them from Amazon, they sometimes come with an insert that allows you to download the PDF. On Oct 3, 2010 11:35 PM, Brian Topping topp...@codehaus.org wrote: On Oct 3,

Re: New App - Best Practices

2010-10-03 Thread Sam Stainsby
On Mon, 04 Oct 2010 12:59:43 +1000, Chris Colman wrote: Keep in mind though that adding a layer like this over DB4O will mostly remove the advantages that would make you want to choose DB4O in the first place. Not really AFAIK: The ability to not have to manage fetch depths that JDO/DB40

Re: New App - Best Practices

2010-10-03 Thread Brian Topping
On Oct 3, 2010, at 11:58 PM, Sam Stainsby wrote: In any case coding to a standard persistence interface (JDO) over a proprietary API is IMHO an insurance policy I can understand that, and I think that way too in some situations, but I reject the notion that there is no price to pay.

Re: instantiate panels in a spring bean

2010-10-03 Thread Arjun Dhar
May or may not be consequential, why is myInit not public? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/instantiate-panels-in-a-spring-bean-tp2946859p2953812.html Sent from the Users forum mailing list archive at Nabble.com.