Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
In line editors for different document types help make the alfresco web client more useful. Alfresco ships with a inline HTML editor. What it means to be 'inline' is as follows. You can edit the document directly within (or in line with) the alfresco web client.
Another example of an inline editor is and XML editor which presents the user with a UI, hiding the complexity and technical aspects of XML.
This guide is a tutorial for adding editors to the web client. As an example we will add the editLiveForXml editor to the Alfresco webclient.
editLiveForXml is a commercial applet. The applet can be downloaded at http://www.ephox.com/product/editliveforxml/default.asp
This tutorial is in no way connected with Ephox or is it suggesting that you should or should not use the Ephox EditLive for XML product. The editor is available for download, largely comprehensive, and thus is suitable as an example.
A beta of an integration of EditLive (XHTML version) that is supported by Ephox can now be found at http://liveworks.ephox.com/integrations/alfresco/
Step one is the easiest step. We need to build the view portion of the application. In our case the view is an applet and so our view is just a wrapper around it.
Create a jsp under source\web\jsp\dialog\
Name the file edit-wellformed-xml-inline.jsp
paste the following in to the file:
<r:page titleId='title_edit_html_inline'>
<f:view>
<f:loadBundle basename='alfresco.messages.webclient' var='msg'/>
<h:form acceptCharset='UTF-8' id='edit-file'>
<tr>
<td></td>
</td>
<td></td>
</tr>
<tr valign=top>
</td>
<td height='100%'>
</td> <td bgcolor='#EEEEEE'>
</td> </td> |
<a:panel id='checkout-panel' rendered='#{CheckinCheckoutBean.document.properties.workingCopy == false}'>
</a:panel> |
|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.