You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Paweł Wielgus <po...@gmail.com> on 2014/10/24 09:03:22 UTC

Documentaion page

Hi all,
can anyone tell me what to do,
or who to contact to add some info to this page:

http://struts.apache.org/release/2.3.x/docs/json-plugin.html

I've spent few hours trying to configure my action
to accept json parameters
and the only missing bit was:

@InterceptorRef(value="json")

So i thought it would be ok
to show somewhere in this page
standard annotations for action
that sends JSON and receives JSON
with explanation of them.

There is a section Example at the end of the page.
I think that adding info that this example is for JSON result only
and adding another for JSON parameters would help others.
I can create such text and changes for this section
but i don't know what to do next.


--
Pozdrawiam,
Paweł Wielgus.
tel: +48 604 603 546

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Documentaion page

Posted by Lukasz Lenart <lu...@apache.org>.
2014-10-24 9:03 GMT+02:00 Paweł Wielgus <po...@gmail.com>:
> Hi all,
> can anyone tell me what to do,
> or who to contact to add some info to this page:
>
> http://struts.apache.org/release/2.3.x/docs/json-plugin.html
>
> I've spent few hours trying to configure my action
> to accept json parameters
> and the only missing bit was:
>
> @InterceptorRef(value="json")
>
> So i thought it would be ok
> to show somewhere in this page
> standard annotations for action
> that sends JSON and receives JSON
> with explanation of them.
>
> There is a section Example at the end of the page.
> I think that adding info that this example is for JSON result only
> and adding another for JSON parameters would help others.
> I can create such text and changes for this section
> but i don't know what to do next.

@Pawel
added something like this
https://cwiki.apache.org/confluence/display/WW/JSON+Plugin#JSONPlugin-AcceptingJSON

if you have more please post it here and I will update the page.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Documentaion page

Posted by Pedro Gonzales <p....@gmail.com>.
I had this same issue. It would be a good addition.

On 10/24/2014 2:03 AM, Paweł Wielgus wrote:
> Hi all,
> can anyone tell me what to do,
> or who to contact to add some info to this page:
>
> http://struts.apache.org/release/2.3.x/docs/json-plugin.html
>
> I've spent few hours trying to configure my action
> to accept json parameters
> and the only missing bit was:
>
> @InterceptorRef(value="json")
>
> So i thought it would be ok
> to show somewhere in this page
> standard annotations for action
> that sends JSON and receives JSON
> with explanation of them.
>
> There is a section Example at the end of the page.
> I think that adding info that this example is for JSON result only
> and adding another for JSON parameters would help others.
> I can create such text and changes for this section
> but i don't know what to do next.
>
>
> --
> Pozdrawiam,
> Paweł Wielgus.
> tel: +48 604 603 546
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Documentaion page

Posted by Lukasz Lenart <lu...@apache.org>.
2014-10-24 9:03 GMT+02:00 Paweł Wielgus <po...@gmail.com>:
> Hi all,
> can anyone tell me what to do,
> or who to contact to add some info to this page:
>
> http://struts.apache.org/release/2.3.x/docs/json-plugin.html
>
> I've spent few hours trying to configure my action
> to accept json parameters
> and the only missing bit was:
>
> @InterceptorRef(value="json")
>
> So i thought it would be ok
> to show somewhere in this page
> standard annotations for action
> that sends JSON and receives JSON
> with explanation of them.
>
> There is a section Example at the end of the page.
> I think that adding info that this example is for JSON result only
> and adding another for JSON parameters would help others.
> I can create such text and changes for this section
> but i don't know what to do next.

If you filled iCLA I can grant you edit access rights to wiki or you
can register an issue and someone will handle it :-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

PS. I'm planning migrate all our docs to Git so you will able prepare
PRs via GitHub ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org