Hi again Matt,
Just came across another problem with this one - there's also a UserActionTest
class generated, also with an incorrect package
declaration. Again, the source was put in the correct location
(src/test/java/org/appfuse/webapp/action) but the package declaration
said au.com.medimo
It's your project, feel free to do whatever you like. ;-)
Is .inc a standard name for included XML files - like jspf for JSPs?
Matt
On 9/7/07, Thomas Ramapuram <[EMAIL PROTECTED]> wrote:
> Hi,
> Is it possible to rename login.xml to login.inc? Technically
> speaking login.xml is not well fo
Hi Matt,
On 7 Sep 2007 at 23:23, Matt Raible wrote:
> So you're saying that UserAction is being ovewritten by appfuse:gen?
> That seems like a bug in itself. AMP should never overwrite any
> AppFuse core classes.
Yes, that's what seems to be happening. In case it helps, I noticed after
sending
Hi,
Is it possible to rename login.xml to login.inc? Technically
speaking login.xml is not well formed since it does not have a root
element. Will there be any issues if we rename it to login.inc? This
causes an error to be shown on eclipse ide.
Regards,
Thomas Ramapuram
---
You need to add it to core/src/main/resources/hibernate.cfg.xml.
Matt
On 9/7/07, dev dev <[EMAIL PROTECTED]> wrote:
> Using appfuse-modular-spring as the base, i'm trying to create a Person
> screen following the tutorials and for web framework, i use
> http://appfuse.org/display/APF/Using+Spring
So you're saying that UserAction is being ovewritten by appfuse:gen?
That seems like a bug in itself. AMP should never overwrite any
AppFuse core classes.
It's likely that you're trying to do something with "User" in relation
to generating things and that's somewhat of a reserved word when it
come
OK. I'm just thinking about using FreeMarker as the view instead of
JSP 2.0+EL (since we have been using FreeMarker for a while) and keep
all the rest
untouched.
On 9/7/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> I should mention that there's nothing to prevent you from using
> FreeMarker with
Using appfuse-modular-spring as the base, i'm trying to create a Person
screen following the tutorials and for web framework, i use
http://appfuse.org/display/APF/Using+Spring+MVC tutorial. Run mvn
integration-test at the end to the tutorial and everything build
successfully. However, got this erro
Hi Matt,
Thanks for the prompt reply as allways.
Firstly, I've worked around the problem, for the record, by simply changing
the import statement in the generated
main/java/org/appfuse/webapp/action/UserAction.java to:
import org.appfuse.model.User;
and now all my appfuse:gen commands work OK
I should mention that there's nothing to prevent you from using
FreeMarker with Spring MVC or Struts 2. However, you will need to keep
the existing JSP ViewResolver in place for Spring if you want to use
any of the current functionality.
Matt
On 9/7/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> On
This is probably a bug. Since you have amp.fullSource set to true, it
thinks the appfusepackage is your groupId. Hopefully it's easy enough
for you to change. Nevertheless, it's something we should fix. If you
add it to JIRA, we'll try to fix it before 2.0.
http://issues.appfuse.org/browse/APF
Ma
On 9/7/07, dev dev <[EMAIL PROTECTED]> wrote:
> Any particular reasons why FreeMarker is not supported in Appfuse? How about
> Velocity templates?
Because we haven't taken the time to do it. If you'd like to
contribute FreeMarker or Velocity views and support them, we'd be
happy to add them.
With
Hi All,
I have followed the instructions at:
http://www.appfuse.org/display/APF/AppFuse+Core+Classes
so I could add an attribute to the org.appfuse.model.User class that's required
for my
application. I've not removed anything from the User class.
I now have problems with mvn appfuse:gen
If
Any particular reasons why FreeMarker is not supported in Appfuse? How about
Velocity templates?
Thanks
dev
On 9/7/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> No - FreeMarker is not supported in AppFuse. It is supported in AppFuse
> Light.
>
> Matt
>
>
> On 9/7/07, dev dev <[EMAIL PROTECTED]>
No - FreeMarker is not supported in AppFuse. It is supported in AppFuse Light.
Matt
On 9/7/07, dev dev <[EMAIL PROTECTED]> wrote:
> Thanks
> dev
>
--
http://raibledesigns.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
Thanks
dev
it works. Thanks Matt.
Another good article on it.
http://docs.codehaus.org/display/MAVENUSER/Dealing+with+Eclipse-based+IDE
On 9/7/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> Try appending -Dsurefire.debug=true to your command or set your
> MAVEN_OPTS to have your IDEs debug params.
>
> Hope
I would try it. If it works, please open an issue in JIRA and attach the patch.
Matt
On 9/7/07, carbon60 <[EMAIL PROTECTED]> wrote:
>
>
> mraible wrote:
> >
> > I'm fine with normalizing it - patches welcome.
> >
>
> Two things then:
>
> 1. Create a static method somewhere: getCurrentUser() that
Try appending -Dsurefire.debug=true to your command or set your
MAVEN_OPTS to have your IDEs debug params.
Hope this helps,
Matt
On 9/7/07, dev dev <[EMAIL PROTECTED]> wrote:
> It seems to run fine except it doesn't stop at the breakpoints (2.0 RC1
> appfuse-modular-spring). I must be missing s
BTW, i'm using m2eclipse plugin http://m2eclipse.codehaus.org/ .
On 9/7/07, dev dev <[EMAIL PROTECTED]> wrote:
>
> It seems to run fine except it doesn't stop at the breakpoints (2.0 RC1
> appfuse-modular-spring). I must be missing some simple steps here.
>
> Any ideas?
>
> dev
>
It seems to run fine except it doesn't stop at the breakpoints (2.0 RC1
appfuse-modular-spring). I must be missing some simple steps here.
Any ideas?
dev
mraible wrote:
>
> I'm fine with normalizing it - patches welcome.
>
Two things then:
1. Create a static method somewhere: getCurrentUser() that basically
contains the same code as posted previously;
Does that sound about right? Where would you like the method?
2. Modify SignupController, a
If you look in log4j.xml, you can change the logging for
org.hibernate.SQL. Either that or drop a hibernate.properties into
src/main/resources and override properties that way.
Matt
On 9/7/07, Bob Fleischman <[EMAIL PROTECTED]> wrote:
>
> Is there a way to set the HIbernate property show_sql to t
Is there a way to set the HIbernate property show_sql to true without running
the mvn appfuse full-source command?
I'm trying to debug a method and I don't need all the source to appfuse.
Thanks
Bob
--
View this message in context:
http://www.nabble.com/Setting-Hibernate-show_sql-tf4403209s23
No, it's not possible to only include one class. The good news is
these classes are unlikely to change in the future. Maybe cosmetically
(javadocs, polishing, etc), but no signatures will change.
Matt
On 9/7/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> H
>
> On 7 Sep 2007 at 15:56, Michael Horwitz
H
On 7 Sep 2007 at 15:56, Michael Horwitz wrote:
> On 9/7/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> >
> > Hi Michael,
> >
> > On 7 Sep 2007 at 14:50, Michael Horwitz wrote:
> >
> > > For AppFuse 2.0.X the easiest approach is simply to include the code for
> > the
> > > User class and modify as r
I'm fine with normalizing it - patches welcome.
Matt
On 9/7/07, carbon60 <[EMAIL PROTECTED]> wrote:
>
>
> ros wrote:
> >
> > Is it possible to place User pojo as principal on successful signup.
> > Currently there is user name placed on signup and User pojo on login.
> >
>
> I just ran into exact
ros wrote:
>
> Is it possible to place User pojo as principal on successful signup.
> Currently there is user name placed on signup and User pojo on login.
>
I just ran into exactly the same thing. This means that the following code
from UserSecurityAdvice will not always work:
private U
Thanks !
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible
Envoyé : vendredi 7 septembre 2007 16:40
À : users@appfuse.dev.java.net
Objet : Re: [appfuse-user] transaction manager
If you need a JTA transaction manager, you need to configure it i
On 9/7/07, Rob Hills <[EMAIL PROTECTED]> wrote:
>
> Hi Michael,
>
> On 7 Sep 2007 at 14:50, Michael Horwitz wrote:
>
> > For AppFuse 2.0.X the easiest approach is simply to include the code for
> the
> > User class and modify as required:
> > http://www.appfuse.org/display/APF/AppFuse+Core+Classes
Hi Michael,
On 7 Sep 2007 at 14:50, Michael Horwitz wrote:
> For AppFuse 2.0.X the easiest approach is simply to include the code for the
> User class and modify as required:
> http://www.appfuse.org/display/APF/AppFuse+Core+Classes
Thanks for that suggestion and the link. I'd obviously not loo
https://appfuse.dev.java.net/servlets/ProjectDocumentList?folderID=7992
On 9/6/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> I need to create this download - I'll try to do it today.
>
> Matt
>
> On 9/6/07, davidOnAppfuse <[EMAIL PROTECTED]> wrote:
> >
> > After successfully trying M5 on a laptop o
If you need a JTA transaction manager, you need to configure it in
Jetty. This is possible, but unnecessary since Spring provides the
transaction manager.
Matt
On 9/7/07, benoit moraillon <[EMAIL PROTECTED]> wrote:
>
>
> Hi appfusers,
> Could you explain the following statement when jetty is laun
Hi All,
I need to add a single attribute to the user class and was wondering what
was the "recommended" way to go about this.
I had thought to extend org.appfuse.model.User adding my own attributes,
getters and setters, but had concerns about a couple of things:
1. What hibernate annotati
Hi!
arief wrote:
>
> Maybe Abel was right, that i need to configure the .classpath file
> correctly so that everything can be resolved perfectly by eclipse-junit.
> But i'm not sure how to do that in Candy.
>
Well, at the moment Candy just creates the AppFuse project, so there's no
special s
For AppFuse 2.0.X the easiest approach is simply to include the code for the
User class and modify as required:
http://www.appfuse.org/display/APF/AppFuse+Core+Classes
Mike
On 9/7/07, Rob Hills <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I need to add a single attribute to the user class and was
Hi appfusers,
Could you explain the following statement when jetty is launched :
2007-09-07 11:52:10.682::INFO: No Transaction manager found - if your
webapp re
quires one, please configure one.
Thanks,
-- Benoît Moraillon
Bad choice of words on my part! I was refering to your own transaction
advice as illustrated in the Spring configuration snippet you posted. I'm
not entirely sure which version of AppFuse you are using, but by default
AppFuse provides a transaction advice that is configured like so:
Uhm... I don't think I've added any custom interceptor, but may be
I've introduced the issue while upgrading the appfuse version... can
you suggest me where to start looking?
Il giorno 07/set/07, alle ore 10:33, Michael Horwitz ha scritto:
Delved into this the only way I know how - took a qu
On 9/7/07, gederer <[EMAIL PROTECTED]> wrote:
>
>
> Looks like there are problems with LazyList and Hibernate:
>
> http://forum.springframework.org/showthread.php?p=140315
> http://forum.springframework.org/showthread.php?p=140315
>
> Could I avoid LazyList by overriding a Spring controller method.
Delved into this the only way I know how - took a quick dip in the Spring
source code. Judging by the exception message you have, it seems Spring is
not recognising the exception being thrown as one it should roll back the
transaction for and is still trying to commit the transaction. You config
lo
Looks like there are problems with LazyList and Hibernate:
http://forum.springframework.org/showthread.php?p=140315
http://forum.springframework.org/showthread.php?p=140315
Could I avoid LazyList by overriding a Spring controller method. Looking at
the docs, I see that bindAndValidate() is a fi
Thanks for the reply.
I've seen this page. It provides a useful starting point; though, it doesn't
specifically address building forms dynamically in the browser (it builds
forms dynamically in JSP).
If I just add form elements with names like
commandObj.collection[index].propName, will my Simpl
Thanks for the tip. My spring-modular full source ran smoothly.
On 9/7/07, dev dev <[EMAIL PROTECTED]> wrote:
>
> will do Thanks Matt. To work around it, just run "dos2unix" (assuming you
> have cygwin installed on your machine) against all the pom.xml and
> everything should work fine.
>
> dev.
>
Hi all,
I wish to report an issue I can't completely understand.
In my application I created a BusinessManager to hold all business-
logic methods that need to be ran in the same transaction, and
declared it in applicationContext-service.xml to rollback on a
BusinessMethodException
Matt,
yes, exactly the same problem. I have runmvn archetype:create
-DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appfuse.org/releases
-DarchetypeVersion=2.0-rc1 -DgroupId=com.mycompany.app
-DartifactId=myproject and succes
Thanks for sharing.
Matt
On 9/7/07, gederer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I figured this out with some help from the persistence-glassfish folks (who
> can make JPA do back flips, and are terrific helpers!)
>
> Here's the solution, in case anyone's interested:
>
> @ManyToMany
>
Presumably you would hold the references to the addresses in a list, in
which case you simply use an index to reference them and Spring will be able
to bind your objects at will. An example/discussion here:
http://mattfleming.com/node/134
Mike
On 9/7/07, gederer <[EMAIL PROTECTED]> wrote:
>
>
> H
Hi,
I have a form that requires managing master-detail relationships. A
simplified example would be a person form where a person can have many
addresses. What I'd like to to do is use JavaScript to add new address
detail sub-forms to the person form on the same page.
So, the user would click an
Many people use AppFuse successfully with Eclipse. What is the specific
problem? And have you set up Eclipse to work with Maven:
http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html? The latter
is the most common issue in using AppFuse with Eclipse.
Mike
On 9/6/07, dev dev <[EMAIL PROT
Hi,
I figured this out with some help from the persistence-glassfish folks (who
can make JPA do back flips, and are terrific helpers!)
Here's the solution, in case anyone's interested:
@ManyToMany
@JoinTable(
name="parent_child_category",
[EMAIL PRO
51 matches
Mail list logo