[appfuse-user] AppFuse and aspect-oriented programming (aop)

2008-07-18 Thread Stefan Pettersson
Hello, As part of my master thesis in computer science I'm looking at how aspect-oriented programming is used in web applications and "enterprise" systems, primarily based on Spring Framework. Hence, I'm interested to hear if (and how) anyone has used aspect-oriented programming in an AppFuse-bas

[appfuse-user] EntityListeners in appfuse-spring-basic?

2008-06-23 Thread Stefan Pettersson
I've got a model called Attachment that has a physical file associated with it. I want to implement an entity listener trigger by using @PostRemove to have the class delete the physical file from the harddisk when the persistent object itself is remove (explicitly or via cascade). The model only

Re: [appfuse-user] Page Not Found, but only for WebTest

2008-06-18 Thread Stefan Pettersson
On Wed, Jun 18, 2008 at 02:00, Matt Raible <[EMAIL PROTECTED]> wrote: > When you're using Jetty, there is not context path. When you're using Cargo, > there is. > > Hope this helps, > > Matt > > On Tue, Jun 17, 2008 at 1:53 PM, Stefan Pettersson <[EMAIL PRO

Re: [appfuse-user] AutoComplete in Jsp

2008-06-18 Thread Stefan Pettersson
Same thing there. It is all controlled by the browser, having a web page delete your autocomplete usernames/passwords would be quite an security issue. Might be some API to hook into going down the ActiveX path, but that's overkill. Overall, I think the best would be to step back a little and con

Re: [appfuse-user] AutoComplete in Jsp

2008-06-17 Thread Stefan Pettersson
If I understand you correctly, you want to programmatically detect if a form has been filled in using the IE AutoComplete feature or not? This is not possible (at least not what I can imagine). It is all done by the browser and is no different than typing the password by hand from a javascript or

[appfuse-user] Page Not Found, but only for WebTest

2008-06-17 Thread Stefan Pettersson
I've got a strange issue that I've been unsuccessfull solving. A spring-basic full-source generated project on Maven 2.0.9, AppFuse 2.0.2. I've got a controller extending a SimpleFormController with a .jsp-page displaying the form that I've added "manually" (i.e. not using appfuse:gen). Everythi

[appfuse-user] Re: How to appfuse:gen associated pojos?

2008-06-09 Thread Stefan Pettersson
owner" of the relation (i.e. the one not using mappedBy). Best regards, Stefan On Mon, Jun 9, 2008 at 14:35, Stefan Pettersson <[EMAIL PROTECTED]> wrote: > I've specified two model POJOs that I would like to run appfuse:gen > on. They are associated with each oth

[appfuse-user] How to appfuse:gen associated pojos?

2008-06-09 Thread Stefan Pettersson
I've specified two model POJOs that I would like to run appfuse:gen on. They are associated with each other through a @ManyToOne and corresponding mappedBy @OneToMany. When I run mvn appfuse:gen I get a fatal error (after entering entity name): [INFO] mappedBy reference an unknown target entity p