Re: [S2] Set textfield readonly property from action class

2008-11-30 Thread Khawaja-Shahzad Butt
Hi Milan, Can you try this in your action class. if(your condition for setting editable mode is true) request.setAttribute(edittingMode,true); else request.setAttribute(edittingMode,false); or another way String edittingMode= false; if(your condition for setting editable mode is true) {

Struts file upload issue

2008-11-29 Thread Khawaja-Shahzad Butt
Hi, I am having an issue with struts file upload during validation. On the page when there's a validation error, the browsed/attached file drops. Does anyone know a work around it, to have the previously attached file in tact, meaning if i have attached a file and hit submit and got the

Re: Struts file upload issue

2008-11-29 Thread Khawaja-Shahzad Butt
, though, via interceptor ordering or an interceptor modification--not sure. Dave --- On Sat, 11/29/08, Khawaja-Shahzad Butt [EMAIL PROTECTED] wrote: From: Khawaja-Shahzad Butt [EMAIL PROTECTED] Subject: Struts file upload issue To: user@struts.apache.org Date: Saturday, November 29, 2008