AW: Container Managed Authentication

2003-05-28 Thread Hirschmann, Bernhard
Is there a documentation or a how-to around for CMA support in Struts? I found this to be helpful, although it is not struts-specific: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html If you are not using Tomcat, here is a more general explanation from the JWSDP tutorial

AW: AW: AW: Question about html:select (again)

2003-02-28 Thread Hirschmann, Bernhard
, 28. Februar 2003 00:44 An: Hirschmann, Bernhard Betreff: Re: AW: AW: Question about html:select (again) That's funny, I did attach it. Nevermind here it is again. Hirschmann, Bernhard wrote: there is not attachment in your mail... -Ursprüngliche Nachricht- Von: Peng Tuck Kwok

AW: AW: AW: AW: Question about html:select (again)

2003-02-28 Thread Hirschmann, Bernhard
If you get your values out of the form bean, and this form bean is valid not only for one request (configured in struts-config.xml), then you don't have to repopulate. If you explicitly want to repolulate, then this should be done in your action. But as I said, this is not necessary if you

AW: Results in multiple pages

2003-02-28 Thread Hirschmann, Bernhard
Konstantina, if you want something like in Google, where you can view the first 10 hits, the clicking on next to see the next 10 hits, then you can use the pager taglib for this. http://jsptags.com/tags/navigation/pager/ Greetings to Greece! Bernhard -Ursprüngliche Nachricht- Von:

AW: How to disable automatic session creation

2003-02-28 Thread Hirschmann, Bernhard
Eric, as far as I know, there has been no changes in this way. Besides, Struts doesn't create sessions, but your servlet engine does. Struts recognizes if you deactivated cookies in your browser, in this case the session id is attachted to the URL. Regards, Bernhard -Ursprüngliche

AW: Question about html:select (again)

2003-02-27 Thread Hirschmann, Bernhard
Hey Pen, if you could post the JSP code, maybe I could give you a hint. Regards, Bernhard -Ursprüngliche Nachricht- Von: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. Februar 2003 10:21 An: Struts Users Mailing List Betreff: Question about html:select (again)

AW: Questions about html:link and a m p ;

2003-02-27 Thread Hirschmann, Bernhard
Could you post the JSP code snippet for the link you're creating? As far as I know, no filter is used for creating the link. But as you described, it seems that the is transformed in HTML encoding. You may try the attribute filter=false in the html:link tag. Bernhard -Ursprüngliche

AW: Questions about html:link and a m p ;

2003-02-27 Thread Hirschmann, Bernhard
:37 An: [EMAIL PROTECTED] Betreff: Re: Questions about html:link and a m p ; Hi, Unfortunately, there is no 'filter' in the html:link tag. My code looks like this: html:link forward=sell styleClass=LargeBoxHeadersell/html:link Kind regards, Morten Raahede Knudsen Hirschmann, Bernhard [EMAIL

AW: HELP - SOS - Single Form Bean Problem

2003-02-25 Thread Hirschmann, Bernhard
- Von: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Februar 2003 10:02 An: Hirschmann, Bernhard Betreff: Re: HELP - SOS - Single Form Bean Problem hi again :) I went through the tutorials, every time the sope is set to session, and same form bean is used. i have

AW: Reporting an Exception message in a JSP.

2003-02-25 Thread Hirschmann, Bernhard
You can pass one or more arguments to the constructor of ActionError. This argument could be your stack trace. In the resource string you have to handle the first argument as a {0}, the second as {1} etc. i.e. in you ApplicationResources.properties: error.msg=An error has occured. Stack trace:

AW: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Hirschmann, Bernhard
Good morning Shabbir! try this: html:image page=/images/enter.gif property=submit value=Enter/ Regards, Bernhard -Ursprüngliche Nachricht- Von: Shabbir Khadir Mohammed [mailto:[EMAIL PROTECTED] Gesendet: Montag, 24. Februar 2003 09:15 An: Struts Users Mailing List Betreff: How to Show

AW: Really dumb struts question...

2003-02-21 Thread Hirschmann, Bernhard
Do you also have the form tag in your JSP? Bernhard -Ursprüngliche Nachricht- Von: Loren J. Erickson [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Februar 2003 08:59 An: [EMAIL PROTECTED] Betreff: Really dumb struts question... Like probably thousands of others, I'm trying to

AW: Help in html option tag

2003-02-21 Thread Hirschmann, Bernhard
Do you have the taglibs included in the header of your JSP? Bernhard -Ursprüngliche Nachricht- Von: Buics [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Februar 2003 09:36 An: Struts Users Mailing List Betreff: Help in html option tag anybody could help me this one, it takes me 2

AW: Populating a html select in struts.

2003-02-21 Thread Hirschmann, Bernhard
You can pre-populate your form in an action, which you have to call before showing the JSP. You then forward to the JSP from your action. Calling a action is done using ...yoururl.com/actionName.do in the browser url. Bernhard -Ursprüngliche Nachricht- Von: Peng Tuck Kwok

AW: Really dumb struts question...

2003-02-21 Thread Hirschmann, Bernhard
=success path=/tpinterfaceinfo.jsp/ /action I hope that helps... Bernhard -Ursprüngliche Nachricht- Von: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Februar 2003 10:13 An: Hirschmann, Bernhard Betreff: Re: Really dumb struts question... have

AW: Yoooooooooohoooooooooo: Really dumb struts question...

2003-02-21 Thread Hirschmann, Bernhard
help man .. it worked :) btw where did u read this stuff .. please point me to the documentation for 1.1. beta related help so that I will stop sending queries like this :) Chetan - Original Message - From: Hirschmann, Bernhard [EMAIL PROTECTED] To: 'Chetan Sahasrabudhe' [EMAIL PROTECTED

AW: [OT] dick size

2003-02-21 Thread Hirschmann, Bernhard
Könntest Du bitte endlich aufhören, die Struts Mailingliste mit diesem OT-Kram vollzumüllen?! Langsam nervt es wirklich! Bernhard -Ursprüngliche Nachricht- Von: Simon Kelly [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Februar 2003 10:36 An: Struts Users Mailing List Betreff: Re:

AW: error in the attribute input of actionmapping when accesing a globalforward

2003-02-21 Thread Hirschmann, Bernhard
Hey Ferran, I think the problem is the path you're using: /do/admin/AdminPreCreateUserentity=rolamp;action=findamp;reference=rol The syntax is not correct. I can't see where the URI ends and the arrtibutes start, but a correct syntax would be:

AW: bean:message problems with i18n

2003-02-14 Thread Hirschmann, Bernhard
and with both set to true. If it works with 1.1.b3 could you inform me? Bye Toby -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 7:15 PM To: 'Struts Users Mailing List' Subject: AW: bean:message problems with i18n James

AW: bean:message problems with i18n

2003-02-14 Thread Hirschmann, Bernhard
once been Actions.LOCALE_KEY, I could imagine that something is mixed up now because of this. Is that possible? Ted, Craig? :-) Regards, Bernhard -Ursprüngliche Nachricht- Von: Rademacher Tobias [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 14. Februar 2003 13:42 An: Hirschmann, Bernhard

bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
We have big problems with the use of the i18n messages, used with the bean:message tag. But the problems encounter only in a special scenario: 1.) A German user loggs in - a German locale is set using Action.setLocale() - exploring some JSPs, all messages are in German, that's good. 2.) The

AW: bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
I forgot: we use the struts version 1.1b3 -Ursprüngliche Nachricht- Von: Hirschmann, Bernhard Gesendet: Donnerstag, 13. Februar 2003 18:41 An: Struts User Mailing List (E-Mail) Betreff: bean:message problems with i18n We have big problems with the use of the i18n messages, used

AW: bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 11:41 AM To: Struts User Mailing List (E-Mail) Subject: bean:message problems with i18n We have big problems with the use of the i18n messages, used with the bean:message tag. But the problems encounter only

AW: Generate XML documents from Beans

2003-02-13 Thread Hirschmann, Bernhard
Vikas, we use the jar from .jdom.org to create JDOM objects firstly as representatives of the beans. They can then be transformed to a XML string with the XMLOutputter class, if this is what you want. Regards, Bernhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL

AW: How to set the active locale ???

2003-02-13 Thread Hirschmann, Bernhard
Soren, to do that just create a Locale object with the language/country of the user who is loggin in, and in your action, call setLocale(). Regards, Bernhard -Ursprüngliche Nachricht- Von: Soeren Dalby [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Februar 2003 22:53 An: 'Struts

AW: bean:message problems with i18n

2003-02-13 Thread Hirschmann, Bernhard
Hello all! this is still an open thread for me. It's horrifying... Any help highly appreciated! Regards, Bernhard -Ursprüngliche Nachricht- Von: Hirschmann, Bernhard Gesendet: Donnerstag, 13. Februar 2003 19:15 An: 'Struts Users Mailing List' Betreff: AW: bean:message problems

SOLVED: bean:message problems with i18n - BUG in bean:message ???

2003-02-13 Thread Hirschmann, Bernhard
now, I don't know in which layer the problem is... If I have more time, I will try to find it. Maybe someone has a clue? Regards, Bernhard -Ursprüngliche Nachricht- Von: Hirschmann, Bernhard Gesendet: Freitag, 14. Februar 2003 08:18 An: 'Struts Users Mailing List' Betreff: AW

setting a request parameter in JavaScript

2003-02-11 Thread Hirschmann, Bernhard
Does somebody know how it is possible, to define a request parameter, while submitting a form via the JavaScript command submit() ??? I'm doing a submit() in a event handler of a html:select box and have to set also a request parameter. Regards, Bernhard

AW: setting a request parameter in JavaScript

2003-02-11 Thread Hirschmann, Bernhard
-Original Message- From: Hirschmann, Bernhard Sent: terça-feira, 11 de Fevereiro de 2003 12:36 To: Struts User Mailing List (E-Mail) Subject: setting a request parameter in JavaScript Does somebody know how it is possible, to define a request parameter, while submitting a form via

AW: AW: setting a request parameter in JavaScript

2003-02-11 Thread Hirschmann, Bernhard
:53 dátummal Hirschmann, Bernhard ezt írtad: Thanks for the hint, this seems to be a good work around. But just because I'm curious: is there a way to set a real request parameter for a submitting request? Like: .../myAction.do?parameter1=theValueparameter2anotherValue window.location = 'http

AW: socket write error when using tiles

2003-02-05 Thread Hirschmann, Bernhard
On Tue, 4 Feb 2003 08:32:30 -0500 [EMAIL PROTECTED] wrote: I have socket write error when using tiles. I suppose it is because users click on other action before the last tile is displayed. I have so many of these that I suspect this can cause performance issues. Anyone can

AW: Iterating ValueObjects by using logic:iterate - Urgent

2003-02-05 Thread Hirschmann, Bernhard
Ashokd, a Hashtable is not a Collection, so this can't work. You may use a HashSet or something. See http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate for the syntax. Regards, Bernhard -Ursprüngliche Nachricht- Von: ashokd [mailto:[EMAIL PROTECTED]] Gesendet:

AW: easy struts 0.6.3 ?

2003-02-05 Thread Hirschmann, Bernhard
emmanuel, vielen Dank für diese aussagekräftige Nachricht. Freundliche Grüße, Bernhard Hirschmann -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 14:24 An: [EMAIL PROTECTED] Cc: Struts Users Mailing List Betreff: Re: easy

AW: AW: easy struts 0.6.3 ?

2003-02-05 Thread Hirschmann, Bernhard
. -emmanuel --- Hirschmann, Bernhard [EMAIL PROTECTED] a écrit : emmanuel, vielen Dank für diese aussagekräftige Nachricht. Freundliche Grüße, Bernhard Hirschmann -Ursprüngliche Nachricht- Von: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 14:24

AW: Iterating ValueObjects by using logic:iterate - Urgent

2003-02-05 Thread Hirschmann, Bernhard
;/td /tr /logic:iterate I forwarding this, if any one faces same problem, they can use this. Thanks Regards, Ashok.D - Original Message - From: Hirschmann, Bernhard [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 6:58 PM Subject

AW: HTML entities

2003-02-04 Thread Hirschmann, Bernhard
Mark, I guess this is one of the mostly asked questions... Have you ever searched the mailing list about that topic? The solution is: You just have to set the filter=false in the bean:write tag. Regards, Bernhard -Ursprüngliche Nachricht- Von: Mark Lowe [mailto:[EMAIL PROTECTED]]

AW: HTML entities (general Struts taglib problem with language entities)

2003-02-04 Thread Hirschmann, Bernhard
Jesus! So much work for that purpose? :-) Have you tried to use UTF-8 for your JSPs? Then all that transforming to HTML encoding is not necessary anymore. It works great at my project, and I have to use more special characters than in German. (27 languages in fact) See

AW: HTML entities (general Struts taglib problem with language entities)

2003-02-04 Thread Hirschmann, Bernhard
for only one language. Or does it help to save all jsps in UTF8. Guess my Eclipse won't let me do that, too. Any other or more ideas? Thx. Michael -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 4. Februar 2003 11:51 To: 'Struts Users Mailing List

AW: Struts,Tiles Websphere

2003-02-04 Thread Hirschmann, Bernhard
Hey Risika, we also use WS4 with Tiles and we don't have any problem with it. I suppose you're having syntax problems... could you post some JSP snippet? Regards, Bernhard -Ursprüngliche Nachricht- Von: Risika RANDRIANASOLO [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. Februar

AW: HTML entities (general Struts taglib problem with language entities)

2003-02-04 Thread Hirschmann, Bernhard
Firstly: bean:write filter=true doesn't transform ü into uuml; it only transforms , , and into its HTML encoding. You can see that in the source code of org.apache.struts.util.ResponseUtils Secondly: If you're using charset=ISO-8859-1 your German special characters are only displayed

AW: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /submit

2003-02-04 Thread Hirschmann, Bernhard
Cannot retrieve mapping for action /submit means, that in your struts-config.xml you don't have a action configured for the URI /submit. I hope this helps... Regards, Bernhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For

AW: AW: javax.servlet.jsp.JspException: Cannot retrieve mapping for a ction /submit

2003-02-04 Thread Hirschmann, Bernhard
/ forward name=failure path=/submit.jsp/ /action /action-mappings And I verified that the SubmitAction does exist. Jefferson Em Ter, 2003-02-04 às 11:07, Hirschmann, Bernhard escreveu: Cannot retrieve mapping for action /submit means, that in your struts-config.xml

AW: Testing I18n.

2003-02-04 Thread Hirschmann, Bernhard
Joni, if you want to change the locale depending on the user logging in to the application, you can use the setLocale (javax.servlet.http.HttpServletRequest request, java.util.Locale locale) in your Struts action class. This overrides the default locale of the browser. Regards, Bernhard

AW: Streaming PDF file problem

2003-02-03 Thread Hirschmann, Bernhard
Sheldon, it is important for IE to the the length of the stream. response.setContentLength(byteArray.length); That was the solution in our case. Regards, Bernhard -Ursprüngliche Nachricht- Von: Jarnot Voytek Contr AU HQ/SC Gesendet: Montag, 3. Februar 2003 19:55 An: 'Struts Users

AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Hirschmann, Bernhard
encoding On Tue, 14 Jan 2003, Hirschmann, Bernhard wrote: Date: Tue, 14 Jan 2003 17:31:03 +0100 From: Hirschmann, Bernhard [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: AW: Transforming a String to valid HTML

AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Hirschmann, Bernhard
The reason is, that I don't want to use utf-8, but ISO-8859-1 for my html pages. And if a ü appears in the ISO-8859-1 characterset in the browser, What is wrong with utf-8? Nothing is wrong with utf-8. Maybe it would be the best to use it, even though everything is much more complex while

AW: AW: AW: AW: Transforming a String to valid HTML encoding

2003-01-15 Thread Hirschmann, Bernhard
Nothing is wrong with utf-8. Maybe it would be the best to use it, even though everything is much more complex while handling stuff like the html form entries, which have to be converted. No, as far as you are using the SetCharacterEncoding filter coming with the example application of

AW: Refresh on MSIE, PLEASE HELP!!

2003-01-15 Thread Hirschmann, Bernhard
Sadly this doesn't solve the problem! Does your browser use a http proxy? Maybe this is the reason. Bernhard -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

AW: String , html encoding

2003-01-15 Thread Hirschmann, Bernhard
How can I encode Strings to HTML content. including the special caracters (é, è), because I have bzzarre outpouts. I have the same problem and didn't find a proper solution for it. As far as I understand you have two possibilities: 1.) You use utf-8 as the character set of your JSPs, so the

AW: String , html encoding

2003-01-15 Thread Hirschmann, Bernhard
Do you really know what you're talking about? -Ursprüngliche Nachricht- Von: Mark Galbreath Gesendet: Mittwoch, 15. Januar 2003 16:32 An: 'Struts Users Mailing List' Betreff: RE: String , html encoding This is really a luzer question, dude. Even negative effort could have given you:

Transforming a String to valid HTML encoding

2003-01-14 Thread Hirschmann, Bernhard
I still have the problem to transform a String containing national special characters to the appropriate HTML encoding. i.e.: schön reich -- schouml;n amp reich The class org.apache.struts.util.ResponseUtils only transforms the 4 characters , , and into their html representative. Is there

AW: Design of action classes

2003-01-14 Thread Hirschmann, Bernhard
Hi Joao, technically it is no problem to use one action for multiple tasks. You can use a request attribute to determine which use case you want to work through. But on the other side it appears cleaner to have a single action for a single use case. In our projects, we try to have separate

AW: Transforming a String to valid HTML encoding

2003-01-14 Thread Hirschmann, Bernhard
I wonder if this problem is too easy or too hard - may please somebody comment this? Craig? Thank you very much - original message - I still have the problem to transform a String containing national special characters to the appropriate HTML encoding. i.e.: schön reich --

Transforming a String to valid HTML encoding

2003-01-13 Thread Hirschmann, Bernhard
I still have the problem to transform a String containing national special characters to the appropriate HTML encoding. i.e.: schön reich -- schouml;n amp reich The class org.apache.struts.util.ResponseUtils only transforms the 4 characters , , and into their html representative. But in an

using regexp in input validation

2002-12-18 Thread Hirschmann, Bernhard
Is there a smooth way to use regular expressions in the input validation? i.e. to allow only [A-Z|a-z|0-9] Regards, Bernhard -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Transforming a String to valid HTML encoding

2002-12-11 Thread Hirschmann, Bernhard
Hello! Is there a parser around, which is able to parse a String with special characters (like in the German language), and can transform them into valid html encoding? (like schouml;n for schön) Best regards Bernhard -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

mixed up pages

2002-12-02 Thread Hirschmann, Bernhard
I still have trouble with mixed up pages.. Sometimes there is output from form beans visible - see the screenshot here: http://www.boeny.de/Bug1.jpg Used is WebSphere - maybe this causes the trouble, I think. Any hints highly appretiated!! Best regards, Bernhard Hirschmann -- To unsubscribe,

AW: mixed up pages

2002-12-02 Thread Hirschmann, Bernhard
Might help if you post the JSP code responsible for rendering the page. The resulting html would also help. -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 16:29 To: Struts User Mailing List (E-Mail) Subject: mixed up pages I

AW: Running Struts on Wepshere 4.0

2002-11-27 Thread Hirschmann, Bernhard
Hey abhishek, we're running it on the same platform which works great. Just make sure, not to use the conventional Xalan an Xerces, but the one comming with WebSphere. So in the Library path of your project, don't add the JARs, but the variable WAS_XALAN and WAS_XERCES. Then the special

checking a empty list

2002-11-27 Thread Hirschmann, Bernhard
Hi group! I wonder if it's possible with a logic tag, to check if a List in a form is empty. This doesn't work, it just checks if the attachmentsList is null: logic:present name=document property=attachmentsList Regards, Bernhard -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

AW: checking a empty list

2002-11-27 Thread Hirschmann, Bernhard
2002 18:25 An: Struts Users Mailing List Betreff: RE: checking a empty list Use logic:empty, not logic:present. -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Hi group! I wonder if it's possible with a logic tag, to check if a List in a form is empty

[OT] strange connection problem - 2nd try

2002-11-25 Thread Hirschmann, Bernhard
Hello struts user! Second try with my problem. Maybe someone has a clue? -Ursprüngliche Nachricht- Von: Hirschmann, Bernhard Gesendet: Freitag, 22. November 2002 13:35 An: '[EMAIL PROTECTED]' Betreff: [OT] strange connection problem Hello! I have a strange problem with a socket

[OT] strange connection problem

2002-11-22 Thread Hirschmann, Bernhard
Hello! I have a strange problem with a socket write error from time to time with our application, which occures not reproducable, but maybe once or twice a day. In the browser I may see then besides parts of my regular view some toString results of my beans in the form. When I go back in the

AW: Application Resources problems

2002-11-22 Thread Hirschmann, Bernhard
Hey Jim, I'm not sure if this helps, but maybe something is mixed up with your files, when you edit the myApp/Web-inf/classes/org/comp/ApplicationResources.properties You shouldn't use the classes path, but the src path for editing. Usually your IDE will copy the ApplicationResources in the

[OT] AW: Eclipse

2002-11-22 Thread Hirschmann, Bernhard
There's a menuitem refresh from local on the context menu of package or class. Use this to get changes recognized in Eclipse. Regards, Bernhard -Ursprüngliche Nachricht- Von: edgar [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. November 2002 18:01 An: 'Struts Users Mailing List'

AW: Fetching Data Using Struts!!!

2002-11-14 Thread Hirschmann, Bernhard
Hey Yadnesh, that's pretty easy. You just keep a List in your form bean, containing the java beans, which keep the data for each line. In the JSP you just iterate over that List, accessing the beans. I'm doing that all the day... Did you take a look in the tutorials? Regards, Bernhard

AW: unicode in struts

2002-11-12 Thread Hirschmann, Bernhard
HOW do you set the charset? You should do it this way: %@ page contentType=text/html; charset=utf-8 % ...instead of this way: meta http-equiv=Content-Type content=text/html; charset=utf-8/ At least, this is my experience. Websphere on Solaris only with the first variant. Regards, Bernhard

AW: AW: unicode in struts

2002-11-12 Thread Hirschmann, Bernhard
Huy, you may provide a code snippet for more details about your problem. Bernhard -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

AW: how to populate nested bean in actionform

2002-11-12 Thread Hirschmann, Bernhard
Hey Denis, I'm not sure if I got you right, but you surely can access a nested bean in a form. i.e.: html:text name=aForm property=aBean.aData / ...is that understandable? (Do you have a nested taglib?) Regards, Bernhard -Ursprüngliche Nachricht- Von: Denis Wang

AW: how to populate nested bean in actionform

2002-11-12 Thread Hirschmann, Bernhard
You should always populate aBean to the form in the action. But you should also populate a empty aBean in the constructor of the form, to avoid a NullPointerException. regards, Bernhard -Ursprüngliche Nachricht- Von: Denis Wang [mailto:dwang;brandmuscle.com] Gesendet: Dienstag, 12.

onchange submit problem

2002-11-11 Thread Hirschmann, Bernhard
Hello! I use the onchange event handler to submit a form if a value in the select box is changed. However, the value doesn't get updated in the form before the submit occures. The form-bean doesn't get the actual selected value. html:select property=selectedLocation onchange=submit()

AW: onchange submit problem

2002-11-11 Thread Hirschmann, Bernhard
Hi Andrew, thanks for your help! The problem was really a inproper use of the form, so the right setter wasn't found. Regards, Bernhard -Ursprüngliche Nachricht- Von: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Gesendet: Montag, 11. November 2002 10:30 An: Struts Users Mailing

checkbox problem

2002-11-11 Thread Hirschmann, Bernhard
Hello Struts user! I use a html:checkbox for setting a boolean value. But after submit, the boolean value in the form bean isn't set correctly. Do I have to use a String value for that in my form bean? I tried this, but without success. Regards, Bernhard -- To unsubscribe, e-mail:

AW: checkbox problem

2002-11-11 Thread Hirschmann, Bernhard
Thanks for your comment, but I'm not sure if that's the problem. Here is the scenario: 1.) While populating the form, the value is true. 2.) Then the user disables the checkbox - for setting the value to false. 3.) Submit occurs. 4.) In the action I check the value and I see that it is true.

AW: checkbox problem

2002-11-11 Thread Hirschmann, Bernhard
Hi Deepank, I don't use a JavaScript function for this. I use a simple submit button. You missunderstood. It shouldn't be unchecked, if it is true. I didn't write that. But it may sounds a bit confusing what I've written: 4.) In the action I check the value and I see that it is true means:

AW: AW: checkbox problem

2002-11-11 Thread Hirschmann, Bernhard
Betreff: Re: AW: checkbox problem 2002. november 11. 14:42 dátummal Hirschmann, Bernhard ezt írtad: Thanks for your comment, but I'm not sure if that's the problem. Here is the scenario: 1.) While populating the form, the value is true. 2.) Then the user disables the checkbox - for setting

AW: AW: AW: checkbox problem

2002-11-11 Thread Hirschmann, Bernhard
An: Struts Users Mailing List Betreff: Re: AW: AW: checkbox problem 2002. november 11. 15:01 dátummal Hirschmann, Bernhard ezt írtad: Hey Tib, if I get you right, then the boolean value in the form will NOT be set to false, if I uncheck the cb and hit submit? Is that right? Yes. The cb sends