I made this change so that I could use both a 1.9 and 2.0 applications to
access same database (user and role tables). You need to change the role table
to use "ROLE_ADMIN" etc. Then change Constants.java and also the
applicationContext-Security.xml to match.
I think that was it and it shou
s based on that. Good luck.
Ron Anderson-2 wrote:
>
> I changed to the setup in the equinox user form and it works so it isn't
> related to jsCalendar or the import statements.
>
> Has to be something with the title="date" and its relationship to the
>
Matt Raible <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Tuesday, February 12, 2008 8:12:54 PM
Subject: Re: [appfuse-user] Struts2 and jsCalendar
Do you see any sort of JavaScript error in your console (on Firefox)?
Matt
On 2/12/08, Ron Anderson <[EMAIL PROTECTED]> wrote:
>
ruts2 and jsCalendar
Do you see any sort of JavaScript error in your console (on Firefox)?
Matt
On 2/12/08, Ron Anderson <[EMAIL PROTECTED]> wrote:
>
> I'm using the instructions from Matt on adding jsCalendar to Appfuse 2.0 /
> Struts 2 and it isn't working. The instruct
I'm using the instructions from Matt on adding jsCalendar to Appfuse 2.0 /
Struts 2 and it isn't working. The instructions are below.
I understand how the id is determined for the inputField but where does the
button id come from? It must have something to do with the textfield
title="date" a
I use the following to pass in a collection as a parameter list but do it in a
hibernate callback.
hth,
Ron
public List getIpdrsToRate(final Collection listOfStatusToRate, final
String subscriberToRate) throws DataAccessException {
return getHibernateTemplate().executeFind(n
Hey Rob this seems like it might be a good application for Spring AOP/AspectJ.
We've used it in a project for logging what was changed and by whom with
date/time.
Ron
- Original Message
From: Rob Hills <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Thursday, December 13, 200
ession for transaction;
nested exception is
Hi Ron,
What change did you make to your pom.xml to force commons-dbcp to
version 1.2.1? I'm going to try just adding the dependency, but as you know
this is a bit hard to test to see if it worked ;)
Thanks
Nathan
- "Ron Anderson&qu
load as the wait_timeout doesn't
expire. Stopping and starting the mysqld service did work for me as long as
I was the first to hit it. Otherwise someone else would see the ugly stack
trace.
Ron
Ron Anderson wrote:
>
> It will also fail after the mysql variable 'wait_timeout
; Server version: 5.0.41-community MySQL Community Edition (GPL)
>
>
>
> On Dec 5, 2007 , at 9:48 AM, Ron Anderson wrote:
>
>
>
>
> Which mysql server version are the demo's running on? I'm using
> 5.0.22.
>
>
> - Original Message
>
y.
You could try posting to the MySQL mailing list.
Matt
On Dec 5, 2007, at 9:40 AM, Ron Anderson wrote:
>
> Has anyone solved this problem? I've upgraded to latest mysql
> connector
> 5.0.8 and have the same problem described here (and on some other
> posts
> rela
Has anyone solved this problem? I've upgraded to latest mysql connector
5.0.8 and have the same problem described here (and on some other posts
related to this issue).
The way to recreate it is to stop and restart mysqld. The first time you
login, you'll see this error. It won't happen again a
Try something like this:
- Original Message
From: Bayu <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Wednesday, November 21, 2007 8:24:58 PM
Subject: [appfuse-user]
but the result is very ugly, it displays "290.0".
my question are:
-- how to di
I'm using Struts jasper reports plugin so I believe the
IS_USING_IMAGES_TO_ALIGN is set by default. The img tags used for aligning
output do show up and display perfectly in Firefox, just in IE they are
displayed as img placeholders. So I'm guessing that is due to ImageServlet not
being there
I've run across a strange Internet Explorer problem and trying to figure out if
it could be related to appfuse css or is a Jasper Reports issue. I'm using
appfuse 2.0/struts2.
I've configured Jasper Reports in Struts2 to output reports in HTML and
everything is working great in Firefox. When
This guy has some useful info as well.
http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect
Ron
- Original Message
From: Matt Raible <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Monday, October 29, 2007 3:39:46 PM
Subject: Re: [appfuse-user] simple redirect in Str
How about something like:
File sourceDirectory = new File("/path/to/files");
File[] files = sourceDirectory.listFiles();
Hi guys,
I have a modular project set up where files are uploaded into the
resources
folder from the admin module. The web module needs to access the
resource
folder in th
There are lots of examples and help on doing this via google.
Here is just one example http://www.devx.com/Java/Article/28754/0/page/4
soussou97 wrote:
>
> Hi Ron;
>
> You have another example more simple for the criteria Query ?
>
> regards;
>
>
> Ron Ande
You might want to look at xfire's in and out handlers. Here is a link to xfire
ws security that talks about them.
http://xfire.codehaus.org/WS-Security
- Original Message
From: George.Francis <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Tuesday, October 16, 2007 7:27:49 AM
Hi Matt,
Looks like you went with dataTable rather than display:table in the JSF
version so no built in export is available. This might be the motivation to
learn Struts 2 for a new project if no easy export solutions are available.
Any suggestions?
thanks,
Ron
--
View this message in contex
I just went through the entire process for basic-jsf from start to finish and
didn't have any problems.
Using Java 5, Tomcat 5.5 and Eclipse 3.2
Was able to import the project to eclipse, make changes and see them with a mvn
jetty:run-war. I do miss the old ant window in eclipse though.
Nice
Criteria Query is pretty good for this.
http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html
- Original Message
From: soussou97 <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Saturday, October 6, 2007 7:38:55 AM
Subject: [appfuse-user] Which design pattern
This should help with stub generation.
http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL
You can also just edit your web/action class that was built with appgen. Here
is a code sample of what you would need.
public List getCustomers() throws MalformedURLException {
x27;ll slow down your container
throughput.
De : Ron Anderson
[mailto:[EMAIL PROTECTED]
Envoyé : vendredi 17 août 2007
15:38
À : users@appfuse.dev.java.net
Objet : Re:
[appfuse-user] Asynchronous task
You
can do it by starting your own Thread then.
Ron
-
Original Message
F
You can do it by starting your own Thread then.
Ron
- Original Message
From: benoit moraillon <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Friday, August 17, 2007 6:29:54 AM
Subject: RE: [appfuse-user] Asynchronous task
Thanks, but when it's not a scheduled task ?
By launchi
I've used something like this to get the component id and then set the value of
a component later for a DWR driven display.
var filenameId = document.getElementById("importCdrs:filename");
Where I have a form called importCdrs and a component called filename.
Not sure if this is what you're l
You don't need managers for each object unless you have business logic you want
to add for the object that isn't handled by the generic manager.
You should first try to use the generic managers and dao's then if you need add
a manager and/or dao for the object with most specialization required a
You can just use a many to one with unique set to true like this:
@hibernate.many-to-one column="deviceId" unique="true" lazy="false"
on my getDevice() method
Its a constrained many to one where you can really only have one of these for
each deviceId.
- Original Message
From: hquinn <[
Hi All,
I've been wondering about this for awhile and especially when I forget about it
and scratch my head when it happens. Hoping someone can shed some light.
I use commonclipse for generating the equals, hashCode and toString methods
automatically at the bottom of my pojo's. I've noticed t
t, any attempt to go to the
> mainmenu should result in the login page being shown?
>
> Mike.
>
>
>
> On 1/10/07, Ron Anderson <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > I've noticed that after upgrading our 1.9.2 appfuse based app with Acegi&
I've noticed that after upgrading our 1.9.2 appfuse based app with Acegi's
1.0.3 release jar that it fixes a logout error (only shows up on Linux) after
session times out but now redirects to mainmenu and doesn't log user out. I've
changed this to login.jsp and it seems to work. Using JSF.
Ju
What is happening is when you submit the form by selecting save, your request
scoped stuff which was displayed to the browser on your edit isn't going to
survive unless you have a way of carrying it across. On input fields in your
jsp it gets carried across, if you want to bring other stuff tha
ling users for log4j logs
You might have better luck publishing an RSS feed for certain users.
While Log4j e-mail works, if you ever get a major error, the user's
inbox will fill up with thousands of messages - which is quite ugly.
Matt
On 12/17/06, Ron Anderson <[EMAIL PROTECTED]> wrote:
I'm trying to figure out how to set up emailing log4j log messages to selected
users.
It is easy to setup the users you wish to email via the log4j.xml but I'd like
to add two properties to User like boolean emailSevereLogs and boolean
emailFatalLogs and then when a log is needing to be emailed
There are some properties that also might help at
http://displaytag.sourceforge.net/10/configuration.html
See the export.amount property. These are set up in the
/WEB-INFO/classes/displaytag.properties file.
Ron
- Original Message
From: pankaj singla <[EMAIL PROTECTED]>
To: users@app
35 matches
Mail list logo