There's two things you can do:
1. Change WEB-INF/classes/jdbc.properties
2. Change WEB-INF/classes/applicationContext-resources.xml to use a
JNDI DataSource instead of a Spring-configured one. That way you can
configure it in your app server.
You can also setup a profile in your pom.xml for produ
Is there an easy way to change configure database connection info like
username/password after the application is war'ed (like a properties file or
something) together? It seems like the connection info must be added to the
pom.xml. My apologies if the answer to this question has been posted.
--
The StackOverflowError usually happens when you're referring to child
objects in your equals() and hashCode() methods that in turn refer
back to the parent object. I'd suggest not using the Equals and
HashCode builders because I believe they do this by default. You could
also look and see if they a
It's a bidirectional pojo with other entities.
package com.dnt.miti.model;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.CascadeType;
import javax.persistenc
On 8/20/07, Derek Broughton <[EMAIL PROTECTED]> wrote:
> Matt Raible wrote:
>
> > On 8/20/07, Derek Broughton <[EMAIL PROTECTED]>
> >>
> >> I really think that if autowiring doesn't work with the example, "zero
> >> configuration" shouldn't even be mentioned on that page; it's just
> >> misleading.
Matt Raible wrote:
> On 8/20/07, Derek Broughton <[EMAIL PROTECTED]>
>>
>> I really think that if autowiring doesn't work with the example, "zero
>> configuration" shouldn't even be mentioned on that page; it's just
>> misleading.
>
> Autowiring doesn't work when doing tests, but it does at runti
Is your UI getting populated correctly? If so, then you have
everything setup correctly from a pickList point of view. As far as
needing a custom PropertyEditor - you'll need one if you want the ids
in your pickList's right-hand side to turn into fully-composed
objects.
The following article may h
Thanks Matt, that makes sense.
Can you see anything obviously wrong with the below code? What I am
most unsure about is if I need a custom binder to bind between available
website types in the pick list and the list of website type objects in
the website object.
Cheers
Aled
Matt Raible wrote
The "availableRoles" List is populated in StartupListener.java:
/**
* This method uses the LookupManager to lookup available roles
from the data layer.
* @param context The servlet context
*/
public static void setupContext(ServletContext context) {
ApplicationContex
Any ideas guys?
Aled Rhys Jones wrote:
Hi all
I'm trying to get my head around the may to many pickList. I've got a
many to many relationship between a website model and a website type
model.
The pick list used in the user form seems suitbable, but when I try to
use it I get Null Pointer (j
On 8/20/07, Derek Broughton <[EMAIL PROTECTED]> wrote:
> Matt Raible wrote:
>
> > The test does use manual wiring:
> >
> >
> > action = new PersonAction();
> > GenericManager personManager = (GenericManager)
> > applicationContext.getBean("personManager");
> > action.setPer
Matt Raible wrote:
> The test does use manual wiring:
>
>
> action = new PersonAction();
> GenericManager personManager = (GenericManager)
> applicationContext.getBean("personManager");
> action.setPersonManager(personManager);
>
>
Ah. I see. Sorry, Matt, but that migh
Hi Matt,
I mean using flickr api (if available in java) to store images on to flickr
using AppFuse application instead of storing in a relational database.
--Irshad.
mraible wrote:
>
> What do you mean - a repository for images?
>
> On 8/20/07, Irshad Buchh <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
What do you mean - a repository for images?
On 8/20/07, Irshad Buchh <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Has anyone tried to use Flicker as a repository with AppFuse 1.9.4 based
> application?
>
> --Irshad.
> --
> View this message in context:
> http://www.nabble.com/Question-about-Flicker.-tf42
Hi,
Has anyone tried to use Flicker as a repository with AppFuse 1.9.4 based
application?
--Irshad.
--
View this message in context:
http://www.nabble.com/Question-about-Flicker.-tf4299680s2369.html#a12238394
Sent from the AppFuse - User mailing list archive at Nabble.com.
Matt Raible wrote:
> Yes, you are correct in that you have to manually wire your actions in
> your test cases. One solution to this problem may be extending
> StrutsTestCase instead of BaseActionTestCase.
>
>
http://struts.apache.org/2.0.9/struts2-core/apidocs/org/apache/struts2/StrutsTestCase.ht
The test does use manual wiring:
action = new PersonAction();
GenericManager personManager = (GenericManager)
applicationContext.getBean("personManager");
action.setPersonManager(personManager);
Matt
On 8/20/07, Derek Broughton <[EMAIL PROTECTED]> wrote:
> Matt Raible w
There's been talk about it on their mailing list, but I don't believe
they support it yet.
http://www.nabble.com/forum/Search.jtp?forum=3520&local=y&query=josso
Matt
On 8/20/07, tiya tiya <[EMAIL PROTECTED]> wrote:
> Will Acegi support josso??
>
>
> On 8/17/07, Matt Raible <[EMAIL PROTECTED]> wr
Matt Raible wrote:
> Yes, you are correct in that you have to manually wire your actions in
> your test cases. One solution to this problem may be extending
> StrutsTestCase instead of BaseActionTestCase.
Oh no! I'll give that a try, but the
http://www.appfuse.org/display/APF/Using+Struts+2 page
Will Acegi support josso??
On 8/17/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> You should be able to use some type of SSO solution to make this work.
> Acegi supports Yale's CAS - have you thought about using that to do
> your authentication with LDAP and then propogate it to your
> application
Yes, you are correct in that you have to manually wire your actions in
your test cases. One solution to this problem may be extending
StrutsTestCase instead of BaseActionTestCase.
http://struts.apache.org/2.0.9/struts2-core/apidocs/org/apache/struts2/StrutsTestCase.html
Matt
On 8/19/07, Derek Br
Thanks for the info - I've added this to the FAQ:
http://appfuse.org/display/APF/FAQ#FAQ-jettyrunlocked
Matt
On 8/20/07, Julien C. <[EMAIL PROTECTED]> wrote:
>
> Thanks Dinu for the rapidity.
>
> In addition of your link, the way to define webdefault.xml with maven :
>
> ...
>
> org.mo
What's the code from your POJO look like?
Matt
On 8/20/07, fadhli <[EMAIL PROTECTED]> wrote:
> Hello everyone, Matt,
>
> I'm using Appfuse 2-05m with Spring MVC Basic.
>
> I'm having this problem during consuming my web services. How do I avoid
> circular references in appfuse 2?
>
> I'm getting
Thanks Dinu for the rapidity.
In addition of your link, the way to define webdefault.xml with maven :
...
org.mortbay.jetty
maven-jetty-plugin
6.0.0
/
3
src/main/webapp/WEB-INF/applicationContext.xml
src/main/webapp/WEB-INF/dispatcher-s
check this out
http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows
- Original Message
From: Julien C. <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Monday, August 20, 2007 3:18:23 PM
Subject: [appfuse-user] jetty lock css and js files
Hi,
When jetty ( :run )
Hi,
When jetty ( :run ) is runnng , I can't modify css, js files anymore.
The files are locked. Is there a way to disabled the lock. I'm using
SpringMVC, win XP Pro and netbeans 6M10. but I'm running jetty in a
command window (not in netbeans)
Thanks, Julien chanséaume.
Hi, Matt
On 5/3/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> If I said the reason BaseManagerTestCase extends
> AbstractDependencyInjectionSpringContextTests instead of
> AbstractTransactionalDataSourceSpringContextTests was to show possible
> lazy-loading issues, would you believe me? ;-)
>
I
Hello everyone, Matt,
I'm using Appfuse 2-05m with Spring MVC Basic.
I'm having this problem during consuming my web services. How do I avoid
circular references in appfuse 2?
I'm getting this error
Exception in thread "main" java.lang.StackOverflowError
at sun.util.calendar.ZoneInfo.getOff
28 matches
Mail list logo