Hi,
textedit, is very very good addition, but it's missing name attribute!!!
Which means the contents of it doesn't get send to dedicated- or web-server
please take consideration to add this feature
[textedit] request to add feature "name" as entry has
Moderator: NADEO
Re: [textedit] request to add feature "name" as entry has
While waiting a fix,
i found out that normal entry can be used to pass the data, but it needs a little trick to pass the data, here's my work-around, if somebody else needs it while waiting the fix
idea is to pass the contents of the textedit to invisible entry (posn 200,200), and pass the entry as http-get parameter to webserver
i found out that normal entry can be used to pass the data, but it needs a little trick to pass the data, here's my work-around, if somebody else needs it while waiting the fix
Code: Select all
<manialink version="2">
<timeout>0</timeout>
<textedit default="" autonewline="1" sizen="205 85" posn="0 0 0" id="input"/>
<entry default="" posn="200 200 0" sizen="9 4" id="output" name="content"/>
<script><!--
main() {
declare CMlTextEdit input <=> (Page.GetFirstChild("input") as CMlTextEdit);
declare CMlEntry output <=> (Page.GetFirstChild("output") as CMlEntry);
while (True) {
yield;
output.Value = input.Value;
}
}
--></script>
</manialink>
Re: [textedit] request to add feature "name" as entry has
Hi there,
sorry for not answering sooner . I'll add the name attribute as soon as possible, don't worry
Glad to see you found a workaround (a little bit very much ugly but... my bad ).
Keeping you informed,
-- noyranea
sorry for not answering sooner . I'll add the name attribute as soon as possible, don't worry
Glad to see you found a workaround (a little bit very much ugly but... my bad ).
Keeping you informed,
-- noyranea
Re: [textedit] request to add feature "name" as entry has
The feature has been added, it should be available in the next update.
Sorry again for the inconvenience,
have a nice day !
-- noyranea
Sorry again for the inconvenience,
have a nice day !
-- noyranea
Re: [textedit] request to add feature "name" as entry has
Heh, it indeed is ugly, but it worksGlad to see you found a workaround (a little bit very much ugly but... my bad ).
Better way should have been using EntrySubmit -event, but this works and was much faster to do
Thanks!The feature has been added, it should be available in the next update.
Re: [textedit] request to add feature "name" as entry has
Hi Noyranea,
The feature works very well for normal manialinks, many thanks for this
Addition: Sorry, I didn't test this properly. Looks like this doesn't work.
But if I use the texteditor at server-side, looks like the data is not passed back to xmlrpc interface (and to server controller).
Currently I would only use it only at one element: to set the server comment, as it would just look little better when admins set multiline comment.
Just to scale the usage:
How often an admin changes the comment in approx 30 servers ?
I would say, not that often
*edited addition*
means, it's not really a priority
-
reaby
The feature works very well for normal manialinks, many thanks for this
Addition: Sorry, I didn't test this properly. Looks like this doesn't work.
But if I use the texteditor at server-side, looks like the data is not passed back to xmlrpc interface (and to server controller).
Currently I would only use it only at one element: to set the server comment, as it would just look little better when admins set multiline comment.
Just to scale the usage:
How often an admin changes the comment in approx 30 servers ?
I would say, not that often
*edited addition*
means, it's not really a priority
-
reaby
Who is online
Users browsing this forum: No registered users and 2 guests