Hi All,
My app is based on AppFuse 2.0 + Struts etc and I'm using the default
struts-menu to build my app menu.
In this app, each user belongs to a company and a company has an associated set
of reports. The spec calls for
the reports to be selectable from a dropdown menu and for each company
Hello list,
I've got a short question regarding Interceptors for Hibernate in
AppFuse-2.0
Normally, I'd just add the interceptor to the sessionFactory
bean-definition using the property "entityInterceptor". But in
AppFuse-2.0 the definition of the sessionFactory is bundled in the
appfuse jars.
If you put the repository in the user's session, that should be used
instead.
The following code starts with page scope, then looks in request,
session and applications scopes:
// get the menu repository
MenuRepository rep =
(MenuRepository) pageContext.findAttri
You should be able to use HibernateExtensionPostProcessor to do this:
http://tinyurl.com/35b53w
Matt
On Feb 14, 2008, at 8:17 AM, Tobias Vogel wrote:
Hello list,
I've got a short question regarding Interceptors for Hibernate in
AppFuse-2.0
Normally, I'd just add the interceptor to the sessi
Hi Again Matt,
Rob Hills wrote:
BTW, is it possible to have the main part of the menu in the
Application (as it is currently) and then a submenu in the Session?
Does the tag just hunt through the first repository
it finds, or can it be pointed at a different repository?
Just to clarify this
On Feb 14, 2008, at 9:24 AM, Rob Hills wrote:
Hi Again Matt,
Rob Hills wrote:
BTW, is it possible to have the main part of the menu in the
Application (as it is currently) and then a submenu in the
Session? Does the tag just hunt through the
first repository it finds, or can it be poin
Hi Matt,
Matt Raible wrote:
If you put the repository in the user's session, that should be used
instead.
The following code starts with page scope, then looks in request,
session and applications scopes:
// get the menu repository
MenuRepository rep =
(MenuRepos
What is this ?
[INFO] Archetype repository missing. Using the one from [
org.appfuse.archetypes:appfuse-modular-spring:2.0 ->
http://static.appfuse.org/releases] found in catalog internal
Downloading:
http://static.appfuse.org/releases/org/appfuse/archetypes/appfuse-modular-spring/2.0.1/appfuse-mo
Does not look like an error. Does the build end with the Build Successful
message?
Mike
On Thu, Feb 14, 2008 at 7:13 PM, Todd Nguyen <[EMAIL PROTECTED]> wrote:
> What is this ?
>
> [INFO] Archetype repository missing. Using the one from [
> org.appfuse.archetypes:appfuse-modular-spring:2.0 ->
>
No. What version and package version should i use? You can easily try it out
and see. Here is the command i use.
mvn archetype:create
-DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArtifactId=appfuse-modular-spring
-DremoteRepositories=
http://static.appfuse.org/releases -DarchetypeVersion=2.
Hi all.
I was using appfuse 1.x a while ago and am now trying to get my dirty
hands on 2.x
First thing I noticed is: Maven
I did create a project for Spring/Modular (my area of interest) and
noticed this: source files in /core/src/main/java have this
comment:
Hi all.
I was using appfuse 1.x a while ago and am now trying to get my dirty
hands on 2.x
First thing I noticed is: Maven
I did create a project for Spring/Modular (my area of interest) and
noticed this: source files in /core/src/main/java have this
comment:
Quoting Todd Nguyen <[EMAIL PROTECTED]>:
No. What version and package version should i use? You can easily try it out
and see. Here is the command i use.
mvn archetype:create
-DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArtifactId=appfuse-modular-spring
-DremoteRepositories=
http://stati
It's basically a bug in Maven's archetype system - it doesn't do
package expansion. We expect you to delete App and AppTest in your
project.
Matt
On Feb 14, 2008, at 2:00 PM, Nikolay Karasev wrote:
Hi all.
I was using appfuse 1.x a while ago and am now trying to get my dirty
hands on 2.x
There's no such thing as dumb, just not informed. ;-)
In the "basic" archetypes, the App class looks as follows:
package $package;
public class App {
public static String getHello() {
return "Hello";
}
}
We use svn:externals (which act like symlinks) to pull the basic
archety
Oh..
I see where I have lost. Confused basic with modular types.
Will have to do a little homework on what modular really means.
BTW: is this maven bug expected to be fixed any time soon?
Thanks,
Nikolay
On Thu, Feb 14, 2008 at 2:29 PM, Matt Raible <[EMAIL PROTECTED]> wrote:
> There's no such t
Matt thanks.
I might be dumb, but could you please elaborate a little? What do you
mean by "it doesn't do package expansion." ?
Is this something AppFuse related or is it in general?
As far as I am concerned, if maven builds App and AppTest just fine,
what is the problem having the classes in their
In the AppFuse get-started page there is a mentioning that maven has
issues with Java 6 therefore it is recommended to download Java 5
instead.
The page references http://jira.codehaus.org/browse/MNG-2709 which now
states that the issue appears to have been fixed.
Should get-started page for AppFus
If you are able to develop your AppFuse project successfully with
Java 6, I'd be happy to remove it. Unfortunately, I'm on OS X (Tiger)
and don't have Java 6 (only available on Leopard), so I can't confirm
it works OK. Sure, I could drag out my Windows box, but what fun
would that be? ;-)
BTW, where do you see this mentioned? The current QuickStart Guide
says Java 5+.
Matt
On Feb 14, 2008, at 4:02 PM, Nikolay Karasev wrote:
In the AppFuse get-started page there is a mentioning that maven has
issues with Java 6 therefore it is recommended to download Java 5
instead.
The page r
Looking at the bug mentioned below:
http://jira.codehaus.org/browse/ARCHETYPE-23
It looks like this may be fixed in the new archetype plugin. I
haven't had time to investigate yet. The old version of the plugin
didn't support modular archetypes very well.
Matt
On Feb 14, 2008, at 3:43 PM,
I've just pulled the AppFuse 2 and it builds fine with out any custom
code added. I use Fedora 8, Java 6.0_04 (latest).
I am not sure if this suffices your requirement to test J6.
I run both Spring versions of AppFuse: basic and modular.
Page http://www.appfuse.org/display/APF/Development+Environ
Oops, I wanted to say "P.S. If needed ..."
On Thu, Feb 14, 2008 at 3:50 PM, Nikolay Karasev <[EMAIL PROTECTED]> wrote:
> I've just pulled the AppFuse 2 and it builds fine with out any custom
> code added. I use Fedora 8, Java 6.0_04 (latest).
> I am not sure if this suffices your requirement to
Maven 2.0.8 is so damn buggy. I'm switch back to maven 2.0.7. We should send
an email to the Maven group and tell them not to release a new version until
it's well tested with other libraries IMHO.
On Thu, Feb 14, 2008 at 12:41 PM, Eric D Nielsen <[EMAIL PROTECTED]> wrote:
> Quoting Todd Nguyen <
Feel free to modify this page - you should be able to if you create an account.
Matt
On 2/14/08, Nikolay Karasev <[EMAIL PROTECTED]> wrote:
> I've just pulled the AppFuse 2 and it builds fine with out any custom
> code added. I use Fedora 8, Java 6.0_04 (latest).
> I am not sure if this suffices
I might do if I feel it is appropriate. I am only 1/2 day with appfuse 2, so
Thanks for trust anyway.
Nikolay
On Thu, Feb 14, 2008 at 6:45 PM, Matt Raible <[EMAIL PROTECTED]> wrote:
> Feel free to modify this page - you should be able to if you create an
> account.
>
> Matt
>
>
>
> On 2/1
26 matches
Mail list logo