Hi, I am using Struts 2.0.12 and having a problem getting selected=""
to work on s:select with my data converter. It seems that converter is
called when I submit from the select box, but when its populated its
never called.
1. My select is:
2. Converter is defined in xwork-conversion file
3. p
Hi,
In my application I have passed the list of errors to the setActionErrors( )
method and in the resulting jsp page i have written the tag
I have a doubt like will this tag get the list, which was passed to the
setActionErrors( ) method, and display the errors?
Pls help me out in this issue.
If you do not need to edit the collections as part of the "post" transaction
then you can use the ParamsPrepareParams interceptor pattern. Basically,
this lets you edit part of a model object without having to recreate the
whole thing in your form. The basic pattern is to put the id in a hidden
I think it's wrong... you don't need an "iterated" in order to set a single
simple value. With a setter and getter pair for the property is just enough.
You should be expecting an String with the given value from the user input.
The again I may be wrong... ^^
Happy new year!
Hi,
I need a urgent help. Could someone respond to
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=58&t=015067
regards
Prasanth
Hi,
i am overriding the struts UI controls for my role based UI rendering.
based on user role i have to decide few attributes of UI component like
editability,visibility etc. for that i have implemented logic required. to
achieve this i am extending TextFieldTag and in the overriding method
Hi Titus,
You can validate with annotations.
best greetings,
Pawel Wielgus
2008/12/24, Marsman :
>
>
> newton.dave wrote:
>>
>>
>>> if ( values[0] == null || values[0].length() == 0
>>> && values[0].equalsIgnoreCase("v.a.")
>> || values[0].equalsIgnoreCase("various artists"))
>>
>>
newton.dave wrote:
>
>
>> if ( values[0] == null || values[0].length() == 0
>> && values[0].equalsIgnoreCase("v.a.")
> || values[0].equalsIgnoreCase("various artists"))
>
> This condition strikes me as odd... did you really mean "&&" there?
>
No, of course not. You found an o
dusty wrote:
>
> You could create a special class for this property so you can use type
> conversion but that seems ugly.
>
> You are better off using EL or a custom tag for rendering the property.
>
I thought about creating a new type (in Hibernate) for my "artists". But
only for storing "v
hi,
I am trying to run the struts2 sample application. I am using Jdeveloper 11g
IDE with weblogic server.
I am getting this error, when I am running the application.
10 matches
Mail list logo