It looks like this filter was included in Acegi Security 1.0.
http://www.jroller.com/raible/entry/how_to_upgrade_from_acegi1
Matt
On 9/11/07, jithesh <[EMAIL PROTECTED]> wrote:
>
> hi,
>
>I am working with appfiuse 1.9x for my web app. I read an article on
> ACEGI, that describes about 'Exc
hi,
I am working with appfiuse 1.9x for my web app. I read an article on
ACEGI, that describes about 'Exceptiontranslationfilter'. But when i
checked mu source o couldnot find that perticular filter.
class="org.acegisecurity.ui.ExceptionTranslationFilter". The acegi used in
this application
Hi Rob,
I recently added some properties to User, and then upgraded. I would
strongly recommend setting up a subversion repository for your project if
you're going to do this. I think this would have been completely painless
had I not been a total subversion newbie. Next time will be a piece o
Hi,
I've been messing about with Compass and AppFuse 2.0. The below borrows
heavily from Chris Barham's previous post on the subject. But, it uses the
most recent version of Compass, Compass annotations, and, of course, AppFuse
2.
Comments welcome!
Cheers,
Greg
Setting Up Compass with AppFu
Why are you getting a 404 in your application in the first place? Is
the path to your action incorrect or are you specifying an incorrect
JSP path in your configuration?
Matt
On 9/11/07, mortalexplorer <[EMAIL PROTECTED]> wrote:
>
> Good Day,
>
> Running Appfuse 2/struts/spring/hibernate. Have a
The easiest way to do this may be to chain validators. Use Commons
Validator's "beanValidator" for required fields and such, then create
a class that implements Spring's Validator and do more rigorous
validation there.
On your FormController, you can change from using "validator" to
"validators" a
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
>
>
> On 9/7/07, Rob Hills
> <[EMAIL PROTECTED]> wrote:
>>
>> I need to add a single attribute to t
The dbunit-maven-plugin is deleting data and re-inserting it. You
could create a new profile that overrides both the hibernate3 and
dbunit executions so they don't execute at all. Or you could look at
the configuration of the dbunit plugin and modify it's element
so it only runs when you do someth
1. Create a Map in your Action
2. Create a getter for that Map
3. Refer to the property in the "list" attribute of
Hope this helps,
Matt
On 9/10/07, Juha Hinkula <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have struggled with Struts2 dropdown lista (s:select). Could someone
> present clear example o
That change did seem to prevent the tables from being dropped. Here's an
excerpt from the log:
[sparcs] ERROR [main] SchemaExport.create(275) | Table 'app_user'
already exists
However, the data that is saved in one session vanishes once I restart with
the command:
mvn jetty:run-war
It ap
Hi,
I solved this by overriding formBackingObject like so:
protected Object formBackingObject(HttpServletRequest request)
throws Exception
{
log.debug("entering formBackingObject method");
ToyProvider o = new ToyProvider();
Good Day,
Running Appfuse 2/struts/spring/hibernate. Have a link on mainmenu.jsp set
up that takes the user to an administration page that contains
search/display functionality.
Everything runs fine with Jetty but when I migrate to TOMCAT I get the stack
trace below when I click on the link.
My
Any ideas guys?
- Original Message -
From: "Aled Rhys Jones" <[EMAIL PROTECTED]>
To:
Sent: Sunday, September 09, 2007 7:20 PM
Subject: [appfuse-user] ValidWhen/RequiredIf
Hi all
I need to validate some fields only if the user has specific roles. How
do I do this?
For example, I do
Hi,
I have struggled with Struts2 dropdown lista (s:select). Could someone
present clear example of populating dropdown list and setting it to form. I
have searched from previous mails but there is no clear enough examples.
-jh
Hi,
In my applicationContext-service.xml, I have:
In my Controller, I have:
private GenericManager countryManager = null;
public GenericManager getCountryManager()
{
return countryManager;
Oh, thanks Matt, I understand more. However, then each sub-form will has an
different Action class (nested in big class). Can I share a same Action
class for all nested forms?
For example on a page, there are 3 places to upload a profile picture and
file attachments, I'd like all of them use the
Thank Matt. However, I still use WW2.2.4 based on appfuse 1.9.4. And my
another question would be,
When I click Submit, I also want to pass a param to the Action. That's to
say, to get a URL like
a.com/uploadFile.action?item=myPicture
Then the same Action class can be used for multiple forms.
-
How can i implement LDAP authentication in appfuse 1.7? I implemented in
appfuse 1.9.4 with Acegisecurity..But i am not sure about appfuse 1.7.
Pls let me know.
Thanks in advance.
I took appfuse as it is, that means i'm using the default web framework.
I created a pojo named Book, I'used appgen to generate stuff and I
integrated the generated stuff to the application. When I tried to see the
list of books I get page not found, also menu related to pojo Book doesn't
work. I
wait is see an javascript error... which i don;t understand:
Error: Could not load 'struts.widget.Bind'; last tried '__package__.js'
Source File: http://localhost:8080/struts/dojo/dojo.js
Line: 94
tibi
tibi wrote:
after using ajax in a not so nice way (with getting full html as a
result... )
after using ajax in a not so nice way (with getting full html as a
result... ) i'm trying to follow this example:
http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html
if have made the following:
but it works fine (it deletes) but not without refreshing the page.
any help???
<%@ inc
It's ok but you'll have to do a
getHibernateTemplate().merge(blabla)
or this :
// delete all hibernate session objects
this.session.clear();
// perform save
getHibernateTemplate().save(blabla);
_
De : Mel Pison [mailto:[EMAIL PROTECTED]
Envoyé : lundi 10 septembre 2007 13:44
À :
For me
Authentication auth = new UsernamePasswordAuthenticationToken(
getUser(), getUser().getConfirmPassword(),
getUser().getAuthorities());
works fine.
mraible wrote:
>
> I would try it. If it works, please open an issue in JIRA and attach the
> patch.
>
> M
Hi all,
I am using appfuse 1.9x and webwork as the web framework. I'm trying
to build an application to manage studies but Im encountering some
problems. The relationship of POJOs is like this, Study has many
Studypageset(1 to many) and Studypageset has many studyPage (1 to many).
I must c
http://appfuse.org/display/APF/Using+iBATIS
On 9/10/07, Jim Qiu <[EMAIL PROTECTED]> wrote:
> Hi
> I want to try the iBatis code now but I could not find where to start,
> can anyone tell me where how to start that ?
>
> Jim Qiu
>
--
http:
Hi
I want to try the iBatis code now but I could not find where to start,
can anyone tell me where how to start that ?
Jim Qiu
Matt, Joe,
thank you two, this solution rocks. I can keep going now.
kindest regards,
nessus.
jkrugler wrote:
>
> Nessus,
>
> I have encountered the same issue as you described. I tracked the problem
> down to struts.xml being included in
> /target/warpath/appfuse-struts-2.0-rc1.warpath.jar
27 matches
Mail list logo