Why two "add object" forms in editobject.vm?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why two "add object" forms in editobject.vm?

Robin Fernandes
Hi,

What is the purpose of the second Add Object menu (with a free text
input instead of dropdown selection of available classes) on virtual
wikis, as defined in editobject.vm:106 by this code?

#if($xwiki.isVirtual())
<form id="objectadd2" method="post" action="$doc.getURL("objectadd")"
onsubmit="cancelCancelEdit()">
<p style="text-align: center">
<input type="hidden" name="xredirect"
value="$xwiki.getFormEncoded($redirect)" />
<input type="text" name="classname" size="20" />
<input type="submit" value="$msg.get("addobjectfromclass")" />
</p>
</form>
#end

Regards,
Robin



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Why two "add object" forms in editobject.vm?

jeremi joslin
On 3/12/06, Robin Fernandes <[hidden email]> wrote:

> Hi,
>
> What is the purpose of the second Add Object menu (with a free text
> input instead of dropdown selection of available classes) on virtual
> wikis, as defined in editobject.vm:106 by this code?
>
> #if($xwiki.isVirtual())
> <form id="objectadd2" method="post" action="$doc.getURL("objectadd")"
> onsubmit="cancelCancelEdit()">
> <p style="text-align: center">
> <input type="hidden" name="xredirect"
> value="$xwiki.getFormEncoded($redirect)" />
> <input type="text" name="classname" size="20" />
> <input type="submit" value="$msg.get("addobjectfromclass")" />
> </p>
> </form>
> #end
I don't know. It's only used on a wiki farm.
Maybe Ludovic know.

Jérémi


--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki: http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : [hidden email]


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws