Re: [appfuse-user] Active user's full name not getting dispalyed

2007-07-16 Thread arvinder
I am seeing the same behavior with struts basic 2m5 Msarda wrote: > > I am using appfuse 2.0-m5 and spring framework 2.0.5. > > mraible wrote: >> >> What version of AppFuse and web framework are you using? >> >> >> On 7/16/07, Msarda <[EMAIL PROTECTED]> wrote: >>> >>> Hi all, >>> >>> I am n

Re: [appfuse-user] Active user's full name not getting dispalyed

2007-07-16 Thread Msarda
I am using appfuse 2.0-m5 and spring framework 2.0.5. mraible wrote: > > What version of AppFuse and web framework are you using? > > > On 7/16/07, Msarda <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I am not getting active users full name displayed on activeUsers.jsp >> page.(Administration

Re: [appfuse-user] Interesting Menu display problem

2007-07-16 Thread arvinder
I am using struts basic 2M5 arvinder wrote: > > I have noticed an interesting problem with the display of menu. If a user > has access to only a single item in a menu, then display of menus coming > after that menu gets messed up. As an example in the attached > menu-config.xml the organization

[appfuse-user] Interesting Menu display problem

2007-07-16 Thread arvinder
I have noticed an interesting problem with the display of menu. If a user has access to only a single item in a menu, then display of menus coming after that menu gets messed up. As an example in the attached menu-config.xml the organization menu has two items, customers and carriers. If a user h

Re: [appfuse-user] BaseDaoTestCase populate method

2007-07-16 Thread fadhli
No, it's in the same directory as in the test class I created. Upon further debugging the BaseDaoTestCase, I found out that the BeansUtil is not copying the map object into the target object and I have no idea why. I haven't use BeansUtil before so I'm not sure what's wrong. On 7/17/07, Matt

Re: [appfuse-user] Active user's full name not getting dispalyed

2007-07-16 Thread Matt Raible
What version of AppFuse and web framework are you using? On 7/16/07, Msarda <[EMAIL PROTECTED]> wrote: Hi all, I am not getting active users full name displayed on activeUsers.jsp page.(Administration -> Current Users) When i was going through the demo of appfuse,there also only username was

Re: [appfuse-user] BaseDaoTestCase populate method

2007-07-16 Thread Matt Raible
Is your properties file in src/test/resources? On 7/16/07, fadhli <[EMAIL PROTECTED]> wrote: Hi everyone, I have a problem where the test *.properties file is not being copied to the test-class target folder. I really appreciate if someone has done testing using the populate method from the Ba

[appfuse-user] BaseDaoTestCase populate method

2007-07-16 Thread fadhli
Hi everyone, I have a problem where the test *.properties file is not being copied to the test-class target folder. I really appreciate if someone has done testing using the populate method from the BaseDaoTestCase and how you got it to work. FYI, I'm using Appfuse 2.0-m5 but only the core packa

[appfuse-user] Active user's full name not getting dispalyed

2007-07-16 Thread Msarda
Hi all, I am not getting active users full name displayed on activeUsers.jsp page.(Administration -> Current Users) When i was going through the demo of appfuse,there also only username was getting displayed,but fullname column was empty. -- View this message in context: http://www.nabble.co

Re: [appfuse-user] 'mvn jetty:run' error in Spring MVC Basic project

2007-07-16 Thread Kane Dijkman
Below is the log after running mvn war:inplace After this ran the webapp/WEB-INF/lib folder was created and populated. No struts.xml file was created in the classes folder though. Per the original email I tried deleting the lib folder and then running jetty again and I got the same error lo

Re: [appfuse-user] Hibernate with existing database

2007-07-16 Thread BoJeevs
I have removed the sample data and removed the generation of the table, but the GenericDaoHibernate is still having an erron the getting the id. Again this works fine in mysql with sample data populating the database, but when I moved to an already existing sql server 2005 database it started hic

Re: [appfuse-user] 'mvn jetty:run' error in Spring MVC Basic project

2007-07-16 Thread Eric Fitzsimmons
Not having any files in those directories is strange. Please post the log of when you run the "mvn:war-inplace " command. -Eric Fitzsimmons

[appfuse-user] Security Against Action Instead of Manager

2007-07-16 Thread Doug Pham
Hi All, From what I have seen so far with AppFuse 2 is that there is a security check on the usage of the *Manager*. Because of the way I set up my security, I would like to check against each action. Has anyone done this? If so, how do you set this up? Thanks, Doug -

[appfuse-user] 'mvn jetty:run' error in Spring MVC Basic project

2007-07-16 Thread Kane Dijkman
I am not sure if this error is similar to the recently posted one "'mvn jetty:run' error in Struts 2 Modular project" but it seems this list is the place to ask as I have hit the limit of my limited knowledge. I created a Spring MVC Basic project and things built fine. I then started look

[appfuse-user] POM issues with skinny wars and a shared lib ear

2007-07-16 Thread stage05
Trying to have my web modules not include any jars in their WEB-INF/lib directory and to have them all in a shared lib folder in the ear. I have that working using (http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html). When I add in the following: appfuse-maven-plugin ap

Re: [appfuse-user] Getting the architecture right

2007-07-16 Thread arvinder
You can do this by having a many to many association between users and groups as follows, assuming you have User, Group and Group_User tables, where Group_User is a link table, you can avoid n+1 selects by having the following mapping in User.hbm.xml Note if you have outer-join="true"

[appfuse-user] Deploying to a linux box

2007-07-16 Thread Aled Rhys Jones
Hi all I've got a linux box with red hat enterprise 4 that I need to get my appfuse project running on. It currently has MySQL and Apache Httpd 2. What's the best course to follow in getting my build (currently running on windows) up and running on the linux box? Is it possible to use maven?

[appfuse-user] Is there any room left for BeanShell project?

2007-07-16 Thread Ashkan Roshanayi
Hi friends, My question is: Is there any place for Beanshell with advent of scripting support in JDK 6? What do you think? Sorry if this is off topic but I am just curious to know what appfuse users think about it! Thanks. -- Ashkan http://www.rubako.com

[appfuse-user] Edit rows on Display Tag

2007-07-16 Thread sandeepsuku
As iam using display tag for listing purpose , i would like to edit the rows . I found that , this is being implemented but the demo which is hosted is not working . This is the url which i guess where the demo is posted for editable display tag . http://demo.appfuse.org/appfuse/demos/users-edit.

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
Yes, the controller extends SimpleFormController. I was using the onBind method because i saw it on another source code file. In fact i'm not using onSubmit on this controller, so it is empty... I already tried the PropertyEditor for Week and User, and everything compiles fine but i get a null po

[appfuse-user] profile

2007-07-16 Thread tibi
i added the 'change aprofile' part. http://appfuse.org/display/APF/CSS+Framework just so someone can check ciao, tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Locale Filter problem

2007-07-16 Thread VJ22
Correct... I was thinking of the same thing.I will be moving static content to the web server soonAny idea on the mapping issue (*.action) ? Thanks...Vijay mraible wrote: > > On 7/16/07, VJ22 <[EMAIL PROTECTED]> wrote: >> >> Hi Matt, >> >> My Struts 2 extension is ".action". I added

Re: [appfuse-user] Locale Filter problem

2007-07-16 Thread Matt Raible
On 7/16/07, VJ22 <[EMAIL PROTECTED]> wrote: Hi Matt, My Struts 2 extension is ".action". I added it to the Locale Filter mapping but the filter does not seem to be going through...It works fine for ".html" and ".jsp" but not for ".action".I am kind of tearing my head over this though the pr

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
Still with the same problem :/ i still get the same hibernate error from before. In fact, i was already using spring form tags. I have this code in my JSP: -- "> ">

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
Thank you very much for your kind and very quick answer! I will try this right now. You are right on the navegability on that association, and also on the activity_id column in the WeekActivity table. Let's see if i get this to work! Thanks again :) Best regards. Michael Horwitz wrote: > > I

Re: [appfuse-user] 'mvn jetty:run' error in Struts 2 Modular project

2007-07-16 Thread paul_panks
Thank you very much Eric. Now it's ok. It works fine. In fact it seams related to same duplicated class in the classpath or to same duplicate definitions in spring configuration. Thanks again. PS: What do you think about thins developing methodology using embedded jetty and maven jetty plug-in

Re: [appfuse-user] 'mvn jetty:run' error in Struts 2 Modular project

2007-07-16 Thread paul_panks
Thank you very much Eric. Now it's ok. It works fine. In fact it seams related to same duplicated class in the classpath or to same duplicate definitions in spring configuration. Thanks again. PS: What do you think about thins developing methodology using embedded jetty and maven jetty plug-in

Re: [appfuse-user] 'mvn jetty:run' error in Struts 2 Modular project

2007-07-16 Thread paul_panks
Thank you very much Eric. Now it's ok. It works fine. In fact it seams related to same duplicated class in the classpath or to same duplicate definitions in spring configuration. Thanks again. PS: What do you think about thins developing methodology using embedded jetty and maven jetty plug-in

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Michael Horwitz
I think the problem is in the association you have attached to the getActivity() method in WeekActivity. I am assuming the association between WeekActivity and Activity is uni-directional and can only be navigated from WeekActivity to Activity? I am also assuming that the table for week activity c

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
By the way, i forgot to mention that the Activity row is actually saved into the database correctly, but i get the error when trying to persist the WeekActivity entity, so the WeekActivity table is always empty... Best regards. Sielm wrote: > > Hi again. Here are the details i've worked on so

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
Hi again. Here are the details i've worked on so far: /** * @hibernate.class table="activity" */ public class Activity extends PersistentObject { private String name; private Float mondayHours; private Float tuesdayHours; private Float wednesdayH

Re: [appfuse-user] Problem with date validation

2007-07-16 Thread Msarda
Hi all, In continuation with my previous post,i am not able to validate date in particular pattern. I want to take date in dd/mm/ format. I have used CustomDate validator in my controller. The thing is when i am inserting value as 222/222/2345 then also it takes this value. I tried using regul

Re: [appfuse-user] Locale Filter problem

2007-07-16 Thread VJ22
Hi Matt, My Struts 2 extension is ".action". I added it to the Locale Filter mapping but the filter does not seem to be going through...It works fine for ".html" and ".jsp" but not for ".action".I am kind of tearing my head over this though the problem seems to be simpleI think the Dispat