Hi Matt,
I am using DWR, comes default with appfuse 1.94,
In my JSP file, I included java script file which supposed to generated
dynamically,
hai,
I am using appfuse 1.9x. i would like to give some default values to a
particular column while generating the hibernate mapping files using
xdoclet. Is it possible? if yes how can i do that?
for example i have a column with name "zipcode" and i want to fill that
column by some val
You can add multiple resource sections in your pom. The trick is that you
want the struts.xml in a resource (so that it gets copied) but one with the
filter parameter turned off. As an example (this is untested, so might need
a bit of tweaking):
src/main/resourc
I think the easiest way to view the Javascript would be to set yourself up
with FireFox and the FireBug debugger. Navigate to the page, fire up the
debugger, and you should be able to see and browse the script. More
details on how to set up FireFox with FireBug can be found here:
http://www.appfus
You should also be able to go to http://localhost:8080/yourapp/dwr and
see a screen that will allow you to manually invoke methods on
DWR-exposed beans.
Matt
On 6/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
I think the easiest way to view the Javascript would be to set yourself up
with Fi
with a fresh 2.0m5 i can't add a role to the security.xml like i used to
do in 2.0m4
i tried to add myRole:
class="org.acegisecurity.intercept.web.FilterSecurityInterceptor">
PATTERN_TYPE_APACHE_ANT
/activeUsers.*=ROLE_ADMI
If you add a new role, it needs to be prefixed with ROLE_ - so
ROLE_myRole should work. We changed the RoleVoter from using a ""
prefix to using the default "ROLE_".
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
with a fresh 2.0m5 i can't add a role to the security.xml like i used to
do in 2
Thanks for adding that note - more documentation is never a bad thing. ;-)
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
that works.
if you don;'t mind i added an info about changeing your own roles:
http://appfuse.org/display/APF/Release+Notes+2.0+M5
tibi
Matt Raible wrote:
> If you add
that works.
if you don;'t mind i added an info about changeing your own roles:
http://appfuse.org/display/APF/Release+Notes+2.0+M5
tibi
Matt Raible wrote:
If you add a new role, it needs to be prefixed with ROLE_ - so
ROLE_myRole should work. We changed the RoleVoter from using a ""
prefix to
Here's an example of calling that method:
// Send an account information e-mail
mailMessage.setSubject(getText("signup.email.subject"));
sendUserMessage(user, getText("newuser.email.message", args),
RequestUtil.getAppURL(
Can someone help me with the configuration requirements for an Action (2m5
Struts 2) so that I can send an email?
I'm assuming that I can use the sendUserMessage method in the BaseAction
class but have a strong suspicion that I need some wiring (Spring?).
I've not found any mention of this on th
Did you important AppFuse source into your code? If not, it looks
like you're still depending on an M4 dependency somewhere. Maybe you
need to run "mvn clean" first?
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
ok my applications seems to work fine. but when running mvn
integration-test i
no source code into my project and i did a mvn clean
which jar could be the problem??
tibi
Matt Raible wrote:
Did you important AppFuse source into your code? If not, it looks
like you're still depending on an M4 dependency somewhere. Maybe you
need to run "mvn clean" first?
Matt
On 6/2
Am I correct in thinking that I just needed to add these lines into my
applicationContext.xml like so:
Damn thing gives me an exception like this (but doesn't really tell me
what is going on:
2007-06-22 22:07:18.027::W
appfuse-service.jar - look in your target/app/WEB-INF/lib after
running "mvn package" to see what version of the JAR is in there.
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
no source code into my project and i did a mvn clean
which jar could be the problem??
tibi
Matt Raible wrote:
The problem is at:
com.rave.chester.webapp.action.PlayAction.save(PlayAction.java:168)
Did you add setters for the variables you're trying to use?
Matt
On 6/22/07, Martin Ravell <[EMAIL PROTECTED]> wrote:
Am I correct in thinking that I just needed to add these lines into my
applicationContex
i have a appfuse-service-2.0-m5.jar file. that looks good.
when i run mvn jetty:run signup gives (as expected) the same error...
--
side track:
org.appfuse
maven-warpath-plugin
ok my applications seems to work fine. but when running mvn
integration-test i still have this error:
and signup will not work:
Signup:
[INFO] [talledLocalContainer] [topnet] ERROR [http-8081-Processor22]
[default].invoke(250) | Servlet.service() for servlet default threw
exception
[INFO] [ta
don't understand it.
when i comapere the lib dir between a fresh m5 and my upgrade i notice
this dif:
commons_lang2.3 ipv 2.1
ehcach and jsr173_api are different
tibi
tibi wrote:
i have a appfuse-service-2.0-m5.jar file. that looks good.
when i run mvn jetty:run signup gives (as expected) t
It may be a bug, but I was successful in upgrading the appfuse-demo
projects from m4 to m5.
I'd blame the following change, but I haven't had any issues with it myself:
http://appfuse.org/display/APF/Release+Notes+2.0+M5#ReleaseNotes2.0M5-manageranddaousage
Matt
On 6/22/07, tibi <[EMAIL PROTEC
but it is strange. because it should all be in the jars. my own code
will not have anything to do with it.
what can be the diff between a fresh install and an update?
tibi
Matt Raible wrote:
It may be a bug, but I was successful in upgrading the appfuse-demo
projects from m4 to m5.
I'd blame
There shouldn't be any difference - does it work for a fresh install?
If so, there's probably still something somewhere that's referring to
the old JARs. At least that's the only thing I can think of.
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
but it is strange. because it should all be
or could it be some kind of config files somewhere??
tibi
Matt Raible wrote:
There shouldn't be any difference - does it work for a fresh install?
If so, there's probably still something somewhere that's referring to
the old JARs. At least that's the only thing I can think of.
Matt
On 6/22/0
Possibly - I'd search through all your *.xml files and look for m4 and
change it to m5.
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
or could it be some kind of config files somewhere??
tibi
Matt Raible wrote:
> There shouldn't be any difference - does it work for a fresh install?
> If so
You could also try m5-SNAPSHOT to see if it's a bug in m5.
On 6/22/07, Matt Raible <[EMAIL PROTECTED]> wrote:
Possibly - I'd search through all your *.xml files and look for m4 and
change it to m5.
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
> or could it be some kind of config files some
only find old poms with m4 in my META-INF
tibi
Matt Raible wrote:
Possibly - I'd search through all your *.xml files and look for m4 and
change it to m5.
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
or could it be some kind of config files somewhere??
tibi
Matt Raible wrote:
> There s
how can it be that i get commons_lang2.1 instead of 2.3?
i removed the signin test to check for the other tests.
this is the next test that fails:
SearchUser:
[INFO] [talledLocalContainer] [topnet] ERROR [http-8081-Processor20]
[jsp].invoke(723) | Servlet.service() for servlet jsp threw exce
have no clue need.
will copy my upgraded project step by step over my fresh m5
to see where things go wrongp and my arms hurt already..
tibi wrote:
how can it be that i get commons_lang2.1 instead of 2.3?
i removed the signin test to check for the other tests.
this is the next test
Thanks matt,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: 22 June 2007 12:40 PM
To: [email protected]
Subject: Re: [appfuse-user] DWR and Appfuse tutorial? Matt Can You pls
look at the problem
You should also be able to go
Easier way is to run mvn with -X switch (debug) and pipe the output to a
file:
mvn -X install > build.log
Open the file in a text editor and you should see where commons-lang 2.1 is
comming from. In all likelihood there is a dependency you have added that is
pulling it in and overriding the one
found one thing;
the applicationContext-struts.xml needs to be updated as well
updated the docs..
tibi
Matt Raible wrote:
On 6/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
Easier way is to run mvn with -X switch (debug) and pipe the output to a
file:
mvn -X install > build.log
On 6/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
Easier way is to run mvn with -X switch (debug) and pipe the output to a
file:
mvn -X install > build.log
Open the file in a text editor and you should see where commons-lang 2.1 is
comming from. In all likelihood there is a dependency you
Hi,
I have the same issue as
http://jira.codehaus.org/browse/MCOBERTURA-26
http://www.nabble.com/cobertura-conflicts-with-hibernate3-t3837112s2369.html
To workaround that, I'd disable the hibernate plugin if we are running
cobertura.
In fact, the normal testing is working fine, calling hibernate
> Has anyone else upgraded m4 to m5 successfully?
I upgraded yesterday successfully. I run a springmvc appfuse app. Had a
similar problem with my IDEA installation referring to the m4 jars, but mvn
idea:idea, seem to clean that right up. I also was required to change the
use of the Managers an
I'm trying out appfuse 2.0 m5 on my work machine (MacBook Pro) after
successfully creating, compiling, and testing a struts-basic
archetype on my home machine (Mac Pro). Both machines are
essentially configured identically, but my work machine cannot
compile the project (the difference is
ok good lesson for next time ;)
allways compare
mvn integration-test
mvn jetty:run
mvn jetty:run-war (this one would have worked i guess)
somehow the:
mvn war:inplace
did not update the class files gr
tibi
tibi wrote:
i think i have it...
there were classes in my web-inf removed those
about the docs is the best thing to do
1. Backup your project on your local file system or (even better) in
your source control system.
2. In pom.xml, change 2.0-m4 to
2.0-m5
3. run:
rm -r src/main/webapp/WEB-INF/classes
mvn war:inplace
rm -r src/main/webapp/WEB-INF/lib
rm src/ma
Just for kicks I tried a new project with mvn 2.0.6. This is from
integration-test after creating a straight up struts 2 basic (no code)
:
[INFO] [talledLocalContainer] [myproject] ERROR [http-8081-
Processor24] [jsp].invoke(250) | Servlet.service() for servlet jsp
threw exception
[INFO] [ta
i think i have it...
there were classes in my web-inf removed those and now it works...
pff stupid and yes i will add a note to the docs ;)
tibi
jtushman wrote:
Has anyone else upgraded m4 to m5 successfully?
I upgraded yesterday successfully. I run a springmvc appfuse app. Had a
simi
Do you see jstl listed as a dependency in your pom.xml?
Matt
On 6/22/07, John Coleman <[EMAIL PROTECTED]> wrote:
Just for kicks I tried a new project with mvn 2.0.6. This is from
integration-test after creating a straight up struts 2 basic (no code)
:
[INFO] [talledLocalContainer] [myproject]
I would add a {warning} or {note} to the release notes that mentions
if you've run "war:inplace", you may have to remove WEB-INF/classes to
pick up the new web artifacts.
Matt
On 6/22/07, tibi <[EMAIL PROTECTED]> wrote:
about the docs is the best thing to do
1. Backup your project on your l
In the first case (app deployed but could not test and then would not
compile after running appfuse:full-source), yes. On my second try, I
do not, but I have to assume that's b/c I didn't run the appfuse:full-
source phase.
I should probably also mention that I have a number of AppFuse 1.9.
Hi,
I really really need a timestamp next to a date in sample-data.xml.
Like this:
2007-06-15 10:00:00
2007-06-15 23:00:00
It only inserts date without timestamp, how can I persist a date with
timestamp ?
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Sample-d
Tuncay A. wrote:
how can I persist a date with timestamp ?
You almost had it:
-Dale
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Weird...so I got a wild hair to delete the jstl directory from my M2
repo :
run-all-tests:
[INFO] Executed tasks
[INFO]
[INFO] BUILD SUCCESSFUL
[INFO]
--
On 6/22/07, John Coleman <[EMAIL PROTECTED]> wrote:
Weird...so I got a wild hair to delete the jstl directory from my M2
repo :
run-all-tests:
[INFO] Executed tasks
[INFO]
[INFO] BUILD SUCCESSFUL
[INFO]
Hi,
Thank you very much, but I can't get it to work ?? It still stores the date
without timestamp ?
I use appfuse 2.04
Is there any configuration setup ?
DNewfield wrote:
>
> Tuncay A. wrote:
>> how can I persist a date with timestamp ?
>
> You almost had it:
>
>
>
>
> -Dale
>
> --
Tuncay A. wrote:
Thank you very much, but I can't get it to work ?? It still stores the date
without timestamp ?
What is the type of the db column you're putting this information into?
-Dale
-
To unsubscribe, e-mail: [EMAIL P
I use Oracle and field data type is: Date
DNewfield wrote:
>
> Tuncay A. wrote:
>> Thank you very much, but I can't get it to work ?? It still stores the
>> date
>> without timestamp ?
>
> What is the type of the db column you're putting this information into?
>
> -Dale
>
> -
Tuncay A. wrote:
I use Oracle and field data type is: Date
Then that field will only store date information. If you want it to
store higher resolution, look into other types
http://www.devx.com/dbzone/Article/30501
One gotcha I remember figuring out a few years back regarding oracle
date t
I am also getting this error even though maven has just dropped the tables
and sequence and recreated them. I am using Oracle 9.2. The fix that worked
for me is:
1) run "mvn appfuse:full-source
2) edit the User and Role java files as follows
Add "import javax.persistence.SequenceGenerator
Ok, maybe I should use Timestamp ??
Thank you very much!!
DNewfield wrote:
>
> Tuncay A. wrote:
>> I use Oracle and field data type is: Date
>
> Then that field will only store date information. If you want it to
> store higher resolution, look into other types
> http://www.devx.com/dbzone
52 matches
Mail list logo