Re: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Marco Maier
Hi Martin, try to set the filter attribute of the bean:write tag to false e.g. bean:write name=someForm property=someProperty filter=false/ Marco Martin Naskovski wrote: I have a LabelValueBean, and the Label property contains spaces. However, they do not get encoded into nbsp;'s. If I actually

Re: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Marco Maier
amp; nbsp; you get only if the the filter is set to true. see implementation of filter (org.apache.struts.util.ResponseUtils) public static String filter(String value) { if (value == null) return (null); char content[] = new char[value.length()];

Re: [newbie] Prepopulating a form

2003-03-19 Thread Marco Maier
Hi Johan, try this... DynaActionForm yourForm = (DynaActionForm) this.createDynaActionFormFromFormBeanConfig(yourFormName, mapping); // prepopulate the form httpSession.setAttribute(yourFormName, yourForm); protected DynaActionForm createDynaActionFormFromFormBeanConfig(String

logic:equal with string arrays

2002-09-06 Thread Marco Maier
Hi All, I would like to compare a element of an object array with the logic:equal tag. Something like that... bean:define id=specialEvalRights name=loginForm property=view.specialEvalRights type=java.lang.String[]/ logic:equal name=specialEvalRights property=0 value=true [...] /logic:equal

Re: [VALIDATOR] Validating Date with DynaValidator

2002-09-04 Thread Marco Maier
Axel Stahlhut wrote: Sorry for posting this one again, but its a bit urgent and maybe i have a chance marking it as a post concerning [Validator]. Validating a Date with the Struts-Validator Framework works fine, but if the field i want to validate is not a required field and may be empty,

Re: Switch Action example

2002-08-27 Thread Marco Maier
Hi Greg, here is an example... exception key=global.error.httpSessionTimeout path=/switch.do?prefix=amp;page=/login.jsp scope=request type=de.ics_software.rpk.struts.exception.HttpSessionTimeoutException/ action-mappings action path=/switch type=org.apache.struts.actions.SwitchAction /

Validator problem!

2002-08-16 Thread Marco Maier
Hi, Im using the struts validator to validate a date in an DynaValidatorForm. In my JSP I have two radio buttons where the user can choose between the current date and an input field that requires an valid date. The Struts validator always validates the date from the input field. But I want that

Re: Validator problem!

2002-08-16 Thread Marco Maier
. Then get the current system date an put it to the validator. But this isn't nice for me. Marco Zimmer, Robin (SSABSA) wrote: Once simple option is just to use a plain old ActionForm and override the validate method. -Original Message- From: Marco Maier [mailto:[EMAIL PROTECTED]] Sent

Re: Two ActionForms in one action

2002-08-02 Thread Marco Maier
- -Original Message- From: Marco Maier [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 4:10 AM To: [EMAIL PROTECTED] Subject: Two ActionForms in one action Hi, is it possible to preset a form in an action that is associated with another form

Two ActionForms in one action

2002-08-01 Thread Marco Maier
Hi, is it possible to preset a form in an action that is associated with another form. For example: I have the action Action1 with the name attribute Form1 public class Action1 extends Action { [...] public ActionForward execute(ActionMapping mapping, ActionForm form,

Re: Switching the locale(language)

2002-07-10 Thread Marco Maier
see also http://www.mail-archive.com/struts-user@jakarta.apache.org/msg30863.html Marco Jon.Ridgway wrote: Hi All, Ok more info, I'v tried this and it's of the top of my head so... Add some JavaScript similar to this... script language=Javascript !-- // function setLocale

Re: title and alt properties

2002-06-28 Thread Marco Maier
Hi, I have exactly the same problem. The output is always textarea name=text1 title=???de.null??? alt=???de.null???some text/textarea I can't get rid of them. Even if I put an empty title and alt property. Any ideas? I'm using Struts 1.1-b1 with WSAD 4.0.3 TIA Marco Barbara Post wrote:

Re: title and alt properties

2002-06-28 Thread Marco Maier
is MyActionForm1 for example. Barbara - Original Message - From: Marco Maier [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, June 28, 2002 9:53 AM Subject: Re: title and alt properties Hi, I have exactly the same problem. The output is always

Re: title and alt properties

2002-06-28 Thread Marco Maier
That's it! If I set message-resources parameter=RpkMessageResources null=true/ then the problem disappears. This could be a bug! Thanks, Marco Struts Newsgroup (@Basebeans.com) wrote: Subject: Re: title and alt properties From: Torgeir Veimo [EMAIL PROTECTED] === Marco Maier wrote: Hi