2010/12/12 Burton Rhodes :
> I know. I don't have a setIncome(String) method. But I do have
> setIncome(BigDecimal) method , hence the type conversion. Normally the
> class MyCurrencyCoverter will covert the String to BigDecimal, but
> it's never called. I am wondering what I am doing wrong that th
if taking about struts2 here it is
http://www.shopizer.com/
On Fri, Dec 10, 2010 at 11:40 AM, ashish chawre
wrote:
> Hi, Is any body having any idea about the source/example of any ecommerce
> website implementation using struts?
> I am looking to implement a checkout using struts and I need to i
Read this doc:
http://struts.apache.org/2.2.1/docs/type-conversion.html
From
[# 3 Creating a Type Converter]
to
[# 6 Applying a Type Converter for an application]
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For a
Try:
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
I think you don't need this bothering job.
You can:
(1)Define some properties in your base class of all your action classes.
(2)Use these properties to capture data from the request.
(3)Run your interceptor AFTER the interceptors of struts2.
But BEFORE the execution of the Action class
So,
The i
It don't works, because the JSP local variable is not an OGNL local variable.
The JSP local variable will be translated into a local variable of the
Servlet code,
and it is a local variable of Java language, so you can not reference it in
the OGNL expression.
An OGNL local variable should be [put
>> Since after validation fails the iterator grid also empty
I think, you need separate the field names by list index -- since your
data model is a list--,
to indicate which [textfield] should be captured by which POJO element.
And also, you need separate the field name of validation error, t
You need to determine why contact.contactLead.income is being evaluated
as $123. This is forcing the search for setIncome(String). Is the user
entering this value? If so, you need to strip it of the "String" so it can
be considered a BigDecimal.
On Sat, Dec 11, 2010 at 6:51 PM, Burton Rhodes wr
Yes, you are right.
After searching online a while, I have the following conversion class:
http://old.nabble.com/file/p30437359/DateTypeConverter.java
DateTypeConverter.java
However, when I convert a date, I get the following error. Note that the
class is found and loaded as "test" in class co
9 matches
Mail list logo