Create JSF Page Use Page Template

15 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€66.52
List Price:  €95.03
You save:  €28.51
£55.40
List Price:  £79.15
You save:  £23.74
CA$97.77
List Price:  CA$139.67
You save:  CA$41.90
A$107.48
List Price:  A$153.55
You save:  A$46.07
S$94.07
List Price:  S$134.39
You save:  S$40.32
HK$544.73
List Price:  HK$778.22
You save:  HK$233.49
CHF 61.85
List Price:  CHF 88.36
You save:  CHF 26.51
NOK kr773.61
List Price:  NOK kr1,105.21
You save:  NOK kr331.59
DKK kr496.19
List Price:  DKK kr708.87
You save:  DKK kr212.68
NZ$119.31
List Price:  NZ$170.45
You save:  NZ$51.14
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,370.95
List Price:  ৳11,959.01
You save:  ৳3,588.06
₹5,916.42
List Price:  ₹8,452.40
You save:  ₹2,535.97
RM312.50
List Price:  RM446.45
You save:  RM133.95
₦117,624.49
List Price:  ₦168,042.19
You save:  ₦50,417.70
₨19,473.08
List Price:  ₨27,819.88
You save:  ₨8,346.79
฿2,426.48
List Price:  ฿3,466.55
You save:  ฿1,040.07
₺2,418.28
List Price:  ₺3,454.83
You save:  ₺1,036.55
B$406.67
List Price:  B$580.99
You save:  B$174.31
R1,268.60
List Price:  R1,812.36
You save:  R543.76
Лв130.09
List Price:  Лв185.85
You save:  Лв55.76
₩98,070.61
List Price:  ₩140,106.88
You save:  ₩42,036.26
₪261.37
List Price:  ₪373.41
You save:  ₪112.03
₱4,133.88
List Price:  ₱5,905.80
You save:  ₱1,771.92
¥10,806.63
List Price:  ¥15,438.71
You save:  ¥4,632.07
MX$1,423.91
List Price:  MX$2,034.25
You save:  MX$610.33
QR255.44
List Price:  QR364.93
You save:  QR109.49
P956.94
List Price:  P1,367.12
You save:  P410.17
KSh9,046.20
List Price:  KSh12,923.70
You save:  KSh3,877.50
E£3,475.04
List Price:  E£4,964.56
You save:  E£1,489.51
ብር8,733.50
List Price:  ብር12,476.97
You save:  ብር3,743.46
Kz63,853.79
List Price:  Kz91,223.61
You save:  Kz27,369.81
CLP$68,157.66
List Price:  CLP$97,372.26
You save:  CLP$29,214.60
CN¥506.84
List Price:  CN¥724.09
You save:  CN¥217.25
RD$4,224.90
List Price:  RD$6,035.83
You save:  RD$1,810.93
DA9,349.94
List Price:  DA13,357.64
You save:  DA4,007.69
FJ$158.89
List Price:  FJ$226.99
You save:  FJ$68.10
Q540.76
List Price:  Q772.55
You save:  Q231.78
GY$14,655.30
List Price:  GY$20,937.04
You save:  GY$6,281.74
ISK kr9,679.61
List Price:  ISK kr13,828.61
You save:  ISK kr4,149
DH699.78
List Price:  DH999.72
You save:  DH299.94
L1,274.52
List Price:  L1,820.82
You save:  L546.30
ден4,093.48
List Price:  ден5,848.08
You save:  ден1,754.59
MOP$561.60
List Price:  MOP$802.33
You save:  MOP$240.72
N$1,270.52
List Price:  N$1,815.10
You save:  N$544.58
C$2,577.69
List Price:  C$3,682.57
You save:  C$1,104.88
रु9,455.06
List Price:  रु13,507.81
You save:  रु4,052.75
S/265.82
List Price:  S/379.77
You save:  S/113.94
K281.99
List Price:  K402.86
You save:  K120.87
SAR262.75
List Price:  SAR375.38
You save:  SAR112.62
ZK1,938.58
List Price:  ZK2,769.51
You save:  ZK830.93
L331.04
List Price:  L472.94
You save:  L141.89
Kč1,685.42
List Price:  Kč2,407.85
You save:  Kč722.43
Ft27,354.11
List Price:  Ft39,078.98
You save:  Ft11,724.86
SEK kr771.99
List Price:  SEK kr1,102.90
You save:  SEK kr330.90
ARS$70,181.20
List Price:  ARS$100,263.16
You save:  ARS$30,081.95
Bs485.08
List Price:  Bs693
You save:  Bs207.92
COP$308,906.07
List Price:  COP$441,313.30
You save:  COP$132,407.23
₡35,572.52
List Price:  ₡50,820.06
You save:  ₡15,247.54
L1,770.13
List Price:  L2,528.86
You save:  L758.73
₲548,589.81
List Price:  ₲783,733.33
You save:  ₲235,143.51
$U2,994.50
List Price:  $U4,278.05
You save:  $U1,283.54
zł289.22
List Price:  zł413.19
You save:  zł123.97
Already have an account? Log In

Transcript

Hello, last video we have created a beach template. In this video I will show you how you can use this pitch template when you create our own pages. Okay, so now let's create a new page I will call you Dept. template no we tip use template and it should be GCF because the template opportunity GCF, then I will see a need to reference to my big image which we are carrying it. Okay, so from here, you can select your template and here you will find like a preview with what we create And press OK. So, once now you create a beach use a template now is the structure of the page view the document and form you will find some so called beach template and it points to the my beach template and you will find what you find a face it called body which we define is a beach template here as a face of reference.

So, in this page the user should add the content in this body and wants to use it as a content page in this body it will appear in this area of the template under the menu and under the logo on so, so to to split here. So Here let us for example just display let's talk about one one component called panel books sorry many collection manipulation is a component I prefer to use when you enter a new insert is a table because it will give some feature to the table. So, let us add a collection and inside this collection I will add a department as a table. Okay. here if you want to make a certain sort the table has a sort has a filter has a single rule if it is read only or no as a group selection or multiple second initial none, make it single selection.

It is read only and sortable further Okay, and let us run my department and see how it totally looks like As you can see here, the logo is here my system name here and with my name and okay it was a menu is close this is the menu when you want menu to menu three, so we can increase this height or you can reduce the logo size. This is like a dummy logo you just don't get it from the Google it has nothing and the menu can be we can increase this you know from where you can increase this this is a better collections for sources in the template. Here I can see see to 400 make it to 150 save and just to refresh. Now you can see it is beat okay. That's fine. So, now we have a like a beach template and once we add the content in the body face it so the content here blazed is this part because it's a template I say is the top should have the logo and in the center of the panel, decorative books I need to use the content here.

So you you are using it here. So this is the using of the face it for example, if the template you want to give the user a ability to add some information after look out for example, in this area, I need the user in the beach have ability to add some text here. So you have to go to the beach template and add a face it here. So says the user will be able to enter the text here. So, let's do that. So that you will be aware about what mean equals a face it reference here.

So, here I need to add a new face it so in the component here right click Insert face it, I can see here title for example, this is a basic theme called title and I want the title face it to be after look out. So, let us go to the top one with templates is a template is the first here, here sorry here, here, yes. And then after the logo, I need to add I just want to give some space after that I will add phases face it. difference and they will select subtitles so the face address reference the place it will be after the look out here. And if the user is a bitch at any content in their face it called title the content will display after the lockout. So now I create a physics reference after look at here is the page itself I should use it.

So if you can right click visit you will find there are another one called Titan which you are created and is this title I will add just thickest insides this plated spray some thickest belay this tikis so now this bitch using this template so we define to face it so you'll find here to face it if you add any quantity The title it will appear after lookout if you add any quantities of body it will appear in the body here so let's now run the page you will find displays is appear Of course zero with as you can see. So now we know we're about what is the meaning of face it is a bitch definitive rubbish template and how you can reference this face it is a bitch and how you can use it in Zabbix which you will use which demit the second one which I talk about it is efficient is a is a attribute okay.

You can create here a new attribute Okay I will tell you what this attribute used for. For example, I need a tribute no name call especially literal position okay. This is can be into Java Lang integer and default the value which we entered is 150 Okay. This is one attribute I defined the benefit of this attribute is to give ability in the beach itself to control some attribute in this page template. For example, here is the which template I said the splitter should have a splitter position 150 it means this height is 150 and the user will not be able to change Because it is a template. So, I need to give an ability in each template, I will decide what is the height for this template.

So, I need to control the height of this. So, is this a template, I give an attribute I named this attribute as a splitter position and I just would come here as a banana splitter and in a splitter position I will select this title you will find here is a variable attributes position you can select it like this. So, the value of the splitter position this height the value of this height, it is not now fixed it no it is coming from attribute called splitter position as the default value is 150 but is a bitch default template you can control this now if you select which template you will find here is better position is coming here. So, any pitch will use this pitch template will have feature two draws the height of the benefit split. So if we create now another beach, okay, right click New page and I would select call it m buoy is us template and I will select my template Kay okay.

So once you see the urine buoy here, you will find there are to face it and once you select template you will find a splitter position I need in the department. If I am in the department, I need this position to be maybe 150 years as a 150 keep it as a default or we can change it to 200 bigger and in embroidery I need to be a 100 so now you are able to control maker some control of the bitch timber itself depending on the age so now I see in the bitch timbit if I'm in the workman mixer position 200 and in between maker position is 100 and this is the body the body I need to add in Bluey as a table okay. So this is table as employee, okay. And as I told you how you can create some navigation between pages so I will open What is meant Yes, we have here the total flow you can create one unbounded task flow.

So, you can create here on the CIC this and this is a unbounded task flow now. So unbought flow is just place you can add is mp3 and you can add a department here as I said before, this is the worst meant and this is in between and it's a component you can define some global navigation here is the temp as Oh come in him, as you won't hear him, Tim in the name. So this is just to give a outcome name for this page and outcome name for this page. Okay, so this is my bitch template here. Maybe you we have some we have a menu you can go or whatever you want as I mean you would have as well some action, but you have to write it. So, what you can do here in the department, I will add this is the northwind column.

So, I will just add here, first column, concert column here and the size this column I will see at the bottom and I will say my ambu ease okay and the action will be empathy, okay. And now in the employee in the body, so be sure, I will add a new column and inside the column, I will add Bottom my bars okay and the action will be there was different. So, let's now select the wrong department, you should see the header will be too high because I said 200 too high. So, it for this What if they want to meet I need to go for the employee. So, you selected the employee you will find this become a small the height, the height here becomes more because I say it is 100 if it is in a movie, if I back to the bottom and you will find So, how it here is bigger.

So, now, you can control some attribute in the page template if you defined attribute attribute as a component and you can add this attribute in Any component you want to control. So, big template, much easy, you just you have to lay out your page you can use face it to decide which places the template you want the user to be able to add some tickets or where where the user should add the content. Okay. So as attribute which gives the ability to the user choose a template to able to make some change in the template. This is is the pitch template. In this pitching bit.

We went through some of the ADF component which is fine. For the next video. I will talk more about some EDF as our ADF components. So see you next to you

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.