[appfuse-user] how to assign primarykey value manually from the form page or in the action class

2009-01-07 Thread sudhakargupta
Hi.. Thanks in advance for your help.. In appfuse2-basic struts how to assign the id value of the primary key manually from the form page or in the action class.. why because my requirement is the primary key is a string value (ex: FGP-1020-501), so i need an string value for the primary key

Re: [appfuse-user] Manager object not properly initialized during test

2009-01-07 Thread Matt Raible
On Wed, Jan 7, 2009 at 2:28 PM, nn4l wrote: > > > mraible wrote: >> >> Can you post your applicationContext.xml file with your accountManager >> bean definition? >> > > Here is the applicationContext.xml: > > > http://www.springframework.org/schema/beans"; > xmlns:xsi="http://www.w3.org/2001/XMLS

Re: [appfuse-user] Manager object not properly initialized during test

2009-01-07 Thread nn4l
mraible wrote: > > Can you post your applicationContext.xml file with your accountManager > bean definition? > Here is the applicationContext.xml: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.spr

Re: [appfuse-user] Manager object not properly initialized during test

2009-01-07 Thread Matt Raible
Can you post your applicationContext.xml file with your accountManager bean definition? Matt On Jan 7, 2009, at 11:38 AM, nn4l wrote: I have created a basic Appfuse Struts application (with full-source) by following the video and the tutorial. I started with a model/Account.java class a

Re: [appfuse-user] SpringValidator @Autowire not working in SpringMVC AppFuse

2009-01-07 Thread Irshad Buchh
I get it when I run mvn jetty:run. I need to configure server-side validation as client-side validation is not running on Weblogic 10.3. --Irshad. mraible wrote: > > Does it fail in the test or when running the app? The "beanValidator" > is defined in applicationContext-validation.xml IIRC. Thi

[appfuse-user] Manager object not properly initialized during test

2009-01-07 Thread nn4l
I have created a basic Appfuse Struts application (with full-source) by following the video and the tutorial. I started with a model/Account.java class and later added dao/hibernate/AccountDaoHibernate.java, dao/hibernate/AccountDao.java, service/impl/AccountManagerImpl.java service/AccountManage

Re: [appfuse-user] SpringValidator @Autowire not working in SpringMVC AppFuse

2009-01-07 Thread Matt Raible
Does it fail in the test or when running the app? The "beanValidator" is defined in applicationContext-validation.xml IIRC. This file is not loaded for tests. Matt On Wed, Jan 7, 2009 at 7:08 AM, Irshad Buchh wrote: > > Hi, > We have an AppFuseLight SpringMVC application running gracefully. We f

[appfuse-user] SpringValidator @Autowire not working in SpringMVC AppFuse

2009-01-07 Thread Irshad Buchh
Hi, We have an AppFuseLight SpringMVC application running gracefully. We face two problems: 1. We just changed the required attribute to true in UserFormController @Autowired(required = true) @Qualifier("beanValidator") Validator validator; This gives us the stacktrace: org.spri

Re: [appfuse-user] I am not able to get the Source code of AppFuse

2009-01-07 Thread sundaravel
As per your suggestion, I have modified the code like this, mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-jsf Now i am getting different error, C:\Program Files\Apache Software Foundataion\ap

Re: [appfuse-user] axis stackoverflow

2009-01-07 Thread agathon
here are some attempts using bi-directional model arch: i tried the @XmlID and @XmlIDREF solution but it behaves strange somehow. https://jaxb.dev.java.net/guide/Mapping_cyclic_references_to_XML.html Thus it is your responsibility to annotate classes and use other means to "tell" JAXB how to ha

Re: [appfuse-user] CXF and AppFuse 2.0.1

2009-01-07 Thread agathon
hey matt, its not finished jet, i will work on it later again, i tried to implement REST like this: pom.xml: org.apache.cxf cxf-rt-frontend-jaxrs 2.1.2NOTICE THE PREVIOUS VERSION org.apache.cxf c

[appfuse-user] problem with the Assign value to primarykey manually from the html Form

2009-01-07 Thread sudhakargupta
Hi.. Matt I am presently working with the appfuse2.0 basic struts, in the tables the primary key will be the assigned value by the administrator. I observed in the code of action class the prepare() method will get the object from the database and if any changes are done in the html