[appfuse-user] user role relation sucks.

2009-07-21 Thread Reza Farshi
Hi group, Matt , in AppFuse there is a unidirectional Many-to-Many relation between User and role, so deleting a user consequences deleting a row from user and corresponding rows form user_role table, but I also need deleting role to be cascaded , I mean when I delete a role , corresponding rol

Re: [appfuse-user] delete role doesn't cascade, how to solve?

2009-07-13 Thread Reza Farshi
16578/Object-Relational-Mapping/java/Hibernate-cascade-deletion-many-many > > HTH > > 2009/7/13 Reza Farshi > > >> Hi group, >> in AppFuse there is a unidirectional Many-to-Many relation between User >> and role, so deleting a user consequences deleting

[appfuse-user] delete role doesn't cascade, how to solve?

2009-07-13 Thread Reza Farshi
Hi group, in AppFuse there is a unidirectional Many-to-Many relation between User and role, so deleting a user consequences deleting a row from user and corresponding rows form user_role table, but I also need deleting role to be cascaded , I mean when I delete a role , corresponding roles form

[appfuse-user] deleting role doesn't be cascaded, how to solve?

2009-07-03 Thread Reza Farshi
Hi group, in AppFuse there is a unidirectional Many-to-Many relation between User and role, so deleting a user consequences deleting a row from user and corresponding rows form user_role table, but I also need, deleting role to be cascaded , I mean when I delete a role , corresponding roles for

Re: [appfuse-user] SimpleJdbcTemplate vs HibernateTemplate?

2009-05-13 Thread Reza Farshi
thanks On Wed, May 13, 2009 at 7:10 PM, Matt Raible wrote: > Yes, the reason we do this is so it doesn't execute w/in a transaction. > > On Tue, May 12, 2009 at 11:43 PM, Reza Farshi > wrote: > > hi Matt, > > In UserDaoHibernate there is a method > > > &

[appfuse-user] SimpleJdbcTemplate vs HibernateTemplate?

2009-05-12 Thread Reza Farshi
(User.class, Table.class); return jdbcTemplate.queryForObject( "select password from " + table.name() + " where username=?", String.class, username); } why you use SimpleJdbcTemplate vsHibernateTemplate?is there any technical reason? -- Reza Farshi

Re: [appfuse-user] Re: WebService Client problem!!!!

2009-05-11 Thread Reza Farshi
#x27;t support collections (only arrays). > > > http://source.appfuse.org/browse/appfuse/trunk/service/src/main/java/org/appfuse/service/UserService.java?r=trunk > > Matt > > > On Mon, May 11, 2009 at 12:40 AM, Reza Farshi wrote: > >> >> no any volunteer to answer? :)

[appfuse-user] Re: WebService Client problem!!!!

2009-05-10 Thread Reza Farshi
no any volunteer to answer? :) On Sun, May 10, 2009 at 6:36 PM, Reza Farshi wrote: > hi pals, > I tried to create web service client for one of my manager classes (eg > DeviceManager) , > I am usinge GenericManager for handling service layer. > and also I am using web serv

[appfuse-user] Re: a question?

2009-05-10 Thread Reza Farshi
plz ignore this question On Sun, May 10igno, 2009 at 6:16 PM, Reza Farshi wrote: > hi pals, > what will happend if we remove extends Serializable from signature of the > following method in appfuse core module? > public interface GenericDao { > > > when I tried to crea

[appfuse-user] WebService Client problem!!!!

2009-05-10 Thread Reza Farshi
Serializable" problem solved, but I think there is better way to do. thanks -- Reza Farshi

[appfuse-user] a question?

2009-05-10 Thread Reza Farshi
ibute java.io.Serializable is invalid" so when I remove "extends Serializable" from GenericDao the problem solved? is this mandatory? what will happend if we remove "extends Serializable"? -- thanks Reza Farshi

Re: [appfuse-user] is another svn repo available?

2009-04-29 Thread Reza Farshi
:) thanks , for your smart solution On Tue, Apr 28, 2009 at 6:05 PM, Matt Raible wrote: > No, there is not. However, you could take a laptop to a coffee shop and do > it there. ;-) > > > On Tue, Apr 28, 2009 at 4:13 AM, Reza Farshi wrote: > >> Dear Appfuse core develop

[appfuse-user] is another svn repo available?

2009-04-28 Thread Reza Farshi
Dear Appfuse core developers, Is there another svn repo ( unless , java.net ) to checkout appfuse full source. because of some limitations and configurations (proxy and etc.. ) in our local network, mvn appfuse:full-source fails. is anyon -- Reza Farshi

[appfuse-user] is another svn repo available?

2009-04-28 Thread Reza Farshi
Dear Appfuse core developers, Is there another svn repo ( unless , https://appfuse.dev.java.net/svn/appfuse/trunk/ ) to checkout appfuse full source.? --Reza Farshi

Re: [appfuse-user] best archtype?

2009-04-27 Thread Reza Farshi
Struts folks have discontinued supporting AJAX theme in new version (2.1.6) , I am one of struts fan , but b/c of that I think it's not reliable to trust to this framework in AJAX area. you can do ajaxifying by DWR beside struts framework i think On Mon, Apr 27, 2009 at 4:36 PM, Reza F

Re: [appfuse-user] best archtype?

2009-04-27 Thread Reza Farshi
ote: > > > > You say you need heavy Ajax. I'd recommend choosing an Ajax framework you > > like (or using Protoype, which ships with AppFuse) and then use it which > > whichever framework you'd prefer. > > > > Matt > > > > On Sun, Apr 26, 2009

Re: [appfuse-user] best archtype?

2009-04-26 Thread Reza Farshi
gt; >> No i dont know because i didnt use GWT yet. For my project rich faces does >> the job >> >> >> On Sat, Apr 25, 2009 at 12:36 PM, Reza Farshi wrote: >> >>> Dear saeed, >>> Thnaks for your rocket jet reply. >>> do u know when gwt arch

Re: [appfuse-user] why this jetty error

2009-04-26 Thread Reza Farshi
Yes, you are right, excuse me :), i thought you are using modular one. On Sat, Apr 25, 2009 at 9:40 PM, Ime Asangansi wrote: > Reza, > > thanks but > I think that is for modular project...isn't it? > for basic, isnt it the root? > > ime > > > On Sat, Apr 25,

[appfuse-user] which is the best archtype for ajax based web app

2009-04-25 Thread Reza Farshi
about analyzing ajax frameworks, when new archtypes such as appfuse gwt archtype will be available ? in your opinion which archtype fit to our problem? -- thanks Reza Farshi

Re: [appfuse-user] best archtype?

2009-04-25 Thread Reza Farshi
Dear saeed, Thnaks for your rocket jet reply. do u know when gwt arch type will released? On Sat, Apr 25, 2009 at 3:03 PM, Saeed Iqbal wrote: > For heavy Ajax you could use JSF and put richfaces or Prim Faces instead of > ajax4jsf > > > On Sat, Apr 25, 2009 at 12:31 PM, Re

[appfuse-user] best archtype?

2009-04-25 Thread Reza Farshi
pe in your opinion? thanks in advance. -- -- Reza Farshi

Re: [appfuse-user] why this jetty error

2009-04-24 Thread Reza Farshi
anager executing goal >>> 'org.mortbay.jetty:maven- >>> jetty-plugin:6.1.9:run': Unable to find the mojo >>> 'org.mortbay.jetty:maven- >>> jetty-plugin:6.1.9:run' in the plugin >>> 'org.mortbay.jetty:maven-jetty-plugin' >>> org.mortbay.jetty.webapp.WebAppContext >>> >>> Please has anyone met this error and how did you solve it? >>> >>> Thanks >>> >>> Cheers, >>> Ime >>> >> >> > -- Reza Farshi

Re: [appfuse-user] appfuse:full-source problem

2009-02-11 Thread Reza Farshi
It would be so great/outstanding if AppFuse's forks implement this > feature!! :D > > Ice-Man > > 2009/2/11 Reza Farshi > > Dear matt, >> In appfue-maven-plugin in org.appfuse.mojo.installer.InstallSourceMojo >> class in >> >>private Li

Re: [appfuse-user] appfuse:full-source problem

2009-02-11 Thread Reza Farshi
------ > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > -- Reza Farshi

Re: [appfuse-user] appfuse:full-source problem

2009-02-09 Thread Reza Farshi
seconds [INFO] Finished at: Mon Feb 09 16:51:55 GMT+03:30 2009 [INFO] Final Memory: 5M/10M [INFO] On Mon, Feb 9, 2009 at 4:40 PM, Matt Raible wrote: > > > On Mon, Feb 9, 2009 at 5:55 AM, Reza Farshi wrote: >

Re: [appfuse-user] appfuse:full-source problem

2009-02-09 Thread Reza Farshi
n get the following command > working, this should work. > > svn co https://appfuse.dev.java.net/svn/appfuse/trunk appfuse > > Matt > > > On Mon, Feb 9, 2009 at 5:28 AM, Reza Farshi wrote: > >> Hi friends, >> after creating new project successfully I ran *mvn &g

[appfuse-user] appfuse:full-source problem

2009-02-09 Thread Reza Farshi
? any help appreciated. -- thanks Reza Farshi