Re: [appfuse-user] struts2 + aop

2010-09-10 Thread Matt Raible
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

[appfuse-user] struts2 + aop

2010-09-10 Thread Josep García
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

Re: [appfuse-user] Struts2 Annotations in ear file don't work

2010-04-09 Thread DUSTIN PEARCE
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

[appfuse-user] Struts2 Annotations in ear file don't work

2010-04-09 Thread asif10
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

Re: [appfuse-user] Struts2 in AppFuse

2010-03-12 Thread Matt Raible
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

[appfuse-user] Struts2 in AppFuse

2010-03-12 Thread Phil W
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

Re: [appfuse-user] struts2 basic not running

2009-09-09 Thread Matt Raible
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

Re: [appfuse-user] struts2 basic not running

2009-09-08 Thread measwel
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

Re: [appfuse-user] struts2 basic not running

2009-09-08 Thread Matt Raible
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

Re: [appfuse-user] struts2 basic not running

2009-09-08 Thread measwel
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

Re: [appfuse-user] struts2 basic not running

2009-09-08 Thread Matt Raible
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

Re: [appfuse-user] struts2 basic not running

2009-09-08 Thread measwel
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

[appfuse-user] struts2 basic not running

2009-09-07 Thread measwel
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

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-11 Thread sudhakargupta
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

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-10 Thread Harps
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

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-10 Thread sudhakargupta
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

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-10 Thread Harps
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

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-09 Thread DUSTIN PEARCE
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

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-08 Thread 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

Re: [appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-08 Thread DUSTIN PEARCE
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

[appfuse-user] Struts2 Many-to-one New Record Save problem (JSP Drop down)

2009-05-08 Thread sudhakargupta
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

Re: [appfuse-user] struts2 validator

2009-04-07 Thread tibi
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

Re: [appfuse-user] Struts2 datetimepicker

2009-02-02 Thread Matt Raible
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

Re: [appfuse-user] Struts2 REST plugin

2009-02-01 Thread DUSTIN PEARCE
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

[appfuse-user] Struts2 REST plugin

2009-02-01 Thread Jeremy Anderson
Anyone attempted to update Struts2 to version 2.1.1+ to make use of the Struts2 REST plugin?

[appfuse-user] Struts2 datetimepicker

2009-02-01 Thread Jeremy Anderson
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

Re: [appfuse-user] Struts2

2008-11-20 Thread Derlon Aliendres
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

Re: [appfuse-user] Struts2

2008-11-20 Thread Alex Coles
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

Re: [appfuse-user] Struts2

2008-11-20 Thread Derlon Aliendres
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

Re: [appfuse-user] Struts2

2008-11-20 Thread Derlon Aliendres
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

Re: [appfuse-user] Struts2

2008-11-19 Thread Matt Raible
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

[appfuse-user] Struts2

2008-11-19 Thread Derlon Aliendres
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

Re: [appfuse-user] Struts2 - Checkbox to delete display:table elements

2008-10-27 Thread Atilim Alci
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

[appfuse-user] Struts2 - Checkbox to delete display:table elements

2008-10-26 Thread Atilim Alci
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..

Re: [appfuse-user] Struts2 redirect problem

2008-09-12 Thread Kropp, Henning
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

[appfuse-user] Struts2 redirect problem

2008-09-12 Thread mannobug
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

[appfuse-user] Struts2 DOJO(Datepicker) is not working in Tomcat Host Alias environment

2008-08-09 Thread SreeramJ
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

[appfuse-user] Struts2 DOJO(Datepicker) is not working in Tomcat Host Alias environment

2008-08-09 Thread SreeramJ
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

Re: [appfuse-user] Struts2; override user validator

2008-07-15 Thread Martin Homik
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'

Re: [appfuse-user] Struts2; override user validator

2008-07-14 Thread Matt Raible
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.

Re: [appfuse-user] Struts2; override user validator

2008-07-14 Thread Martin Homik
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/

Re: [appfuse-user] Struts2; override user validator

2008-07-14 Thread Matt Raible
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

[appfuse-user] Struts2; override user validator

2008-07-14 Thread Martin Homik
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

[appfuse-user] struts2 jscalendar can't get date

2008-07-09 Thread brantman
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

[appfuse-user] Struts2 Modular Project

2008-06-13 Thread suresh . indukuri
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

Re: [appfuse-user] Struts2, pre-polution; prepare() in Action class

2008-04-11 Thread wskent
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 >

Re: [appfuse-user] Struts2, pre-polution; prepare() in Action class

2008-04-11 Thread Matt Raible
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

[appfuse-user] Struts2, pre-polution; prepare() in Action class

2008-04-11 Thread Martin Homik
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

Re: [appfuse-user] Struts2 "s:if" tag comparisons and OGNL

2008-04-07 Thread Richard Mixon
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

Re: [appfuse-user] Struts2 "s:if" tag comparisons and OGNL

2008-04-07 Thread Dustin Pearce
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

[appfuse-user] Struts2 "s:if" tag comparisons and OGNL

2008-04-05 Thread Richard M
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

Re: [appfuse-user] Struts2 and jsCalendar

2008-02-20 Thread Ron Anderson
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

Re: [appfuse-user] Struts2 and jsCalendar

2008-02-16 Thread mettamara
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

Re: [appfuse-user] Struts2 and jsCalendar

2008-02-13 Thread Ron Anderson
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: >

Re: [appfuse-user] Struts2 and jsCalendar

2008-02-13 Thread Ron Anderson
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

Re: [appfuse-user] Struts2 and jsCalendar

2008-02-12 Thread Matt Raible
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

[appfuse-user] Struts2 and jsCalendar

2008-02-12 Thread Ron Anderson
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

[appfuse-user] Struts2 Example for Enums in option List

2008-01-17 Thread Olaf Kittelmann
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

[appfuse-user] Struts2 Tabbed Panel + DisplayTag table

2007-12-28 Thread Raghuveer Rawat
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

Re: [appfuse-user] struts2 validator

2007-12-18 Thread dxjsunday
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:

Re: [appfuse-user] struts2 validator

2007-12-18 Thread tibi
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

Re: [appfuse-user] struts2 validator

2007-12-17 Thread Matt Raible
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

Re: [appfuse-user] struts2 validator

2007-12-14 Thread tibi
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

[appfuse-user] struts2 validator

2007-12-14 Thread tibi
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

Re: [appfuse-user] Struts2 Portlet Test

2007-11-02 Thread dashaun
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

[appfuse-user] Struts2 Portlet Test

2007-11-01 Thread dashaun
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

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
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

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Matt Raible
: 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

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
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

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Michael Horwitz
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

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
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

RE: [appfuse-user] Struts2 problem

2007-10-02 Thread benoit moraillon
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

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
- 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

[appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
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

Re: [appfuse-user] struts2 question

2007-06-12 Thread Matt Raible
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

[appfuse-user] struts2 question

2007-06-10 Thread nmall
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

Re: [appfuse-user] Struts2 double validator

2007-06-08 Thread Matt Raible
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

Re: [appfuse-user] Struts2 taglibs

2007-06-08 Thread Matt Raible
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

[appfuse-user] Struts2 double validator

2007-06-08 Thread benoit moraillon
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.

Re: [appfuse-user] Struts2 taglibs

2007-06-07 Thread Fan
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

Re: [appfuse-user] Struts2 taglibs

2007-06-07 Thread Matt Raible
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

Re: [appfuse-user] Struts2 taglibs

2007-06-07 Thread Martin Ravell
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

Re: [appfuse-user] Struts2 taglibs

2007-06-07 Thread Matt Raible
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/

[appfuse-user] Struts2 taglibs

2007-06-07 Thread Martin Ravell
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

Re: [appfuse-user] Struts2

2007-06-05 Thread Nathan Anderson
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

[appfuse-user] Struts2

2007-06-04 Thread Martin Ravell
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

Re: [appfuse-user] struts2: make subclass of StrutsTypeConverter Spring-aware

2007-05-24 Thread Matt Raible
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

Re: [appfuse-user] struts2 and appfuse

2007-04-24 Thread Nathan Anderson
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

[appfuse-user] struts2 and appfuse

2007-04-24 Thread nmall
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

[appfuse-user] struts2 and appfuse

2007-04-24 Thread nmall
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

[appfuse-user] struts2: make subclass of StrutsTypeConverter Spring-aware

2007-04-21 Thread wiradikusuma
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

Re: [appfuse-user] struts2 select

2007-04-11 Thread J. David Mendoza
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

Re: [appfuse-user] struts2 select

2007-04-11 Thread J. David Mendoza
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

Re: [appfuse-user] struts2 select

2007-04-10 Thread Matt Raible
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

[appfuse-user] struts2 select

2007-04-10 Thread J. David Mendoza
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

Re: [appfuse-user] struts2 switch locale

2007-04-10 Thread ros
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

Re: [appfuse-user] struts2 switch locale

2007-04-09 Thread Matt Raible
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

Re: [appfuse-user] struts2-crud.mov jetty:run doesn't walk

2007-04-09 Thread thrasher
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,

Re: [appfuse-user] struts2 redirect question

2007-04-09 Thread aninggo
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 >

Re: [appfuse-user] struts2 redirect question

2007-04-09 Thread Matt Raible
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   2   >