Re: S2: Use of s:if tag

2007-04-02 Thread Dariusz Wojtas
Are you sure it's not shown in the mailing list? Most likely it's gmail that filters out your own messages sent to mailing lists. Check this URL: http://news.gmane.org/gmane.comp.jakarta.struts.user to see the original list state. Regards Dariusz Wojtas On 4/2/07, Jae K <[EM

Re: [s2] Datetimepicker not working on non-English?

2007-03-14 Thread Dariusz Wojtas
I am using it with PL locale, but I needed to add another property: displayFormat="-MM-dd" regards Dariusz Wojtas On 3/14/07, Petr Blahos <[EMAIL PROTECTED]> wrote: Hi all, I have got the impression that datetimepicker, when picking the date, does not work in non-Engl

Re: ParametersInterceptor Error

2007-03-05 Thread Dariusz Wojtas
ouble/Float and non default comma separator. You may try to use custom data converters here. regards Dariusz Wojtas On 3/5/07, sfali <[EMAIL PROTECTED]> wrote: Hi All, I have following scenario: In my Action I set my pojo bean with some values and sets this bean into session. On the next

Re: Can actions have paths?

2007-02-26 Thread Dariusz Wojtas
try this: /top/Login.jsp with URL: https://tweb.retcgroup.com/thymeleweb/top/Login.action It is 'namespace' that gives you action prefix in the URL. Regards Dariusz Wojtas On 2/26/07, Neil Aggarwal <[EMAIL PROTECTED]> wrote: Hello: I have this s

Re: What to use instead of tiles in Struts2?

2007-02-25 Thread Dariusz Wojtas
produced pages would be 100KB+, but that is quite rare case I think. Regards Dariusz Wojtas On 2/26/07, Neil Aggarwal <[EMAIL PROTECTED]> wrote: Hello: The tiles plugin for struts2 is labeled experimental. Is there another way of doing similar functionality on struts2? Thanks,

[S2] Struts 2.0.6 questions

2007-02-25 Thread Dariusz Wojtas
hers are not present? Also the main download page [http://struts.apache.org/download.cgi#struts206] lists downloadable zips and gives info about them. Info about the full distribution [struts-2.0.6-all.zip] says it is of size 43 MB, while the actual size is 86MB Re

Re: [S2] doubt working with dates in brazilian format (dd/MM/yyyy)

2007-02-24 Thread Dariusz Wojtas
.class) { return o.toString(); } return null; } } Regards Dariusz Wojtas On 2/24/07, Daniel Amadei <[EMAIL PROTECTED]> wrote: Hi All, I'm working with dates but I'm not able to convert dates to be displayed automatically using

Re: IS struts 2 websphere compatible?

2007-02-17 Thread Dariusz Wojtas
Yes, you can use it with Websphere and it's Java 1.4 It worked for me. Look here: http://people.apache.org/builds/struts/nightlies/2.0.x/java-1.4/backport/ http://people.apache.org/builds/struts/nightlies/2.0.x/java-1.4/backport/S2-FOR-J4-README.txt Regards Dariusz Wojtas On 2/17/07, Pr

Re: s:textfield tag breaking line in page

2007-02-07 Thread Dariusz Wojtas
It generates 2 cell row + optional error message for field if parent form is of theme 'xhtml' or 'ajax'. You may override cild behaviour by setting theme 'simple' on a single tag. regards Dariusz Wojtas On 2/7/07, Daniel Amadei <[EMAIL PROTECTED]> wrote: H

Re: [S2] datetimepicker and dates

2007-02-07 Thread Dariusz Wojtas
on 'birthday' with value '[Ljava.lang.String;@d134d0' Using Java 6,win xp Regards Dariusz Wojtas On 2/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: It seems to be submitting the value on the right format, so the problem is somewhere else (i18?). Does the UI tags example in sho

Re: [S2] datetimepicker and dates

2007-02-07 Thread Dariusz Wojtas
I have created issue WW-1717 describing the problem of logging values by the parameters interceptor. Regards Dariusz Wojtas On 2/7/07, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: Hi Musachy, I compiled the latest xwork 2.0.1 snapshot. I used S2.0.5 snapshot (last weekend) and today&#

Re: [S2] datetimepicker and dates

2007-02-07 Thread Dariusz Wojtas
No problem, here is the pair I get for this property. I get such pair for each Date prop. myDateProperty=2007-02-07 dojo.myDateProperty=2007-02-07 Regards Dariusz Wojtas On 2/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Can you find out what is the value that is being submitt

Re: [S2] datetimepicker and dates

2007-02-07 Thread Dariusz Wojtas
ion 'myDateProperty' with value ['<1st val>', ] Best regards Dariusz Wojtas On 2/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I got the same error on 1.6, but it works on 1.5. thanks musachy Dariusz Wojtas wrote: > Hi Musachy, > > I have problems

Re: [S2] datetimepicker and dates

2007-02-05 Thread Dariusz Wojtas
:\projects\xwork\src\java\com\opensymphony\xwork2\inject\ContainerImpl.java:[334,50] incompatible types found : java.lang.reflect.Constructor required: java.lang.reflect.Constructor Can you share a copy of xwork or point to some nightly build? Regards Dariusz Wojtas On 2/5/07, Musachy Barroso

Re: [S2] datetimepicker and dates

2007-02-05 Thread Dariusz Wojtas
ok, I surely will try this patch - somewhen later this week. I will inform you about the results. Thanks for quick response. Best regards Dariusz Wojtas On 2/5/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Hi Dariousz I recently sent a patch for XWork to parse dates on RFC 3339

[S2] datetimepicker and dates

2007-02-05 Thread Dariusz Wojtas
ails in some environments. Now I found the reason, I found some solution - works for me - but this shows some general problem. This email is rather not a question for help, but info about some problem. Best regards Dariusz Wojtas ---

Re: [s2] Autopopupation of fields fails with

2007-02-05 Thread Dariusz Wojtas
I cannot say much more than this: http://jakarta.apache.org/commons/fileupload/faq.html I believe that if you are using standard S2 components, then everything should work as expected - the order of interceptors is important here. Regards Dariusz Wojtas On 2/5/07, bob <[EMAIL PROTEC

Re: [s2] Autopopupation of fields fails with "enctype="multipart/form-data" in form

2007-02-04 Thread Dariusz Wojtas
you have any custom filter in front of your action - the multipart parser requires a 'virgin' request object, without accessing any params in it prior to multiparse analysis. If you try to operate on the request earlier - multiparser is not able to finish his task. regards Dariusz Wojtas

Re: Using latest snapshots and getting a xwork error

2007-01-31 Thread Dariusz Wojtas
Try xwork 2.0 final. It was released this month and struts2 is compiled against the final release now. Regards Dariusz Wojtas On 1/31/07, Gonçalo Luiz <[EMAIL PROTECTED]> wrote: Hello, After upgrading my lib directory to have the following jars: tiles-api-2.0-r488734-SNAPSHOT tiles-co

Re: [s2] file upload causing param problems

2007-01-30 Thread Dariusz Wojtas
processing the action. I even disabled the filter - it did not fix it. I had no exceptions. The params were just not set. Now it seems to work but I am really not sure what exactly fixed the issue. I am using the default config, commons-upload with S2.0.4. Dariusz Wojtas On 1/30/07, bob <[EM

Re: [s2] Cannot create a session after the response has been committed: struts or tomcat ?

2007-01-29 Thread Dariusz Wojtas
I usually get IllegalStateException exceptions with Struts2 if there was an unexpected exception in my code, ie. from Hibernate. I can see Hibernate in your stack, are you sure this is not the reason of your problems? Is this the full stacktrace? Dariusz Wojtas On 1/29/07, bob <[EMAIL PROTEC

Re: s:datetimepicker not working

2007-01-28 Thread Dariusz Wojtas
build yourself. Look into wiki for details on this topic. Dariusz Wojtas On 1/28/07, xiao jie <[EMAIL PROTECTED]> wrote: hi: I am using struts 2 2.0.1 but how do I update it to 2.0.4? thanks a lot. Pam - To unsubscribe,

Re: s:datetimepicker not working

2007-01-28 Thread Dariusz Wojtas
Which version of S2 are you using? There were changes in this area in the last month. You need to use 2.0.3, or preferably 2.0.4 to use it this way http://people.apache.org/builds/struts/nightlies/2.0.x/ Dariusz Wojtas - To

Re: [S2] Putting a single html input type="text"

2007-01-28 Thread Dariusz Wojtas
f there were validation errors. Look at the 'core' jar for templates. Different themes may generate different output for tags. Dariusz Wojtas On 1/28/07, Omer Basar <[EMAIL PROTECTED]> wrote: Thanks Dave. -

[S2] What is the preferred way of exception handling (error 500 and similar)?

2007-01-26 Thread Dariusz Wojtas
I tried to declare error page in web.xml but I still see error 500 mesage in tomcat (5.5.x) result. Can I declare some global error page in Struts2? Or do I have to use some interceptor? Or what? If this matters I am using sitemesh with it. I am using one of S 2.0.4 snapshots. Regards Dari

[S2] To struts2 comitters, please include WW-1570 in 2.0.4

2007-01-25 Thread Dariusz Wojtas
ase :) Best regards Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2007-01-24 Thread Dariusz Wojtas
Hmmm, if this is so black-magic then who knows if you can still reproduce it tomorrow? What if IE dies in 'some other way'? Thanks for the info, the hope is back :) Best regards Dariusz Wojtas On 1/24/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: With your latest jsp fi

Re: Struts 2 and JDK 1.4

2007-01-23 Thread Dariusz Wojtas
'-advanced' (fails in runtime if this option was not used). Dariusz Wojtas On 1/24/07, Ted Husted <[EMAIL PROTECTED]> wrote: On 1/22/07, Dave Newton <[EMAIL PROTECTED]> wrote: > As was pointed out you may need to run retro with the -advanced (?) > option s

Re: [s2] adding an attribute to ajax link tag

2007-01-22 Thread Dariusz Wojtas
Try using indicator. It is shown in the showcase app. The indicator image can also be found in the showcase app. Edit Dariusz Wojtas On 1/22/07, Jeffrey Hau <[EMAIL PROTECTED]> wrote: Hi, there is a loadingText atrribute for the ajax link tag, is there anyway for me to disp

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

2007-01-20 Thread Dariusz Wojtas
issues under IE Thanks Dariusz Wojtas On 1/21/07, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: Hi Musachy, I have created an issue WW-1665 and attached 2 files Index.jsp and target.jsp. Place these files in 1 dir and open index.jsp. try to submit data, and switch the 'targets' attri

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

2007-01-20 Thread Dariusz Wojtas
jo.widget.html.Tooltip'; last tried '__package__.js' [Break on this error] throw _13||Error(_12); Best regards Dariusz Wojtas On 1/21/07, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: I will try to send it in 30 minutes. I will try to separate some part of my app into 2 JSPs. I hope

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

2007-01-20 Thread Dariusz Wojtas
I will try to send it in 30 minutes. I will try to separate some part of my app into 2 JSPs. I hope it shows the issue. Dariusz Wojtas On 1/20/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I tried to replicate this, so I added this to index.jsp on showcase under apps/showcase/src/main/

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

2007-01-19 Thread Dariusz Wojtas
I tried is that the 'myParentDiv' element is of type and the form is loaded by the browser in a separate request. But I tried to make both div elements to be declared with that preload their contents. It still works only if the target is not the parent div but the other div. Best Reg

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

2007-01-17 Thread Dariusz Wojtas
with both: anchor and input button submission. At least one submission method that works with remote forms in all scenarios Best regards Dariusz Wojtas On 1/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I think the problem is only with files right? On showcase there are several e

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

2007-01-16 Thread Dariusz Wojtas
Hi, Does the current form submission come from a problem in dojo? Or is this something else? What are the current conclusions about it? I do not want to be too annoying, this is just important for me. Any chance to have it working within a week or two? Best regards Dariusz Wojtas

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

2007-01-15 Thread Dariusz Wojtas
e - I could try to fix something myself, propose something. But with Javascript ... I can't do much. Dariusz Wojtas On 1/15/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Sorry for the name misspelling :) musachy Musachy Barroso wrote: > Dariouz > > There are two problems with

Re: [S2] Struts2 portlet app on JDK 1.4.2 - problem

2007-01-15 Thread Dariusz Wojtas
6.0 using JDK 1.4.2). I did not use any specific websphere descriptors. Pure servlet 2.3 (used in web.xml) and portlet.xml as described in wiki. + struts2 descriptors of course. That does not mean yet it works in all cases, but this is a good starting point. Thanks for help again Dariusz Wojtas

[S2] Struts2 portlet app on JDK 1.4.2 - problem

2007-01-15 Thread Dariusz Wojtas
means struts2 apps will not support 1.4.2? I know even this kind of support was unnoficial - but does it close any hope? regards Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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 PROTEC

[S2] Internationalisation of conversion type messages

2007-01-14 Thread Dariusz Wojtas
i18.properties file and define it in struts.properties but none of these solutions work. Other messages get translated but not these from type conversion. And how to translate the Invalid field value for field {0}. message? Any help? re

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 W

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 .

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

2007-01-14 Thread Dariusz Wojtas
ing;@18806f7' I have a form of theme 'ajax' and datetime properties still do not generate table row. I am saying that as I am not sure how our last discussion ended and what you are exactly asking for :) Using yestardays trunk build. regards Dariusz Wojtas On 1/14/07, Musachy Barr

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

2007-01-13 Thread Dariusz Wojtas
lt to say what exactly IE is doing because it fails as even the hidden param is not passed with the request. But IE at least makes that request to the server. Is submission of forms with files supperted by S2? I am using S2 trunk. Regards Dariusz W

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
es it print that error message? Dariusz Wojtas On 1/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: That's weird because if the value is being submitted, then the problem is not related to the tag, it should fail for a regular input also. musachy Dariusz Wojtas wrote: > my svn c

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
146043902153 Content-Disposition: form-data; name="rightSideCartoonCharacters" Donald Duck -146043902153 Content-Disposition: form-data; name="thoughts" -146043902153-- Dariusz Wojtas On

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
x27; with value '[Ljava.lang.String;@bb1ead' + a validation message in the JSP page - invalid field value for birthday. showcase was just build and freshly deployed. Best regards Dariusz Wojtas On 1/10/07, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: My code has not changed - except for th

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
My code has not changed - except for the tag name. Maybe something has changed in the interceptor area? How does a Date field get filled from the request? I will run the showcase and see how it behaves. Dariusz Wojtas On 1/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Hi Dariusz T

[S2] - autocompleter requires 'list' even if href is defined

2007-01-10 Thread Dariusz Wojtas
t find it. I am running yesterdays nightly build. Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] - datetimepicker not setting value

2007-01-10 Thread Dariusz Wojtas
ags parameters are unchanged. Page uses: Parent form uses theme 'ajax'. Is this a bug in the current trunk? Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] - select tag and supported data types.

2007-01-10 Thread Dariusz Wojtas
has problems with other value types. I would add the comment to the issue, but it is marked as fixed and I am not sure if it is still read by anyone. Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [S2] Struts 2 and portlets - I found some info

2007-01-09 Thread Dariusz Wojtas
ok, I have filled the CLA and sent it with fax. waiting for more :) Dariusz Wojtas On 1/9/07, Don Brown <[EMAIL PROTECTED]> wrote: Could you file a CLA [1] so that we could give you access to the wiki directly? As one of the few active portlet users on this list, it would be very helpf

[S2] Struts 2 and portlets - I found some info

2007-01-09 Thread Dariusz Wojtas
27;s correct name after migration to struts. Best regards Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 & JSON

2007-01-08 Thread Dariusz Wojtas
http://json.org/ Something of form: [["name", "id"], ["name", "id"]] or [["name", "id"], ["name", "id"],] Remember to escape special characters. Dariusz Wojtas On 1/8/07, André Faria <[EMAIL PROTECTED]> w

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread Dariusz Wojtas
. It's simpler than S1 and has much more power. But ... at the beginning you will spend some time even on simple things :) Dariusz Wojtas On 1/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dariusz Wojtas <[EMAIL PROTECTED]> wrote: > Want to have a bean separate from th

[S2] Struts 2 and portlets

2007-01-07 Thread Dariusz Wojtas
Does anybody have experience with Struts2, portlets and Websphere portal 6? Thanks for any response Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] How to separate Action from "FormBean"

2007-01-07 Thread Dariusz Wojtas
bean name; That's all :) Dariusz Wojtas On 1/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I just took a look at the tutorials of Struts 2 today. As a Struts 1 user, I don't like form beans that mostly copy your business data beans. In Struts 2, you don't need fo

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
I do not know if you did see my comment to WW-1605. It somehow produces endless loop ... Dariusz Wojtas On 1/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: ok, here is the right one: https://issues.apache.org/struts/browse/WW-1605 m

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
I am just sitting with a 2nd glass of a good red wine (no joke). If my future messages today are out of context - you know the reason :) Thanks for your time :) Dariusz Wojtas On 1/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I swear I haven't been drinking today :). I will do

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Dariusz Wojtas
URI with params (works with GET and POST - works for months). If this can help, IE shows an error message in the status bar: Could not load 'dojo.widget.html.Tooltip'; last tried '__package__.js' It is something general with the recent S2 from trunk. Dariusz Wojtas On 1/7

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
Maybe this fix helps, but for autocompleter. I asked for dropdowndatetimepicker :) Greetings Dariusz Wojtas On 1/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I logged this ticket with a simple patch: https://issues.apache.org/struts/browse/WW-1602 (remember to remove theme="aj

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Dariusz Wojtas
some custom tabular structure inside. Also some dojo scripts do not get loaded with current S2 - this could also be the reason ... Best regards Dariusz Wojtas On 1/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Hi Dariusz The remote forms example(and probably the tag) are broken right no

[S2] dropdowndatetimepicker questions

2007-01-07 Thread Dariusz Wojtas
want to dysplay it as 2 fields in the form, using dropdowndatetimepickers: date & time - what is the advised approach? I did not find any info in the docs/wiki about this. Thanks in advance Dariusz Wojtas - To unsubscribe, e-mail: [EM

[S2] Possible issue with remote form submission

2007-01-06 Thread Dariusz Wojtas
and Opera 9 Has anyone lse noticed this? Also some of the forms on that page uses 'afterLoading', 'beforeLoading' attributes that do not let this page compile by default. Best regards Dariusz Wojtas - To

[S2] - inner div, session timeout and login page

2007-01-06 Thread Dariusz Wojtas
v and load the result into the main window? Or some esy to define poller that automatically redirects to some page just before session expiring? or some other solution? I am pretty sure more people had this similar problem. Thanks in advance Dariusz W

Re: [S2] struts2-portlet application problems

2007-01-04 Thread Dariusz Wojtas
.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:153) ... 129 more I am trying to do my best to try portlets with struts2 but so far it does not work for me. Any advises what can be wrong? Best regards Dariusz Wojtas On 1/3/07, Dariusz Wojtas <[EMAIL

[S2] struts2-portlet application problems

2007-01-03 Thread Dariusz Wojtas
the issue still remains. I am trying to run it under JBoss 4.0.5 and have plans to test it under Websphere. Can anybody help me with this? Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [S2] - access to the action from a JSP page

2007-01-03 Thread Dariusz Wojtas
. Dariusz Wojtas On 1/3/07, Dave Newton <[EMAIL PROTECTED]> wrote: From: Dariusz Wojtas [mailto:[EMAIL PROTECTED] > I know how to access it using tags, but what I want is to access it > with plain Java inside a scriptle area. > Something similar to this: > > &l

[S2] - Struts2, portlets and Websphere Portal

2007-01-03 Thread Dariusz Wojtas
using it also with sitemesh in such app? I have downloaded the portlet sample app for struts 2 and will try to run it, but I would also ask for opinions of people that have some experience in it. Thanks in advance Dariusz Wojtas

Re: Problem with encoding

2007-01-03 Thread Dariusz Wojtas
I was just going to recommend the same app. Works for me with 3.2 But there is also a standalone JNLP app. Works perfectly. Dariusz Wojtas On 1/3/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: Mike Baroukh ha scritto: > Do you know if there is a way to tell him to do it auto

Re: [S2] Strange problem with Date handling

2007-01-01 Thread Dariusz Wojtas
st regards Dariusz Wojtas On 1/1/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I had a similar problem before, are you using Spring 2 with S2? If you are, remember to set scope="prototype" in applicationContext.xml for your action bean musachy Dariusz Wojtas wrote: > Now I a

Re: [S2] autocompleter, predefining initial value

2006-12-31 Thread Dariusz Wojtas
and it started to work. Best regards Dariusz Wojtas On 12/31/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: With the "Object error" and the encoding problem out of the way I will start looking at other problems next year :) regards musachy Dariusz Wojtas wrote: > Hi Musac

[S2] Strange problem with Date handling

2006-12-31 Thread Dariusz Wojtas
w the problem down, and this is the property left. Without this param in URL the action executes. Using Struts 2, 2.0.3 snapshot from trunk. Regards Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [S2] autocompleter, predefining initial value

2006-12-31 Thread Dariusz Wojtas
dojo: wrote: Both problems should now be fixed on IE 6. regards musachy Musachy Barroso wrote: > I will fix it so it ignores that null value. UTF-8 works. > > regards > musachy > > Dariusz Wojtas wrote: >> I am not really sure if it worked before, both autcompleter

Re: [S2] Redirecting to another action with preserving error messages

2006-12-30 Thread Dariusz Wojtas
r your valuable tips. They are valuable. I will use the session approach probably, fits most use cases, but I was wondering if it is possible to reuse the messages/errors in the same request across different actions. Best regards Dariusz Wojtas On 12/30/06, Nick Tucker <[EMAIL PROTECTED]> wrote:

Re: Problems with special characters in an ActionForm

2006-12-29 Thread Dariusz Wojtas
configure your app server to use the required encoding. Tomcat supports it, most likely other app servers also - but this is app server specific setting. Regards Dariusz Wojtas On 12/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I have a simple action form where users can ente

Re: [S2] Redirecting to another action with preserving error messages

2006-12-29 Thread Dariusz Wojtas
? Dariusz Wojtas On 12/30/06, Nick Tucker <[EMAIL PROTECTED]> wrote: Hi If you are always going to display the same message then you could get the action you redirect to to display the message. I have done this to get "Processing Successful" messages output after updates e.g.

Re: index.action problem

2006-12-29 Thread Dariusz Wojtas
file in the order specified in the deployment descriptor to the partial request and check whether a static resource or servlet in the WAR is mapped to that request URI. TheWeb container must send the request to the first resource in the WAR that matches." If you have problems with dynamic

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Dariusz Wojtas
The latest patch fixed all issues that I had before with this tag. I tested it with various displayFormat values -MM-dd MM dd-MM- and it always worked as expected. Thanks a lot. Dariusz Wojtas On 12/29/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: I attached a new pa

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Dariusz Wojtas
That's even better idea :) If you know how - I am 100% with you. Darek On 12/29/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: I don't think we need to submit two at all, just one on the RFC 3379 format (the one that works), the other one, which is the one on the textbox should be prefixed with

Re: [s2] dropdowndatetimepicker

2006-12-29 Thread Dariusz Wojtas
It could mean: hidden 'end' field using the standard save format - matches the Date property in form displayed 'endDisplay' field using the display format - not needed in Form, may be ignored I know this is not something new, but if it works for autocompleter ... Best regards

Re: [S2] autocompleter, predefining initial value

2006-12-28 Thread Dariusz Wojtas
l work? Should I change something in the json list generation or the autocompleter will recognize such case? Dariusz Wojtas On 12/28/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: This is what I found so far, there are 2 problems, one is that when there is a json array like: [ ["A&q

Re: [S2] autocompleter, predefining initial value

2006-12-28 Thread Dariusz Wojtas
pty all the time) When I open the error console in Opera - I see some warnings and errors. Best regards Dariusz Wojtas On 12/28/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: Is showcase working for you? On IE I'm getting a "Error: System error: -1072896658". Some people have h

Re: [S2] autocompleter, predefining initial value

2006-12-28 Thread Dariusz Wojtas
our under Firefox and IE. Sorry for the false report before. Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] autocompleter, predefining initial value

2006-12-28 Thread Dariusz Wojtas
ot generate requests to the server to load carModel. Dariusz Wojtas On 12/28/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: Dariusz Wojtas wrote: > > But If I open such page [the same values preloaded] and just click > somewhere in that autocompleter [no changes] and leave the

Re: [S2] autocompleter, predefining initial value

2006-12-28 Thread Dariusz Wojtas
th options. Best regards Dariusz Wojtas On 12/28/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: Hi Dariusz I need to update the documentation with this info, the thing is that for each autocompleter, struts will create 2 fields, one for the text entered, with the name "${name}&quo

[S2] Redirecting to another action with preserving error messages

2006-12-28 Thread Dariusz Wojtas
ion) is not available. Any suggestion how to call another action that does not need any params and still have the error messages displayable? Solution b) successfully redirects but issues another requests from the browser and that way I lose my error message. I am using struts

Re: [S2] autocompleter, predefining initial value

2006-12-28 Thread Dariusz Wojtas
the value? What if the property postfix changes? [I think it did recently]. Any hints on that? Thanks a lot, I am really trying not to complain, I really see improvements but there is still a lot to be done ;( Best regards Dariusz Wojtas On 12/27/06, Musachy Barroso <[EMAIL PROTECTED]&g

[s2] dropdowndatetimepicker

2006-12-22 Thread Dariusz Wojtas
displayFormat="dd-MM-" saveFormat="-MM-dd" /myAction.action?=2006-12-22&date1=22-12-2006&=2006-12-23&date2=23-12-2006 Such request produces stacktrace. Looks like the datepicker has empty names for the additional properties containing values

Re: [S2] s:iterator and s:checkboxlist inside (using 2.0.2 trunk)

2006-12-22 Thread Dariusz Wojtas
tag. ${group.desc} Can somebody say what caused problems in the previous code I have sent? Why did it work on the 1st invocation and failed on all other calls? Dariusz Wojtas On 12/22/06, Dariusz Wojtas <[EMAIL PROTECTED]> wrot

[S2] s:iterator and s:checkboxlist inside (using 2.0.2 trunk)

2006-12-22 Thread Dariusz Wojtas
27;s the same page! The same code and the same data. After restarting the app it is again the same behaviour. My debugs in the actions (getters) show that the same data is returned in all cases. What am I doing wrong? Dariusz Wojtas --

Re: Display a list of items in multiples HTML files but within one JSP and action

2006-12-21 Thread Dariusz Wojtas
f such actions/tables. It only loads the beans that need to be displayed, with sorting done in DB. This one works perfectly for me (after fixing some displaytag annoyances). Will anyone else share other ideas? Dariusz Wojtas On 12/21/06, Fabio Miranda Hamburger <[EMAIL PROTECTED]> wrote:

Re: [S2] - access to the action from a JSP page

2006-12-21 Thread Dariusz Wojtas
uot;; } JSP: Or did I misunderstand you? Hth, Peter -Original Message- From: Dariusz Wojtas [mailto:[EMAIL PROTECTED] Sent: den 20 december 2006 22:29 To: Struts Users Mailing List Subject: [S2] - access to the action from a JSP page Hi, Can somebody help me and give an example how

[S2] - access to the action from a JSP page

2006-12-20 Thread Dariusz Wojtas
Hi, Can somebody help me and give an example how to access the 'parent' action from a JSP page? Lets say I have MyTestAction which redirects to 'page.jsp'. How do I get access to the action (it's properties?) <% MyTestAction act = ... ? %> Darek

Re: read/display image from Database using struts

2006-12-18 Thread Dariusz Wojtas
assing of blobID may be done in many ways, this way gives you chance to pass nice URLs without questionmarks, etc. Something of type /dbImg/123456.jpg /dbImg/123456.png etc. Dariusz Wojtas public class MyBlobImageServlet extends HttpServlet { public static final long EXPIRY_PERIOD = 6

Re: read/display image from Database using struts

2006-12-18 Thread Dariusz Wojtas
Custom servlet which retrieves data from DB, writes it to the output stream. It should define correct headers first (mimeType, Expires, Date). Map it to some url like /images/* and you may pass identifiers by composing URLs like /images/.jpg Dariusz Wojtas On 12/18/06, Kranti <[EM

Re: [S2] autocompleter, predefining initial value

2006-12-17 Thread Dariusz Wojtas
:) Thanks a lot. Dariusz Wojtas On 12/17/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: Making the autocompleter reload its content while typing was easier than expected :). Do you think it would be better to have that behavior , or the current one, by default? m

[S2] autocompleter, predefining initial value

2006-12-15 Thread Dariusz Wojtas
Hi, I am using Struts 2.0.2, trunk. I have an action (/listy/kodyPocztowe) that returns postal codes [id, name] and another action that server a form (form points to the same action back). How to define the initial value in the autocompleter field? Even if I submit the form and it reloads with

Re: S2 with eclipse/WTP

2006-12-15 Thread Dariusz Wojtas
clipse build path by: clicking on the project preferences, Java Build Path, Default Output Folder. Just specify some other directory. Now it seems to work. Side note From time to time my struts 2 compilation in maven only works if I fetch xwork sources into the same parent dir as struts2. Darius

Re: [S2] the autocompleter tag - the href value

2006-12-15 Thread Dariusz Wojtas
Works perfectly now. Most likely maven had issues with the compiling struts2 code into the same directories as eclipse. After I pointed eclipse to compile into separate directories - maven started to work as expected. Thanks for help Darek On 12/15/06, Musachy Barroso <[EMAIL PROTECTED]> wrote

  1   2   >