When you have a simple list you use a Controller and when you are doing CRUD
a SimpleFormController.
But let's say you have an Object Company that has a Collection of Employees.
When you CRUD a Company you use a SimpleFormController. But when you want to
add an Employee to a Company, you open a p
ACEGI generate Spring application events on login. You will need to create a
listener to log the appropriate events - do a search on this list, or look
at Spring events on the Spring framework site for more information.
Mike.
On 8/11/07, BruceLee <[EMAIL PROTECTED]> wrote:
>
>
> Team,
> I want t
As a rule I ALWAYS work with a command object. In the example you cite below
the command object would be the company and the controller would add the
employees to the appropriate collection on the company object. Hibernate
handles all of the writing to the mapping table, etc. There are occasions
wh
Thank you for your reply, I will take a deeper look at it!
mraible wrote:
>
> The current system and your desired system only seems to differ where
> you're loading your templates from. Velocity (or FreeMarker) both
> should be able to load the templates from a database.
>
> Matt
>
> On 8/10/0
Hmmm ... So you would work with a SimpleFormController? I think I have tried
this in the past and couldn't get it to work because of Validation. IOW,
Spring Validates my CompanyForm, as if it were performing a Save/Update and
craps out because none of this info is sent, only the idCompany and
idEm
Or take a look at this code sample from our app:
public class LoginListener implements ApplicationListener
{
protected Log log = LogFactoryImpl.getLog(getClass());
private UserManager userManager;
/**
* @param userManager the userManager to set
*/
public void setUserManager(UserMan
Thanks a lot, and I'll try to learn more about those controllers and
hopefully understand each as soon as possible. Again, thanks a lot for the
replies...
- Original Message -
From: "syg6" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 13, 2007 4:26 PM
Subject: Re: [appfuse-user] Best prac
Julius -
Are you answering questions from another thread? Are you supposedly speaking
for me? Is this some attempt at being clever or something? I don't get it.
But then it is Monday, in August, and early ...
Bob
Julius-19 wrote:
>
> Thanks a lot, and I'll try to learn more about those cont
I prefer PDF it is easier for me to reference.
mraible wrote:
>
> All,
>
> I've been able to "fix" Confluence so it can successfully export the
> "AppFuse 2" space as PDF, XML or HTML. I believe the XML export is
> only useful for importing the content into another Confluence
> instance.
>
>
Ah, no worries, I thought you were pretending to answer for me or something,
the way your message is worded makes it seem so. Glad to hear you are clear
on whether you are doing things the right way, I still have my doubts ...
And please, don't call me sir. Makes me feel old and wise, and I am ne
No sir, I'm not answering to any other thread, Im in the process of learning
for myself, Im sorry if you thought that way, I just needed to know if Im
doing the right thing...
- Original Message -
From: "syg6" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 13, 2007 6:18 PM
Subject: Re: [app
Hi,
I am trying to create a new app in appfuse. The 'ant new' command completes
sucessfully, but when I run 'ant setup test-all' from the newapp's directory,
the testing fails at the section beginning 'test-dao'. A short extract of the
error msg is given below:
test-dao:
[echo] Te
Are you using JDK 6? If so, you might try Java 5.
Matt
On 8/13/07, Nandu T. Rajan <[EMAIL PROTECTED]> wrote:
> Hi,
> I am trying to create a new app in appfuse. The 'ant new' command
> completes sucessfully, but when I run 'ant setup test-all' from the newapp's
> directory, the testing fails
hi,
i am using appfuse 1.9.x for my webapp. I would like to know how can i
disable the appfuse property of keeping track of the last login information
of a perticular userid while his session is got expired. I dont want the
user to access his last visited page when he login next time.
Ple
The following should be sufficient to remove remember me functionality:
1) In security.xml find the bean filterChainProxy and remove the entry for
the rememberMeProcessingFilter from the list of filters to process.
2) Remove the input for the remember me checkbox from login.jsp.
As a side note al
Nope, facility cant host more than one club. I want to make the relationship
between club and facility as one-to-many.
Now my concern is how does FacilityFee fit into the relationship between
club and facility.
One facility should have many facilityFee structure, if that's the case,
should not
What version of AppFuse are you using? If it's 2.0 M5, it's as simple
as adding a @WebService annotation to your interface and something
like the following to your implementation:
@WebService(serviceName = "UserService", endpointInterface =
"org.appfuse.service.UserManager")
Here's the issue we u
Does Anybody knows what are the HTML 5 compatible browser?
I was reading something interesting in wikipedia about it
http://en.wikipedia.org/wiki/HTML5...
Regards,
André Faria
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Hello,
I tried the steps enumerated in the upgrade guide of the 2.0 M5 Release
Notes page. Initially, everything seemed to work fine in that all our tests
passed. But, when I ran the application and tried accessing our first page,
I started getting LazyInitialization exceptions like:
org.hiberna
Hi,
I have to make a module in my application that should be writes xmls. Maybe
I will have to have the option of being able to switch between saving to
xmls or database.
Do you think the best way to structure this would be to create FilesystemDao
object or the make a service to acomplish this?
The Dao... this is the place where you persist... The service (or
manager) is for the business logic (if you need to transform the data)
David M.
Marcelo Alcantara wrote:
Hi,
I have to make a module in my application that should be writes xmls.
Maybe I will have to have the option of being a
Our app was built starting from the AppFuse 1.9.3 Webwork Hibernate Spring
template.
We've setup the application for development in IDEA 5.1 using the Tomcat 5.5
Server integration as the servlet engine for the app.
My experience with using Resin in the past on other apps is that I can
usually
The only reason we have the OSIV Filter commented out in M5 is so
users can easily switch between persistence frameworks. We also don't
need it in AppFuse's default features, so it made sense to comment it
out. If you run into LazyInitializationExceptions, we recommend you
uncomment it or use eager
The only time I've seen single class reloading work in a server like
Tomcat is when it's running in debug mode and I can change things in
Eclipse. I'm aware of Resin's features, but haven't used them myself.
Of course, it's possible I'm not using some more advanced features of
Tomcat too.
Matt
On
Hi J. David,
Thanks for your reply.
I understand that.
But things at appfuse make it seems that daos are just for database access.
For xml file manipulation I got in doubt where it would be more appropriate.
Thansk, Marcelo
On 8/13/07, J. David Mendoza <[EMAIL PROTECTED]> wrote:
>
> The Dao..
Sorry for the massive delay - did you ever get this resolved? To test
that your AppGen is working correctly, you can perform the following
steps:
1. Back up your project or make sure it's in source control.
2. cd into extras/appgen and run "ant test".
This will generate CRUD using generic manage
You need to use if you want the field errors to show up
next to the input fields - just like signup.jsp and userForm.jsp use.
Matt
On 7/31/07, DreamBig <[EMAIL PROTECTED]> wrote:
>
> I use 1.9 WebWork option. I want to validate username and confirmed password
> in register.jsp, just same as AppF
Please post this as a new question rather than hijacking someone else's thread.
Thanks,
Matt
On 7/31/07, Ding, Qin <[EMAIL PROTECTED]> wrote:
>
> I use Appfuse 1.9.4/JSF/DB2/Websphere 6.x.
>
> Appfuse deployed to websphere 6 successfully but if I use IE browser to
> display the application, it i
Hi,
I've been playing with AppFuse 2.0 M5 (MySQL, JPA Hibernate, Struts2 Basic)
for the past couple of weeks and I've been following the useful tutorials.
I've hit a couple of snags which have slowed me down. Hopefully, your
answers will get me back on my feet.
My current issue is that DBUnit ha
If DbUnit is working for you, you could use the sql-maven-plugin and
.sql files to prepopulate the database. The advantage of DbUnit is its
Java API and the fact that its database agnostic. However, it's
unlikely you'll need to support many databases and Spring's
JdbcTemplate is just as good as DbU
Hello,
Thanks Matt, I just found out about this, I didn't notice the UserService
class before. I'll try it out.
On 8/14/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> What version of AppFuse are you using? If it's 2.0 M5, it's as simple
> as adding a @WebService annotation to your interface and
I'm considering removing OSCache since I haven't used it in quite a
few years and we already have EhCache.
I also like the following quote:
Enter the CachingFilter, a Servlet 2.3 compliant filter. Why not just
do a JSP tag library, like OSCache? The answer is that you want the
caching of your re
Than'x for the reminder Mr Matt, sorry for the inconvinience & my
recklessness, it's because i'm to hurry
Sorry to bother you all my Name RV from Indonesia, now in my work i have
some
deficulties to integrating Appfuse 1.9.4 to ApacheDS 0.9.x, appfuse that i
use is appfuse webwork, the web serv
The following is for 2.0, but I think it will work for 1.9.x.
http://appfuse.org/display/APF/LDAP+Authentication
Matt
On 8/13/07, Arkumik Raneas <[EMAIL PROTECTED]> wrote:
>
> Than'x for the reminder Mr Matt, sorry for the inconvinience & my
> recklessness, it's because i'm to hurry
> Sorry to
Hi Matt,
A newbie question on webservices. How exactly do we access the UserService?
On 8/14/07, fadhli <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Thanks Matt, I just found out about this, I didn't notice the UserService
> class before. I'll try it out.
>
>
> On 8/14/07, Matt Raible <[EMAIL PROTEC
The WSDL should be at:
http://localhost:8080/services/UserService?wsdl
Matt
On 8/13/07, fadhli <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> A newbie question on webservices. How exactly do we access the UserService?
>
>
> On 8/14/07, fadhli < [EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > Thanks Matt
Matt Raible wrote:
The WSDL should be at:
http://localhost:8080/services/UserService?wsdl
The question I need to find an answer to (but I can't say I've spent any
time on it, yet) is how to secure (authenticate) those services? Care
to give me a free clue?
-Dale
-
In security.xml, add a pattern that protects /services/**.
Matt
On 8/13/07, Dale Newfield <[EMAIL PROTECTED]> wrote:
> Matt Raible wrote:
> > The WSDL should be at:
> >
> > http://localhost:8080/services/UserService?wsdl
>
> The question I need to find an answer to (but I can't say I've spent any
But then, how do we proceed authenticating a client. Let's say we're setting
up another web client that will use this service. How then does this user
for another web client has access to this web service?
On 8/14/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> In security.xml, add a pattern that p
This may help:
http://www.jroller.com/sqyuan/entry/using_acegi_for_authentication_authorization
Matt
On 8/13/07, fadhli <[EMAIL PROTECTED]> wrote:
> But then, how do we proceed authenticating a client. Let's say we're setting
> up another web client that will use this service. How then does this
Hi Matt,
Thanks for you prompt help. I am using Java 5. I decided to
uninstall/reinstall tomcat 5.5.20, java 5 and mysql 5.0. And this fixed the
problem! "ant setup test-all" ran successfully till completion.
Nandu T.
Matt Raible <[EMAIL PROTECTED]> wrote:
Are you using JDK 6? If so,
Thanks for the link Matt.
On 8/14/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> This may help:
>
>
> http://www.jroller.com/sqyuan/entry/using_acegi_for_authentication_authorization
>
> Matt
>
> On 8/13/07, fadhli <[EMAIL PROTECTED]> wrote:
> > But then, how do we proceed authenticating a client.
42 matches
Mail list logo