I have a requirement to add a third field to my login that could serve to add the user to the list of valid users and will assign permissions to the user. I saw a recent post that suggested...
Type: Posts; User: rlynn; Keyword(s):
I have a requirement to add a third field to my login that could serve to add the user to the list of valid users and will assign permissions to the user. I saw a recent post that suggested...
Thanks for your response! My problem is that for these two forms, my onSubmit would run, at least in my second case, 'instead of' the form backing object. I did find a workaround for this one: I...
I have two forms now that when I open the form, onSubmit runs immediately. The first one had a validator that stopped the submit from completing so I put off fixing it, but my current one is...
Thanks for all your help!! It took me the entire day yesterday but the trx's are working now.
OK, I MIGHT be understanding a little, but before I change my code around I'd like to make sure I understand. After looking at petclinic some more it looks like: the TransactionProxyFactoryBean...
The class which calls my DAO only implements the Serializable interface, and I didn't do whatever you said about CGLIB. I actually just changed the code to make the DAO (which extends...
Thanks for trying! I never get to that statement - I think my code is oblivious to my transaction declaration.
The proxied class only implements Serializable.
I stepped through the debugger and found that org.springframework.jdbc.core.JdbcTemplate's public Object execute(PreparedStatementCreator psc,...
When I go in (through the Eclipse debugger) and enter a value where the second sql statement will fail, the first one is not rolled back. When I set the logging level to 'debug' I didn't see any...
Another possibility for my problem: I have the datasource linked to the dao's but I wanted to put the transactions on the classes that call the daos' functions (jdbc.) Do the datasource and the...
I posted about 2 months ago and never got an answer, and I still don't have transactions working. They don't seem to even be starting. I'm thinking that maybe it's because I have my datasource...
So far as I can tell, I have my transactions set up like the petclinic example, but they are not working. In the following example, I have 2 updates in a row, and if the second fails I want the...
What do I need to do to send mail through a proxy server? Currently I am using a JavaMailSenderImpl with the host property populated (I have almost no experience in using code to send email, & I...
No - I've put that in and everything works fine.
Thanks for your help!
I am trying to allow the user to view a report as rtf. I found another posting in this forum and copied it to do the following:
File aFile = new File("C:\\report_test.rtf");
...
I am using AbstractPdfView / iText to create a PDF version of my report. I want to translate the characters available in the editor for my application (tinyMCE.) My problem is that I can't seem to...
Nevermind...I forgot I had changed 'findObject' to 'execute' when I added the extra args.
This should be a simple question: How can I execute the following query:
I tried this:
Integer userId = new Integer(id);
Object[] o = {userId, userId, userId, userId, userId,...
I'm on my first spring app - when I started off I used sample code that configured beans in appname-servlet.xml. When I introduced Acegi security, alot of that configuration is in...
I guess I'm still a little confused (having files under WEB-INF didn't cause the login to happen.) I did get the login screen to come up by playing around with the patterns. My goal is to...
I just started with Acegi security. I copied and tweaked application-context.xml and most of the web.xml file from a sample app that I (finally) got to work. However, my login screen never appears....
I am starting to look at how to secure my application. For my primary group of users, I have a requirement to use a web service for single sign-on, but the problem is the web service does not yet...
I honestly think my real problem was the bind errors, but something in the way the process works when being called from anther form kept those errors from being displayed. I think this because I...
It works now - I had a type conversion problem. When Spring hits bind errors, it must just keep going in some cases to bypass the problem.
OK, I take that back -- it ALMOST works. When I hit submit on the form, instead of calling onSubmit, the referenceData function runs. If I can't figure out a work around for that one, I'll post...