Re: OpenSessionInViewFilter not working in portlets?

2009-09-14 Thread Ate Douma
Gonzalo Aguilar Delgado wrote: Hi, I'm trying to make the OpenSessionInViewFilter to work with my portlets but it seems that does not initialize nor work. Can you check if something is wrong, please? What I see is missing from your web.xml is needed dispatcher configurations for the

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-14 Thread nino martinez wael
Hmm seems the only one who are not compiling are ddcalendar.. The other two are syringe and shiro-security, until their dependencies become available.. There seems to be something here : http://repository.apache.org/snapshots/org/apache/shiro/ Tauren mentioned that he would correct the pom..?

WicketTester executeAjaxEvent onclick generating non-AJAX response

2009-09-14 Thread Francesco Izzi
Hi all, i have problem testing executeAjaxEvent (onclick). My test code is: public void testRemove() throws Exception { tester.setupRequestAndResponse(true); final Component component =

Re: OpenSessionInViewFilter not working in portlets?

2009-09-14 Thread Gonzalo Aguilar Delgado
Hi Ate, Right! That was! Now it's working... I will have to deal with transactions now but I think it's working properly now. Thank you a lot. El lun, 14-09-2009 a las 10:02 +0200, Ate Douma escribió: dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher

Best Practices: Wicket and BEA Weblogic Configuration

2009-09-14 Thread Mario Rodriguez
I have read several postings regarding the configuration of wicket for BEA clusters. There is however very little information about the best practices for such configuration. I have read that the persistent-store-type should be configured as replicated_if_clustered but besides this parameter,

RE: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread A. Zwaan
Sorry about the late reply, the migration was put on hold for a couple of days as some higher priority project needed some extra resources. The wicket 1.2.6 jar is in an ear file, which is one of the applications. The 1.4.1 jar is included in a war file, which is the other application. Both are

Re: ResourceModel and Collection

2009-09-14 Thread Pedro Santos
Hi, the best approach depends on your project. If the your collections of strings is an bean property, you can use PropertyModel, CompoundPropertyModel ex: new PropertyModelCollection(beanDayNews, sportNews); Depending on your model data heavy, you can use LoadableDetachableModel or Model...

moveUpLink moveDownLink

2009-09-14 Thread Pierre Goupil
Guys, I can't find any information about moveUpLink* *and* *moveDownLink*, *except in JavaDoc. I've got a rendering problem: my code compiles but at run-time, there's a component cannot render exception. Is there any best practices or any code I could look at? I can give code excerpt if you

Re: ResourceModel and Collection

2009-09-14 Thread Fernando Wermus
Pedro,What I want is not to persist this data into a database, but to have in a property file. Could I have a collection in a property file and access to it through some model, for instance ResourceModel? Or I have to do a lot of hard work using my db? Thanks in advance On Mon, Sep 14, 2009

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
I meant ear files 2009/9/14 nino martinez wael nino.martinez.w...@gmail.com: You can if you put them in different wars.. That will work. We have a similar setup that does this. 2009/9/14 Olivier Bourgeois olivier.bourgeois@gmail.com: Except that you can parameter JBoss to use an

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
It depends if the 1.2.6 one is in a shared class loader of that ear... But as you mention the 1.4.1 will only be visible in the one war file. However in that one it would have both 1.2.6 and 1.4.1 visible thus having a conflict..:( 2009/9/14 Igor Vaynberg igor.vaynb...@gmail.com: if the two

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread Igor Vaynberg
if the two apps are deployed as two separate apps then they should not see each other's jars and therefore should not see each other's wicket.properties files. -igor On Mon, Sep 14, 2009 at 4:08 AM, A. Zwaan a.zw...@finan.nl wrote: Sorry about the late reply, the migration was put on hold for a

Re: Article in german Javamagazin

2009-09-14 Thread Jonathan Locke
thanks. and thanks to everyone at javamagazin! my copy is now sitting next to my japanese wicket book. Michael Plöd wrote: Hi Jonathan, I was one of the guys writing the title story. I contacted the Java Magazin Team regarding a copy for you! Unfortunately we can't put the articles

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
You can use a named class loader... So EarA and EarB will not have the same class loaders.. Unless they use the same class loader, which you would have to specify separately, further more you can bring JBoss back to compliance by a setting AFAIK. 2009/9/14 Olivier Bourgeois

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
You can if you put them in different wars.. That will work. We have a similar setup that does this. 2009/9/14 Olivier Bourgeois olivier.bourgeois@gmail.com: Except that you can parameter JBoss to use an optimization of its own : UnifiedClassloader :

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread Olivier Bourgeois
Except that you can parameter JBoss to use an optimization of its own : UnifiedClassloader : http://www.jboss.org/community/wiki/classloadingconfiguration In jboss-3.2.3, the jbossweb-tomcat41.sar is configured to use a unified class loader as the web application class loader. This is

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread Olivier Bourgeois
I think you have to put them in different wars and not to use UnifiedClassloader. The wars have access to the ear classloader (otherwise they would not have access to the EJBs) so putting 1.2.3 on the ear classpath and 1.4.x on the war classpath should not work. 2009/9/14 nino martinez wael

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-14 Thread mfs
Thanks Igor. Also I opened the jira-issue https://issues.apache.org/jira/browse/WICKET-2466 as suggested. igor.vaynberg wrote: the javadoc is out of date please open a jira issue to have the javadoc updated. -igor On Sat, Sep 12, 2009 at 2:50 PM, mfs farhan.sar...@gmail.com wrote:

Re: ResourceModel and Collection

2009-09-14 Thread Pedro Santos
If you are talking about collection as an object that implements from Collection interface, no. The ResourceModel only take a String value from application localizer, using an key. It do not deserialize an object, like a collection previously written... On Mon, Sep 14, 2009 at 11:10 AM, Fernando

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-14 Thread mfs
Yet another question on the usage CryptedUrlWebRequestCodingStrategy. So lets say we have implemented the CryptedUrlWebRequestCodingStrategy, now even in that case wouldn't the following statement be true. All pages which are mounted through any of the bookmarkable-url-encoding-strategies for

Re: ResourceModel and Collection

2009-09-14 Thread Fernando Wermus
I am talking to give a key to ResourceModel and get a Collection of strings. On Mon, Sep 14, 2009 at 4:18 PM, Pedro Santos pedros...@gmail.com wrote: If you are talking about collection as an object that implements from Collection interface, no. The ResourceModel only take a String value from

Upgrading from 1.4.0-snapshot to 1.4.1

2009-09-14 Thread nino martinez wael
Hi Guys I've just begun upgrading an application and i've run into something im not sure howto fix. I have this, which were working: ListIColumn? columns = new ArrayListIColumn?(); columns.add(new PropertyColumnString(new ModelString(Email),

Re: Upgrading from 1.4.0-snapshot to 1.4.1

2009-09-14 Thread Igor Vaynberg
new PropertyColumnInvitee -igor On Mon, Sep 14, 2009 at 1:48 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Guys I've just begun upgrading an application and i've run into something im not sure howto fix. I have this, which were working:                ListIColumn? columns

Re: Upgrading from 1.4.0-snapshot to 1.4.1

2009-09-14 Thread nino martinez wael
Thanks for confirming :) And it worked :) Typesafety is very nice, but sometimes you have to work for it :) 2009/9/14 Igor Vaynberg igor.vaynb...@gmail.com: new PropertyColumnInvitee -igor On Mon, Sep 14, 2009 at 1:48 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Guys

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-14 Thread Tauren Mills
As Nino points out, Shiro does have a snapshot pom available now, but no actual release version yet. I thought about adding the snapshot pom to wicketstuff shiro-security, but the snapshot is rather bleeding edge and I worry that it may not work at some point. Should I go ahead and do it anyway?

Re: Wicket integration with jQuery

2009-09-14 Thread Dane Laverty
+1 for WiQuery, although I haven't tried jWicket. On Sat, Sep 12, 2009 at 4:12 AM, jWeekend jweekend_for...@cabouge.comwrote: I may not be totally unbiased as we're involved in the project but jWeekend uses WiQuery, including on client applications, and can recommend it. Regards - Cemal

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-14 Thread Jeremy Thomerson
You can add it if you'd like, but we can only release off of release versions - maven won't let you do otherwise (as it's not wise). So, for our snapshot releases - go for it. But please add a comment in the main wicketstuff-core pom that mentions that it will not be able to be included with

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-14 Thread Jeremy Thomerson
Nino, Thanks for taking a look at this. This is only half the battle, though. Looking back earlier in this thread, you'll see that the actual problem was that jquery is not following the naming conventions in /wicketstuff-core/jquery-parent/jquery/pom.xml it uses an artifact ID of

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-14 Thread mfs
Hello Guys, Would appreciate some comments on my last post... Thanks in advance.. Farhan. mfs wrote: Yet another question on the usage CryptedUrlWebRequestCodingStrategy. So lets say we have implemented the CryptedUrlWebRequestCodingStrategy, now even in that case wouldn't the following