Page 1 of 1

[Manialink] Max. length of the action attribute

Posted: 05 May 2015, 19:15
by undef.de
What is the max. length of the action attribute?
What are the limitations of the "content" (spaces allowed)?

Example:

Code: Select all

<quad posn="0.7 -0.3 0.002" sizen="3.2 3.2" action="showBuddiesNextPage" style="Icons128x128_1" substyle="Buddies"/>
Thanks! 8-)

Re: [Manialink] Max. length of the action attribute

Posted: 14 Dec 2015, 15:42
by noyranea
Hi there,

the "action" attribute is used to trigger some predefined behaviors, depending on the context of the manialink.
Thus, only some values will work, listed on this page : http://doc.maniaplanet.com/creation/man ... tions.html.

If you need more information, don't hesitate to ask for it !

Have a nice day,

-- noyranea

Re: [Manialink] Max. length of the action attribute

Posted: 14 Dec 2015, 20:55
by oliverde8
noyranea wrote:Hi there,

the "action" attribute is used to trigger some predefined behaviors, depending on the context of the manialink.
Thus, only some values will work, listed on this page : http://doc.maniaplanet.com/creation/man ... tions.html.

If you need more information, don't hesitate to ask for it !

Have a nice day,

-- noyranea
but not in a server context, we have been using actions in server controllers since TMU, the behaviours described there are the new ones. AM I lost ?

I rember testing it at one point I think there is indeed a limit of 128 chars and spaces aren't accepted. But it was a long while ago it might have changed since then.
My notes about it are in a TMU fomder so when I say it is old, I am not kidding :D

Re: [Manialink] Max. length of the action attribute

Posted: 15 Dec 2015, 13:54
by noyranea
Hi oliverde !

You're right : after a closer look, I can say that actions we do not handle are transmitted to the server via Xml-Rpc, with a limit of 128 ascii chars.

-- noyranea