Re: Struts 2, file tag, accept attribute not working?

2007-12-13 Thread Amit Rana
()' s:file tooltip=Upload Your XML file label=XML file name=XML file / s:submit onclick=javascript:doSubmit() / /s:form - Original Message - From: Amit Rana [EMAIL PROTECTED] To: user@struts.apache.org Sent: Wednesday, December 12, 2007 5:48 AM Subject: Re

Re: Struts 2, file tag, accept attribute not working?

2007-12-12 Thread Amit Rana
Hi Anton, Were you able to finally get it to work? I am using 2.0.9 and accept just doens't seem to be doing anything. Regards, Amit. Re: Struts 2, file tag, accept attribute not working? Anton Pussep Sat, 03 Nov 2007 10:09:23 -0800 Modifying FileUploadInterceptor or settings its parameters

Re: [struts] s:url action and method separator using something other than action!method

2007-11-16 Thread Amit Rana
From: Omkar patil Amit, I am not sure if there is any easy way to achieve this. Is there any specific reason you would like achieve this? One way could be provide your own action mapper class by extending DefaultActionMapper and overriding getUriFromActionMapping method to provide your own

s:url action and method separator using something other than action!method

2007-11-15 Thread Amit Rana
Hi, I have a url for login s:url id=loginurlid namespace=/ action=login method=input/s:url This generates a url like http://localhost:8080/myapp/login!input.action Is there a way to tell s:url to use _ or / as separator and not ! Thanks, Amit.

Re: Problem with Tiles decoration and struts2

2007-11-07 Thread Amit Rana
I suppose that it is a Tiles issue. I must admit that the code inside the TilesDecorationFilter does not convince me... Amit, can you repost this question to the Tiles Users Mailing list? I think that it is a Tiles bug. http://tiles.apache.org/mail.html Thanks Antonio Hi, Thanks, I have posted

Re: Problem with Tiles decoration and struts2

2007-11-07 Thread Amit Rana
-- Raghuveer Rawat wrote -- Amit, looks like problem is with your struts.xml. You have set Tiles Result but your result is jsp page. I think you need to change it to tile definition. Hi, Thanks for the response. Thats not my problem. I do not need TilesDecorationFilter for that.

Problem with Tiles decoration and struts2

2007-11-06 Thread Amit Rana
Hi, I am trying to get TilesDecorationFilter (http://tiles.apache.org/tutorial/advanced/utils.html) to work with struts2.0.9 without any success. Can anyone please help me figure out where am I going wrong? I am not sure if this is a tiles list question or struts? Tiles is decorating jsps but