[appfuse-user] Adding dojo to appfuse-jsf

2008-05-15 Thread sudheerp
Hello Friends, What should I do to add dojo to appfuse-jsf (2.x.x). Is it already integrated ? Is there any getting started for the same ? Thank you. Sudheer Palaparambil -- View this message in context: http://www.nabble.com/Adding-dojo-to-appfuse-jsf-tp17267275s2369p17267275.

Re: [appfuse-user] Struts 2 Action w/ Multiple Methods and Hibernate Session in Spring

2008-05-15 Thread Dustin Pearce
So Spring is configured to automagically create and handle transactions for your managers with the following code in appfuse's applicationContext-service.xml: ... pointcut="execution(* *..service.*Manager.*(..))" order="2"/> ...

[appfuse-user] Struts 2 Action w/ Multiple Methods and Hibernate Session in Spring

2008-05-15 Thread Doug Pham
Hi All, My problem with the spring manage hibernate session continues. I have a struts 2 action with multiple method. My first call to the action display the information of my item which renders the information to a form. Once the user has edited or updated the form, it gets submitted and

Re: [appfuse-user] Updating a related entity in Struts 2 throws HibernateException

2008-05-15 Thread Dustin Pearce
I think this is a situation where you want to use a custom TypeConverter. Struts does not know how to convert your String id property into a User object. Create a custom type converter for com.yourapp.model.User (or org.appfuse.model.User) that looks up the User in the db based on String

Re: [appfuse-user] Updating a related entity in Struts 2 throws HibernateException

2008-05-15 Thread java_user_
Was a solution found? The issue is that hibernate is trying to update the lookup table (user) instead of updating the entity table's (owner) foreign key to the lookup table. What is the correct cascade to use in the ManyToOne annotation of the Owner model and the OneToMany annonation of the User

Re: [appfuse-user] AppFuse 2.0.2; Jetty 6.1.9 still accesses org/acegisecurity

2008-05-15 Thread Martin Homik
I managed somehow to run my project, Things that I made differently: * as I run war:inplace I had a few files that needed an update. --> checked out a fresh project and made a war:inplace to get all the up to date files * replaced my security.xml by the new one * in footer.jsp: replaced by . *

Re: [appfuse-user] plugin 'org.apache.maven.plugins:maven-jetty-plugin does not exist or no valid version could be found

2008-05-15 Thread Cayetano
> I'm trying to start a project using AppFuse. > I got this error when running 'mvn jetty:run-war': > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin > 'org.apache.maven.plugins:maven-jetty-plu > t exist or no valid version could be found If you are using a modular archetype you

Re: [appfuse-user] AppFuse 2.0.2; Jetty 6.1.9 still accesses org/acegisecurity

2008-05-15 Thread Martin Homik
Hi Matt, let me first address your questions. * Yes, I searched all java and xml files * appfuse version is set to 2.0.2 * deleting WEB-INF/classes and WEB-INF/lib helped. Jetty starts without problems, but when I browse to localhost:8080 I am forwarded to an empty login page. I think this is du

[appfuse-user] plugin 'org.apache.maven.plugins:maven-jetty-plugin does not exist or no valid version could be found

2008-05-15 Thread Alex Wei
Hi, I'm new to AppFuse and new to Maven. I'm trying to start a project using AppFuse. I got this error when running 'mvn jetty:run-war': org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-jetty-plu t exist or no valid version could be found a

Re: [appfuse-user] modifications made in the javascript source are not available

2008-05-15 Thread sudheerp
Hi Matt, Thanks for your reply. Yes I am sure, I am editing the correct file. I tried "mvn clean" also, not getting the correct source. But it worked when I cleared my Firefox's private data (except cookies and saved passwords). Regards. Sudheer mraible wrote: > > Are you sure you'

[appfuse-user] How to access DAOs and/or Managers and/or Action beans from pure JSP?

2008-05-15 Thread Attila
Hi, I've to recode a PHP based application. Many sites begins with database querying ( MySQL ), and produce HTML code ( iterate over lists, arrays ) depending on data. HTML and PHP code are mixed. I don't allowed to change the HTML structure, I've to rewrite code one-to-one! Because of time sav

Re: [appfuse-user] Need Help: WARN [btpool0-1] LookupUtil.(99) | Exception: [.LookupUtil] Error looking up property "username" in object type "[Ljava.lang.Object;". Cause: Unknown property 'user

2008-05-15 Thread Greenhorn2005
I got the problem solved.whewww!! Here is my OLD daoHibernate: public class TravelAgentUserDaoHibernate extends GenericDaoHibernate implements TravelAgentUserDao { public TravelAgentUserDaoHibernate() { super(User.class