|
JSF Tags: Tomahawk Tags |
|
Code Description: <%@ taglib uri=”http://java.sun.com/jsf/
html” prefix=”h”%>
<%@ taglib uri=”http://java.sun.com/jsf/
core” prefix=”f”%>
<%@ taglib uri=”http://
myfaces.apache.org/tomahawk”
prefix=”t”%>
<html>
<head>
<title>t:panelTab example<title>
</head>
<body>
<center>
<f:view>
<t:panelTabbedPane width=”400"
bgcolor=”#cddcf6" align=”center”
serverSideTabSwitch=”false”
selectedIndex=”0">
<t:panelTab label=”personal”
rendered=”true”>
<h:form id=”form1">
<t:panelGrid columns=”2" border=”0">
<t:outputText value=”Employee Name”/>
<t:inputText id=”empFn” size=”27" />
<t:outputText value=”Sex”/>
<t:selectOneListbox id=”empSex”
value=”” size=”1" required=”true” >
<f:selectItem id=”sex1" itemLabel=”Male”
itemValue=”sex1" />
<f:selectItem id=”sex2"
itemLabel=”Female” itemValue=”sex2" />
</t:selectOneListbox>
<t:outputText value=”Birth Date”
styleClass=”font11bold”/>
<t:inputCalendar id=”empDOB”
value=”” renderAsPopup=”true”
popupDateFormat=”MM/dd/yyyy”
helpText=”MM/DD/YYYY” forceId=”true”/>
<t:outputText value=”Address”
styleClass=”font11bold”/>
|
|
<t:inputText id=”empAdd” size=”27" />
<t:outputText value=”Phone”
styleClass=”font11bold”/>
<t:inputText id=”empPhone” size=”27" />
</t:panelGrid>
</h:form>
</t:panelTab>
<t:panelTab label=”Exprience Detail”
rendered=”true”>
<h:form id=”form2">
<t:panelGrid columns=”5" border=”0">
<t:outputText value=”Company Name”/>
<t:outputText value=”Designation”/>
<t:outputText value=”Technologies”/>
<t:outputText value=”From”/>
<t:outputText value=”To”/>
<t:inputText id=”cmpname” />
<t:selectOneListbox id=”designation”
value=”” size=”1" required=”true”>
<f:selectItem id=”one”
itemLabel=”Manager” itemValue=”one” />
<f:selectItem id=”two” itemLabel=”Jr.
Manager” itemValue=”two” />
<f:selectItem id=”three” itemLabel=”Clerk”
itemValue=”three” />
<f:selectItem id=”four”
itemLabel=”Engineer” itemValue=”four” />
</t:selectOneListbox>
<t:inputTextarea id=”technologies”
rows=”1" />
<t:inputCalendar id=”fromdate” value=””
renderAsPopup=”true”
popupDateFormat=”MM/dd/yyyy”
helpText=”MM/DD/YYYY”
forceId=”true” size=”12"/>
<t:inputCalendar id=”todate” value=”
renderAsPopup=”true”
popupDateFormat=”MM/dd/yyyy”
helpText=”MM/DD/YYYY”
forceId=”true” size=”12"/>
</t:panelGrid>
</h:form>
</t:panelTab>
</t:panelTabbedPane>
</f:view>
</center>
</body>
</html> |
|
Sept 2007 | Java Jazz Up | 22 |
|
|
|
Pages:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53 ,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63 ,
64,
65 ,
66 ,
67 ,
68 ,
69 ,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79, Download PDF |
|
|
|
|
|
|
|
|
|