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
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()];
Hi Johan,
try this...
DynaActionForm yourForm = (DynaActionForm)
this.createDynaActionFormFromFormBeanConfig(yourFormName, mapping);
// prepopulate the form
httpSession.setAttribute(yourFormName, yourForm);
protected DynaActionForm
createDynaActionFormFromFormBeanConfig(String
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
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,
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 /
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
. 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
-
-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
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,
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
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:
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
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
14 matches
Mail list logo