content
Tag fileField




Tag Information
Tag Classorg.jahia.taglibs.field.file.FileFieldTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.Stringname of the file field that we want to display the properties of.

pageIdfalsetruejava.lang.Stringthe Page ID of the page which contains the desired field.

In the same way we can access container lists using absolute or relative addressing, it is also possible to access fields that were declared outside of containers, and directly attached to a page. The addressing system for fields is quite similar to the one for container lists. There is no such thing as an “absoluteField” tag, but rather that we simply add a “pageId” attribute to the regular field display tag.

pageLevelfalsetruejava.lang.Stringthe Page ID of the page which contains the desired field.

Just in the same way as we can use page level addressing for container lists, the same technique can be used to access fields directly attached to page. So if we have the current page path that looks like this :

page 1 -> page 2 -> page 3 -> page 4

and that we are currently on page 4, the following code : <content:FileField name=”testField” pageLevel=”1” />

will return the field called “testField” that is present on page 1.

valueIdfalsetruejava.lang.String [To Be Completed] .

setValueId never called...


Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.