Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
2.12.0sakaihttp://sakaiproject.org/jsf2/sakai
Sakai style guide.]]>
vieworg.sakaiproject.jsf2.tag.ViewTagJSP
Outermost container for a Sakai tool. Parent should be a f:view tag.
Contains all other Sakai tags. Responsible for rendering the HTML,
HEAD, and BODY tags (if necessary in the rendering context). If the
tool is being rendered as a fragment of HTML, this tag will detect
this and not render the HTML, HEAD, and BODY.
titlefalsefalse
The page title. Rendered as the HTML title of the tool page, unless
the tool is being aggreggated and doesn't have its own HTML document.
toolCssHreffalsetrue
The URL of a stylesheet whose link should go between the base
Sakai stylesheet and the installation skin stylesheet.
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
view_titleorg.sakaiproject.jsf2.tag.ViewTitleTagempty
Output a view title according to the Sakai Style Guide. Usually displayed at the
top of a tool page.
indentfalsefalse
The integer intentation level at which to display this component - See the Sakai Style Guide.
Default is no special indentation.
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
valuefalsefalsejava.lang.String
The text of the title to display.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
]]>
tool_barorg.sakaiproject.jsf2.tag.ToolBarTagJSP
Renders a Sakai style toolbar at the top of the tool.
Should be contained in an h:form tag. Children are tool_bar_ttem or tool_bar_spacer tags.
bindingfalsefalse
The value binding expression linking this component to a property in a backing bean.
idfalsefalse
The component identifier for this component. This value must be unique
within the closest parent component that is a naming container.
renderedfalsefalseboolean
Determine if this component is to be rendered.
separatorfalsefalseinstruction_messageorg.sakaiproject.jsf2.tag.InstructionMessageTagempty
Render an instructional message. Should be contained in a sakai:view tag.
bindingfalsefalse
Component reference expression for this component.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
idfalsefalse
Component id of this component.
valuefalsefalse
The message text
tool_bar_spacerorg.sakaiproject.jsf2.tag.ToolBarSpacerTagempty
Renders a spacer (separator) in a Sakai style toolbar. Parent should be a tool_bar tag.
button_barorg.sakaiproject.jsf2.tag.ButtonBarTagJSP
Render Sakai style button ("action") bar at the bottom of the tool.
See the Sakai Style Guide, "Item Summary Detail" and "Aggregated Item Summary".
Children are button_bar_item tags.
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
group_boxorg.sakaiproject.jsf2.tag.GroupBoxTagJSPDEPRECATED - use panel_titled instead.
]]>
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
titlefalsefalse
The group box title
inputColororg.sakaiproject.jsf2.tag.InputColorTagJSP
Render a sample-color bar and a color picker icon, as well as
an hidden field with the component value. Clicking icon
causes color picker to popup. Transfer chosen
color picker value to hidden field and render bar in that color.
idfalsefalse
The component identifier for this component. This value must be
unique within the closest parent component that is a naming
container.
valuefalsefalse
The current value of this component.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
panel_editorg.sakaiproject.jsf2.tag.PanelEditTagJSP
Setup an editing panel. 2 column layout.
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
separatedListorg.sakaiproject.jsf2.tag.SeparatedListTagJSP
Adds a separator between the child nodes
separatorfalsefalsestyleClassfalsefalseidfalsefalse
Component id of this component.
pagerorg.sakaiproject.jsf2.tag.PagerTagJSP
Pager widget that provides UI controls for paging a table. See the
Sakai style guide, under heading "List Navigator UI Components".
totalItemstruefalse
Total number of items in the list. This attribute is read-only;
the widget will get this value, but not set it.
firstItemfalsefalseThe item number (0-based) of the first item displayed.
This attribute is read-write; the widget will get this value, and set it when
it is changed. Alternate to using the value attribute.pageSizefalsefalse
Number of items to display in a single page of items.
Default is 20. This attribute is read-write; the widget will get this value, and set it when
it is changed. Alternate to using the value attribute.
accesskeysfalsefalse
Whether to have HTML "accesskey" attributes for the buttons. Default is false.
valuefalsefalse
The value (which is the paging state of this widget) is two numbers
in a String, of the form "firstItem,pageSize".
See attributes firstItem and pageSize.
lastItemfalsefalseOne past the last item displayed (eg, items 1-10 would have lastItem=10).
This attribute is write-only; the widget calculates this attribute
and sets it when it has changed.
valueChangeListenerfalsefalse
Register a listener that will be called when the widget value (the paging state) changes.
See the value attribute.
pageSizesfalsefalse
String which is a list of options of number of items per page. Default is "20,100,200".
renderFirstfalsefalseWhether to display the "first item" button. Default is true.renderPrevfalsefalseWhether to display the "previous item" button. Default is true.renderNextfalsefalseWhether to display the "next item" button. Default is true.renderLastfalsefalseWhether to display the "last item" button. Default is true.renderPageSizefalsefalseWhether to display the select page size dropdown. Default is true.textFirstfalsefalseText to display on the button which goes to the first page of items. Default is "|<".textPrevfalsefalseText to display on the button which goes to the previous page of items. Default is "<".textNextfalsefalseText to display on the button which goes to the next page of items. Default is ">".textLastfalsefalseText to display on the button which goes to the last page of items. Default is ">|".textPageSizefalsefalseText message to display for selecting page size. Default is "Show {0}".textItemfalsefalseWord that describes the items. Default is "items". This might be (for example) "students".textStatusfalsefalseText message to display the status of paging. Default is "Viewing {0} to {1} of {2} {3}".bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
immediatefalsefalse
Flag indicating that this component's value must be
converted and validated immediately (that is, during
Apply Request Values phase), rather than waiting
until Process Validations phase.
Example #2 (Common usage):
Example #3 (Advanced customization):
]]>
flowStateorg.sakaiproject.jsf2.tag.FlowStateTagJSPidfalsefalsebeantruefalsetool_bar_itemorg.sakaiproject.jsf2.tag.ToolBarItemTagempty
Renders a Sakai style toolbar item (or button). Parent should be a tool_bar tag.
bindingfalsefalse
The value binding expression linking this component to a property in a backing bean.
idfalsefalse
The component identifier for this component. This value must be unique
within the closest parent component that is a naming container.
actionfalsefalsejava.lang.StringMethodBinding representing the application action to invoke when this
component is activated by the user. The expression must evaluate to a public method
that takes no parameters, and returns a String (the logical outcome) which is passed
to the NavigationHandler for this application.
valuefalsefalsejava.lang.StringThe displayed label of the toolbar item.disabledfalsefalsebooleanIf true, the toolbar item is disabled. Clicking on the item does nothing.immediatefalsefalsebooleanFlag indicating that, if this component is activated by the user,
notifications should be delivered to interested listeners and actions immediately
(that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
stylefalsefalse
CSS style(s) to be applied when this component is rendered.
styleClassfalsefalse
Space-separated list of CSS style class(es) to be applied when
this element is rendered. This value must be passed through
as the "class" attribute on generated markup.
currentfalsefalsebooleanFlag indicating whether or not this component represents the current pagetool_bar_messageorg.sakaiproject.jsf2.tag.ToolBarMessageTagempty
Renders a message in the toolbar location. Typically used instead of a toolbar.
Parent should usually be an h:form tag.
bindingfalsefalse
The value binding expression linking this component to a property in a backing bean.
idfalsefalse
The component identifier for this component. This value must be unique
within the closest parent component that is a naming container.
valuefalsefalse
The text of the message.
inputRichTextorg.sakaiproject.jsf2.tag.InputRichTextTagJSP
HTMLArea project.
HTMLArea is copyright
InteractiveTools.com
and Dynarch.com and it is released
under a BSD-style license.
HTMLArea was created and developed up to
version 2.03 by InteractiveTools.com. Version 3.0 is a full rewrite,
developed by Mihai Bazon.
It contains code sponsored by third-party
companies as well. Please see our About Box for details about
who sponsored what plugins.
]]>
valuefalsefalse
The editable HTML displayed inside the textarea.
colsfalsefalse
Number of columns in the textarea (in character units). Defaults to 80.
Complements the the 'width' attribute. Passes through to the HTML textarea element.
rowsfalsefalse
Number of rows in the textarea (in character units). Defaults to 15.
Complements the 'height' attribute. Passes through to the HTML textarea element.
widthfalsefalse
Width of the widget (in pixel units).
If this attribute is not specified, the width is controlled by the 'cols' attribute.
heightfalsefalse
Height of the widget (in pixel units).
If this attribute is not specified, the width is controlled by the 'rows' attribute.
textareaOnlyfalsefalse
If true, only the textarea will be rendered. Defaults to false.
If true, the rich text toolbar
and external HTMLArea JavaScript will not be rendered. Attributes that
affect the textarea element will be rendered (for example style, styleClass).
This widget is then rendered as just a plain-old textarea.
enableFullPagefalsefalse
If true, this will set CKEditor's fullPage property, which captures the entire HTML document
with html, head and body tags.
buttonSetfalsefalse
Select toolbar from among a number precanned lists of command buttons.
Allowed values are: "none", "small", "medium", "large". (values tentative).
Defaults to "medium", which has 2 rows of buttons. For fine-grained
control of which buttons are shown, use the buttonList attribute
instead. "small" has 1 row
of buttons. "large" has 3 rows of buttons, almost everything available.
"none" has 0 rows of buttons, no buttons at all - The text is still editable;
Keyboard shortcuts for formatting (like Ctrl-B for bold) still work.
buttonListfalsefalse
Comma delimited list of toolbar command buttons registered with
component. If not specified, will default to a defined list.
javascriptLibraryExtensionURLfalsefalse
URL to an external JavaScript file with additional
JavaScript to execute beyond the default, for example
extra command button definitions. May be a relative URL.
Default is nothing.
javascriptLibraryURLfalsefalse
The URL to the directory of the HTMLArea JavaScript library.
This allows overriding the default HTMLArea JavaScript library
that comes with this component.
May be a relative URL.
showXPathfalsefalse
If true show XPath at bottom of editor. Default is true.
hideAblefalsefalse
Show sub control allowing you to hide editor.
Default is false.
autoConfigfalsefalse
___TODO: This is here for legacy purposes - is it really necessary anymore?___
Whether to recalculate the configuration - defaults to false. If true,
the width, height, and toolbar buttons will be recalculated based on
the values given.
bindingfalsefalseconverterfalsefalse
Converter instance registered with this component.
idfalsefalse
The component identifier for this component. This value must be
unique within the closest parent component that is a naming
container.
immediatefalsefalse
Flag indicating that this component's value must be
converted and validated immediately (that is, during
Apply Request Values phase), rather than waiting
until Process Validations phase.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
requiredfalsefalse
Flag indicating that the user is required to provide a submitted
value for this input component.
validatorfalsefalse
MethodBinding representing a validator method that will be called
during Process Validations to perform correctness checks on the
value of this component. The expression must evaluate to a public
method that takes FacesContext, UIComponent, and Object parameters,
with a return type of void.
valuefalsefalse
The current value of this component.
valueChangeListenerfalsefalse
MethodBinding representing a value change listener method that will be
notified when a new value has been set for this input component. The
expression must evaluate to a public method that takes a
ValueChangeEvent parameter, with a return type of void.
accesskeyfalsefalse
Access key that, when pressed, transfers focus
to this element.
dirfalsefalse
Direction indication for text that does not inherit directionality.
Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
disabledfalsefalse
Flag indicating that this element must never
receive focus or be included in a subsequent
submit.
langfalsefalse
Code describing the language used in the generated markup
for this component.
readonlyfalsefalse
Flag indicating that this component will prohibit
changes by the user. The element may receive focus
unless it has also been disabled.
stylefalsefalse
CSS style(s) to be applied to the underlying textarea when it is rendered.
styleClassfalsefalse
Space-separated list of CSS style class(es) to be applied when
the underlying textarea is rendered. This value must be passed through
as the "class" attribute on generated markup.
tabindexfalsefalse
Position of the underlying textarea element in the tabbing order
for the current document. This value must be
an integer between 0 and 32767.
titlefalsefalse
Advisory title information about markup elements generated
for this component.
attachedFilesfalsefalse
A list of SelectItems or a Map of link to label strings that
will be rendered as a list on the editor.
collectionBasefalsefalse
Collection with in Content Hosting to use for any ContentHostingService
interactions with in the editor, such as the FCK file browser.
doc_sectionorg.sakaiproject.jsf2.tag.DocSectionTagJSP
A document section
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
contentTypeMaporg.sakaiproject.jsf2.tag.JsfContentTypeMapTagempty
Exposes a map of the file types: images, names and extensions.
If image is the mapType, the returned value will be the file name for the fileType icon.
If name is the mapType, the returned value will be the display name for the fileType.
If extension is the mapType, the returned value will be the extension for the fileType
fileTypefalsefalse
String representation of the mime type (like "text/xml")
mapTypefalsefalse
Accepted values are image, name, extension
pathPrefixfalsefalse
Path prefix for where the image lives (only needed if mapType is image)
vartruefalse
Name of a request-scope attribute under which the return value will be exposed.
panel_titledorg.sakaiproject.jsf2.tag.GroupBoxTagJSP
Container that renders children components inside a titled grouping box.
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
titlefalsefalse
The group box title
view_containerorg.sakaiproject.jsf2.tag.ViewTagJSPDEPRECATED - Use sakai:view tag instead.
]]>
titlefalsefalse
The page title. Rendered as the HTML title of the tool page, unless
the tool is being aggreggated and doesn't have its own HTML document.
bindingfalsefalse
Component reference expression for this component.
idfalsefalse
Component id of this component.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
view_contentorg.sakaiproject.jsf2.tag.ViewContentTagJSPDEPRECATED - no longer necessary. This tag has been
phased out and is only here for compatibility with older Sakai tools.
]]>
input_dateorg.sakaiproject.jsf2.tag.InputDateTagJSPidfalsefalse
Component id of this component.
showDatefalsefalse
If true, enable input for user to enter the date. Default is true.
showTimefalsefalse
If true, enable input for user to enter the time. Default is true.
showSecondfalsefalse
If true, and showTime is true, input seconds.
Default is false.
If false, default to zero seconds.
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
valuefalsefalse
The current value of this component.
renderedfalsefalse
Flag indicating that this element should be rendered.
Default is true;
disabledfalsefalse
Flag indicating that this element must never
receive focus or be included in a subsequent
submit.
inputFileUploadorg.sakaiproject.jsf2.tag.InputFileUploadTagJSP
Widget that allows the user to upload a file. The uploaded
file is available through the value of the component, through the FileItem
interface. See the Apache commons-fileupload 1.0 API for details at
http://jakarta.apache.org/commons/fileupload/. The recommended use of this
widget is to use the valueChangeListener attribute to call a method that
will process the uploaded file. The uploaded file is NOT persisted to
storage automatically; the application is responsible for that, not the
widget.
The widget needs a filter configured in web.xml. The Sakai
RequestFilter is recommended; however, a custom filter is permissable.
The widget is compatible with the MyFaces filter ("extensionsFilter") as an alternative.
A custom filter must expose the uploaded file though the commons-fileupload 1.0
FileItem interface, in one of two ways. It must be made available
either as a request attribute with the
field name, and would be accessible as follows:
FileItem item = (FileItem) request.getAttribute(fieldName);
OR as a method on a request wrapper with the following signature:
public org.apache.commons.fileupload.FileItem getFileItem(String fieldName)
valuefalsefalse
The current value of this component. If the "directory" attribute is not
used, the value of the component is the uploaded FileItem. If the "directory"
attribute is used, the value of the component is the server-side absolute
path to the uploaded file.
directoryfalsefalse
If present, the directory to which to persist uploaded files. Use of this
attribute is discouraged. If this attribute is used, a tool which contains
the tag will not
be cluster-safe since different application servers probably do not share
the same filesystem. If a file already exists and another file of the same
name is uploaded, the existing file will be overwritten.
valueChangeListenerfalsefalse
This is the recommended way to access the uploaded file. The valueChangeListener
will be called when a file is uploaded.MethodBinding representing a value change
listener method that will be
notified when a new value has been set for this input component. The
expression must evaluate to a public method that takes a
ValueChangeEvent parameter, with a return type of void.
stylefalsefalse
CSS style(s) to be applied to the underlying input tag when it is rendered.
styleClassfalsefalse
Space-separated list of CSS style class(es) to be applied when
the underlying input tag is rendered. This value must be passed through
as the "class" attribute on generated markup.
idfalsefalse
The component identifier for this component. This value must be
unique within the closest parent component that is a naming
container.
bindingfalsefalserenderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
immediatefalsefalse
Flag indicating that this component's value must be
converted and validated immediately (that is, during
Apply Request Values phase), rather than waiting
until Process Validations phase.
requiredfalsefalse
Flag indicating that the user is required to provide a submitted
value for this input component.
validatorfalsefalse
MethodBinding representing a validator method that will be called
during Process Validations to perform correctness checks on the
value of this component. The expression must evaluate to a public
method that takes FacesContext, UIComponent, and Object parameters,
with a return type of void.
acceptfalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
alignfalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
accesskeyfalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
maxlengthfalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
sizefalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
disabledfalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
readonlyfalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
tabindexfalsefalse
Pass-through attribute. Will be output as-is on the underlying input element.
In web.xml:
sakai.requestorg.sakaiproject.util.RequestFilterupload.enabledtrue
In ExampleBean.java:
public void processFileUpload(ValueChangeEvent event) throws AbortProcessingException
{
try
{
FileItem item = (FileItem) event.getNewValue();
String fieldName = item.getFieldName();
String fileName = item.getName();
long fileSize = item.getSize();
// Read the file as a stream (may be more memory-efficient)
InputStream fileAsStream = item.getInputStream();
// OR INSTEAD read the contents as a byte array (probably less memory-efficient)
byte[] fileContents = item.get();
// now process the file. Do application-specific processing
// such as parsing the file, storing it in the database,
// or whatever needs to happen with the uploaded file.
}
catch (Exception ex)
{
// handle exception
}
}
]]>
timerBarorg.sakaiproject.jsf2.tag.TimerBarTagJSP
Display a moving bar that keeps track of elapsed time.
heighttruefalse
Timer bar height.
widthtruefalse
Timer bar width.
waittruefalse
Total number of seconds duration for timer bar.
This is the total time that it will take if elapsed
is zero.
elapsedtruefalse
Total number of tenths of a second elapsed.
Countdown will begin with wait time diminished
by elapsed times 10, progress will show appropriate
percentage remaining.
elapsedColorfalsefalse
Color indicating elapsed time on bar.
Valid values are supported HTML color names or RGB values.
Default: "gray".
remainingColorfalsefalse
Color indicating remaining time on bar.
Valid values are supported HTML color names or RGB values.
Default: "green".
expireScripttruefalse
JavaScript expriration handling code.
expireMessagetruefalse
JavaScript popup message.
expireHandlingfalsefalse
Enable JavaScript expiration handlers.
If false, disables expireMessage and expireScript;
renderedfalsefalse
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.