RE: [appfuse-user] DWR help

2007-10-08 Thread Martin Ravell
cript from that page? Matt On 10/8/07, Martin Ravell <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a play with Appfuse 2 and DWR but without much luck and was > wondering if someone could help. > > I thought I'd start with a simple demo and see if I could ge

[appfuse-user] DWR help

2007-10-08 Thread Martin Ravell
Hi, I’m having a play with Appfuse 2 and DWR but without much luck and was wondering if someone could help. I thought I’d start with a simple demo and see if I could get it to work within the confines of a clean Appfuse project. The demo is from http://getahead.org/dwr/examples/text. My dwr.xml

Re: [appfuse-user] Public pages

2007-08-16 Thread Martin Ravell
ml*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER > /users.html*=ROLE_ADMIN > /**/*.html*=ROLE_ADMIN,ROLE_USER > > > > > Mike > > > On 8/16/07, Martin Ravell <[EMAIL PROTECTED]> wrote: >> >> What would be the best / simpl

[appfuse-user] Public pages

2007-08-16 Thread Martin Ravell
What would be the best / simplest way to allow a page to be accessed without having to login to the (Appfuse 2M5) application? Alternatively is there a simple way to allow for the username and password to be passed in a URL which deep links to a given page (bypassing the need to manually login)?

[appfuse-user] Security with userManager

2007-07-17 Thread Martin Ravell
The actual issue I was working on when I got distracted by the User Profile role assignment bug I just emailed about concerns the UserManager and security. I have a page which calls userManager.getUsers(new User()) for a list of users to put into the page. The page seems to run fine as long as th

[appfuse-user] User Profile / Security Problem

2007-07-17 Thread Martin Ravell
I have what I think is a bug in the User Profile page of 2M5 when administering user's roles. If I have a user who has both ROLE_ADMIN and ROLE_USER it doesn't seem possible to remove the ROLE_ADMIN role using the standard user interface. I think that there might be multiple problems with this are

RE: [appfuse-user] Deploying to a linux box

2007-07-17 Thread Martin Ravell
You might try Jetty with Apache on the front-end. Mod_jk works in the same way as it does for Tomcat. I have been running this on my Fedora box for a while now and find it quite good. Will dig out a configuration file for you if you are interested. Regards Marty _ From

[appfuse-user] Database updates

2007-07-04 Thread Martin Ravell
I have an app which is in (limited) production. (Appfuse 2M5 Struts2 basic) In development I've added a few new tables. Is there a way with maven that I can have these changes applied to the production database without wiping (deleting and rebuilding) the wholoe database? I want to keep the data i

[appfuse-user] RE: Email

2007-06-22 Thread Martin Ravell
Am I correct in thinking that I just needed to add these lines into my applicationContext.xml like so: Damn thing gives me an exception like this (but doesn't really tell me what is going on: 2007-06-22 22:07:18.027::W

[appfuse-user] Email

2007-06-22 Thread Martin Ravell
Can someone help me with the configuration requirements for an Action (2m5 Struts 2) so that I can send an email? I'm assuming that I can use the sendUserMessage method in the BaseAction class but have a strong suspicion that I need some wiring (Spring?). I've not found any mention of this on th

[appfuse-user] Weird issue

2007-06-20 Thread Martin Ravell
urces/* /* Matt On 6/20/07, Martin Ravell <[EMAIL PROTECTED]> wrote: > I have a 2m5 app working nicely on my XP development box rnning in > Jetty and also in Tomcat 5.0. > > I compile up the war on my Linux box and consistantly get the > Exception below. This happen

[appfuse-user] Weird issue

2007-06-20 Thread Martin Ravell
I have a 2m5 app working nicely on my XP development box rnning in Jetty and also in Tomcat 5.0. I compile up the war on my Linux box and consistantly get the Exception below. This happens when I click on the Add button in any program generated using appfuse:gen / appfuse:install. The weird thi

[appfuse-user] Tomcat Deployment

2007-06-17 Thread Martin Ravell
I'm trying to deploy my 2m5 app to a Tomcat5 server on my Linux box but am getting the following error: "The server encountered an internal error (Error retrieving attribute reloadable) that prevented it from fulfilling this request." I'm thinking that I should try getting 'reloadable' into the

[appfuse-user] Linux mvn errors

2007-06-14 Thread Martin Ravell
I've just tried to get maven setup on my Linux server in order to host the 2m5 app I'm building (dev done on windows laptop). When I try to run maven I'm getting the following error. Anyone seen this before and can offer some suggestions? Regards Marty [INFO] --

Re: [appfuse-user] Struts2 taglibs

2007-06-07 Thread Martin Ravell
e/1.4/docs/tutorial/doc/JSPTags7.html > > Matt > > On 6/7/07, Martin Ravell <[EMAIL PROTECTED]> wrote: >> I'm going to have a crack at building a taglib for my 2m5 application >> and >> was wondering about maing this understand the Struts2 object graph >> (OGN

[appfuse-user] Struts2 taglibs

2007-06-07 Thread Martin Ravell
I'm going to have a crack at building a taglib for my 2m5 application and was wondering about maing this understand the Struts2 object graph (OGNL?) Has anyone on the list done anything like this before? If so I'd appreciate it if you could share any resource URLs, tutorials etc that you may have

Re: [appfuse-user] script issues

2007-06-06 Thread Martin Ravell
age and remove it. > > Mike. > > On 6/6/07, Martin Ravell <[EMAIL PROTECTED]> wrote: >> >> I have a test project (2m5 Struts2 basic) with a simple couple of model >> objects having been run through the appfuse:gen / appfuse:install >> generation stuff and the base

[appfuse-user] script issues

2007-06-06 Thread Martin Ravell
I have a test project (2m5 Struts2 basic) with a simple couple of model objects having been run through the appfuse:gen / appfuse:install generation stuff and the base code seems to work well. Onto one of the list forms I have added a new column with a link to another action. This link renders cor

[appfuse-user] Struts2

2007-06-04 Thread Martin Ravell
Sorry if this is a little off topic but I figure there are a few people out there using the Struts2 version of appfuse and I'm needing some help. In a pretty simple list page created by an appfuse:gen / appfuse:install on a new pojo called Game. I have added an extra column to this gameList.jsp in

[appfuse-user] Pages

2007-05-30 Thread Martin Ravell
Scratch that last post. I've managed to install a Spring MVC project rather than a Struts2. Doofus is my middle name by the way. Regards Marty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[appfuse-user] Pages

2007-05-30 Thread Martin Ravell
Sorry if this question happens to have an obvious answer but where is the struts.xml in 2m5? I'm guessing that something has been changed so that we no longer use this for configuration but I'm stumped as to what this change is. (yes I've been searching through the wiki etc). Environment = Appfus