<%@ taglib prefix="efw" uri="efw" %>
<head>
<efw:Client/>
</head>
<body>
<efw:elFinder id="elFinder1" home="homefolder" height="400" width="800" readonly="false" /> //or efw:elfinder , efw:Elfinder , efw:ELFINDER
</body>
Name | Required | Default | Description |
---|---|---|---|
id | Yes | The identity of the elFinder tag. You can use it as the instance of the elFinder. | |
home | No | "" | A relative path to the storage folder(/WEB-INF/storage). You can set the properties file to change the storage folder to your own folder. |
selection | No | "" | A relative path to the home folder. The file or folder of the path will be selected when elfinder openning . |
height | No | "400" | The height of elFinder tag. The unit is "px". |
width | No | "auto" | The width of elFinder tag. The unit is "px". |
readonly | No | "false" | The elFinder tag is for reference or not. |
protected | No | "false" | The elFinder tag is protected or not. If it is true, "setHome" method and "setReadOnly" method calling will be ignored. |
isAbs | No | false | The home path is absolute path or not. |
Calling | Returning | Description |
---|---|---|
id . setHome ( path ) | void | To set the home attribute. |
id . setHome ( path , selection ) | void | To set the home attribute and the selection attribute. |
id . setHeight ( height ) | void | To set the height attribute. |
id . setWidth ( width ) | void | To set the width attribute. |
id . setReadOnly ( readonly ) | void | To set the readonly attribute. |