FYI...
Saw this tonight - looks like a good bookmark to have if you're
developing with Struts 2. Also, many of his examples are Maven-based,
so they should be easy to integrate into AppFuse 2.
http://www.vitarara.org/cms/struts2cookbook
Matt
--
http://raibledesigns.com
---
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
On 2/13/07, Nick Tucker <[EMAIL PROTECTED]> wrote:
Hi
I've managed to work through the tutorial using am m3 modular archetype.
I will write up the changes I made tomorrow if time permits.
Thanks Nicholas. A writeup would be great as we've fixed many issues
in the modular archetypes sinc
Hi
I've managed to work through the tutorial using am m3 modular archetype.
I will write up the changes I made tomorrow if time permits.
The main change I had to made was to add the following
core/src/test/resources/applicationContect.xml
Nick
http://www.springframework.org/schema/b
Just a warning - if you set this to false, the jdbc.properties file
won't get its variables replaced from pom.xml. You'll need to
hard-code variables in src/main/resources/jdbc.properties and
ApplicationResources.properties if you set filtering to false.
Matt
On 2/13/07, ros <[EMAIL PROTECTED]>
The reason is true - maven trying to parse image as it
described in
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
By default it set to false.
--
View this message in context:
http://www.nabble.com/resourcs-in-target-tf3222545s2369.html#a8955473
Sent from the AppFu
Finally, if I put PNG in a separate resource dir then it appears in target
dir unchanged.
My pom.xml:
src/main/AAA
src/main/resources
ApplicationResources_zh*.properties
All I can suggest is examine your spring configuration files... it
appears that something is not configured correctly. Double check
everything, and if you don't find a problem... triple check. I can't
think of a reason why these beans could not be created other than a
problem with the .xml fi
Please can somebody help me with this error my boss is seriously on my
kneck as i need to deliver. Thanks.
On 2/13/07, Richard Nduka <[EMAIL PROTECTED]> wrote:
This is another startup log. I was able to catch it right from the very
beginning. Any assistance would be appreciated. Thanks.
[loans
Try changing this:
src/main/resources
ApplicationResources_zh*.properties
ApplicationResources_de.properties
ApplicationResources_fr.properties
ApplicationResources_nl.pr
I've commented out this plugin in pom.xml, but still the same problem.
Now there is no trace of navive2ascii during mvn clean compile left:
[INFO] [warpath:add-classes {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:com
The native2ascii plugin only includes certain files, so this shouldn't
causing any issues (unless there's a bug in it of course):
org.codehaus.mojo
native2ascii-maven-plugin
1.0-beta-1-SNAPSHOT
target/clas
I need a copy /src/main/resources/aaa.png in /target/classes/aaa.png, buy I
do not need it to modified. Source file size is 32kb and target file size is
64kb. It looks like file was parsed with something like native2ascii... Any
ideas how to switch this parsing off?
Matt Raible-3 wrote:
>
> Thi
This happens because we filter this directory by default and replace
the variables in jdbc.properties with values from pom.xml. To exclude
certain files or patterns, you need to add an exclude:
http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
Matt
On 2/13/07
In the filterChainProxy bean, you could use the #NONE# keyword like we
do for images and such:
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/images/**=#NONE#
/scripts/**=#NONE#
/st
In the filterInvocationInterceptor you can say that they are restricted to
the ROLE_ANONYMOUS.
On 2/13/07, Jon Loken <[EMAIL PROTECTED]> wrote:
Hi again,
I've had a closer look at filterChainProxy, but cannot see any immediate
way to disable a small set of jsp's from being authenticated.
Ha
Hi!
In Appfuse 2 I've placed png image in /src/main/resources folder,
(e.g. http://www.libpng.org/pub/png/img_png/rpng2-bg14-toucan.png 35kb)
After mvn clean compile i've got it in /target/classes but it's size is 64kb
and it's corrupted.
The output is:
[WARNING]
Artifact junit:junit:j
Have you changed your sessionFactory bean? It looks like you have the
cache parameters configured wrong:
org.hibernate.HibernateException: Could not instantiate cache implementation
Matt
On 2/13/07, Richard Nduka <[EMAIL PROTECTED]> wrote:
I searched the mailing list archives and discovered t
I searched the mailing list archives and discovered that someone has done
this before. This can be seen from the url below:
http://www.nabble.com/Adding-image-to-user-profile-tf2367528s2369.html#a6634670
The issue is that i followed the contents of this url and at the end when i
deployed my appl
In that case Matt's response or the alternative I suggested should work
just fine...
Nathan
Richard Nduka wrote:
Maybe my choice of words sounded rather confusing. I meant a scenerio
whereby you already have the picture of the person registering and as
part of the registration process maybe t
Hi again,
I've had a closer look at filterChainProxy, but cannot see any immediate
way to disable a small set of jsp's from being authenticated.
Has anyone experience with preventing a small set of jps from going
through the Acegi login sequence? The jps pages in question are static,
but cater
Maybe my choice of words sounded rather confusing. I meant a scenerio
whereby you already have the picture of the person registering and as part
of the registration process maybe the same way you have text boxes capturing
personal details, you also have a file upload button to upload this image
ag
On 2/13/07, Nathan Anderson <[EMAIL PROTECTED]> wrote:
I think Matt meant "blob" rather than "blog" ;)
Doh! ;-)
Another way to do it is
to use file upload to save the image to the filesystem and then save the
path to the database. But I think the reason you didn't get a response
earlier [at
I think Matt meant "blob" rather than "blog" ;) Another way to do it is
to use file upload to save the image to the filesystem and then save the
path to the database. But I think the reason you didn't get a response
earlier [at least from me] is that it sounds like you are asking how to
for
It looks like this may be fixed in the 1.0.6 release. Maybe we should
just upgrade to that release?
http://mvnrepository.com/artifact/net.java.dev.ajax4jsf/ajax4jsf/1.0.6
Matt
On 2/13/07, jclagache <[EMAIL PROTECTED]> wrote:
In equinox, when i want to test my app whith jetty :
>mvn jetty:run
you should find something like db2_*licence.jar and put it in your
classpath.
I am not at office now, maybe I can give you more exact step tmr.
Best regards,
Jonathan
ranjini wrote:
Hi,
I am trying to connect AppFuse with DB2 version 9. I found that to change
the database
connectivity, we need
If your JDBC Driver contains more than one JAR, you'll probably have
to modify properties.xml so it has:
instead of:
Here's some old instructions I wrote for DB2 a couple of years ago:
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnDB2
HTH,
Matt
On 2/13/07, ranjini <[EMAIL PROTECTE
I haven't heard of a problem, but there certainly could be. Is your
edit method final? If so, you may need to remove that.
A couple of suggestions:
1. Try using Spring's PerformanceMonitoringInterceptor:
http://www.springframework.org/docs/api/org/springframework/aop/interceptor/PerformanceMon
If you enter a date through your database console and then view the
record in your browser - what date format does it use? If you don't
modify the date, does it allow you to save it?
Are you sure you're using java.util.Date?
Matt
On 2/13/07, Fan <[EMAIL PROTECTED]> wrote:
I was trying the sug
This code works perfectly with Spring-mvc I think there is a problem
with aop and X-works. Anybody faced this problem before?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I was trying the suggestions you provided. Unfortunately, neither of them
works
by the way, I am using Struts2 basic
Matt Raible-3 wrote:
>
> If you remove the Scriptaculous and Prototype includes from the
> default.jsp decorator - does that help? As far as the date error -
> what happens if
Hello
I have a question about Hibernate's Query by Example API. I know it is not
realy connected with AppFusse but meaby sombody have the same problem and
has solved it.
I have a class Project and ProjectUsers which looks like:
Project ---has-0-or-more --> ProjectUsers
public class Project ex
You could simply exclude them from Acegi processing altoghether by changing
the configuration of the filterChainProxy in sercurity.xml?
Mike.
On 2/13/07, Jon Loken <[EMAIL PROTECTED]> wrote:
Hi all,
Just a quick question regarding Acegi authentication.
How can I disable authentication for p
Hi all,
Just a quick question regarding Acegi authentication.
How can I disable authentication for particular jsp pages. These jsp
pages should then be freely accessible without being redirected to
login.jsp. With Acegi/Appfuse being so flexible I would not be surprised
if this can be done de
Hi,
I am trying to connect AppFuse with DB2 version 9. I found that to change
the database
connectivity, we need to change the build.properties and the properties.xml
file. Although it is
working for Oracle database, it is not working for DB2. I modified the
lib.properties file to include the DB2
In equinox, when i want to test my app whith jetty :
>mvn jetty:run
throws me an exception :
[INFO]
[ERROR] FATAL ERROR
[INFO]
[INFO] com/opensymphony
I want to resue my business logic from struts action class file
to create a web services without changing any code. I put my logic
in service.impl classes file and invoke the method from action file.
I can't access the dao.getObject(class,id).
Whether we need to create a se
37 matches
Mail list logo