myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "PanelGrid" by Keywan Ghadami
Date Wed, 17 Sep 2008 09:00:58 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by Keywan Ghadami:
http://wiki.apache.org/myfaces/PanelGrid

The comment on the change is:
it not fineshed, but hopyfully it enove to help other guys

New page:
== Description ==
This is a template to describe all the PanelGrid component in a standardized way.

== Screen Shot ==
e.g. Not a Visual Component

== API ==

PanelGrid
|| component-family || javax.faces.Panel ||
|| component-type || org.apache.myfaces.HtmlPanelGrid ||
|| renderer-type || org.apache.myfaces.Grid ||
|| component-class || org.apache.myfaces.component.html.ext.HtmlPanelGrid||
|| renderer-class || org.apache.myfaces.renderkit.html.ext.HtmlGridRenderer ||
|| tag-class || org.apache.myfaces.taglib.html.ext.HtmlPanelGridTag||

PanelGroup
|| component-family || javax.faces.Panel ||
|| component-type || org.apache.myfaces.HtmlPanelGroup ||
|| renderer-type || org.apache.myfaces.Group ||
|| component-class || org.apache.myfaces.component.html.ext.HtmlPanelGroup||
|| renderer-class || org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer ||
|| tag-class || org.apache.myfaces.taglib.html.ext.HtmlPanelGroupTag||


== Links to javadoc and tlddoc ==

== Usage ==
You can use PanelGrid the same way u use the standart ["UIPanel"] component.
Extensionaly you can use the colspan attribute to span cells.

== Syntax ==
{{{
see example
}}}

== Instructions ==
necessary?

== Attributes ==
|| '''name''' || '''required''' || '''description''' ||
|| '''colspan''' || '''not required''' || '''how many cells should be spaned''' ||
|| '''styleClass''' || '''not required''' || '''renders a div element with a class attribute
of the given styleclass around the cell content''' ||
|| '''style''' || '''not required''' || '''''' ||
|| '''enabledOnUserRole''' || '''not required''' || '''''' ||
|| '''visibleOnUserRole''' || '''not required''' || '''''' ||


== Configuration ==
Don't need any extra configuration.

== Notes and Known issues ==
Some known issues like incompatibility to other frameworks/component libs

You need to use both t:panelGrid and t:panelGroup together in order to get the "colspan" function
work.


== Examples ==
Use example:

<t:panelGrid id="myPanel" columns="4"
  footerClass="myFooterCss" headerClass="myHeaderCss" columnClasses="column1Css,column2Css,column3Css">
	<f:facet name="header">
		<h:outputText value="Header content here" />
	</f:facet>

	<h:outputText value="1" />

	<t:panelGroup colspan="3" styleClass="long" >
		<h:outputText value="234 one big cell" />
	</t:panelGroup>

	<h:outputText value="5" />
	<h:outputText value="6" />
	<h:outputText value="7" />
	<h:outputText value="8" />

	<f:facet name="footer">
		<h:outputText value="Footer content here" />
	</f:facet>
</t:panelGrid>

["Category:JSFTags"]

== FAQ ==
Post your (or potential) questions here.

== Additional Information ==

-- Keywan Ghadami [[DateTime(2008-09-17T09:00:42Z)]]

Mime
View raw message