Thanks,Maurizio,
This is not a wrong approach.
but can be take a improved for easier use. :P
Regards.
On Tue, Nov 23, 2010 at 12:10 PM, Maurizio Cucchiara
wrote:
> Hi Knight,
> I take your point, JSONPopulator.convertPrimitive function maybe uses a
> wrong approach.
> Does anyone know why conv
driven off the Introspector.getBeanInfo
public void populateObject(Object object, final Map elements) throws
IllegalAccessException,
InvocationTargetException, NoSuchMethodException,
IntrospectionException,
IllegalArgumentException, JSONException, InstantiationExcept
Josep --
That sounds a little radical. Do you mind if I ask why? Is the unique
namespace per package not enough separation? Hey, if strict separation is
what you desire, you could package each S2 package in it's own project and
move the package namespace to the web root context and be done with
2010/11/24 Martin Gainty
> if the attribute is available in object acquired by
> invocation.getAction() then you should see the target
>
> does this answer your question?
>
Actually, It doesn't.
I meant that conversion methods like convertPrimitive (see the code below)
use to take class type a
Hi
I am using , where the messages will pulled from the
resource bundle.
I want my messages to be on the bottom of the fields rather than top of the
field.
Thanks
Prabhu
Does this possible?
In source code:
Object org.apache.struts2.json.JSONPopulator.convertPrimitive(Class
clazz, Object value, Method method) throws JSONException {
if (value == null) {
if (Short.TYPE.equals(clazz) || Short.class.equals(clazz))
return (short) 0;
You can define *labelposition*="top" on css_xhtml theme.
take a look at http://struts.apache.org/2.1.8/docs/cssxhtml-theme.html
2010/11/24 Prabhubalaji Ragavan
> Hi
> I am using , where the messages will pulled from the
> resource bundle.
> I want my messages to be on the bottom of the fields ra
Sorry,
I said something stupid. Forget it. Anyway in that page you can see how
define css position of error messages
.errorLabel {font-style:italic; color:red; }
.errorMessage {font-weight:bold; text-align: center; color:red; }
.checkboxLabel {}
.checkboxErrorLabel {color:red; }
.required {color:r
8 matches
Mail list logo