html:options with validate

2004-02-17 Thread Sniadach, Tomasz
hi , i have an ActionForm with countries in html:options , there are some other fields, that i have to validate. So, when i submit and errors occur, the field selected in countries is set to default. Is there a way to mark the selected field? The other fields (text fields) are not cleared. In my

AW: sorry --- not a struts related question.

2004-02-17 Thread Sniadach, Tomasz
try this onmouseover="status=' ';return true;" Tomek -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 17. Februar 2004 12:47 An: [EMAIL PROTECTED] Betreff: sorry --- not a struts related question. Hi, I have a button (.gif) object and on "m

exception handling

2004-02-16 Thread Sniadach, Tomasz
Hi again :) Can I handle all exceptions in Struts? I tried in my struts-config: When I call a JSP where i make a NulPointerException , then i see not my Error.jsp. Is there someting else what I have to do, if I want to handle exceptions in struts ? thanks for help Tomek

AW: html:button and Javascript

2004-02-13 Thread Sniadach, Tomasz
like this try this: <% String onClickString = "location.href" + myString; %> another way u can do this is by using html_rt tags: i am not sure abt the second one especially the quotes...u can give it try - Original Message - From: "Sniadach, Tomasz" <[

html:button and Javascript

2004-02-12 Thread Sniadach, Tomasz
Hello , i have a problem with the html:button tag. i have a string in my JSP, this is an action, now i have to use a button to link to the action. I tryed: but it does not work. What is wrong ? Thanks for help Tomek

AW: newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
ok, i don´t know if we understand us :) I have in a session a HashMap with parameters and i use it in other JSP´s with Link myAction.do forwards to a JSP, let´s say Form.jsp. Here is my form ... and here i need to give in the action of form my params. How can i reach it ? Tomek -Ursprün

AW: newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
Yes it is a possibility, but i have already a bean with needed params. I thought, there is a nice way to add it. But thanks for answer. Tomek -Ursprüngliche Nachricht- Von: Markus [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 4. Februar 2004 11:41 An: Struts Users Mailing List Betreff:

newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
Hi experts :), is it possible to add a request parameter to ? In i can add a bean with name="params", but i cannot use it on html:form. Is there a trick to add the bean as request parameter ? Thanks for help Tomek

AW: sort and iterate

2004-01-21 Thread Sniadach, Tomasz
-description that "...This class makes no guarantees as to the order of the map; in particular, it does not guarantee that the order will remain constant over time..." you might try LinkedHashMap instead. cheers martin -- Urspruengliche Nachricht ------ Von:

sort and iterate

2004-01-21 Thread Sniadach, Tomasz
Hi, I am new to struts and have a little problem. I iterate a HashMap. When i do this with Java, then i have elements that are sorted by date (this make an another method), i mean, i have a sorted Map. When i use the logic:iterate tag the elements are not sorted. Is there an option to sort ? thx f