using css style within s:form

2007-02-01 Thread Jeffrey Hau
Hi, In my s:form element, i would like to show a textinput box only if certain value is selected in the s:select element. Using the code below, although the s:textfiled is enclosed in a div with "display: none", the textfield it still displayed on the page.

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
he Spring API into your service layer. Does that help? Joe On 1/31/07, Jeffrey Hau <[EMAIL PROTECTED]> wrote: Hi Joe, Thanks for the helpful information. I am just wondering is it possible to get the ServletContext object in my spring applicationContext.xml? What i am trying to do n

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
ans would only be dependent on a Map instead of a ServletContext. Keep in mind that the ServletActionContext is a thread local, so it must be executed from within the context of a webwork request. Tom Jeffrey Hau wrote: Hi Joe, Thanks for the helpful information. I am just w

Re: [s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
7;d tried it but couldn't get it :( do we need to do any additional stuff for that?? - Original Message ----- From: "Jeffrey Hau" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 31, 2007 4:55 PM Subject: [s2] getting servlet

[s2] getting servletContext in actions

2007-01-31 Thread Jeffrey Hau
Hi, If i need to get a servletContext object in my action class, is implementing the ServletContextAware interface the standard way of doing this? Is there any other alternatives? thanks, Jeff - To unsubscribe, e-mail: [EM

[s2] adding an attribute to ajax link tag

2007-01-22 Thread Jeffrey Hau
Hi, there is a loadingText atrribute for the ajax link tag, is there anyway for me to dispaly an image? do I need to extend the current link tag to do this? If so, can someone point me in the rite direction on how to extend tags, i can't seem to find any related tutorials or guides on the