Call for Papers Opens for ApacheCon US 2008

2008-03-01 Thread Martin Cooper
Call for Papers Opens for ApacheCon US 2008 !REMINDER: this will be a short CFP, ending on 3 April, so please be sure to get your CFP submissions in soon! The Apache Software Foundation (ASF) invites submissions to its official users' conference, ApacheCon US 2008, held 3 November through 7 Novem

Re: Fw: Struts1 forms with empty Strings

2008-03-01 Thread Dave Newton
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > Tim and Dave > /what about creating your own WhateverFormBean and setting all attribs to > null as default instead of empty string e.g. > WhateverFormBean extends FormBeanConfig { > /** > * An example String property. > */ > //change >

Fw: Struts1 forms with empty Strings

2008-03-01 Thread Martin Gainty
Tim and Dave /what about creating your own WhateverFormBean and setting all attribs to null as default instead of empty string e.g. WhateverFormBean extends FormBeanConfig { /** * An example String property. */ //change private String example = ""; //to private String example=

Re: Struts1 forms with empty Strings

2008-03-01 Thread Tim B
"Dave Newton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Andy <[EMAIL PROTECTED]> wrote: > > I was wondering if there is a way to configure Struts1 so Form beans return > > null values instead of empty String values when a user does not enter data > > in a text field, for ex

Re: Submit, ajax, targets and action

2008-03-01 Thread Martin Gainty
Matt- //treeNodeSelected is a good example of divTag.innerHtml = data; //in tags/ui/treeExampleDynamic.jsp dojo.event.topic.subscribe("treeSelected", this, "treeNodeSelected");

Strange namespace/action scenario

2008-03-01 Thread stanlick
Is there a limitation on when/where you can use the tag to invoke action/methods in a namespace? This works: This does not: -- View this message in context: http://www.nabble.com/Strange-namespace-action-scenario-tp15780694p15780694.html Sent from the Struts - User mailing list archi

RE: Submit, ajax, targets and action

2008-03-01 Thread Matthew Seaborn
Okay, got all this work; works fine. Cheers, Richard. In the end it looked like function submitFunctionA() { preventCache: true, load:function(type, data, evt) { $("#formId").html(data) ; }, method: "POST",

RE: about current action name acsess

2008-03-01 Thread Kedar Choudhary
Well, I'm not sure why the %{#postLoginURL} did not work for you. Glad that you got it working using session as storage. The issues in using session as storage for postLoginURL are pretty minor in nature: 1) un-authenticated user tries to access privileged URL, say /privileged.action, he is sent t

RE: Submit, ajax, targets and action

2008-03-01 Thread Matthew Seaborn
Thanks for the advice. How is this function supposed to be used, is it called from onclick in the s:submit tag? -Original Message- From: Richard Sayre [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 18:42 To: Struts Users Mailing List Subject: Re: Submit, ajax, targets and action S

Re: Struts 2: How to initialize Action's parameters in struts.xml?

2008-03-01 Thread stanlick
* MILES ... *On Sat, Mar 1, 2008 at 5:48 AM, Andriy Kharchuk <[EMAIL PROTECTED]> wrote: > Hi guys, > > Is there a way to initialize property of an Action in configuration file? > I > want to use some parameter to define runtime behavior of the Action. > > T

Struts 2: How to initialize Action's parameters in struts.xml?

2008-03-01 Thread Andriy Kharchuk
Hi guys, Is there a way to initialize property of an Action in configuration file? I want to use some parameter to define runtime behavior of the Action. Thanks, Andriy

Re: Struts validation problem

2008-03-01 Thread Anet
Hi. Thank you very much Dave. my problem solved. Anet. Dave Newton <[EMAIL PROTECTED]> wrote: --- Anet wrote: > whats your mean about rendering tag property? It ate part of my text; I was asking if it renders a tag. If not, you'd have to put it inside one--I just don't remember much