Hi All,
I'm working with dates but I'm not able to convert dates to be
displayed automatically using the brazilian format (e. g. dd/MM/).
Also I'd like to know how to validate my dates using this format and
not the standard.
If somebody could point me to the docs where I can find some info
Hi All,
I'm trying to do an file upload using Struts 2.0.5 and the file is
always null. My actions are created using Spring 2 via Spring plugin.
If I disable Spring in my webapp (removing it's listener from web.xml)
and make Struts create it's actions, the same code work for the file
upload.
Hi Sami,
There is an example in the showcase webapp which shows how to convert
to/from enums. Give a look, that it might help you.
[]s
Daniel
2007/2/11, Sami Dalouche [EMAIL PROTECTED]:
Hi,
I've been trying to bind Java 5 enums, but I get some weird problem
xwork-conversion.properties
is
selected. This way, it works fine.
Does anybody have an idea why?
Thanks,
Daniel
2007/2/7, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
person.gender=mypackage.EnumConverter
Element_person.gender=mypackage.Gender
Does it work if you remove the person. part? I'm
still not entirely
Hi All,
Suppose I have an action called a.A with some methods for updating
records and other for querying or just redirecting.
If I set up the validation file, it works for update but also for the
querying and redirection methods, which is not what I want.
My question is: is there a way to
Hi Dave,
It did not work for the method but worked for the action alias this way:
A-alias-validation.xml
Thanks a lot for your help again.
Daniel
2007/2/10, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
My question is: is there a way to configure the
validation for an action
Hi All,
I`m using the tags textfield and password and I noticed it is creating
a new tr element which positions the fields vertically. I need them
horizontally, so I`d like struts just to create the input tag for
me, nothing more. How can this be done?
Thanks,
Daniel
if parent
form is of theme 'xhtml' or 'ajax'. You may override cild behaviour by
setting theme 'simple' on a single tag.
regards
Dariusz Wojtas
On 2/7/07, Daniel Amadei [EMAIL PROTECTED] wrote:
Hi All,
I`m using the tags textfield and password and I noticed it is creating
a new tr element
Hi All,
Is there a way to set up a global forward in Struts 2 and set it to
forward to a tiles def?
Thanks,
Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Dave,
Unfortunately, this does not do what I want.
I need to type an action in the URL and get redirected to the result
without having to code the Action.
Thanks,
Daniel
2007/2/7, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
Is there a way to set up a global forward in Struts
Hi All,
I`m trying to bind the value of a select to an enum but I`m getting
the following error:
Invalid field value for field
Does anybody knows how can I set the value to be the enum type?
Thanks,
Daniel
-
To unsubscribe,
)
My conversion file is like this:
person.gender=mypackage.EnumConverter
Element_person.gender=mypackage.Gender
This way, the property person.gender is always null. Can somebody help me?
Thanks,
Daniel
2007/2/7, Daniel Amadei [EMAIL PROTECTED]:
Hi All,
I`m trying to bind the value of a select
Hi All,
I'm getting the following exception when using Struts 2.0.3+ (tested with
0.4 and 0.5). Looking at the XWork source code I could see this is being
caused because the Spring Application Context is not being set, so it is
null.
Does anybody knows how to fix this as my code used to work
Hi Dave,
No. I had to put the fully qualified name of the Spring Object Factory from
XWork as the alias does not work anymore (I dont know why either).
[]s
Daniel
2007/2/6, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
I'm getting the following exception when using
Struts 2.0.3
Hi Dave,
I have the jar but I believe I have to register the Spring plugin which I
forgot to do.
I'll try it and tell the results.
Thanks.
Daniel
2007/2/6, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
No. I had to put the fully qualified name of the
Spring Object Factory from
Hi Dave,
It worked! My struts-plugin JAR had 0 bytes :(
I downloaded it againd and it worked fine. Thanks a lot!
Daniel
2007/2/6, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
I have the jar but I believe I have to register the
Spring plugin which I forgot to do.
It just needs
Hi All,
I`m using the exception mapping and I`d like to display the exception to the
user but I don`t know how I can get the exception object from the stack, as
I saw from the docs, they are avaiable in the stack.
Can somebody help me?
Thanks
Daniel
17 matches
Mail list logo