[appfuse-user] Cannot see wsdl for User Service in new project

2007-10-05 Thread arvinder
rest of the application is working fine. Am I missing something? Arvinder -- View this message in context: http://www.nabble.com/Cannot-see-wsdl-for-User-Service-in-new-project-tf4575140s2369.html#a13059094 Sent from the AppFuse - User mailing list archive at Nabble.com

Re: [appfuse-user] ajax dojo

2007-09-12 Thread arvinder
In your url you have decorator=false but your exclude pattern has decorate=false :) Arvinder tibi-3 wrote: > > i gues... the params are taken off before the decorator gets into action. > > tibi wrote: >> matt would you expect this to work: >> >> http://localhost:

Re: [appfuse-user] ajax dojo

2007-09-12 Thread arvinder
Adding parameter ajax=true to your ajax action will solve the problem. decorators.xml excludes patterns with *ajax=true* Arvinder tibi-3 wrote: > > i now moved the part wich is made by > > > > --- > > // Dojo configuration > djConfig = {

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-23 Thread arvinder
I do not know if it will solve your but in 2.0m5 you should be using candidate = candidateManager.save(candidate); instead of candidateManager.save(candidate); tibi-3 wrote: > > i use struts/spring/hibernate > with appfuse 2.0m5 > tibi > > arvinder wrote: >> What is

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-23 Thread arvinder
gt; > User user = candidate.getUser(); > User user2 = userManager.getUser(""+user.getId()); > user2.setFirstName(user.getFirstName()); > candidate.setUser(user2); > > candidateManager.save(candidate); > > > any help would b

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-22 Thread arvinder
Do you have a version field in the candidate entity? If yes, Are you populating it in the action when you fetch the data for edit? Arvinder tibi-3 wrote: > > hi, > > i have a candidate which has a one-one relation to user > when i save candidate i want to save changes to the us

Re: [appfuse-user] Hidden Id in the List

2007-08-15 Thread arvinder
Tony Another way you can do it is by using a decorator: http://displaytag.sourceforge.net/10/tut_links.html Arvinder Michael Horwitz wrote: > > If you want to add more than one parameter (note that you can always > return > the username from the id, so this is not strictly necessar

Re: [appfuse-user] Export list problem

2007-08-10 Thread arvinder
in your web.xml? > > Mike > > On 8/10/07, arvinder <[EMAIL PROTECTED]> wrote: >> >> >> Thanks Matt! I should kick myself for missing the 'banner.onepage' >> setting >> in >> display tag documentation. >> On export data issue,

Re: [appfuse-user] Export list problem

2007-08-10 Thread arvinder
nding html, including divs decorated by sitemesh. In my jsp I only have display table tag and the include for taglibs. As an example, I am uploading the xml export which the application created for a page, where I am exporting only one column. Thanks, Arvinder mraible wrote: > > On 8/9/07,

[appfuse-user] Export list problem

2007-08-09 Thread arvinder
correct format though. Another question I have is, is it possible to use mapping files instead of Xdoclet in 1.9.4? Thanks for any solutions, Arvinder -- View this message in context: http://www.nabble.com/Export-list-problem-tf4246165s2369.html#a12083898 Sent from the AppFuse - User mailing

Re: [appfuse-user] basic appfuse:gen questions

2007-07-30 Thread arvinder
You need to create the POJO, add it to the hibernate.cfg.xml file in the resources directory and run hibernate3:hbm2ddl plugin as described in the documentation Lee Meador-3 wrote: > > Warning - I'm brand new to appfuse and may betray my ignorance with the > following questions. > > I've read

Re: [appfuse-user] Error on adding a User in 2rc1 struts basic

2007-07-29 Thread arvinder
Here are the screenshots mraible wrote: > > Can you attach a screenshot? > > > On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: >> >> If I try to add a user and hit save without inputting anything into any >> of >> the fields, I get a Freemar

[appfuse-user] Error on adding a User in 2rc1 struts basic

2007-07-28 Thread arvinder
If I try to add a user and hit save without inputting anything into any of the fields, I get a Freemarker Template error at the bottom and top menu gets messed up. Can somebody with this configuration 'second' this behavior? Arvinder -- View this message in context: http://www.nabble

Re: [appfuse-user] ClassNotFoundException: org.appfuse.webapp.listener.StartupListener

2007-07-28 Thread arvinder
th it. > There's an open issue in JIRA for this. > > Matt > > > On 7/28/07, arvinder <[EMAIL PROTECTED]> wrote: >> >> I am getting this exception when I try mvn jetty:run >> java.lang.ClassNotFoundException: >> org.appfuse.webapp.listener.Start

Re: [appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread arvinder
Will do and post my results back. What is the easiest way of knowing versions of hibernate since 2m5? Arvinder mraible wrote: > > I would suggest looking at hibernate's release notes (all of them > since the version in m5). > > Matt > > > On 7/28/07, arvin

Re: [appfuse-user] Turning Off hbm2ddl

2007-07-28 Thread arvinder
I think it will help new users more if it is turned on by default. Matt Raible-3 wrote: > > What do folks think, should we turn hbm2ddl off by default? Or leave > it on so the database is updated by default, and users have to do the > steps below to turn it off? > > Thanks, > > Matt > > On 1

[appfuse-user] ClassNotFoundException: org.appfuse.webapp.listener.StartupListener

2007-07-28 Thread arvinder
I am getting this exception when I try mvn jetty:run java.lang.ClassNotFoundException: org.appfuse.webapp.listener.StartupListener but mvn jetty:run-war starts up the server okay Am I missing something? Arvinder -- View this message in context: http://www.nabble.com/ClassNotFoundException%3A

Re: [appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread arvinder
on the parent entity's ship to address and then save it. This way hibernate did not complain, but I did not do this in 2m5. So my first question still stands: What has changed wrt hibernate versions between 2m5 and 2rc1? Matt I think only you can tell us :) arvinder wrote: > > I cr

[appfuse-user] Hibernate exception in 2rc1

2007-07-28 Thread arvinder
correct values but on return from a method both are null. I found a similar issue http://opensource.atlassian.com/projects/hibernate/browse/HHH-2316 but I am not sure how closely it is related to that. Thanks, Arvinder testAddAndRemoveCompany(com.ss.silitrucker.dao.CompanyDaoTest) Time elapsed

Re: [appfuse-user] Date field problem with struts2 basic M5

2007-07-27 Thread arvinder
. The code generated for date and javascript for calendar is exactly the same in both cases. Arvinder mraible wrote: > > Sounds like there's some bugs in our code generation. Does it work if > you only have a single calendar? > > Matt > > On 6/29/07, arvinder <[EMA

Re: [appfuse-user] WARNING! FreeMarker error if you wanna Upgrade Struts to 2.0.9

2007-07-27 Thread arvinder
error. Guess I have to revert back to struts 2.0.6 in my main project. Arvinder mraible wrote: > > There's only one way to find out. ;-) > > On 7/26/07, arvinder <[EMAIL PROTECTED]> wrote: >> >> If I have done appfuse full source in my project then will u

Re: [appfuse-user] WARNING! FreeMarker error if you wanna Upgrade Struts to 2.0.9

2007-07-26 Thread arvinder
If I have done appfuse full source in my project then will upgrading the appfuse.version and struts version upgrade my project without the free marker error? Arvinder mraible wrote: > > If you did a clean, it's strange that Struts 2.0.6 is in your target > directory. As of yest

Re: [appfuse-user] DOJO problem in struts basic 2m5

2007-07-21 Thread arvinder
top menu was not appearing in the page where ajax content was embedded,but it was a decoration issue and adding parameter ajax=true to ajax action url resolved it. Bottomline : I am going to make up for my lost beers tonight :) Arvinder mraible wrote: > > There's 3 steps to make Dojo

[appfuse-user] RE: Freemarker error when including struts plugin dependencies

2007-07-21 Thread arvinder
Travers, what struts version are you running in your project? Arvinder Travers Snyman wrote: > > Thanks Matt, > I sorted it out. I have posted another thread on how I solved all the > side effects issues I found with including struts plugins > > Travers > -Original Mes

[appfuse-user] DOJO problem in struts basic 2m5

2007-07-20 Thread arvinder
? Going through the past posts I have found out that most of the fixes are present in 2m5. But I must be missing something! Arvinder -- View this message in context: http://www.nabble.com/DOJO-problem-in-struts-basic-2m5-tf4120841s2369.html#a11719545 Sent from the AppFuse - User mailing list archive

Re: [appfuse-user] Getting the architecture right

2007-07-19 Thread arvinder
vegarwe wrote: > > > arvinder wrote: >> >> 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 h

Re: [appfuse-user] Interesting Menu display problem

2007-07-17 Thread arvinder
This is a bug in SVN version, I have created an issue in Jira, SM-84 mraible wrote: > > Is this a bug in the SVN version of AppFuse? > > On 7/17/07, Dale Newfield <[EMAIL PROTECTED]> wrote: >> (PDT) "arvinder" <[EMAIL PROTECTED]> wrote: >> > &g

Re: [appfuse-user] Security with userManager

2007-07-17 Thread arvinder
If you look at security.xml you will see getUsers() is a protected method which only user with ROLE_ADMIN can access. Arvinder Martin Ravell-6 wrote: > > The actual issue I was working on when I got distracted by the User > Profile role assignment bug I just emailed about con

Re: [appfuse-user] Interesting Menu display problem

2007-07-17 Thread arvinder
;> could be a bug in the Velocity menu template - as an experiment, try >> swapping the two menu items around. If it displays correctly, then the >> bug >> is in the Velocity template. >> >> Mike. >> >> >> On 7/17/07, arvinder <[EMAIL PROTECTE

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] 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-

[appfuse-user] Interesting Menu display problem

2007-07-16 Thread arvinder
ideas why it is happening? Arvinder http://www.nabble.com/file/p11643251/menu-config.xml menu-config.xml -- View this message in context: http://www.nabble.com/Interesting-Menu-display-problem-tf4094693s2369.html#a11643251 Sent from the AppFuse - User mailing list archive at Nabble.com

Re: [appfuse-user] Getting the architecture right

2007-07-16 Thread arvinder
e a user instance is loaded. You might encounter performance problems if you are not using scalar queries to get a list of users. Hope this helps Arvinder vegarwe wrote: > > I'm working on project making a website where we use hibernate, spring and > maven much like Appfuse.

[appfuse-user] Problems with date format in basic struts2M5

2007-07-01 Thread arvinder
and others should not in all the circumstances? Thanks a lot, Arvinder -- View this message in context: http://www.nabble.com/Problems-with-date-format-in-basic-struts2M5-tf4009639s2369.html#a11387030 Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] How to initialise other Dao or Manager in UserAction

2007-07-01 Thread arvinder
clubManager as property of userManager in applicationContext-service.xml in the resources directory. Arvinder Fan wrote: > > Hey All: > > I want to initialise a ClubDao or ClubManager in UserAction, how could > I do that ? > > > -- View this message in context

[appfuse-user] Date field problem with struts2 basic M5

2007-06-29 Thread arvinder
I used appfuse:gen which has multiple date fields, I have M5 but the AMP plugin I used was RC1 as I had embedded object in my entity. The jsp which was created contained following snippets for date(it has all three js files for calendar): . . Form.focusFirstElement($("carrierForm

Re: [appfuse-user] struts combo box

2007-06-28 Thread arvinder
Use the the prepare interceptor, it is perfect for such functionality http://struts.apache.org/2.x/docs/prepare-interceptor.html Fan wrote: > > I am using struts framework in Appfuse 2.0-m5. > > I have a POJO called Club, now I want to retrieve the list of clubs from > DB then populate them i

[appfuse-user] 403 error displays a 403.jsp nested within another

2007-06-26 Thread arvinder
If I try to access users.html when logged in as non admin user I get 403.jsp nested within another, like 403.jsp is included in itself. I do not see this for 404.jsp. I thought initially that it was due to admin interceptor but it does not seem so as all other secured actions in my application exh

Re: [appfuse-user] PersonActionTest in IDEA

2007-06-20 Thread arvinder
You are right Mike. My problem was that as per instructions in the tutorial I was creating the user in onSetUpBeforeTransaction() but did not have corresponding onTearDownAfterTransaction() to remove the test user. Thanks, Arvinder Michael Horwitz wrote: > > The test cases normall

Re: [appfuse-user] PersonActionTest in IDEA

2007-06-19 Thread arvinder
Thanks Matt that explains the nice clean up, But if I am running only one test,testRemove() in IDEA, should it not remove the record from the database. My test passes but the record is still there when I check the db Arvinder arvinder wrote: > > I am trying to run PersonActionTests fro

Re: [appfuse-user] Data Failure Error on overriding Generic Manager methods

2007-06-19 Thread arvinder
nagerImpl to > make > sure it really is overriding the method from GenericManagerImpl. > > 3) Make sure the interface for xxxManagerImpl extends the interface > GenericManager and sets a type as above. > > 4) If all that fails, have you tried declaring the method in the interfac

Re: [appfuse-user] Restricting links to admins

2007-06-19 Thread arvinder
What is the best way to accomplish the same thing in struts2? Following solution is making me envy the JSF folks :) mraible wrote: > > Here's how to add Acegi JSF support to your project: > > 1. Add the acegijsf dependency to your pom.xml (I've uploaded this to > AppFuse's repository): > >

[appfuse-user] Data Failure Error on overriding Generic Manager methods

2007-06-19 Thread arvinder
I am getting data failure exceptions if I try to override GenericManager methods. As an example, If I try to override save method of GenericManagerImpl in my xxxManagerImpl I get a Data access failure error about transaction being read only. This error occurs even if I have only one line of code,

[appfuse-user] PersonActionTest in IDEA

2007-06-19 Thread arvinder
in database. But if I run mvn test -Dtest=PersonActionTest it cleans up the records nicely. Any idea why it is happening? Thanks Arvinder -- View this message in context: http://www.nabble.com/PersonActionTest-in-IDEA-tf3945729s2369.html#a11192709 Sent from the AppFuse - User mailing list

Re: [appfuse-user] Overriding save() in xxxManagerImpl 2M5

2007-06-15 Thread Arvinder Brar
to look for usage examples is the tests, as > all tests in M5 have been > updated to reflect this subtle change. > > If you're really interested in understanding the > motivation behind the > change, feel free to look at APF-695. > > > arvinder wrote: > > &g

[appfuse-user] Overriding save() in xxxManagerImpl 2M5

2007-06-15 Thread arvinder
If I try to override save method of GenericManagerImpl in my xxxManagerImpl I get a Data access failure error about transaction being read only. This error occurs even if I have only one line of code, return super.save(object). But if I create a custom method saveXXX(object) in my xxxManagerImpl

[appfuse-user] ActionMapper behavior

2007-06-13 Thread arvinder
anybody encountered this behavior or I am doing something wrong? Arvinder -- View this message in context: http://www.nabble.com/ActionMapper-behavior-tf3913523s2369.html#a11095755 Sent from the AppFuse - User mailing list archive at Nabble.com

[appfuse-user] Lazy Loading problem in 2M5 struts basic

2007-06-08 Thread arvinder
I am getting a lazy loading error in my customerForm when i try to retrieve the locations (children). I have read on the forum that it was fixed for everything, except for JSFin 2.0. Am I missing some setting? Another thing which I noticed was that if I made this as eager fetch with annotation the

Re: [appfuse-user] Problem with checkbox - struts basic 2M5

2007-06-07 Thread arvinder
ot;war:inplace" so you know which files are from AppFuse and which ones > are yours. > > Matt > > On 6/7/07, arvinder <[EMAIL PROTECTED]> wrote: >> I have a customer form which is very similar to appfuse user Form (the >> top >> part!). I am trying to add a c

[appfuse-user] Problem with checkbox - struts basic 2M5

2007-06-07 Thread arvinder
used? Another thing, How do I enable hot deploy in jetty for my jsps, jetty documentation says no additional configuration is necessary if it is a maven project, but it is not working for me. Thanks, Arvinder -- View this message in context: http://www.nabble.com/Problem-with-checkbox---struts

Re: [appfuse-user] Appfuse2-m5 Struts2 Radio

2007-06-04 Thread Arvinder Brar
looks like the method is not there in the interface but only in implementation --- ganine <[EMAIL PROTECTED]> wrote: > > I'm trying insert a field gender in my personForm, > but I got a error after > insert the field and the methods.. > > personForm.jsp > > scope="request" /> > requi

Re: [appfuse-user] PersonDaoTest fails

2007-06-01 Thread Arvinder Brar
Try replacing personDao.save(person); with person=personDao.save(person); if you are using M5 --- Matt Raible <[EMAIL PROTECTED]> wrote: > What does your person class look like? Can you post > your whole test method? > > On 6/1/07, René Günther <[EMAIL PROTECTED]> > wrote: > > Hello, > > > >