08-02-2011 11:35 AM
08-02-2011 05:12 PM
08-03-2011 07:32 AM
/**
* Custom content types
*/
function getContentTypes()
{
// TODO: Data webscript call to return list of available types
var contentTypes = [
{ id: "cm:content", value: "type.cm_content" },
{ id: "tvr:zFaktura", value: "type.tvr_zFaktura" },
{ id: "tvr:nFaktura", value: "type.tvr_nFaktura" },
{ id: "tvr:pFaktura", value: "type.tvr_pFaktura" },
{ id: "tvr:zTrans", value: "type.tvr_zTrans" },
{ id: "tvr:nTrans", value: "type.tvr_nTrans" },
{ id: "tvr:zUmo", value: "type.tvr_zUmo" },
{ id: "tvr:nUmo", value: "type.tvr_nUmo" },
{ id: "tvr:prUmo", value: "type.tvr_prUmo" }
];
return contentTypes;
}
model.contentTypes = getContentTypes();
header.singleUpload=Upload File
header.multiUpload=Upload File(s)
header.singleUpdate=Update File
label.browse=Select file(s) to upload
label.multiUploadTip=Use CTRL or SHIFT to select multiple files
label.singleUpdateTip=Click icon to upload a new version of {0}
label.noFiles=No files to display, click icon to select file(s) to upload
label.noFlash=You need a Flash Player of version 9.0.45 to use this component. You can download the latest version of Flash Player from the \
<a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player Download Center</a>.
label.success=Success
label.failure=Failure
label.failure.413=Failure: Quota exceeded
button.upload=Upload File(s)
label.uploadStatus=Status: {0}/{1} uploaded ({2} failed)
message.cancelStatus=Upload(s)cancelled; {0} file(s) uploaded
message.zeroByteFileSelected=You selected file {0}. It is 0b in size and cannot be uploaded.
message.flashError.title=Flash Communication Error
message.flashError.message=The browser cannot communicate with the Flash Uploader. You can continue to upload in single-file mode, or refresh the page to restart Flash.
section.version=Version Information
label.version=This version has:
label.minorVersion=minor changes
label.majorVersion=major changes
label.minorVersion.more=minor changes ({0})
label.majorVersion.more=major changes ({0})
label.comments=Comments
type.cm_content=Content
type.tvr_generalDoc=Dokumenty TVR
type.tvr_finDoc=Dokumenty Finansowe
type.tvr_transDoc=Dokumenty Transportowe
type.tvr_umoDoc=Umowy
type.tvr_zFaktura=Faktury Zewn.
type.tvr_nFaktura=Faktury Nasze
type.tvr_pFaktura=Faktury ProForma
type.tvr_zTrans=Listy Przewozowe Zewn.
type.tvr_nTrans=Listy Przewozowe Nasze
type.tvr_zUmo=Umowy Zewn.
type.tvr_nUmo=Umowy Nasze
type.tvr_prUmo=Umowy Pracownicze
<alfresco-config>
<!– Repository Library config section –>
<config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
<!–
Whether the link to the Repository Library appears in the header component or not.
–>
<visible>true</visible>
</config>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<types>
<type name="cm:content">
<subtype name="tvr:generalDoc" />
</type>
<type name="tvr:generalDoc">
<subtype name="tvr:zFaktura" />
<subtype name="tvr:nFaktura" />
<subtype name="tvr:pFaktura" />
<subtype name="tvr:zTrans" />
<subtype name="tvr:nTrans" />
<subtype name="tvr:zUmo" />
<subtype name="tvr:nUmo" />
<subtype name="tvr:prUmo" />
</type>
<type name="cm:folder">
</type>
</types>
</config>
<!– TVR creation forms –>
<config>
<forms>
<dependencies>
<css src="/custom/form/tvr.css" />
</dependencies>
</forms>
</config>
<config evaluator="node-type" condition="tvr:zFaktura">
<forms>
<form>
<edit-form template="/2-column-edit-form.ftl" />
<field-visibility>
<hide id="sys:node-uuid" />
<hide id="sys:store-protocol" />
<hide id="sys:store-identifier" />
<hide id="sys:node-dbid" />
<hide id="cm:created" />
<hide id="cm:creator" />
<hide id="cm:modified" />
<hide id="cm:modifier" />
<hide id="cm:accessed" />
<hide id="cm:contains" />
<hide id="rma:identifier" />
<hide id="rma:dbUniquenessId" />
<show id="cm:name" />
<show id="cm:title" force="true" />
<show id="cm:description" force="true" />
<show id="mimetype" for-mode="view" />
<show id="cm:author" force="true" />
<show id="tvr:zFakSprzedawca" />
<show id="tvr:zFakNumer" />
<show id="tvr:zFakKwota" />
<show id="tvr:zFakDataWyst" />
<show id="tvr:zFakPlatneDo" />
<show id="tvr:zFakCzyZapl" />
<show id="tvr:zFakDataZapl" />
</field-visibility>
<appearance>
<set id="Faktury" appearance="bordered-panel" label="Faktury Zewnętrzne" />
<field id="tvr:zFakSprzedawca" set="Faktury" />
<field id="tvr:zFakNumer" set="Faktury" />
<field id="tvr:zFakKwota" set="Faktury" />
<field id="tvr:zFakDataWyst" set="Faktury" />
<field id="tvr:zFakPlatneDo" set="Faktury" />
<field id="tvr:zFakCzyZapl" set="Faktury" />
<field id="tvr:zFakCzyZapl" set="Faktury" />
<field id="tvr:zFakDataZapl" set="Faktury" />
</appearance>
</form>
</forms>
</config>
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>alfresco-noauth</id>
<name>Alfresco - unauthenticated access</name>
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<identity>none</identity>
</endpoint>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<identity>user</identity>
</endpoint>
<endpoint>
<id>alfresco-feed</id>
<name>Alfresco Feed</name>
<description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
<connector-id>http</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>
</remote>
</config>
</alfresco-config>
type.tvr_generalDoc=Dokumenty TVR
type.tvr_finDoc=Dokumenty Finansowe
type.tvr_transDoc=Dokumenty Transportowe
type.tvr_umoDoc=Umowy
type.tvr_zFaktura=Faktury Zewn.
type.tvr_nFaktura=Faktury Nasze
type.tvr_pFaktura=Faktury ProForma
type.tvr_zTrans=Listy Przewozowe Zewn.
type.tvr_nTrans=Listy Przewozowe Nasze
type.tvr_zUmo=Umowy Zewn.
type.tvr_nUmo=Umowy Nasze
type.tvr_prUmo=Umowy Pracownicze
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="webscripts.resources"
class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>webscripts.messages.webscripts</value>
<value>alfresco.messages.common</value>
<value>alfresco.messages.slingshot</value>
<value>alfresco.web-extension.messages.tvrModel</value>
</list>
</property>
</bean>
</beans>
type.tvr_generalDoc=Dokumenty TVR
type.tvr_finDoc=Dokumenty Finansowe
type.tvr_transDoc=Dokumenty Transportowe
type.tvr_umoDoc=Umowy
type.tvr_zFaktura=Faktury Zewn.
type.tvr_nFaktura=Faktury Nasze
type.tvr_pFaktura=Faktury ProForma
type.tvr_zTrans=Listy Przewozowe Zewn.
type.tvr_nTrans=Listy Przewozowe Nasze
type.tvr_zUmo=Umowy Zewn.
type.tvr_nUmo=Umowy Nasze
type.tvr_prUmo=Umowy Pracownicze
08-11-2011 04:22 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.