Re: Interceptor stack

2010-05-19 Thread Paweł Wielgus
Hi, try to follow this example: http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html Best greetings, Paweł Wielgus. 2010/5/18 RogerV : > > Ok - I'm having a bad start to the day and this is driving me nuts. I'm using > the Convention plugin, and below I've attached a copy

Re: The Apache Software Foundation Receives Approval for Sale to Oracle Corporation

2010-05-19 Thread Manos Batsis
On 05/19/2010 09:31 AM, aum strut wrote: Hi All, i am not sure is this a good place to ask about such question but since many here are involved with Apache from so long while browsing Apache community site i came across this blog post,though this has been posted on April 1st but still not sure

Re: The Apache Software Foundation Receives Approval for Sale to Oracle Corporation

2010-05-19 Thread aum strut
Manos i have alreay mentioed this in my post... but since it was on community site so i prefer to confirm it... On Wed, May 19, 2010 at 12:49 PM, Manos Batsis wrote: > On 05/19/2010 09:31 AM, aum strut wrote: > >> Hi All, >> >> i am not sure is this a good place to ask about such question but sin

Quartz and Struts

2010-05-19 Thread Søren Blidorf
Hi. I am trying to implement Quartz to my exsiting Struts 1.x app I am using the following as guide: http://onjava.com/pub/a/onjava/2006/03/01/job-scheduling-in-web-application. html But I cannot get it to work. I altered the struts-config: and altered the we

Re: Interceptor stack

2010-05-19 Thread RogerV
Paweł Wielgus wrote: > > Hi, > try to follow this example: > > http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html > I was using config-browser - that's how I knew the interceptor stack didn't contain my custom interceptors. In the end, I've solved it - I needed the @P

Forms with Multiple Submit buttons (Bug or Expected?)

2010-05-19 Thread RogerV
For a long while I've been building forms along the lines of .. var formsubmitted=false; function preventDoubleSubmit() { if (formsubmitted) { return false; } var submitButton = document.getElementById('submit'

Re: Interator values not showed

2010-05-19 Thread Alex Rodriguez Lopez
Hi, i'm trying the append tag and the list values of the appended lists are not showed. This is the main part of the jsp code: Total Bands: Band: This is my Action class: package struts2.action; import java.util.ArrayList; import com.opensymphony.xwork2.ActionSuppo

Re: Interator values not showed

2010-05-19 Thread slayer666
slayer666 wrote: > > Hi, > i'm trying the append tag and the list values of the appended lists are > not showed. > This is the main part of the jsp code: > > > > > > Total Bands: > >Band: > > > > This is my Action class: > > package struts2.action; > > import java.util

Re: Interator values not showed

2010-05-19 Thread slayer666
Thanks Alex, but i've solved the problem. This is my Action class: public class IteratorAction extends ActionSupport implements ModelDriven{ private ArrayList groups=new ArrayList(); private ArrayList groups1=new ArrayList(); private Band band=new Band("","");

Re: Interceptor order

2010-05-19 Thread RogerV
Andy Law wrote: > > Following on from my previous question > (http://old.nabble.com/Some-Spring-Struts-questions-td28533505.html) about > injecting objects orthogonal to actions into the environment where jsps > can "see" them, I now have an interceptor that does what I want it do > (Yay! - tha

Re: Forms with Multiple Submit buttons (Bug or Expected?)

2010-05-19 Thread Denis Cabasson
Why not doing that on the server side, using the s:token approach? That would prevent double submit on the server side. On the client side, I would say that your disabling the button before the form is submitted (the onsubmit technically happens before the submit, so that you can uypdate some va

Re: Forms with Multiple Submit buttons (Bug or Expected?)

2010-05-19 Thread RogerV
dcabasson wrote: > > Why not doing that on the server side, using the s:token approach? That > would prevent double submit on the server side. > I thought about it. Googling for info showed support for both methods. I took the javascript approach because (a) it looked easier and (b) if using

RE: Interceptor stack

2010-05-19 Thread Martin Gainty
this is good news roger //assume i have this ParentPackage annotation declaration package org.apache.struts2.convention.actions.parentpackage; import org.apache.struts2.convention.annotation.ParentPackage; /** * * This is a parent package usage action. * */ @ParentPackage("class-level") pu

Re: Session object null

2010-05-19 Thread Dale Newfield
On 5/18/10 6:55 PM, Ken wrote: The problem has been resolved with what you said... Glad to hear it. However I'll fill you as I am new and looking for best practise. I can offer my advice, but I don't have the hubris to claim that's necessarily what others would agree to as best practice. :

Re: Online docs messed up

2010-05-19 Thread hernan gonzalez
Still broken. On Mon, May 17, 2010 at 12:39 PM, Lukasz Lenart wrote: > 2010/5/14 nuwan chandrasoma : >> I also noticed that, i think the wiki .css is messed up, > > It's because of new Confluence and auto export plugin :-( > I can restore the previous version of the css file but it looks like > e

nested struts2 validation

2010-05-19 Thread Stephen Ince
Hi, I would like to do nested struts2 validation. I have two questions. 1) How do I specify the validation for the following field. Can some point me to some documenation for the expression validation. searchResults.{#this.resource.name.length() > 0}.{? #this == false }.size() <= 0 2)