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

2004-02-17 Thread Sniadach, Tomasz
try this onmouseover=status='nbsp;';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

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

exception handling

2004-02-16 Thread Sniadach, Tomasz
Hi again :) Can I handle all exceptions in Struts? I tried in my struts-config: exception key=events.error.runtime type=java.lang.Exception path=jsp/Error.jsp/ /global-exceptions When I call a JSP where i make a NulPointerException , then i see not my Error.jsp. Is there

AW: html:button and Javascript

2004-02-13 Thread Sniadach, Tomasz
abt the second one especially the quotes...u can give it try - Original Message - From: Sniadach, Tomasz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 12, 2004 9:11 PM Subject: html:button and Javascript Hello , i have a problem with the html:button tag. i have

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: html:button property=send onclick=location.href='%=mystring%' / but it does not work. What is wrong ? Thanks for help Tomek

newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
Hi experts :), is it possible to add a request parameter to html:form ? In html:link 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: 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 html:link page=/myAction.do name=paramsLink/html:link myAction.do forwards to a JSP, let´s say Form.jsp. Here is my form html:form action=/myAction2.do method=post ... and

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

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