Re: i am using weblogic 10.3

2009-05-15 Thread James Carman
Check out my example application: http://svn.carmanconsulting.com/public/wicket-advanced/trunk That application does exactly what you are looking to do. It's got the spring security filter stuff all configured. On Fri, May 15, 2009 at 4:21 PM, fachhoch wrote: > > sorry that wasa wrong question

Re: i am using weblogic 10.3

2009-05-15 Thread fachhoch
sorry that wasa wrong question , my applicaqtion has the following filters 1st open-view-session-filter 2nd org.acegisecurity.util.FilterToBeanProxy 3rd wicket filter is this order proper ? fachhoch wrote: > > is there an extension to wicket filter to get the application class from >

Re: i am using weblogic 10.3

2009-05-15 Thread fachhoch
is there an extension to wicket filter to get the application class from spring ? James Carman-3 wrote: > > filter > > On Fri, May 15, 2009 at 3:21 PM, tubin gen wrote: >> I read in previous post that if it is weblogic then its better to use >> wicket >> filter  rather than wicket servlet   an

Re: error because of log4j from org.apache.wicket.Application

2009-05-15 Thread fachhoch
i updated this dependency to resolve org.slf4j slf4j-api 1.5.5 previously i had 1.4 Lars Vonk wrote: > > You should also check your dependencies using the maven dependency plugin. > Are there conflicting slf4j-log4j12 versions in there? Are there > conflic

Re: i am using weblogic 10.3

2009-05-15 Thread James Carman
filter On Fri, May 15, 2009 at 3:21 PM, tubin gen wrote: > I read in previous post that if it is weblogic then its better to use wicket > filter  rather than wicket servlet   and more  over I am using open view > session filter and as this   filter order is important , please suggst me if > I sho

i am using weblogic 10.3

2009-05-15 Thread tubin gen
I read in previous post that if it is weblogic then its better to use wicket filter rather than wicket servlet and more over I am using open view session filter and as this filter order is important , please suggst me if I should go with wicket-servlet or wicket filter , I know wicket-servlet

Re: Spring Security's method security and Wicket

2009-05-15 Thread James Carman
On Fri, May 15, 2009 at 8:24 AM, Kent Larsson wrote: > Sounds like a nicer solution! > > I'll look into doing something like that myself, being a Wicket newbie > it might take me a while though. Are there any examples of doing > anything similar available somewhere? Well, I've got a working solut

Re: Application scope vs Singleton

2009-05-15 Thread James Carman
On Fri, May 15, 2009 at 12:18 PM, alf.redo wrote: > > Thank you to all for your precious suggestions. > > My question is not for a real need. > Supposing to discard the injection "strategy", I would like to know if the > cache of an object into my WebApplication class during application startup >

Re: Application scope vs Singleton

2009-05-15 Thread alf.redo
Thank you to all for your precious suggestions. My question is not for a real need. Supposing to discard the injection "strategy", I would like to know if the cache of an object into my WebApplication class during application startup has the same result if I make this object Singleton (and not s

Re: Component creation and initialization

2009-05-15 Thread Jeremy Thomerson
I actually had to Google that one. But, yes, that is the general consensus that I've seen. If you wanted to write a page that showed the different ways that you mentioned, that would be fine. It really just depends on if you really need lazy component creation, and then how you want to implement

Re: Component creation and initialization

2009-05-15 Thread Clint Popetz
On Fri, May 15, 2009 at 10:24 AM, Jeremy Thomerson wrote: > Interestingly, in the long-standing defacto > article on asking smart questions, the very first thing it says to do > is to search the forums [1]. FWIW, I did search the list, before posting. I found a lot of disagreement about this top

Re: Application scope vs Singleton

2009-05-15 Thread James Carman
On Fri, May 15, 2009 at 11:26 AM, Jeremy Thomerson wrote: > Use injection.  The difference is that there is no way to override the > implementation of the static accessor / singleton for testing > functionality.  If you instead use an IoC container (Spring / Guice) > and injection, you are not sta

Re: Bookmarkable fallback ajax link

2009-05-15 Thread Jeremy Thomerson
But you don't want URLs with jsessionid in Google's results. Multiple people can come into your site with the same session. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 10:33 AM, Igor Vaynberg wrote: > googlebot does not support cookies, so your container will ad

lazily loaded table structure?

2009-05-15 Thread Jan Torben Heuer
Hi, I want to display a table structure, however the data retrieving takes a certain time. Currently I use the AjaxLazyLoadPanel to display all results at once. But in future I'd like to to immediately display it on the page when it is retrieved. So I need some kind of table where I can add ro

Re: Bookmarkable fallback ajax link

2009-05-15 Thread Igor Vaynberg
googlebot does not support cookies, so your container will add jsessionid into the url. so unless googlebot specifically ignores jsessionid (which doesnt look to be the case because there are plenty links in google with jsessionid) it should all work. -igor On Thu, May 14, 2009 at 9:19 AM, John

Re: Bookmarkable fallback ajax link

2009-05-15 Thread Jeremy Thomerson
Is your Ajax link redirecting you to another page? Or is it swapping something out on the page? I suppose you could create a bookmarkable link and add the ajax behavior to it, but this seems counterintuitive because it is unlikely that you have an ajax link that is simply redirecting you to a new

Re: Application scope vs Singleton

2009-05-15 Thread Jeremy Thomerson
Use injection. The difference is that there is no way to override the implementation of the static accessor / singleton for testing functionality. If you instead use an IoC container (Spring / Guice) and injection, you are not statically tying yourself to a single class. Work off the interface,

Re: Component creation and initialization

2009-05-15 Thread Jeremy Thomerson
Documentation is always welcome. This is a very active list (one of the most active that I've seen with an open source project) where the core devs spend a lot of quality time answering questions. There's not enough hours in the day for us to also add that to documentation or provide everyone wit

Re: Application scope vs Singleton

2009-05-15 Thread alf.redo
Hi James, I would like to know what is the difference between a Singleton class with a static accessor method and POJO stored into my WebApplication class (with proper getter). What is the preferred way to set an application scoped object? Thank you again... -- View this message in context:

Re: Application scope vs Singleton

2009-05-15 Thread Jan Torben Heuer
Alfredo Aleandri wrote: > I have a doubt about application-scoped objects. > What's the pro and cons of setting an object instance into my > WebApplication class or define that class as singleton (using a static > method to access it) ? Pro: Singletons are easy to use Contra: They make Unit tests

Re: Application scope vs Singleton

2009-05-15 Thread James Carman
On Fri, May 15, 2009 at 9:01 AM, Alfredo Aleandri wrote: > Hi, > I have a doubt about application-scoped objects. What is your doubt? > What's the pro and cons of setting an object instance into my WebApplication > class or define that class as singleton (using a static method to access it) > ?

Re: wicket > features > scalability, clustering > "plans for next version..." already ended?

2009-05-15 Thread Johan Compagner
nope that is dropped and isnt very likely implemented in a coming release On Fri, May 15, 2009 at 15:15, manuelbarzi wrote: > hi, again > > regarding wicket > features > scalability, clustering > > there is a mention about: > > "The next version of Wicket will support client-side models for zero

Re: wicket > features > security > "plans for next version..." already ended?

2009-05-15 Thread Johan Compagner
we already have url encryption (based on a session id as seed) On Fri, May 15, 2009 at 14:52, manuelbarzi wrote: > Hi, > > at wicket > features > security > > there is a mention about: > > "There are plans for the next version of Wicket to add URL encryption to > support highly secure web sites.

wicket > features > scalability, clustering > "plans for next version..." already ended?

2009-05-15 Thread manuelbarzi
hi, again regarding wicket > features > scalability, clustering there is a mention about: "The next version of Wicket will support client-side models for zero-state scalability." is this already released? please, let me know asap. thank you.

wicket > features > security > "plans for next version..." already ended?

2009-05-15 Thread manuelbarzi
Hi, at wicket > features > security there is a mention about: "There are plans for the next version of Wicket to add URL encryption to support highly secure web sites." is this already ended? please, let me know asap, i am preparing an architecture documentation to justify wicket at this point

wicket > features > security > "plans for next version..." already ended?

2009-05-15 Thread manuelbarzi
Hi, at wicket > features > security there is a mention about: "There are plans for the next version of Wicket to add URL encryption to support highly secure web sites." is this already ended? please, let me know asap, i am preparing an architecture documentation to justify wicket at this point

Application scope vs Singleton

2009-05-15 Thread Alfredo Aleandri
Hi, I have a doubt about application-scoped objects. What's the pro and cons of setting an object instance into my WebApplication class or define that class as singleton (using a static method to access it) ? Thank you alf

Re: Component creation and initialization

2009-05-15 Thread Clint Popetz
On Fri, May 15, 2009 at 12:07 AM, Jeremy Thomerson wrote: > > Most java programmers know not to call overridable methods from the > constructor as a general rule, although there are times when it could > inadvertantly happen - which is why we need bug reports if you see > that happening. > I've o

Re: objectautocomplete on a form with CompoundPropertyModel

2009-05-15 Thread nino martinez wael
hmm true, I think it's because it's ajax and actually get set before the form are submited. I agree it would be nice if it acted exactly like normal form, but I guess the way it are now allows much more flexibility, however it should be possible to do the other aswell. regards 2009/5/14 Brill Pap

Re: Newbie-Problem: Wicket/Maven/Jetty: FileNotFoundException?

2009-05-15 Thread Erik van Oosten
Note that this is a maven problem. Apparently maven does not use the correct 'home' directory. You can override the home directory set by setting an environment variable. I think its called M2_REPO. Regards, Erik. Henrik schreef: I am very new to the Java-World and want to make a web pro

Bookmarkable fallback ajax link

2009-05-15 Thread John
Hi, I want googlebot to be able to see content that is shown to normal browsers using ajax. I use a fallback ajax link but because googlebot does not use sessions the links need to be bookmarkable. The problem seems to be because the link contains an ajax behaviour it is considered stat

Re: Spring Security's method security and Wicket

2009-05-15 Thread Kent Larsson
>> The catching AuthenticationException and returning false is something >> I'm not familiar with. I don't think I've mentioned it? Please refresh >> my memory, maybe I have mentioned it. ;-) > > It would be in the authenticate method of mine.  If the exception is > thrown, you'd need to return fal

Re: Spring Security's method security and Wicket

2009-05-15 Thread James Carman
On Fri, May 15, 2009 at 5:02 AM, Kent Larsson wrote: > The catching AuthenticationException and returning false is something > I'm not familiar with. I don't think I've mentioned it? Please refresh > my memory, maybe I have mentioned it. ;-) It would be in the authenticate method of mine. If the

Re: Component creation and initialization

2009-05-15 Thread Vladimir K
The horse is pretty alive - https://issues.apache.org/jira/browse/WICKET-1134. Jeremy Thomerson-5 wrote: > > With regards to multiple wicket:extend tags - that is also an old, > dead horse that doesn't need to be beat right now. The user list has > a lot of discussion on it. The simplest way

Re: Illegal State Exception on DefaultTeeModel.removeNodeFromParent

2009-05-15 Thread Leena
Collapsing the node works :) +Leena -- View this message in context: http://www.nabble.com/Illegal-State-Exception-on-DefaultTeeModel.removeNodeFromParent-tp20185042p23556124.html Sent from the Wicket - User mailing list archive at Nabble.com. -

RE: May be useful for projects deciding between JSF and Wicket

2009-05-15 Thread Vladimir K
even more ... the title sounds a bit vulgarly. But the arrangement of such links has a value itself. Especially for people who hasn't started a project yet. I would sort the list by date descending. The latest articles has more value than older. jeroend-2 wrote: > > ... > The title is subject

Re: Spring Security's method security and Wicket

2009-05-15 Thread Kent Larsson
The catching AuthenticationException and returning false is something I'm not familiar with. I don't think I've mentioned it? Please refresh my memory, maybe I have mentioned it. ;-) I was talking about Spring throwing a AuthenticationCredentialsNotFoundException, when the exception goes back to W

RE: May be useful for projects deciding between JSF and Wicket

2009-05-15 Thread jeroend
Hmm, Not sure if I can convince my boss (or maybe even me myself) by this blog entry. The title is subjective at best to start with and to open up with blog entries from 5 years ago is not giving it more credibility. I have worked with jsf (myfaces and icefaces) on 2 projects and to be honest I

Re: May be useful for projects deciding between JSF and Wicket

2009-05-15 Thread Vladimir K
Where you were two years ago? :) ptrthomas wrote: > > Hi, > > I blogged a fairly large collection of links to discussions about the > issues > with JSF in general. What prompted me to put this up is that I yet again > failed to convince a team at work that Wicket should be chosen over JSF. >