Re: Internet Explorer and serving files

2007-01-17 Thread Ayusman Dikshit
try this on IE: >download file the content type seems fine. Hope this works. Regards Ayusman On 10/30/06, Daniel Blumenthal <[EMAIL PROTECTED]> wrote: I'm trying to get my server to send an MP3 file to the client, but it's just not working on Internet Explorer (Firefox works fine). The

struts-config.xml question struts 1.3.5

2007-01-17 Thread Urooj Khan
hi i noticed something weird... in my struts-config.xml i had and i was getting an error saying that resource not found /pages/AddItem.jsp so i changed the path in the forward tag to and it worked fine... now my question is how come this worked fine when my jsp is actually in a folder

Re: [S2] Prepable and Validate

2007-01-17 Thread cilquirm
I don't think this will work as you expect it to for 2 reasons : 1) prepare comes before validate ( at least in all the interceptor stacks that i saw, obviously you're free to change the order ) 2) validation, at least in my perusal of the source, doesn't short circuit the interceptor stack ht

Re: specify html:form action property

2007-01-17 Thread Ilja S.
Sorry didn't get what you mean by "use JSTL/EL to navigate the servlet api" :) As I mentioned before request.getServletPath() gives Tiles layout jsp page, not action mapping. * Best Regards Ilja Joseph McGranaghan wrote: That MappingDispatchAction sounds l

Re: specify html:form action property

2007-01-17 Thread Joseph McGranaghan
That MappingDispatchAction sounds like a good idea. What if you use JSTL/EL to navigate the servlet api and do a similar filter for /admin/* etc? Could do it in a javascript function onSubmit. -Joe Ilja S. wrote: The thing is that I use MappingDispatchAction So in one action class I have 2 m

Re: specify html:form action property

2007-01-17 Thread Ilja S.
The thing is that I use MappingDispatchAction So in one action class I have 2 methods: 1 will be executed when /supervisor/deals is accessed and other when /admin/deals is executed. I found this convenient for handling authorization (user with role supervisor can't access /admin/* urls) and hav

Re: specify html:form action property

2007-01-17 Thread Joseph McGranaghan
What if you use a DispatchAction and one path. Either way you will need to check a parameter (or something) to ensure the proper route -Joe Ilja S. wrote: Hello This could be silly question but I'm kind stuck here. I have 2 ActionMappings in struts config with following paths: path="/admin/dea

Re: [S2] Any hope to have ajax form submission working?

2007-01-17 Thread Musachy Barroso
Can you create a ticket with the scenarios that do not work? I'll probably have time to go over it on the weekend. thanks musachy Dariusz Wojtas wrote: Hi Musachy, This is probably lack of precision from my side. Saying "ajax forms" I thought about remote forms. Even having them working with

Re: [S2] Any hope to have ajax form submission working?

2007-01-17 Thread Dariusz Wojtas
Hi Musachy, This is probably lack of precision from my side. Saying "ajax forms" I thought about remote forms. Even having them working with inputs of type submit/image only (no anchors) - just to have one method of submission that works in all cases. Currently there are problems with both: anch

[S2] Prepable and Validate

2007-01-17 Thread André Faria
All, I have these methods in a Action: public action Person extends ActionSupport implemens Preparable { public String input {...} public void prepareInput{..} public void validateSave(){ addFieldError("person.name","Error"); } public void save(){...}; publi

Re: Form population and locale

2007-01-17 Thread uni
Hi, > I use Struts 1.2.9 and I would like to know if there is any > way to link the user locale (available with > RequestUtils.getUserLocale(HttRequest)) with the form > population process. > > In fact, I have many forms which have date field (with the > java.util.Date type). I would format these

Form population and locale

2007-01-17 Thread Zero
Hi everybody, I use Struts 1.2.9 and I would like to know if there is any way to link the user locale (available with RequestUtils.getUserLocale(HttRequest)) with the form population process. In fact, I have many forms which have date field (with the java.util.Date type). I would format these fie

Re: [S2] Adding a Tab Dynamically

2007-01-17 Thread Musachy Barroso
How is it different? Feel free to log a ticket. regards musachy André Faria wrote: Is the a way to add tag dynamically in tabbedPane... I am triyng this way: var tabContainer = dojo.widget.byId("tabbedPane"); var url = 'person.action'; var cp = dojo.widget.createWidget("Bin

Re: [S2] Any hope to have ajax form submission working?

I think the problem is only with files right? On showcase there are several examples (not the remoting forms), like on the div, anchor, and button page which work. regards musachy Dariusz Wojtas wrote: Hi, Does the current form submission come from a problem in dojo? Or is this something els

[S2] ChangeLog

Where can we see the changelog of the yesterday snapshot 2.1.0? Regards, */André Faria/* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

EJB 3 + Struts ....delegate/ facade question

(I'm sorry the previous one end it up - to wrong topic) Hello everyone! I am doing some EJB3 related project, all seems to work ok, though I now at the level of adding the web layer to the overall image! I have used struts before with EJB2.1 and we had some sort of delegates / facades / servi

[S2] Adding a Tab Dynamically

Is the a way to add tag dynamically in tabbedPane... I am triyng this way: var tabContainer = dojo.widget.byId("tabbedPane"); var url = 'person.action'; var cp = dojo.widget.createWidget("BindDiv", {label:'Persons', executeScripts:true, parseContent:true, extractCont

EJB 3 + Struts ....delegate/ facade question

Hello everyone! I am doing some EJB3 related project, all seems to work ok, though I now at the level of adding the web layer to the overall image! I have used struts before with EJB2.1 and we had some sort of delegates / facades / service locators in order to give us access to the Session Bea

specify html:form action property

Hello This could be silly question but I'm kind stuck here. I have 2 ActionMappings in struts config with following paths: path="/admin/deals" path="/supervisor/deals" Both have the forward to same jsp with form. All I want to do is depending on a requested mapping submit form, well, to its' ac

Re: Using Tiles with fmt:setBundle

Put it into the layout jsp. [EMAIL PROTECTED] wrote: I'm using Tiles and 2 resource bundles. The problem is that I have to define them for every page I'm creating. Isn't there a way to define a bundle in de template page, and use them in every tile? Tia This message is for the designated

Using Tiles with fmt:setBundle

I'm using Tiles and 2 resource bundles. The problem is that I have to define them for every page I'm creating. Isn't there a way to define a bundle in de template page, and use them in every tile? Tia This message is for the designated recipient only and may contain privileged, propriet