Is their a way to do this?
I have the following code but it does not work as expected:
Also, using the html:img tag like instead of
does not make a difference.
Any help would be appreciated. Thanks.
- Asad
-
To un
concerning the initialisation of those beans which mechanism would take control
for bean initialisation when other bean initialisers are configured
(Im thinking of hibernate bean child set and or spring bean property)?
Thanks,
M-
---
P.S. An important fact I forgot to mention: my VO is persisted to a
database using Hibernate. Hibernate wraps this
object with its own type. Is it possible that the type conversion
(String -> int) is not working properly because
Hibernate's wrapper gets in the way? I did a simple test of copying
Dear Laurie & Christopher:
Great! Thanks. I'm using Strings now in my form. But as I wrote to Ed,
suppose I validated the form and would like to copy all properties to a
VO (value object) / DTO with one call (e.g. copyProperties()). How do I
get it to automatically convert my form String prope
Rodrigo Pereira wrote:
Hi,
I am facing problems trying to use t:tree with struts-faces
integration library, does anybody have an idea on how I can do that?
That's a bit of a broad question... What specifically are you having
problems with?
L.
---
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oren,
Oren Livne wrote:
Dear Chris:
Yes, other validations are working. For instance, I also have an
"intRange" validation on the same integer field. If I type a letter for
the integer field, it sets it to 0, displays it
Dear Ed:
Thanks so much for your response (all other that replied -- thanks so
much as well!).
For now, I would like to stick to the first solution: ActionForm with
String properties.
I already have VOs and don't mind copying over from the form to the VO
and back.
My last question on this issu
Chris is right, the zero occurs in the java.lang.Integer(String)
constructor when it is passed a non-numeric string value. You would
see this happen in your ActionForm and action class if you weren't
using the validator. The same thing happens with a non-numeric in a
java.lang.Double(String) const
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oren,
Oren Livne wrote:
> Dear Chris:
> Yes, other validations are working. For instance, I also have an
> "intRange" validation on the same integer field. If I type a letter for
> the integer field, it sets it to 0, displays it as 0, and says it's
>
Dear Chris:
Yes, other validations are working. For instance, I also have an
"intRange" validation on the same integer field. If I type a letter for
the integer field, it sets it to 0, displays it as 0, and says it's
outside the permissible range (which happens to be 1-4). No errors on
startup
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Drinkard wrote:
> It's a multi-select option
> control. I put this in the struts-config.xml:
>
>
>
> but I'm not sure it's the correct syntax for an array.
Yes, that is the correct syntax for an array.
Now, what are you trying to valid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oren,
Oren Livne wrote:
> 1) I have a form property that is an integer. When I set its validation
> rule to "integer", it has no effect.
[snip]
> 2) A "validwhen" test condition seems to be ignored:
Are other validations working? It's possible that
Hi,
I am facing problems trying to use t:tree with struts-faces
integration library, does anybody have an idea on how I can do that?
Thanks,
Rodrigo Pereira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Yes, I left out some details, sorry! It's a multi-select option control. I put
this in the struts-config.xml:
but I'm not sure it's the correct syntax for an array. All the other controls
work, including a regular select where you can only select one dropdown value.
I'm running jre 1.3, but I'm
Dear All:
I have two problems with Validator. I'm using Struts 1.3.5, Tomcat 6.0.9
and Java 1.6:
1) I have a form property that is an integer. When I set its validation
rule to "integer", it
has no effect.
- The form field is populated with a zero value even if a letter is
typed in the form
i
The problem with the label rendering is tracked here:
https://issues.apache.org/struts/browse/WW-1602
and will be fixed for 2.0.7. If all you want to do is pass the text entered
on the autocompleter to the action to filter the results, you don't need to
use a form, that's supported by the autoco
A few questions about the autocompleter tag:
- If the action called from the autocompleter tag (href attribute)
loads thousands of items from the database, I want to be able to
restrict the returned results to what the user types in.
So I set the formId attribute of the tag to the form id of the
From what I can see
JSP - where taglibs include JSTL and StrutsTaglib
Velocity - includes the abaility to generate Macros
Freemarker - all the above and superior exception handling
http://freemarker.org/fmVsVel.html
Anyone else?
Martin--
---
18 matches
Mail list logo