I am confused that why the signature of convertFromString is
public Object convertFromString(Map context, String[] values, Class toClass)
instead of public Object convertFromString(Map context, String value,
Class toClass).
What's the point to pass a String array instead of a String argument
into
Yes. I had set "struts.rest.namespace" in the struts.xml to "/ws".
--
View this message in context:
http://struts.1045723.n5.nabble.com/Struts2-REST-plugin-problems-tp3492324p4548572.html
Sent from the Struts - User mailing list archive at Nabble.com.
Sorry for the confusion
Actually, I have a form that needs to be validated and on successful
validation it should populate the data in the database as well as able to
send the mails to the mail IDs provided in the form. All the functionality
is working fine as long as I am not validating my fo
?
> -Original Message-
> From: log2akshat [mailto:akshat-...@iiitmk.ac.in]
> Sent: Sunday, July 03, 2011 20:47
> To: user@struts.apache.org
> Subject: [struts-user] Re: On applying action-validation.xml
> action is not executing.
>
> No, validation is not failing as you can see the scre
I'm supposed to remember a previous post, for a different problem, realize
they're related, on my cell phone? Right, okay, I'll let someone else jump
through those hoops.
Post complete questions, with code or config: why would you make it
difficult for people to help you?
It's difficult to guess
In my validation half of the validation is working fine but in the half form
old error message is not clearing, and the new error message is showing in a
new line. On clicking again the previous error messages are there and the
new message is adding in a new row.
I am attaching the Screenshot of t
No, validation is not failing as you can see the screenshot in my previous
post in an another problem. The problem is that when I am including the
validation xml file the form is validating and displaying the errors but on
submitting the form the method of the action class is not executing and
disp
Validation is failing? Bad validation file? Type conversion failure? You
didn't really give us much to go on.
Dave
On Jul 3, 2011 8:18 PM, "log2akshat" wrote:
> When I am removing the validation xml file the action is executing
properly
> and injecting the data in the database & start sending mai
When I am removing the validation xml file the action is executing properly
and injecting the data in the database & start sending mails, but when I am
using action-validation.xml the action is not able to execute and probably
what should be the reason for it?
--
View this message in context:
htt
Done!
https://issues.apache.org/jira/browse/WW-3659
2011/7/3 Maurizio Cucchiara :
> Hi Lukasz,
> could you share your patch through JIRA (there was an open ticket IIRC)?
>
> 2011/7/3 Łukasz Lenart
>>
>> I don't know why it happens that way. I've changed a bit templates by
>> moving some code fro
Hi Lukasz,
could you share your patch through JIRA (there was an open ticket IIRC)?
2011/7/3 Łukasz Lenart
> I don't know why it happens that way. I've changed a bit templates by
> moving some code from a-close.ftl to a.ftl and now it works as you've
> been expecting. But that change broken few
I don't know why it happens that way. I've changed a bit templates by
moving some code from a-close.ftl to a.ftl and now it works as you've
been expecting. But that change broken few tests and can be backward
incompatible.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG
Take a look on EnumTypeConverter
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2011/7/2 Vincent Lin :
> Hi!
>
> I have a questsion about StrutsTypeConverter.
> It has 2 methods to be implemented:
>
> public Object convertF
Did you try to specify struts.rest.namespace constant ? It will change
what kind of actions are created base on the namespace.
http://struts.apache.org/2.2.3/docs/rest-plugin.html#RESTPlugin-Settings
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitur
14 matches
Mail list logo