Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Musachy Barroso
The timepicker is indeed broken, I haven't been able to extend the dojo widget to fix it because it is throwing some errors (even if my widget is empty!). Just to let you know :) musachy Dariusz Wojtas wrote: Musachy! I must have been blind (no wine today). I checked again the datetimepicker

What is the Struts2's Roadmap?

2007-01-14 Thread Allen Young
Hi all, I'm want to know the roadmap of struts2, because I have a project in the short future and I want to see if I can use struts 2.0.2 or later. The "Zero Configuration" and "RESTful URL" are the most attractive features and I really want to use them in my project. Another small question, wil

Re: NotifyTopics

2007-01-14 Thread Musachy Barroso
Decoupling. The listeners do not need to know who is the source of the event, nor they have to attach themselves to any specific element. If in the future the publisher (source of the event) changes, or there is more than one publisher, you don't need to change any code. regards musachy And

Re: [S2] Internationalisation of conversion type messages

2007-01-14 Thread Dariusz Wojtas
I have created a custom Double converter and plugged it in using the xwork-conversion.properties file in the root of the classpath. This works for me. But I cannot manage it to use my translated field names in the response. regards Dariusz Wojtas On 1/14/07, Martin Gainty <[EMAIL PROTECTED]> w

Re: [S2] Internationalisation of conversion type messages

2007-01-14 Thread Martin Gainty
My understanding is it is supposed to go thru this chain in package org.apache.struts.views.jsp.ui. default.properties WhateverNameOfActionClass_locale.properties WhateverNameOfActionClass.properties Conversions in Struts1 use Commons-Beanutils Conversions in Struts2 uses OGNL for type conversion

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Martin Gainty
for some reason when I reference example.jsp from struts-showcase-2.0.1 struts-showcase-2.0.1\tags\ui\example.jsp I see the error favouriteLanguages key not found which properties file contains this key? here is the exception org.apache.jasper.JasperException: tag 'select', field 'list', na

Re: Failed build of svn HEAD on Mac OS X

2007-01-14 Thread Joe Germuska
This should be fixed now in the snapshot build of struts-annotations on the Apache Snapshot repository. The tools.jar dependency was misconfigured; this Maven documentation explains how to set it up so that it is not attempted for Mac OS X: http://maven.apache.org/general.html#tools-jar-dependenc

Re: Failed build of svn HEAD on Mac OS X

2007-01-14 Thread Christian Stone
I actually just tackled this very problem. OS X java configuration renames and repackages the tools.jar into classes.jar. I fixed the mvn pom file for this consideration. I have a detailed description on what I did to fix this (and the out of memory error that you will encounter next) on my

[S2] Internationalisation of conversion type messages

2007-01-14 Thread Dariusz Wojtas
Hi, Can someone help me figure out how to translate into my language field names that have type conversion problems? I have a Double field and put value: aa - obvious error. Struts prints message: Invalid field value for field "myBean.myProperty". I would like to change it to: Invalid field

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Dariusz Wojtas
Musachy! I must have been blind (no wine today). I checked again the datetimepicker in the ajax form - but I can clearly see that it nicely generates a table row with 2 columns. I am sorry for the wrong message before - it's blindness. [time is still not recognized] Best regards Dariusz Wojtas

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Dariusz Wojtas
Please have a look at : https://issues.apache.org/struts/browse/WW-1598 Dariusz Wojtas On 1/14/07, Martin Gainty <[EMAIL PROTECTED]> wrote: Darius/Muscachy- http://trac.dojotoolkit.org/search?q=1598&ticket=on&changeset=on&wiki=on 1598 isnt on the dojo buglist.. and ...neither is Error setting

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Martin Gainty
Darius/Muscachy- http://trac.dojotoolkit.org/search?q=1598&ticket=on&changeset=on&wiki=on 1598 isnt on the dojo buglist.. and ...neither is Error setting expression 'timeProp' with value Did I mis-understand? M- --- This e

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Dariusz Wojtas
Hi Musachy, Is there any chance to ... check the file submission with an anchor? Does not work for me. And IE still has plenty of problems with param passing. I tried to reopen WW-1598 yesterday - but I do not have enough rights. I just ended with adding a comment. (what should I do in such case

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Musachy Barroso
I've never tried that myself, but if dojo.bind() supports submission of forms with files, then it should be possible. //did you ever figure out the problem with the date? regards musachy Dariusz Wojtas wrote: Hi, I have a form declared this way: ... Save ...

Re: BigDecimal in DynaActionForm "" instead of null

2007-01-14 Thread Martin Gainty
Thorsten- inside struts-config.xml you should see a xml configuration file identified from 'value' attribute for the plug-in for your ContextLoaderPlugIn class edit the xml identified in the value attribute search on lazy-init change to lazy-init="false" save and redeploy the weba

BigDecimal in DynaActionForm "" instead of null

2007-01-14 Thread uni
Hi, I have an DynaActionForm (using Struts 1) with several properties, all of type String. My business object is typed; one of its properties is a BigDecimal. To copy form data to the entity, I'm using BeanUtils.copyProperties. This works well, but in case of BigDecimals, there is a conversion err