Hi,
I have a fresh modular Spring project where I'm trying to run appfuse:gen
-Dentity=xyz.core.model.Barrio from the web directory. The database is
getting generated fine and all that but generating the CRUD screens fails.
I keep getting
[WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801
I'm getting some strange behaviour. I find that if I assign two Roles to
User 'admin' then when I call
userManager.getAll() I get two instances of the admin user in the List.
Has anyone else seen this kind of behaviour? What causes it?
--
View this message in context:
http://www.nabble.com/Dup
Environment: AppFuse 2.0,Spring MVC Modular,full-source
Log info:
[INFO] Starting jetty 6.1.5 ...
2007-10-26 10:38:35.815::INFO: Extract
jar:file:/D:/Source/sample/web/target/sample-webapp-1.0-SNAPSHOT.war!/ to
D:\Source\sample\web\target\work\webapp
2007-10-26 10:38:47.996::INFO: No Transactio
You may be able to modify the forms.css to do this. If that doesn't
work - use Struts' simple theme and you'll have full control of the
HTML produced.
Matt
On 10/26/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm using AppFuse 2.0 and Struts and I'm wondering how to get my labels
> an
Hi All,
I'm using AppFuse 2.0 and Struts and I'm wondering how to get my labels
and fields side-by-side rather than labels on top of fields as is the default
in
AppFuse.
I assume there's a single change I can make somewhere, but I've not been
able to work out what that is.
According to the S
Dear Team,
I'm new with Appfuse 1.9.4 with WW2. We have a weird problem: When I test
our website locally with Tomcat & MySQL, everything is OK. But after I copy
our webapp under Tomcat to remote web hosting, I can only access the JSP
pages, not able to access data from database.
The error on pag
Hmmm. Yea, I already had this set at one time and it didn't seem to be doing
anything so I got rid of it. Looking again at the documentation it seems
DELETE_ORPHAN isn't only for deleting from Collections when the Parent
object is deleted (as I thought) but is also used when any element is
removed
On 10/26/07, Setomidor <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> Been trying out AppFuse and ran into some problems:
>
> 1) Ran the following on a freshly installed Ubuntu gutsy box, maven 2.0.7:
>
> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-modular
Is your ImageServlet a servlet or a POJO? Is fileManager a bean
defined in your Spring context files.
Matt
On Oct 26, 2007, at 8:53 AM, kace wrote:
Hi guys ive got a bean imageServlet which dishes out images
managed bean looks like:
imageServlet
class>com.mobileanarchy.gym.we
You might want to change from using to -
I've seen issues with the former providing good error messages.
Matt
On Oct 26, 2007, at 8:10 AM, George.Francis wrote:
I have an entity 'Application' which has a ManyToMany association
with Users.
I've been trying to get a pick-list up on the Ap
You may want to try adding the
org.hibernate.annotations.CascadeType.DELETE_ORPHAN ( a Hibernate specific
annotation) that should do what you want. See here for more details:
http://tinyurl.com/29m6ek.
Mike.
On 10/26/07, syg6 <[EMAIL PROTECTED]> wrote:
>
>
> Well I've been playing with this all w
Well I've been playing with this all week and, quite honestly, I was very
close to a nervous breakdown and was cursing Hibernate up and down. I gave
up on relying on Cascade and decided to manually manage my associated Set of
AAndBJoin Objects.
This proved to be a royal pain in the a$$. I was get
Hi guys ive got a bean imageServlet which dishes out images
managed bean looks like:
imageServlet
com.mobileanarchy.gym.webapp.action.ImageServlet
session
fileManager
#{fileManager}
and I am setting t
I have an entity 'Application' which has a ManyToMany association with Users.
I've been trying to get a pick-list up on the ApplicationForm so that this
relationship can be managed. I'm following the example of userRoles in the
default userForm, but whenever I send a non-empty list for available
On 10/26/07, jimpo <[EMAIL PROTECTED]> wrote:
>
>
> And have two installations of my application server - server A with
> datasourceX => unit test db - and server B with datasourceX => the other
> db?
> And run the tests by deploying the war to server A and the actual
> deployment
> to server B? Ri
Wait a minutesrc/test/resources contains jdbc.properties
jdbc.driverClassName=${jdbc.driverClassName}
jdbc.url=${jdbc.url}
jdbc.username=${jdbc.username}
jdbc.password=${jdbc.password}
hibernate.dialect=${hibernate.dialect}
# Needed by Hibernate3 Maven Plugin defined in pom.xml
hibernate.co
On 10/26/07, Setomidor <[EMAIL PROTECTED]> wrote:
>
>
> Hi again!
>
> I continued my journey into AppFuse / Maven / Struts / Spring / Hibernate
> land, an ran into a wall when trying the PersonActionTest part of the
> tutorial.
>
> 1) I'm in the web directory (using modular) and run:
> mvn test -Dt
And have two installations of my application server - server A with
datasourceX => unit test db - and server B with datasourceX => the other db?
And run the tests by deploying the war to server A and the actual deployment
to server B? Right?
That's probably one good way to do it - what if you wan
Hi again!
I continued my journey into AppFuse / Maven / Struts / Spring / Hibernate
land, an ran into a wall when trying the PersonActionTest part of the
tutorial.
1) I'm in the web directory (using modular) and run:
mvn test -Dtest=PersonActionTest
result is :
Results :
Tests in error:
te
The easiest way to do this is to configure the database connection as part
of the container (as a JNDI resource) rather than embed it in the war file.
In applicationContext-resources.xml uncomment the JNDI lookup and comment
out the datasource.
Mike.
On 10/26/07, jimpo <[EMAIL PROTECTED]> wrote:
Hi All!
An isse submited to http://jira.codehaus.org/browse/MOJO-941
Thanks!
ros
Rob Hills wrote:
>
> Hi All,
>
> On 24 Oct 2007 at 13:22, Dale Newfield wrote:
>
>> DBUnit has the ability to "stream" the execution of certain tasks so
>> that ginormous collections of data should be able to
*bump* this one because I think a question still remains unanswered.
There is a need for have a) unit tests run against database settings 1
(populated by dbUnit) and b) the real application deployment war run against
a different database settings 2
The whole point of dbUnit is to run against a d
The best way is probably to build your own custom JSP tag that knows how to
extract you User object from the ACEGI authentication context.
Mike
On 10/26/07, Rob Hills <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I need to display some information from my user class on the page header.
> My modifica
Hi All,
I need to display some information from my user class on the page header.
My modifications to header.jsp work for everything except the main menu
page after first login and it quickly became obvious that it is because no
action class has been called to load up the user object.
I have
You problem may be related to this issue:
http://issues.appfuse.org/browse/APF-879 (you do not give any details as to
what you mean by distorted).
Mike.
On 10/26/07, Sunandha Ramasamy <[EMAIL PROTECTED]> wrote:
>
>
> I created a new project with appfuse 2.0 with Struts-Menu 2.4.3. I am
> trying
I created a new project with appfuse 2.0 with Struts-Menu 2.4.3. I am trying
to create Sub-Menus under a Main Menu. The Menu which comes up is
distorted. Please let me know how to give role based access to sub menus.
My Menu-Config looks like the following:
Hi!
Been trying out AppFuse and ran into some problems:
1) Ran the following on a freshly installed Ubuntu gutsy box, maven 2.0.7:
mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-modular-struts
-DremoteRepositories=http://static.appfuse.org/releases
In terms of changing your ip/port for each deployment you may be better off
if you configure the JDBC connection as a JNDI data source rather than build
the database connection details into the binary war file. In our environment
we are not allowed to change the binary between deployment environmen
28 matches
Mail list logo