[S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Dariusz Wojtas
Hi I have just built Struts 2.0.2 snapshot based on the latest svn code (03 Dec 2006). I can see huge improvement over the 2.0.1 code in tabbedPanel handling, also the default css styles are much nicer. But here are some questions about this: 1) Does it really need to download 500+ kB of javascr

Re: [S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Dariusz Wojtas
luated in the same method: findStaticResource(String, HttpServletResponse) A little extra condition and the issue with resending full content all-the-time is fixed. I could send a patch if there is some interest in it. Best regards Dariusz Wojtas --

Re: [S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Dariusz Wojtas
... Dariusz Wojtas On 12/5/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: I think there should be two jira tickets, one with the Dojo stuff(I created one for that already), and another with the servlet/date stuff. On a side note, I created a custom profile and compiled Dojo(really easy) and ever

[S2] Is there a modal dialog component in the current impl?

2006-12-06 Thread Dariusz Wojtas
Hi, Is there a component in the current code to show a modal dialog or 'Accordion' (as shown on the DojoTooklit website)? If not - I could try to help in this area. Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL

Re: Struts2: How can I make a Filter redirecting to struts actions

2006-12-07 Thread Dariusz Wojtas
next filter/servlet would be fooled by this switch and their calculations (ie. finding what action should be executed) would be done on data prepared by you. Best regards Dariusz Wojtas, Poland On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi everybody, I have experimented

Re: to format a date

2006-12-07 Thread Dariusz Wojtas
I am not sure if I understood you correctly. I am formatting dates using jstl: <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %> Dariusz Wojtas On 12/7/06, Nabil ALI-MOUSSA <[EMAIL PROTECTED]> wrote: Hi, I have data dates that I would like t

[S2] Modal Window - any hint?

2006-12-12 Thread Dariusz Wojtas
My Struts2 app contains a form with multiple tabs (tabbedPanel). Some of my input fields represent foreign keys and I'd like to have a functionality of pressing a button that opens a dialog (possibly a modal dialog/window), loads some data into it (tabular, possibly multipage with displaytag), sel

[S2] the autocompleter tag - TLD out of sync

2006-12-14 Thread Dariusz Wojtas
th and waiting the given delay. And what units does the searchDelay accept? seconds or millis? Best regards Dariusz Wojtas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] the autocompleter tag - TLD out of sync

2006-12-14 Thread Dariusz Wojtas
You answer at the speed of light ;) Thanks a lot. Dariusz Wojtas On 12/14/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: The autocompleter is like 2 weeks old, be patient with it :). The attribute is "delay", and the units are milliseconds. About typing...that is a little bit t

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

2006-12-14 Thread Dariusz Wojtas
.action' sample a) works this way (correctly), but both b) and c) produce '/esu/esu/listy/kontrahenci.action' which means that the app prefix is added twice and the action cannot be found by the tag. a) b) c) Am I doing someth

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

2006-12-14 Thread Dariusz Wojtas
I tried the 'url' way first, but it did not work for me. 'url' but it creates links with double application context in front for autocompletes. samples b) and c) show this. Dariusz Wojtas On 12/14/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: You need to use the

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

2006-12-14 Thread Dariusz Wojtas
This is the result of autocomplete for b) and c) the dataUrl is wrong, one '/esu' too much. At the same time A which uses the same 'url' identifier produces correct link A Dariusz Wojtas On 12/14/06, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: I tried the '

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

2006-12-14 Thread Dariusz Wojtas
am not an expert in maven, will try it tomorrow again. it's after midnight here ... Thanks for your help Dariusz Wojtas On 12/15/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: Showcase is working and it has this: Are you working with head svn? Because it was behaving as you say(

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

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

[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] 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

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: 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

[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: [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

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:

[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: [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] 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] 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] 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
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

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
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
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
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] 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] 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
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: 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] 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: 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-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: [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

[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
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

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: 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

[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: [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-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] 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] - 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

[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] 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

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

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
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
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] 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] 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] 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: 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

[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: [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] - 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

[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] - 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]

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

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
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
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

[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] 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

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
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

[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] 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] 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] 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

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

[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] 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

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-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-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
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] 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: 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] 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

[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]

[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

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. -

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: 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: [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: [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: 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] 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: [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

[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] 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

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

  1   2   >