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
maurizio.cucchi...@gmail.com wrote:
Hi Knight,
I take your point, JSONPopulator.convertPrimitive function maybe uses a
wrong approach.
driven off the Introspector.getBeanInfo
public void populateObject(Object object, final Map elements) throws
IllegalAccessException,
InvocationTargetException, NoSuchMethodException,
IntrospectionException,
IllegalArgumentException, JSONException,
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
2010/11/24 Martin Gainty mgai...@hotmail.com
if the target 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
Hi
I am using s:actionerror /, 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 prabhubalaji.raga...@gmail.com
Hi
I am using s:actionerror /, where the messages will pulled from the
resource bundle.
I want my
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
8 matches
Mail list logo