When you say it doesn't work - do you mean it doesn't work in Eclipse
or it doesn't work from the command line? I'm pretty sure everything
works with basic or modular from the command line (and in IDEA), but
there are problems with Eclipse and it resolving warpath dependencies.
Since the full-sou
Matt,
Everything seems to work at home correctly using the "Struts 2 Basic". The
"Struts 2 Modular" however is not. Is ACEGI on by default? I am also looking
at changing the authentication using SSO that work is using once 2.0 final is
out.
Thanks,
Doug
-
On 5/29/07, Jason Thrasher <[EMAIL PROTECTED]> wrote:
Wow, that produced a huge file. With some grepping, it looked like Spring
1.2.6 and 2.0.5 were being used, but Maven was choosing to use 2.0.5 over
1.x, so it looked OK. It was easier to tell in the WAR, where I only found
the spring-2.0.5.
Wow, that produced a huge file. With some grepping, it looked like Spring
1.2.6 and 2.0.5 were being used, but Maven was choosing to use 2.0.5 over
1.x, so it looked OK. It was easier to tell in the WAR, where I only found
the spring-2.0.5.jar... so I guess I only have one configured.
thanks Mat
Setting up security biz rules in the managers makes a lot of sense. Thanks
for the perspective. This would be a great sample for the 2.0 wiki.
regards,
Jason
melinate wrote:
>
> Hello All,
>
> I have a slightly different take on this topic...
>
> I like the URL based security as much as
It seems to be working for org.appfuse files, but when I create
com.mycompany.* files, it chokes on the hibernate3 plugin. See this thread
for sample code:
http://www.nabble.com/cobertura-conflicts-with-hibernate3-tf3837112s2369.html
It can be commented out of the pom.xml or am I doing someth
I tried again and again and still got no luck.
wnqq wrote:
>
> I cleaned everything in the repository and ran it again, but still reached
> the same error.
>
>
> mraible wrote:
>>
>> The only thing I can think of is you might have a corrupt local
>> repository. If you clean your local repo o
Found a similar case that happened a few days ago...
http://www.jasperforge.org/index.php?option=com_joomlaboard&func=view&id=25763&catid=10
Just wonder has anyone else been able to use JasperReports with M5?
wnqq wrote:
>
> My JasperReports used to work with v2M4.
> Unfortunately, it causes t
Thanks,Matt,I have solved this problem!
mraible wrote:
>
> If you look in metadata/templates/struts_form.xdt, there's a few lines
> that
> automatically add validation rules for nested objects:
>
>
> * @struts.va
If you're using Ant, you can use the SQL Task to execute a script:
http://ant.apache.org/manual/CoreTasks/sql.html
If you're using Maven, you can use the sql-maven-plugin:
http://mojo.codehaus.org/sql-maven-plugin/
Hope this helps,
Matt
On 5/27/07, Adam Sherman <[EMAIL PROTECTED]> wrote:
I
If you look in metadata/templates/struts_form.xdt, there's a few lines that
automatically add validation rules for nested objects:
* @struts.validator
You could remove these lines. Please note that if you want validation rules
on nested objects, you'll need to manually add @struts.val
Not that I know of - it's usually something with your proxy setup. Are you
going through a proxy server?
Matt
On 5/28/07, Azarias Tomás <[EMAIL PROTECTED]> wrote:
Hi Matt,
I am having the same problem when running "mvn appfuse:full-source"
And I can access
"
https://appfuse.dev.java.net/svn/
Try running "mvn -U" to get the latest version of the plugin. It
should be specified as 6.0.0 in your pom.xml. I'm
not sure why it's not finding it.
Matt
On 5/29/07, Doug Pham <[EMAIL PROTECTED]> wrote:
Matt,
Here is another error I am seeing when I run "mvn jetty:run":
[INFO] Scanning for
Matt,
Here is another error I am seeing when I run "mvn jetty:run":
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] AppFuse Modular Application
[INFO] AppFuse Modular Application - Core
[INFO] AppFuse Modular Application - Web (Struts 2)
[INFO] Searching repository for
Followup to myself. ConfigParser claims only to parse ComponentType,
RenderKit, UIComponent and Validator. I guess it does not pay attention
to the managed-bean definitions. So perhaps instead of calling
getManagedBean() in the test classes, I need to instantiate the bean
(e.g. PasswordHint)
Matt,
IDEA look as foreign to me because I have not used it for over 3 years :-)
I'll try the eclipse again when I get home tonight.
Thanks,
Doug
Matt Raible <[EMAIL PROTECTED]> wrote: You could use IDEA - their 7.0 M1
release has integrated Maven 2 support. ;-)
http://www.jetbrains.com/i
Nop, did it the old way... and yeap! you were right... used the AMP and
it worked perfectly...
thanks...
David M.
Matt Raible wrote:
Did you use AMP to generate CRUD for your Organization object, or did
you write the action yourself? It looks like you need to define an
additional result (na
Thanks Matt.
With that, I can use the new ConfigParser helper class, parse and load
the faces-config.xml, and _still_ get a NPE in the test class -- the
FacesUtils.getManagedBean() function still returns null for the
passwordHint bean as it was doing even before loading the
faces-context.xml.
Do you get this from w/in IDEA? Are you using the new 7.0 M1? Is so, are you
using Embedded Maven or are you pointing it to your installed version of
Maven?
Matt
On 5/29/07, peppix <[EMAIL PROTECTED]> wrote:
Hi all,
I am just starting to use appfuse/Maven/Intellij, I am following the steps
on
Hi all,
I am just starting to use appfuse/Maven/Intellij, I am following the steps
on the quickstart tutorial and when I launch the "deploy" phase I have the
following error:
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to confi
Couldn't reproduce in the demo, but here's the stack trace, I'm using
the PersonAction as the base for this action...
[inventario] ERROR [btpool0-1] Dispatcher.serviceAction(515) | Could not
find action or result
No result defined for action
mx.edu.um.inventario.webapp.action.OrganizationActi
You could use IDEA - their 7.0 M1 release has integrated Maven 2 support. ;-)
http://www.jetbrains.com/idea/nextversion/
Matt
On 5/29/07, Doug Pham <[EMAIL PROTECTED]> wrote:
Matt,
I have tried Candy4Appfuse with Eclipse-WTP-all and I cannot create a
project with it. It does not go anywh
There's a snapshot repository for Apache you could add to your pom.xml:
http://people.apache.org/maven-snapshot-repository/
It looks like there's a 1.1.0-SNAPSHOT available from April 21st.
It looks like the bug you're referring to was fixed in January, so I
expect it'd be available in this sna
Matt,
I have tried Candy4Appfuse with Eclipse-WTP-all and I cannot create a
project with it. It does not go anywhere beyond letting me put in a project
name and location. I followed your 2nd suggestion and here is my errors at
step #6:
[INFO] Scanning for projects...
[INFO] --
For what it's worth. This seems to be a known problem with the Shale
test framework. It may be that it's fixed for the upcoming 1.1 release
in the ConfigParser helper class
(https://issues.apache.org/struts/browse/SHALE-262). I have no insight
into when this functionality will be released.
In the past, I've used UrlRewriteFilter to strip off jsessionid from URLs:
http://tuckey.org/urlrewrite/manual/3.0/guide.html
(search for jsessionid)
Matt
On 5/29/07, W. Ivan Coro <[EMAIL PROTECTED]> wrote:
Hello,
I'm running spring mvc and when I disable cookies in my browser the jsession
Can you provide more information or steps to reproduce on the demo site? A
screenshot or stacktrace would be ideal.
Matt
On 5/29/07, J. David Mendoza <[EMAIL PROTECTED]> wrote:
Has anyone tried to do a cancel after a validation error... everything
gets screwed up! Isn't there a workaround for
Hello,
I'm running spring mvc and when I disable cookies in my browser the jsession
was not appended in menu links. So, I followed Matt's advice and patched
struts menu (
https://appfuse.dev.java.net/servlets/ReadMsg?listName=issues&msgNo=3669 ).
The thing is that now the struts menu links sh
Has anyone tried to do a cancel after a validation error... everything
gets screwed up! Isn't there a workaround for this scenario (besides not
doing it) ?
David M.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
For using AppFuse with Eclipse, there are two options:
1. Use Candy for AppFuse, an Eclipse 3.2 plugin.
http://candy4appfuse.sourceforge.net
2. Use WTP from the Eclipse project:
http://appfuse.org/display/APF/Eclipse#Eclipse-wtp
Hope this helps!
Matt
On 5/29/07, Doug Pham <[EMAIL PROTECTED]
for m4 i just this:
mvn integration-test
mvn war:inplace
rm -r src/main/webapp/WEB-INF/lib
rm src/main/webapp/WEB-INF/classes/struts.xml
mvn install eclipse:eclipse
[eclipse:file/import]
mvn jetty:run
and this worked fine... for m5 i'm not sure .. did you check the online
demo video??
tib
Hi All,
In short, I have gotten to a point where I imported the project into
eclipse. There were two web projects imported: myproject-core and
myproject-webapp. The *webapp project have a lot of errors because the source
is not in the correct directory and the only java source file I am cu
So it does you're quite right, sorry to have troubled you with it :-)
(Don't know why I couldn't make it work earlier, my bad)
mraible wrote:
>
> It should do this automatically w/o you adding any additional code.
>
> Matt
>
> On 5/29/07, mikebgx <[EMAIL PROTECTED]> wrote:
>>
>> How can I get
The one in core/src/main/resources is meant for backend classes
(managers and daos). The one in src/main/webapp/WEB-INF should be used
for any web-related classes.
Matt
On 5/29/07, nmall <[EMAIL PROTECTED]> wrote:
Hi,
I find that I have applicationContext*.xml files in src/main/resources as
Hi,
I find that I have applicationContext*.xml files in src/main/resources as
well as in src/main/webapp/WEB-INF. Which is the right place for it to
reside. The context-param block in web.xml looks in the classpath ( see
below). Thanks!!
contextConfigLocation
I cleaned everything in the repository and ran it again, but still reached
the same error.
mraible wrote:
>
> The only thing I can think of is you might have a corrupt local
> repository. If you clean your local repo out and try again, does it
> work?
>
> Matt
>
> On 5/29/07, wnqq <[EMAIL PRO
yes you are right with cobertura you never know ;)
but good to kow it 'should' work.
tibi
Matt Raible wrote:
Yes, it should be working. Or at least it did last time I tried.
Matt
On 5/29/07, tibi <[EMAIL PROTECTED]> wrote:
question:
is cobertura plugin (2.0) working with all the sources in
The only thing I can think of is you might have a corrupt local
repository. If you clean your local repo out and try again, does it
work?
Matt
On 5/29/07, wnqq <[EMAIL PROTECTED]> wrote:
Dear Matt,
The error messages are still the same with "mvn -e".
mraible wrote:
>
> Do you see any better
Dear Matt,
The error messages are still the same with "mvn -e".
mraible wrote:
>
> Do you see any better errors if you run "mvn -e"?
>
> On 5/29/07, wnqq <[EMAIL PROTECTED]> wrote:
>>
>> My JasperReports used to work with v2M4.
>> Unfortunately, it causes the following error while executing "
Do you see any better errors if you run "mvn -e"?
On 5/29/07, wnqq <[EMAIL PROTECTED]> wrote:
My JasperReports used to work with v2M4.
Unfortunately, it causes the following error while executing "mvn" after
upgrading to M5:
=
My JasperReports used to work with v2M4.
Unfortunately, it causes the following error while executing "mvn" after
upgrading to M5:
==
C:\Work\EclipseWorkspace\myproject_sample_m5>mvn
[INFO] Scanning for projects...
[INFO]
-
Hum, 2.0-M4 isn't really setup to have all of the sources in there because
the dependancies are still going to be managed by compiled POM files in
Maven. If you've changed your project's pom.xml or imported the souces then
there's no straight forward way to fix it... because your in custom
territ
Actually no..
They are all mapped to /* (I'm integrating Stripes :) )
The Stripes mapping is *.action.
mraible wrote:
>
> Do you have any filters mapped to *.html?
>
> On 5/29/07, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote:
>>
>> Hello everybody!
>>
>> I'm dev. a webapp using FCKeditor. Wh
Do you have any filters mapped to *.html?
On 5/29/07, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote:
Hello everybody!
I'm dev. a webapp using FCKeditor. Whenever I try to open the jsp that have
the FCK jsp tags, the browser keeps asking me to download the HTML instead
of displaying the page.
Th
Hello All,
I have a slightly different take on this topic...
I like the URL based security as much as I like client side validation. It is
convenient, but not trustworthy. In an application where users of different
permission levels [roles] access the same pages, it is generally very difficu
Hello everybody!
I'm dev. a webapp using FCKeditor. Whenever I try to open the jsp that have
the FCK jsp tags, the browser keeps asking me to download the HTML instead
of displaying the page.
The weird thing is that in my batch of tests I found that the browser keeps
asking me to download any h
Yes, it should be working. Or at least it did last time I tried.
Matt
On 5/29/07, tibi <[EMAIL PROTECTED]> wrote:
question:
is cobertura plugin (2.0) working with all the sources in appfuse m5??
or better what is the status of cobertura??
tibi
tibi wrote:
> great news... next week we will s
question:
is cobertura plugin (2.0) working with all the sources in appfuse m5??
or better what is the status of cobertura??
tibi
tibi wrote:
great news... next week we will start the project. i can stall a bit
for the 2.0 release.
tibi
Matt Raible wrote:
On 5/29/07, tibi <[EMAIL PROTECT
If you run "mvn -X | tee mvn.log" and open mvn.log when it's done, is
another version of Spring getting included in your classpath? You
could also run "mvn package" and check the resulting WAR for JARs in
WEB-INF/lib. As far as autowiring, you can read about Struts 2's
Spring integration at the f
This could be caused by the Zero Configuration and Code Behind plugins
that are enabled by default.
http://struts.apache.org/2.x/docs/zero-configuration.html
http://cwiki.apache.org/WW/codebehind-plugin.html
Matt
On 5/29/07, thrasher <[EMAIL PROTECTED]> wrote:
Hibernate is (should be) far re
It should do this automatically w/o you adding any additional code.
Matt
On 5/29/07, mikebgx <[EMAIL PROTECTED]> wrote:
How can I get Appgen to use the FormTagsHandler.java that I've modified?
melinate wrote:
>
> I don't think AppGen will do it for you out of the box. Maybe Matt or
> someon
On 5/29/07, thrasher <[EMAIL PROTECTED]> wrote:
I just found one of the things preventing my upgrade of a struts2-modular
project from 2.0-M4 to M5: I had deleted the entire WEB-INF/classes
directory in the M4 version, and it's required in the M5 for "jetty:run" to
work.
Is this expected? The
I've never tried to setup a JNDI DataSource on Jetty. You're probably
best off consulting their documentation, or talking to their mailing
list.
Matt
On 5/28/07, nmall <[EMAIL PROTECTED]> wrote:
Hi,
I have defined my jdbc datasource as follows in my applicaitonContext.xml
(see below) and am
If you add ${maven.test.skip} to the
"componentProperties" section of the hibernate3 plugin, it should
allow the 2nd command to work. It looks like this is missing from the
core module. Can you please enter an issue for this in JIRA?
Thanks,
Matt
org.codehaus.mojo
great news... next week we will start the project. i can stall a bit for
the 2.0 release.
tibi
Matt Raible wrote:
On 5/29/07, tibi <[EMAIL PROTECTED]> wrote:
great!!
i hope i have time to upgrade my m4 to m5.
great work and yes i will enjoy,
will m5 be the last before final? (i hope final
I don't understand when you say "it takes 3 minutes". It doesn't take
3 minutes to load each page on the demo site. It may take a while
because you have the logs cranked up. We used to have many more
mappings in web.xml for the filters so scripts, images, etc. would be
excluded. However, we found
On 5/29/07, tibi <[EMAIL PROTECTED]> wrote:
great!!
i hope i have time to upgrade my m4 to m5.
great work and yes i will enjoy,
will m5 be the last before final? (i hope final will be out soon, a new
project will start and i'm not sure the are willing to use milestones...)
There will be a rel
I using appfuse 2.0-M4 - yes , i have a full source version. I imported all
the sources into my build to do this.
Thanks!
Jason Thrasher wrote:
>
> What versions are you using? It sounds like a configuration issue of some
> kind. Have you changed anything?
>
>
>
> nmall wrote:
>>
>> It s
added the link here:
http://appfuse.org/display/APF/Demos+and+Videos
tibi
Matt Raible wrote:
The videos are much lower quality than the ones I originally recorded
(13 MB vs. 70 MB). If you want to view the high quality videos
(they're much clearer), you can download them from the following URL:
Hi Matt,
I was busy with a demo release the last days, but now found the time to try it
once again:
As you suggested I started with a "vanilla" AppFuse 2.0-M5 (Spring-MVC
modular), where "mvn site" works as expected. I then checked out the core
classes as described in the Wiki
(http://appfuse
great!!
i hope i have time to upgrade my m4 to m5.
great work and yes i will enjoy,
will m5 be the last before final? (i hope final will be out soon, a new
project will start and i'm not sure the are willing to use milestones...)
tibi
Matt Raible wrote:
The AppFuse Team is pleased to announ
Hi There,
Please have a look at;
http://demo.raibledesigns.com/struts-menu/dynamicMenu.jsp
When you download struts menu it will come witht he sql statements to create
the tables needed.
I have used dynamicMenu successfully for many projects now.
It works straight out of the box, The tweaking
You need to disable the ant task that flushes the tables. "db-drop" deletes
the database data, and "db-prepare" creates the data. You'll need to make
sure that these don't get called. Try to just comment out the contents of
those ant targets.
-Jason
jithesh wrote:
>
> Hai,.
>
>
>T
What versions are you using? It sounds like a configuration issue of some
kind. Have you changed anything?
nmall wrote:
>
> It seems to do this for every page for me - it is taking about 3 minutes
> to load every page by trying to go thru' one js at a time ->
> prototype.js, scriptaculous.j
I used a Struts interceptor to do the same.
I've got a similar security constraint, but I want to apply it at the URL
level. I started with an Acegi solution, but scrapped it because Acegi's
normal security mechanism (as implemented in AppFuse) doesn't have access to
the URL information, so ther
Yes, change the version numbers in your pom.xml. When you build again, Maven
will download the new versions and use them in your project.
-Jason
GBSGBSGBS wrote:
>
> what should i do if i wanna use Jmock 2.0 and Junit4.0 instead of default
> Jmock1.1 and junit3.8.2 in the appfuse2.0-m4 on my
Hibernate is (should be) far removed from Struts, as layers go. So it's most
likely not the cause. I haven't removed it, and I'm getting a similar error
(see other post in this thread).
-Jason
nmall wrote:
>
> I have removed Hibernate annotation dependency in my setup. Would that
> cause thi
I'm getting something similar on appfuse-2.0-M5. It seems as though it's
related to the name of the page because when I change the name of the
Struts2 Action, it goes away. In this case, search.html doesn't work and
gives a similar error to what you have below. However, if I change the page
nam
How can I get Appgen to use the FormTagsHandler.java that I've modified?
melinate wrote:
>
> I don't think AppGen will do it for you out of the box. Maybe Matt or
> someone would know if it is possible to modify AppGen to do what you want.
> But you should be able to integrate some nice valid
I have removed Hibernate annotation dependency in my setup. Would that cause
this error. I notice a debug messages "Detecting AnnotationVAlidatormanager"
in my trace. thanks for your help!!
nmall wrote:
>
> When I click on the signup button, my appfuse app gives these debug
> messages "Bypass
I'm still having an issue with this. It's definitely Spring 2.0.5 in the new
M5 version, and my project is picking up the change from AppFuse. Thanks
for the check though Hiugong.
After fiddling with the Spring applicationContext-*.xml files, I figured out
that there's some kind of auto-wiring
When I click on the signup button, my appfuse app gives these debug messages
"Bypassing // signup" after which it gives the error "No result defined
..for signup..." although there is a result defined for "input" in
struts.xml. Any idea why I would get this error. Thanks so much for any
pointer
I just found one of the things preventing my upgrade of a struts2-modular
project from 2.0-M4 to M5: I had deleted the entire WEB-INF/classes
directory in the M4 version, and it's required in the M5 for "jetty:run" to
work.
Is this expected? The WEB-INF/classes was not required by M4, and I had
what should i do if i wanna use Jmock 2.0 and Junit4.0 instead of default
Jmock1.1 and junit3.8.2 in the appfuse2.0-m4 on my own?
what i mean is that maven can automatically download new version dependency
by updating
is it possible?
thanks
--
View this message in context:
http://www.nabble.com
Acegi can handle this kind of security using Access Control Lists (ACL). See
http://www.acegisecurity.org/docbook/acegi.html#domain-acls.
Mike
On 5/27/07, Ömer Başar <[EMAIL PROTECTED]> wrote:
Hi all,
Lets think about two records with ids 1 and 2. One user has the permission
only to view reco
It seems to do this for every page for me - it is taking about 3 minutes to
load every page by trying to go thru' one js at a time -> prototype.js,
scriptaculous.js, global.js ...Please look at trace below. I guess I don't
understand why it is doing it over and over again... Thanks a lot!!
DEBUG
76 matches
Mail list logo