Struts2: Ajax call throws an exception -- catch?

2008-02-21 Thread Otto, Frank
hi, I use ajax (yui) with struts2. My method throws an exception, if there is something wrong. How is the best way to catch the exception? kind regards, Frank

AW: struts1 and struts2 together

2008-01-29 Thread Otto, Frank
hi nagendra, yes, you can use struts1 and struts2 together. take a look at: http://www.infoq.com/articles/converting-struts-2-part1 it's a good tutorial to migrate a app to struts2. kind regards, frank -Ursprüngliche Nachricht- Von: nagendrabvvs [mailto:[EMAIL PROTECTED] Gesendet:

AW: struts2/dojo: duplicate events (struts 2.0.11)

2008-01-24 Thread Otto, Frank
hi, has no one an idea? kind regards, frank -Ursprüngliche Nachricht- Von: Otto, Frank [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 23. Januar 2008 12:18 An: 'user@struts.apache.org' Betreff: struts2/dojo: duplicate events (struts 2.0.11) hi, I have a ajax div (div1) in another

struts2/dojo: duplicate events (struts 2.0.11)

2008-01-23 Thread Otto, Frank
hi, I have a ajax div (div1) in another ajax div (divGrp1). I publish the event refreshDivGrp1 to divGrp1, the div1 was recreate and the event refreshDiv1 was subscribed twice. Here are the debug messages: DEBUG: [divGrp1] Listening to refreshDivGrp1 to refresh DEBUG: [div1] Listening to

struts 2.1: dojo plugin

2008-01-22 Thread Otto, Frank
hi, where can I find the dojo plugin für struts 2.1? kind regards, Frank

AW: struts 2.1: dojo plugin

2008-01-22 Thread Otto, Frank
where can I find the source? I have no experience with maven. -Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 22. Januar 2008 15:12 An: Struts Users Mailing List Betreff: Re: struts 2.1: dojo plugin --- Otto, Frank [EMAIL PROTECTED] wrote

struts1 and struts2 together

2008-01-22 Thread Otto, Frank
hi, I have an old struts1 application. Now, I want to use struts 2 for a new part of them (ajax configurator). With the struts 2.0.11 version it work's fine, but If I upgrade to struts 2.1.0 snapshot, I will get many errors, especially NullPointerExceptions. Is it possible to use struts1

AW: logic:iterate - editable table

2008-01-16 Thread Otto, Frank
hi, you can use the attribute indexed=true in html:text tag. or in complex cases: logic:iterate name=myForm property=myList id=list indexId=loop html:text name=myForm property=%=myList[ + (loop.intValue()) + ].myProperty%/ /logic:iterate kind regards, frank -Ursprüngliche

struts 2.0.11: autocompleter

2008-01-15 Thread Otto, Frank
hi, I have 6 autocompleter. The first refreshs the second, the second the third and so one. But If I clear the second autocompleter value, so that the combo box is empty, the notifyTopics-Event will not be send. Has someone an idea? I have to refresh the third combo box and then the next...

struts 2.0.11: autocompleter and notify-/listenTopics

2008-01-14 Thread Otto, Frank
Hi, I have 6 autocompleter combo boxes. The first refresh the second, the second the third and so one. I use notifyTopics and listenTopics: s:autocompleter id=cmb1 notifyTopics=refresh2 .../ s:autocompleter id=cmb2 notifyTopics=refresh3 listenTopics=refresh2 theme=ajax url=%{myUrl).../

AW: struts 2.0.11: autocompleter and notify-/listenTopics

2008-01-14 Thread Otto, Frank
the request succeeds, or 'error' when it fails * request: request javascript object, when type='load' or type='error' -Ursprüngliche Nachricht- Von: Otto, Frank Gesendet: Montag, 14. Januar 2008 14:43 An: 'user@struts.apache.org' Betreff: struts 2.0.11: autocompleter and notify

struts 2.1 release date

2008-01-11 Thread Otto, Frank
hi, is there a deadline for struts 2.1 release? I have download the nightly build, but I can't find the new dojo plugin. kind regards Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

struts 2 and ognl

2008-01-10 Thread Otto, Frank
hi, how can I build a ognl variable dynamic? Example: I have an iteration with different url-definitions, because I need always another parameter (index): s:iterator value=myList id=list status=stat ... s:url id=myMethod%{#stat.index} action=test_myMethod.action

AW: struts 2 and ognl

2008-01-10 Thread Otto, Frank
hi, thanks for your answer. how can I build a ognl variable dynamic? Example: I have an iteration with different url-definitions, because I need always another parameter (index): s:iterator value=myList id=list status=stat ... s:url id=myMethod%{#stat.index}

DATA_SOURCE_KEY in Struts 1.3.8?

2007-03-26 Thread Otto, Frank
Hi, I have used struts 1.2 in my app. Now, I want to upgrade to struts 1.3.8 and I get the error cannot find symbol Globals.DATA_SOURCE_KEY. I don't find information in the struts javadoc, what I have to use instead. Can someone help me? kind regards, Frank

AW: DATA_SOURCE_KEY in Struts 1.3.8?

2007-03-26 Thread Otto, Frank
au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Otto

struts and xsl

2005-09-02 Thread Otto, Frank
Hi, i want to use xsl with struts. For example I want to generate html or pdf from a xml file. what is the best way to do this? I have seen stxx, but this doesn't work with struts tiles. Or is this possible? kind regards, frank

AW: img source path constructed inside an iterate tag

2005-09-02 Thread Otto, Frank
hi, you can do this in this way: logic:iterate name=promptList type=my.bean.type id=element img src=/module/image-directory/bean:write name=element property=gifName/ alt=bean:write name=element property=name/ a href=/module/action-path/bean:write name=element

convert NCR formated string

2004-12-02 Thread Otto, Frank
Hi, I want to convert a NCR formated String to a normal string. for example: spó#322;k#281; My problem is that I have an input field, in which the use can change text. But he couldn't see it with the right characters, but NCR formated. If I show this text in a jsp page it will function

AW: UTF-8 encoding in html form

2004-11-30 Thread Otto, Frank
Hello, thanks for your answer, but how can I do that the polish characters submitted correctly? f.e.: character #281; (\u0119). How can I convert this character to unicode. In the same way, that native2ascii do this. Is there any possibility? I use a servlet filter too. kind regards, Frank

UTF-8 encoding in html form

2004-11-29 Thread Otto, Frank
Hi, I have a html form. The user can input text in ISO-8859-2 format. After submit the form the characters are wrong. I don't know why. I have set %@ page contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% and there is a filter (filters.SetCharacterEncodingFilter) to encode UTF-8.

problem with unicode

2004-11-15 Thread Otto, Frank
Hi, I have a problem with display of characters in latin-1. for example: The properties file contains the unicode \u0119, but the character is not displayed. If I use #x0119; it will be displayed. I use bean:message key=my.text/ Has someone a solution? Regards, Frank

AW: OT: hosting recommendations?

2004-11-15 Thread Otto, Frank
hi, take a look at www.starline-inc.de, it is a german jsp hoster. We work with starline more than 2 years and we are statisfied. Starline has good prices and features in his packages. Regards, Frank -Ursprüngliche Nachricht- Von: Jesse Alexander (KBSA 21) [mailto:[EMAIL

AW: problem with unicode

2004-11-15 Thread Otto, Frank
tag it is wrong. -Ursprüngliche Nachricht- Von: Guillaume Cottenceau [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. November 2004 10:10 An: [EMAIL PROTECTED] Betreff: Re: problem with unicode Otto, Frank otto 'at' delta-barth.de writes: I have a problem with display

AW: AW: problem with unicode

2004-11-15 Thread Otto, Frank
. But if I use message tag it is wrong. -Ursprüngliche Nachricht- Von: Guillaume Cottenceau [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. November 2004 10:10 An: [EMAIL PROTECTED] Betreff: Re: problem with unicode Otto, Frank otto 'at' delta-barth.de writes

struts and iText

2004-08-03 Thread Otto, Frank
Hi, I have generated a pdf with iText. In my action class I want to write it in the response object. The result should be a jsp-page with content pdf generated successful and a link to this pdf. The pdf should be shown in a new browser window too. Has someone do this? How can I do this?

AW: struts and iText

2004-08-03 Thread Otto, Frank
a number of tested cache-libraries) - could make the PDF available also to other users (depends on the use-case and the cache-library) hope this helps Alexander -Original Message- From: Otto, Frank [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 9:18 AM To: '[EMAIL

struts-config.xml in jar file

2004-05-03 Thread Otto, Frank
Hi, I have a jar file, that contains a struts-config.xml. Is it possible to set the init parameter in web.xml, that struts find this struts-config file? init-param param-nameconfig/param-name param-value???/param-value /init-param Regards, Frank

AW: execute() method running twice

2004-04-21 Thread Otto, Frank
Hi, I had the same one last year. The solution was: I had a table tag with background attribute and this contains a #. If I had remove this, the action will not executed twice. Pherhaps it's help you. Regards, Frank -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL

AW: Validator Framework

2004-04-20 Thread Otto, Frank
Hi, I think you can define two names for one form. form-bean name=form1 type=test.CFormClass / form-bean name=form2 type=test.CFormClass / So you can use different validations. Regards, Frank -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet:

AW: How to use logic:lessThan with non-constant values?

2004-04-20 Thread Otto, Frank
Hi, you can do this in this way: bean:define id=step bean:write name=STANDARDQUERY property=step/ /bean:define logic:greaterThan name=STANDARDQUERY property=currentStep value=%=step% html:submit property=submit.stepBackward bean:message

AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
On 04/07/2004 08:10 AM Otto, Frank wrote: Hi Adam, I use the validation.xml in this way: !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN http://jakarta.apache.org/commons/dtds/validator_1_1.dtd; form name=loginForm

AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
to check it out. I now have a test validate.xml with only one form, one field and one arg, and that has the bundle attribute on it. Perhaps it wants me to specify what that bundle is somehow. Frank, what error do you get? Any exceptions? Adam On 04/07/2004 08:10 AM Otto, Frank wrote: Hi Adam

AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
with struts 1.2 Hi NO, they don't ! Are you sure you are looking at validation_1.1.dtd ? Mine is from last nights build Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 7. april 2004 10:18 Til: 'Struts Users Mailing List' Emne: AW: AW: AW: SV: validation with struts

AW: validation.xml

2004-04-07 Thread Otto, Frank
Hi, you have to extend your form from ValidatorForm. Frank -Ursprüngliche Nachricht- Von: Zakaria khabot [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 12:56 An: Struts Users Mailing List; Struts Developers List Betreff: validation.xml Hi all, How to call the validator

AW: SV: validation with struts 1.2

2004-04-06 Thread Otto, Frank
as I know Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 6. april 2004 09:24 Til: 'Struts Users Mailing List' Emne: AW: validation with struts 1.2 And is there any solution? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto