Paul Benedict kirjoitti 5.11.2014 kello 22.54:
> It bothers me that the Java programming model dictates the parameter names.
> In theory "personId" could be sent as "a" -- although a variable named "a"
> in Java is bad naming conventions. There isn't a good technical reason to
> keep this 1:1 mapp
It bothers me that the Java programming model dictates the parameter names.
In theory "personId" could be sent as "a" -- although a variable named "a"
in Java is bad naming conventions. There isn't a good technical reason to
keep this 1:1 mapping. The shorter the bytes sent too the better And i
You only need to set the attribute name of the field
You can even use a different Id, if you want to refer to the field in
javascript. Why does it bother you?
2014-11-05 15:39 GMT-05:00 Paul Benedict :
> Let's say I have a getter/setter for field personId. That means in my
> markup, I need to
Let's say I have a getter/setter for field personId. That means in my
markup, I need to have a field named personId too. However, I am not really
found of bleeding Java naming conventions into my web page. Shouldn't there
be a way -- is there a way? -- of assigning another name to it?
Hopeful exam
2014-11-05 13:41 GMT+01:00 Pavel Ilyushko :
> Hi there!
>
> Thanks for a swift reply.
>
> Actually, re-defining the root is what I applied as a work-around.
>
> So in my struts.xml I have this (to fix setting the parameters on the
> action):
>
>
> action
>
Hi there!
Thanks for a swift reply.
Actually, re-defining the root is what I applied as a work-around.
So in my struts.xml I have this (to fix setting the parameters on the
action):
action
and also for each json action type I have this (to
You can redefine root
http://struts.apache.org/release/2.3.x/docs/json-plugin.html#JSONPlugin-RootObject
2014-11-05 12:13 GMT+01:00 Pavel Ilyushko :
> Hello there!
>
> Recently I've upgraded our struts2 framework and its related plugins (eg:
> json plugin) from version 2.1.8 to version 2.3.16.3.
You can re-define root
http://struts.apache.org/release/2.3.x/docs/json-plugin.html#JSONPlugin-RootObject
2014-11-05 12:13 GMT+01:00 Pavel Ilyushko :
> Hello there!
>
> Recently I've upgraded our struts2 framework and its related plugins (eg:
> json plugin) from version 2.1.8 to version 2.3.16.3.
Hello there!
Recently I've upgraded our struts2 framework and its related plugins (eg:
json plugin) from version 2.1.8 to version 2.3.16.3.
Now I'm having problems in using the json plugin while making json requests
and returning the json responses.
The problem is that the parameter values passe
9 matches
Mail list logo