|
||||||||||||||
<tml:form>Avaliable since version 2.0.2Description:
Generates a form for the imput of data.
Attributes:
Details: <tml:form> generates HTML of the following type at run time: <form methode=post" id="myform" action="URL to the same page">
Normally it is used together with <tml:actions> that write the data. <tml:form source="profile" id="myform">
<a href="<tml:url type="action">this.tmlform.storeInProfile()</tml:url>">save</a> Here is an additional example for HTML File-Upload, attaching the files to the content document which is in active context <br> (works since WGAPublisher v. 2.2): <tml:action id="save"> this.tmlform.attach( this.content() ); </tml:action> <tml:form id="Upload"> File Upload<br> <tml:input type="file" name="FileUpload"> size="80" </tml:input><br> <a href="<tml:url type="action" action="save"/>">Attach files to content document</a> </tml:form> |
Syndicate
Dokumentationen
© Innovation Gate
|
|||||||||||||