AW: html:javascript question

2004-03-24 Thread Andreas Solarik
Well, I believe that you are not allowed to mix static and dynamic text within a JSP, so something like alert(Error message: bean:write name=msg/); should fail. I read once that enclosing the dynamic text in single quotes whould work (never tried it though). One solution that I do know

AW: html:javascript question

2004-03-24 Thread Andreas Solarik
nice one, didn't even occur to me to do this. Andreas -Ursprüngliche Nachricht- Von: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. März 2004 16:05 An: Struts Users Mailing List Betreff: RE: html:javascript question var myMessage = bean:write name=msg /;

AW: Re[2]: are you sure?

2004-03-23 Thread Andreas Solarik
Wow, I'm confused. If javascript was disabled, the onSubmit trigger was ignored, but the button onClick trigger was honored? I'll have to try that out. Andreas -Ursprungliche Nachricht- Von: Dmitrii CRETU [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Marz 2004 11:09 An: Struts Users

AW: Single Checkbox Required

2004-03-18 Thread Andreas Solarik
hi sam first off, javascript is not really fun, but here goes. your form should have the same name as the formbean you associate with it. you can check this in the html code generated from your jsp. the html:form tag does not supply an attribute for setting/overriding the name of the form

AW: Cannot initialize RequestProcessor

2004-03-17 Thread Andreas Solarik
Hi Uma, Did you reference the RequestProcessor with its fully qualified class name in struts-config? I guess you must have, otherwise you wouldn't have gotten that great error msg. Anyway, it might look something like snip controller processorClass=a.b.c.ClassName debug=0

AW: server side date validation

2004-03-16 Thread Andreas Solarik
I guess if one really, really wanted to, one could perform the validation in java using something along the lines of the SimpleDateFormat class. Though I do see the advantage of letting the validator handle the chore for you. Andreas -Ursprüngliche Nachricht- Von: Anderson, James H [IT]

AW: non-ascii characters

2004-03-16 Thread Andreas Solarik
Yo Dan, I'm sure you meant RTM? Andreas -Ursprungliche Nachricht- Von: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. Marz 2004 03:22 An: Struts Users Mailing List Betreff: RE: non-ascii characters I have a database with ISO 3166 country names and codes that I use

AW: help in java script

2004-03-15 Thread Andreas Solarik
Hi Andrew and Shobhana, As far as I know, you cant mix static text and dynamic text within a JSP. If I remember correctly, something like the following code should work. % String tempString=javascript:find( + value + \;; // Not sure about the semicolon... % and then: html:text size=20

AW: SV: Form Validation

2004-03-15 Thread Andreas Solarik
Hi guys! Just something I believe to be true: Aren't most systems compromised by incorrect configuration? I believe the second most common weakness must be the postponement of patches to buggy software - see for example the whole alphabet of worms working their way through IIS and Outlook

AW: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Andreas Solarik
Yeah, you're right, its just a name. Something similar can be said for the following slogans: 1. Electrolux (vacume cleaners / hoovers) tried to enter the American market with the ingenious slogan Nothing sucks like an Electrolux (I'm so not kidding) 2. Chevrolet tried selling Chevy Nova's in

AW: Reporting + Struts

2004-03-11 Thread Andreas Solarik
Hi Mohamed! Damn, that was a cryptic post. Now you've gone and sparked my curiosity: what rules didn't you follow while snipworking in Actuate the Reporting tool and in J2EE/snip? Regards, Andreas -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet:

AW: help about struts

2004-03-11 Thread Andreas Solarik
Hi Erol, I suppose you have already visited http://jakarta.apache.org/struts/learning.html, so I'll tell you how I started. First I installed tomcat, then I deployed the example application (by putting the .war file in the webapps directory of tomcat). After clicking around a little I started to

AW: AW: help about struts

2004-03-11 Thread Andreas Solarik
directory of tomcat. (which war file?) If you have a free time, please tell me setup step by step Thanks. Erol Andreas Solarik [EMAIL PROTECTED] wrote:Hi Erol, I suppose you have already visited http://jakarta.apache.org/struts/learning.html, so I'll tell you how I started. First I installed tomcat

AW: textarea

2004-03-11 Thread Andreas Solarik
Just a guess, but if the method field of the form is set to GET, then you can only transfer a limited amount of data. If you have set the method to POST, then I'm at a loss. Andreas -Ursprungliche Nachricht- Von: as as [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 11. Marz 2004 14:46

AW: AW: textarea

2004-03-11 Thread Andreas Solarik
, Thanks for the quick reply. I am using struts form tag as follows. wondering ,syntax wise, how I can mention form method as GET...in this tag. Thanks in advance, Sam. html:form action=teacherDisplay name=teacherForm type=com.model.TeacherForm Andreas Solarik [EMAIL PROTECTED] wrote: Just

AW: bean:message format ssn

2004-03-11 Thread Andreas Solarik
Hi Kumar, when you look at the documentation for bean:write (http://jakarta.apache.org/struts/userGuide/struts-bean.html#write) you can find that it allows formating. Bean:message looks like it does not support this feature - which kind of makes sense when you consider what its used for (lookup

AW: AW: bean:message format ssn

2004-03-11 Thread Andreas Solarik
Ah, I guess I misunderstood your previous post. Maybe this will help you along? snip Use the formatKey attribute if you want to pull it from message resources. Have a look at java.text.DecimalFormat for an explanation of formatting patterns for decimal numbers. /snip The above code came from

AW: Error in message resources

2004-03-09 Thread Andreas Solarik
Quoting Ted from a forum on JGuru: snip Re[2]: More info: Cannot find message resources under key org.apache.struts.action.MESSAGE Topic: Struts Ted Husted PREMIUM, Feb 10, 2003 Under b3 and later, you may need to specify the messages resources in the struts-config: message-resources

[OT] copyrighted documents in Struts package

2004-03-09 Thread Andreas Solarik
So, is it just me, or are licensing and copyrighting rather unrelated issues? -Ursprungliche Nachricht- Von: Kevin Wang [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 09. Marz 2004 16:31 An: Struts Users Mailing List Betreff: Re: copyrighted documents in Struts package If those files

AW: [OT] Automatic generation of class diagrams

2004-02-25 Thread Andreas Solarik
Hi Manish If it doesnt have to be an 'ant tool', then I can recommend TogetherJ, or argouml (argouml.com) if it has to be free. andreas -Ursprungliche Nachricht- Von: Manish Singla [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Februar 2004 04:36 An: [EMAIL PROTECTED] Betreff: [OT]

AW: spontaneous disappering ApplicationResources.properties

2004-02-23 Thread Andreas Solarik
Ages ago, while using JBuilder5, we found a similar problem. Any editing of text files belonging to the war (web.xml, app.properties...) was lost if it was performed while the integrated tomcat was running (copied an old version of the file from some cache over the original files when it was