Re: [appfuse-user] Concuurent session handling

2007-12-02 Thread ujjala
Pls reply ujjala wrote: > > Hi, > I have implemented the following in applicationContext-Security.xml,to > handle concurrent sessions, the following works fine in terms of > concurrent session handling but the user is even after logging out is not > able to re login. The session is not expiring

Re: [appfuse-user] Web services in Appfuse 2.0

2007-12-02 Thread jackalista
OK, I must be doing something basically wrong with the modular archetype or something like that. I put all the DAO and manager definitions that I developed using the tutorial as a guide in the applicationContext.xml file in core/src/main/resources. All the DAO and manager tests work fine with th

Re: [appfuse-user] String index out of range: 0

2007-12-02 Thread Fred Forester
I'm getting this when I should be getting a list of records. I wouldn't have thought that an empty string in a record would make it go boom. Jason Brice wrote: Looks like you have an empty string. For example, the following code will throw a StringIndexOutOfBoundsException: String

Re: [appfuse-user] Save validation problem

2007-12-02 Thread colaru
Hello again! I fix the problem. I am using Struts 2 as presentation framework. I make a mistake: I use the visitor validation and in my bean I have by mistake a reference to the some bean (MyBean class has a field myBean with type MyBean). It seems that in S2 the validation was propagated to this

Re: [appfuse-user] String index out of range: 0

2007-12-02 Thread Jason Brice
Looks like you have an empty string. For example, the following code will throw a StringIndexOutOfBoundsException: String myString = ""; System.out.println("char at 0 is: " + myString.charAt(0)); hth, Jason On Dec 2, 2007 9:16 AM, Fred Forester <[EMAIL PROTECTED]> wrote: > > Hi All, >

[appfuse-user] String index out of range: 0

2007-12-02 Thread Fred Forester
Hi All, not sure why this is happening? any help appreciated. Thanx. Fred java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:558) at org.hibernate.type.CharacterType.get(CharacterType.java:29) at org.hibernat

[appfuse-user] [Appfuse2.0] Best Practise Design Pattern for Multiple Dao Access from managers

2007-12-02 Thread Struts2 Fan
Hi Matt and All, I just wonder, how do you handle accessing two dao's from managers. Let me try to explain what I mean on an example. Two beans, two DAOs, two Managers I have named "GAME" and "MOVE". The relationship between them is "GAME has zero or more MOVEs" Here I want to write such a meth

[appfuse-user] seeing todo for select in appfuse genrated jsp pages

2007-12-02 Thread Mani_N
Hi, Am seeing the following to do for generated select tag. Please let me know what is that I have to do to make this select box active.. -- View this message in context: http://www.nabble.com/seeing-todo-for-select-in-appfuse-genrated-jsp-pages-tf4931071s2369.html#a14113947 Sent fro