It's unlikely you can use Spring AOP to intercept Struts Actions since
they're not managed by Spring.
On Fri, Sep 10, 2010 at 7:41 AM, Josep García wrote:
> Hi all,
>
> I am trying to apply an interceptor to a Struts2 action, via an xml
> configured spring aop, without luck.
> Does anyone know h
Hi all,
I am trying to apply an interceptor to a Struts2 action, via an xml
configured spring aop, without luck.
Does anyone know how to do it?
I cannot do it the standard Struts2 way of defining interceptors in
struts.xml, as this interceptor is only to be run when a Struts2 plugin is
present. I
Which annotations? If it's the Convention annotations there have been
classpath scanning issues on Websphere. Show the stack traces from
the application start-up. The request stacktrace is probably not
interesting "An action for /bla ... Can't be found", etc. But if it
is interesting s
I am attempting to make use of the struts 2 annotations, what I have found is
if I deploy the app as a war file everything works fine but if I deploy my
war as part of an ear file none of the struts annotations work only the
actions defined in struts.xml work.
I can't seem to work out why deploy
On Fri, Mar 12, 2010 at 3:30 AM, Phil W wrote:
>
> Hi,
>
> AppFuse stable is at 2.0.2 and uses Struts 2.0.x
>
> AppFuse main development is at 2.1 milestones and uses Struts 2.1.8
>
> Additionally, after initial project creation of an AppFuse Light application
> using AppFuse 2.1-M1 using the mave
Hi,
AppFuse stable is at 2.0.2 and uses Struts 2.0.x
AppFuse main development is at 2.1 milestones and uses Struts 2.1.8
Additionally, after initial project creation of an AppFuse Light application
using AppFuse 2.1-M1 using the maven command on
http://static.appfuse.org/archetypes.html I get a
On Tue, Sep 8, 2009 at 9:21 AM, measwel wrote:
>
>
>
> mraible wrote:
> >
> > On Tue, Sep 8, 2009 at 7:55 AM, measwel
> > wrote:
> >
> >>
> >> It does help, thank you. At the moment I lean towards struts2. A couple
> >> additional questions:
> >>
> >> 1) How can I configure netbeans to run appfuse
mraible wrote:
>
> On Tue, Sep 8, 2009 at 7:55 AM, measwel
> wrote:
>
>>
>> It does help, thank you. At the moment I lean towards struts2. A couple
>> additional questions:
>>
>> 1) How can I configure netbeans to run appfuse in jetty? Would you
>> recommend
>> using this container as standard
On Tue, Sep 8, 2009 at 7:55 AM, measwel wrote:
>
> It does help, thank you. At the moment I lean towards struts2. A couple
> additional questions:
>
> 1) How can I configure netbeans to run appfuse in jetty? Would you
> recommend
> using this container as standard?
>
If you're using NetBean's Mav
It does help, thank you. At the moment I lean towards struts2. A couple
additional questions:
1) How can I configure netbeans to run appfuse in jetty? Would you recommend
using this container as standard?
2) As I understand it the main difference between jsf an struts is, that jsf
is component b
On Tue, Sep 8, 2009 at 6:12 AM, measwel wrote:
>
> Indeed, it works fine on jetty. Both JSF and Struts2 basic. As I am using
> Netbeans, I will see if I can install Tomcat or Jetty in the IDE.
>
> Could you please comment on the following:
>
> 1) I believe appfuse version 2.0.2 should have jsf 2.0
Indeed, it works fine on jetty. Both JSF and Struts2 basic. As I am using
Netbeans, I will see if I can install Tomcat or Jetty in the IDE.
Could you please comment on the following:
1) I believe appfuse version 2.0.2 should have jsf 2.0 support. When I look
at my-faces config I can see version
Hello,
After a failed attempt at getting appfuse JSF basic to run, I tried with
struts2 basic. Compilation seems okay, Build is successful. But running it
on glassfish produces the following:
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error cre
Thanks for your reply, it's working fine
But i have one doubt is it gives any problem to other user Objects in the
other classes.
please suggest me.
Harps wrote:
>
> Yes you are right. You need to add UserConverter to the
> xwork-conversion.properties file. At which point your save should work
Yes you are right. You need to add UserConverter to the
xwork-conversion.properties file. At which point your save should work.
You need to create the directory under webapp called 'template' and then
'simple' under it.
Then get select.ftl out of the struts2-core jar and put it under there and
m
Hi Harps,
Thanks for your reply, i written the UserConverter class as you said, but
i am unable to find out the template/simple directory and the fileName
called select.ftl
I run the project without the select.ftl file and try to add or update
the record then it gives an error like Invali
Hi Sudhakar,
This is because of how struts 2 works. You are updating the user objects id
field so it thinks it needs to save the User object when it should not be.
It should only be saving the Purchase object.
should be
ie remove the .id from the name
Then you need to write a converter for
I suggest you solve the problem.
Also without seeing the error it is hard to say. Sounds like you have
a database restriction on a field like username not null and your User
is null there.
Post an error, jsp and action code and we can look at it.
On May 8, 2009, at 11:33 PM, sudhakargupta
This is not solve the problem but it shows an error like not null values of
the user object on save, please suggest me to solve this problem.
dusty wrote:
>
> If you want the new User account to save automatically when you save
> the purchase the add cascade=CascadeType.MERGE to your @ManyTo
If you want the new User account to save automatically when you save
the purchase the add cascade=CascadeType.MERGE to your @ManyToOne.
Although usually in a Many to One the "one" exists first but you
pattern could be different.
If cascade is not going to work for you then you need to save
Hi Matt,
In appfuse2 struts i written the many-to-one relationship code like this
Purchase.java
@ManyToOne (targetEntity=User.class)
@JoinColumn (name="user_id", nullable=flase)
private User user;
PurchaseAction.java: (appended code)
public List getUsers() {
return userManager.getUsers(ne
about the adding up of the error messages and the hanging of error messages.
make sure the action has this part:
scope="prototype in the applicationCOntext.
example:
tibi wrote:
> thanks matt!!
>
>
>
>
>
>
> Matt Raible wrote:
>
>> If you look in struts.xm
AppFuse 2 ships with JS Calendar (http://www.dynarch.com/projects/calendar/).
You can search the archives to see the issues I encountered when trying to
get the Struts 2 / Dojo one working.
Matt
On Sun, Feb 1, 2009 at 9:29 AM, Jeremy Anderson wrote:
> What's the trick to get the Struts2 datetim
Yes, the current struts version to upgrade to is 2.1.6. If you have
JSON or XML interface needs the REST plugin can be useful. Also in
the latest version of Struts is the Convention plugin, which help
remove XML configuration and javatemplates, which are much faster tag
templates.
-D
Anyone attempted to update Struts2 to version 2.1.1+ to make use of the
Struts2 REST plugin?
What's the trick to get the Struts2 datetimepicker tag to work in AppFuse
2.0.2? Or is there a better way of providing a Date/Time entry what is it?
Regards,
Jeremy
Ok, and please, could u teste the repository of Nexus??!
(I'm using create new Maven Project (within Eclipse) I just can access
from Internal (v.s 2.0) So I can't get AppFuse 2.0.2 (Struts2)! :O
Thnx,
Ice-Man
2008/11/20 Alex Coles <[EMAIL PROTECTED]>
> On Thu, Nov 20, 2008 at 11:57 AM, D
On Thu, Nov 20, 2008 at 11:57 AM, Derlon Aliendres
<[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> I get 2 DownLoad sites in my Eclipse:
>
> m2eclipse.sonatype
> m2eclipse.codehaus
>
> Witch would be the right one??
>
> Ice-Man
I think you should use sonatype. If you check the m2eclipse websites
Hi Matt,
I get 2 DownLoad sites in my Eclipse:
- m2eclipse.sonatype
- m2eclipse.codehaus
Witch would be the right one??
Ice-Man
2008/11/19 Matt Raible <[EMAIL PROTECTED]>
> Candy4AppFuse is outdated, I would not recommend using it. You might
> try m2eclipse if you must use a Ma
Thanks! But, how are the procedures. Is there that shows it as
Candy4AppFuse homePage??! Please, could u gimme the link?!
Ice-Man
2008/11/19 Matt Raible <[EMAIL PROTECTED]>
> Candy4AppFuse is outdated, I would not recommend using it. You might
> try m2eclipse if you must use a Maven plugin i
Candy4AppFuse is outdated, I would not recommend using it. You might
try m2eclipse if you must use a Maven plugin in your IDE.
Matt
On Wed, Nov 19, 2008 at 12:39 PM, Derlon Aliendres
<[EMAIL PROTECTED]> wrote:
> Why in Candy4 is apearing only the version M5?!
> Arquetype just shows Struts. If I
Why in Candy4 is apearing only the version M5?!
Arquetype just shows Struts. If I chouse 2.0 RC1, is the 1 with Struts2 ??
Ice-Man
2008/11/19 Matt Raible <[EMAIL PROTECTED]>
> No.
>
>
> On Nov 19, 2008, at 10:09 AM, "Derlon Aliendres" <
> [EMAIL PROTECTED]> wrote:
>
> (yeah, I know: this ques
Atilim Alci wrote:
>
> I'm looking for a way to put a checkbox on the left side of the
> display:table elements. I'm planning to use this check box to delete the
> records. I'm using struts 2 basic configuration with hibernate support.
> Any working piece of jsp and action class code would be v
I'm looking for a way to put a checkbox on the left side of the display:table
elements. I'm planning to use this check box to delete the records. I'm
using struts 2 basic configuration with hibernate support.
Any working piece of jsp and action class code would be very much
appreciated.
Regards..
Hi,
as I see it the endUserRetailer renders the result. What does it look
like in your struts.xml? Please refer here before:
http://struts.apache.org/2.x/docs/redirect-action-result.html
regards
mannobug schrieb:
Hi all in my struts.xml i have an action description that have to redirect
aft
Hi all in my struts.xml i have an action description that have to redirect
after a success.
Success string is set in save method; the problem is that after saving i
remain in the same page and redirection is not working.
This is my struts.xml:
/WEB-INF/pages/confirmRetailerR
I have been breaking my head and also tried lot in google search but no luck.
Plz find the details below.
1. Tomcat 5 environment, created a host alias for the site
I have been breaking my head and also tried lot in google search but no luck.
Plz find the details below.
1. Tomcat 5 environment, created a host alias for the site
circuitgroups.com
2. Here is the tag in strut2 jsp page
Always I am getting the error message in
I corrected my answer this morning. You were right, I've put it in a wrong
place.
Thanks a lot Matt, I really value your answers and effort you put in the
community.
Martin
mraible wrote:
>
> Where did you put User-validation.xml? It should be in
> src/main/resources/org/appfuse/model. If it'
Where did you put User-validation.xml? It should be in
src/main/resources/org/appfuse/model. If it's there, Struts is
probably loading one from a JAR instead.
Matt
On Mon, Jul 14, 2008 at 11:55 PM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> Matt,
>
> there is no Address-validator.xml in AppFuse.
Matt,
there is no Address-validator.xml in AppFuse. There is only
User-validation.xml which
I copied to the right place beneath 'src' folder.
Any other suggestion?
Thanks,
Martin
mraible wrote:
>
> You'll need to copy the Address-validator.xml from
> target/yourproject-version/WEB-INF/
You'll need to copy the Address-validator.xml from
target/yourproject-version/WEB-INF/classes to src/main/resources.
HTH,
Matt
On Mon, Jul 14, 2008 at 8:16 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> I'd like to change the user information in signup/profile. In principle, I'd
> like to hide
I'd like to change the user information in signup/profile. In principle, I'd
like to hide the State/Provence input field. So I did the following steps:
1. copied User validation from target to src folder
2. out-commented the field with name "user.address.province" in the user
validator
3. copied
Hi,
My project is built based on AppFuse2-struts2 and I use jscalendar according
to APF-268 description, it can show the calendar correctly, but after I
select a date, it can't be shown in the textfield, and I get the following
error from firefox's error console.
error:Ö^' HTMLDivElement.parentN
Hi Matt,
1.What is the difference between appfuse struts core and modular appliactions
i dont see any difference in the application other than the structure.
2.I have followed the steps for configuring appfuse in eclipse
# Use the AppFuse archetypes to create the project. I used the St
You want to look at the Struts 2 Preparable Interceptor, and how to configure
this for your action in the Struts.xml file.
Martin Homik wrote:
>
> Can anyone explain the mechanism of form pre-population. Since I am a
> newbie, my experience bases rather on a try-and-error approach. Related to
>
If you want prepare() to be called, you need to implement Preparable.
Matt
On Fri, Apr 11, 2008 at 7:50 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> Can anyone explain the mechanism of form pre-population. Since I am a newbie,
> my experience bases rather on a try-and-error approach. Related
Can anyone explain the mechanism of form pre-population. Since I am a newbie,
my experience bases rather on a try-and-error approach. Related to my
request is also my confusion about differences between generated code by
appfuse:gen and the suggested approach in the online tutorial.
I came acros
Dustin,
Thanks - I would swear I had tried it before as you suggested. But I did it
one more time and its working great!
Thanks again.
> From: Dustin Pearce <[EMAIL PROTECTED]>
> Reply-To:
> Date: Mon, 7 Apr 2008 16:10:00 -0700
> To:
> Subject: Re: [appfuse-use
I think it is an issue where you think you need to pass a string to
disabled, presumably because you expect to see a <.
disabled="true"/> out in the HTML.
Well it turns out that the disabled switch expects a boolean switch
rather than pass through text. So that helps a little:
Bu
I've read and re-read the Struts2 guides on OGNL and the Struts2 tags (and
the OGNL web site guide to comparisons).
Problem: I wanted to protect fields on a form if the user was not the
"owner" of the domain object.
My approach was going to be to test that the form was either:
a) empty, so a new
started working.
Still not sure why that is required to identify the button but it works.
Ron
- Original Message
From: mettamara <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Saturday, February 16, 2008 11:57:19 AM
Subject: Re: [appfuse-user] Struts2 and jsCalendar
I woul
button id.
>
> I'll use this set up for now.
>
> Ron
>
> - Original Message
> From: 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 jsCalenda
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:
>
either. Page seems to display fine with the
calendar gif (which I love much better than the button) but no popup.
Ron
- Original Message
From: Matt Raible <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Tuesday, February 12, 2008 8:12:54 PM
Subject: Re: [appfuse-user] St
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 instructions are below.
>
> I understand how the id i
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
Hi,
After reading up some documentation I managed to construct the following
solution which I would like to share with all of you
the struts select tag is very powerful in that it allows the very
commonly used
header key header value be set as an attribute of the select tag.
to use an e
Hi,
I am facing problem in using Display Tag with Struts2 Tabbed Panel and
need some urgent help..
When page loads then I can see table correctly but when I sort or
paginate then result is getting opened in new window.
Here is sample code that I am written...
MyMessages.jsp
This page contain tabbed
you can modify you pojo object with xdolet label.
and find the file "validate.xml",then hand modify the file accord the jsp
form element.or see the article
http://www.pben.cn/main.bbscs?action=read&bid=33&postID=8a8a8a8f16e1d3270116e87fe7811ebd
how to use appfuse2.0 with struts2
tibi wrote:
thanks matt!!
Matt Raible wrote:
> If you look in struts.xml, you'll see that the validator is excluded
> from certain methods:
>
>
> name="excludeMethods">cancel,execute,delete,edit,list
>
>
> Matt
>
> On Dec 14, 2007, at 12:48 AM, tibi
If you look in struts.xml, you'll see that the validator is excluded
from certain methods:
name="excludeMethods">cancel,execute,delete,edit,list
Matt
On Dec 14, 2007, at 12:48 AM, tibi wrote:
hi,
can someone enlight me on struts valid
and how can i reset these errors. ones there is an error and i go back
this errors tend to add up insted of reset...
tanks
tibi
tibi wrote:
> hi,
>
> can someone enlight me on struts validator.
>
> when i have a struts validator on a form and i call a method the
> validator cicks in before i sub
hi,
can someone enlight me on struts validator.
when i have a struts validator on a form and i call a method the
validator cicks in before i submit the form. that is not what i want.
when i move the code to the execute method the validator does not cick
in and my app works fine.
example:
this w
Here is what I ended up doing:
@Override
protected void onSetUpBeforeTransaction() throws Exception {
LocalizedTextUtil.addDefaultResourceBundle(Constants.BUNDLE_KEY);
ActionContext.getContext().setSession(new HashMap());
MockPortletRequest request = new MockPortl
I'm trying to create a BasePortletActionTestCase because I'm using portlets.
The portlets work just fine but I think since my actions are now extending
my PortletBaseAction, that the *ActionTest classes should be using a
PortletActionContext instead of a ServletActionContext.
Here is my Portlet
THANKS !
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible
Envoyé : mardi 2 octobre 2007 22:50
À : users@appfuse.dev.java.net
Objet : Re: [appfuse-user] Struts2 problem
Here's the issue in XWork's JIRA. I added a patch to
: users@appfuse.dev.java.net
> Sent: Tuesday, October 2, 2007 2:19:55 AM (GMT-0800) America/Los_Angeles
> Subject: Re: [appfuse-user] Struts2 problem
>
>
> I know Matt posted a blog entry covering exactly this topic. I cannot access
> his site at the moment from work (some sort o
9:55 AM (GMT-0800) America/Los_Angeles
Subject: Re: [appfuse-user] Struts2 problem
I know Matt posted a blog entry covering exactly this topic. I cannot access
his site at the moment from work (some sort of networking issue), but have a
hunt though the blog on http://www.raibledesigns.com and
bre 2007 10:43
> À : users@appfuse.dev.java.net
> Objet : Re: [appfuse-user] Struts2 problem
>
> Okay found the solution [of course right _after_ posting to the list ;) ].
> First thing is I described the problem a little bit wrong. The List is
> stored in the application cont
stuck ;)
Nathan
- Original Message -
From: "Nathan Anderson" <[EMAIL PROTECTED]>
To: "users"
Sent: Tuesday, October 2, 2007 1:23:22 AM (GMT-0800) America/Los_Angeles
Subject: [appfuse-user] Struts2 problem
Howdy folks,
I'm in this weird predicament where I h
Hi,
I'm very interrested also by this case.
-Message d'origine-
De : Nathan Anderson [mailto:[EMAIL PROTECTED]
Envoyé : mardi 2 octobre 2007 10:23
À : users
Objet : [appfuse-user] Struts2 problem
Howdy folks,
I'm in this weird predicament where I have an error on
- Original Message -
From: "Nathan Anderson" <[EMAIL PROTECTED]>
To: "users"
Sent: Tuesday, October 2, 2007 1:23:22 AM (GMT-0800) America/Los_Angeles
Subject: [appfuse-user] Struts2 problem
Howdy folks,
I'm in this weird predicament where I have an error on my
Howdy folks,
I'm in this weird predicament where I have an error on my Struts 2 JSP page,
but rather than throwing an exception I get nothing... just a completely blank
page [even "view source" is completely empty]. But process of elimination I
have narrowed down the problem to a single line
You should be able to do response.sendRedirect to send a URL with
parameters to another servlet. You can also use
to pass parameters received in one action to another one.
Matt
On 6/10/07, nmall <[EMAIL PROTECTED]> wrote:
Hi,
I have a servlet which implements some logic based on some URL pa
Hi,
I have a servlet which implements some logic based on some URL parameters
passed to it. I can invoke this servlet directly from my browser, by simply
supplying the parameters thru the URL.
http://localhost:8080/myproject/myapplication?param1=value1¶m2=value2
However, I would like to set t
Struts is likely using a NumberConverter that's locale aware and since
you're using a French locale (I'm assuming from your e-mail address),
it expects a comma in the format. You should be able to override this
behavior by providing a custom converter the particular type.
http://cwiki.apache.org
I don't know of one off the top of my head - I'd suggest using Google
or posting a similar question to the Struts User list.
Matt
On 6/7/07, Fan <[EMAIL PROTECTED]> wrote:
Any online tutorial for writing a customised tag ?
mraible wrote:
>
> On 6/7/07, Martin Ravell <[EMAIL PROTECTED]> wrote
Hi appfusers,
I've an issue with Struts 2 DoubleRangeFieldValidator :
when i submit my form with a x,xx value it works but not with x.xx.
How can i do to allow x.xx value ?
Write a custom validator ?
Validate using regular expression ?
Thanks for your help,
-- Benoît.
Any online tutorial for writing a customised tag ?
mraible wrote:
>
> On 6/7/07, Martin Ravell <[EMAIL PROTECTED]> wrote:
>> Thanks Matt. Will check this out.
>>
>> Another issue: If I have an old taglib which is expecting an object to be
>> passed into it is there some syntax I can use in the
On 6/7/07, Martin Ravell <[EMAIL PROTECTED]> wrote:
Thanks Matt. Will check this out.
Another issue: If I have an old taglib which is expecting an object to be
passed into it is there some syntax I can use in the jsp to get this from
my Action's ValueStack? (I have a getter in my Action which re
Thanks Matt. Will check this out.
Another issue: If I have an old taglib which is expecting an object to be
passed into it is there some syntax I can use in the jsp to get this from
my Action's ValueStack? (I have a getter in my Action which returns the
expected object).
Marty
> You might try l
You might try looking at existing classes in
org.apache.struts2.views.jsp
(http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/views/jsp/package-summary.html).
You also might consider extending SimpleTag, which is part of JSP 2.0.
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/
I'm going to have a crack at building a taglib for my 2m5 application and
was wondering about maing this understand the Struts2 object graph (OGNL?)
Has anyone on the list done anything like this before? If so I'd
appreciate it if you could share any resource URLs, tutorials etc that you
may have
is
the problem:
highlightTableRows("games");
Hope that helps,
Nathan
- Original Message -
From: "Martin Ravell" <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Monday, June 4, 2007 6:09:50 AM (GMT-0800) America/Los_Angeles
Subject: [appfuse-user] Struts2
Sorry if this is a little off topic but I figure there are a few people
out there using the Struts2 version of appfuse and I'm needing some help.
In a pretty simple list page created by an appfuse:gen / appfuse:install
on a new pojo called Game. I have added an extra column to this
gameList.jsp in
Did you find a solution for this problem? If not, I'd suggest posting
it to the Struts mailing list.
http://www.nabble.com/Struts---User-f206.html
Matt
On 4/21/07, wiradikusuma <[EMAIL PROTECTED]> wrote:
hi,
i created a PersonConverter subclassing StrutsTypeConverter. in that class,
i have r
I think the file should be in:
./src/main/webapp/WEB-INF/pages/pentaho.jsp
I was going to try and check on the syntax of your struts.xml file for
you. But the documentation for this project is .. uh... let's just say
it isn't very helpful yet ;)
Nathan
nmall wrote:
Hi,
I am trying to add
Hi,
I am trying to add some simple action classes to the struts.xml that exists
in appfuse 2.-0 M4 basic struts. I added a simple action which replaced the
uploadFile that was there earlier
/WEB-INF/pages/pentaho.jsp
/WEB-INF/pages/pentaho.js
Hi,
I am trying to add some simple action classes to the struts.xml that exists
in appfuse 2.-0 M4 basic struts. I added a simple action which replaced the
uploadFile that was there earlier
/WEB-INF/pages/pentaho.jsp
/WEB-INF/pages/pentaho.js
hi,
i created a PersonConverter subclassing StrutsTypeConverter. in that class,
i have reference to spring-managed bean.
thing is, Struts2 loads my PersonConverter from xwork-conversion.properties,
and after instantinating it, Struts doesn't "wire" it with Spring beans.
i tried to make a spring b
Without LabelValue by the way :) (Using a POJO)
J. David Mendoza wrote:
Thanks Matt, but it turned out to be jetty :( I just put the war in
Tomcat and it worked! So I'm working with the Tomcat plug in for this
project, not as good as Jetty's, but it works ;)
David M.
Matt Raible wrote:
Can
Thanks Matt, but it turned out to be jetty :( I just put the war in
Tomcat and it worked! So I'm working with the Tomcat plug in for this
project, not as good as Jetty's, but it works ;)
David M.
Matt Raible wrote:
Can you try with a LabelValue object as your population mechanism? I
believe
Can you try with a LabelValue object as your population mechanism? I
believe I read something about how it didn't support Object types in
one of the recent releases.
Matt
On 4/10/07, J. David Mendoza <[EMAIL PROTECTED]> wrote:
I just can't seem to make the s:select work, can someone give some
I just can't seem to make the s:select work, can someone give some
pointers... I keep getting NullPointerExceptions...
Thanks...
David M.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
Matt, yes, I had
public static final String PREFERRED_LOCALE_KEY =
I18nInterceptor.DEFAULT_SESSION_ATTRIBUTE;
but this weekend during upgrade to AppFuse 2 M 4 I've changed locale key
value back to:
public static final String PREFERRED_LOCALE_KEY =
"org.apache.struts2.action.LOCALE";
and f
With 2.0 M4, if I log into http://demo.appfuse.org/appfuse-struts and
append "?locale=it" to the mainMenu.html URL - everything seems to
work fine. If I edit my profile, the buttons have the proper Italian
translation (at least AFAICT).
Can you reproduce your issue on the demo site?
Thanks,
Ma
Ah, it works! Thanks. I ended up moving a bunch of the WEB-INF/classes text
files to the maven dir "web/src/main/resources" dir, and just including the
org.appfuse.webapp.* package sources in my "web/src/main/java" directory...
which lets WEB-INF/classes and WEB-INF/lib be empty.
thanks again,
thanks matt:)
mraible wrote:
>
> It's not a Struts bug because if you look at
> target/classes/struts.xml, the substitution has probably already taken
> place. It's likely caused by this block of XML in your pom.xml:
>
>
>
> src/main/resources
>
It's not a Struts bug because if you look at
target/classes/struts.xml, the substitution has probably already taken
place. It's likely caused by this block of XML in your pom.xml:
src/main/resources
ApplicationResources_zh*.pr
1 - 100 of 127 matches
Mail list logo