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
€67.24
List Price:  €96.07
You save:  €28.82
£55.68
List Price:  £79.55
You save:  £23.86
CA$100.66
List Price:  CA$143.82
You save:  CA$43.15
A$111.82
List Price:  A$159.75
You save:  A$47.93
S$94.88
List Price:  S$135.55
You save:  S$40.66
HK$543.79
List Price:  HK$776.87
You save:  HK$233.08
CHF 62.67
List Price:  CHF 89.54
You save:  CHF 26.86
NOK kr792.28
List Price:  NOK kr1,131.89
You save:  NOK kr339.60
DKK kr501.55
List Price:  DKK kr716.53
You save:  DKK kr214.98
NZ$123.71
List Price:  NZ$176.74
You save:  NZ$53.02
د.إ257.07
List Price:  د.إ367.25
You save:  د.إ110.18
৳8,328.16
List Price:  ৳11,897.89
You save:  ৳3,569.72
₹5,958.01
List Price:  ₹8,511.81
You save:  ₹2,553.80
RM314.25
List Price:  RM448.95
You save:  RM134.70
₦108,236.03
List Price:  ₦154,629.53
You save:  ₦46,393.50
₨19,398.69
List Price:  ₨27,713.60
You save:  ₨8,314.91
฿2,394.21
List Price:  ฿3,420.45
You save:  ฿1,026.24
₺2,465.01
List Price:  ₺3,521.60
You save:  ₺1,056.58
B$426.13
List Price:  B$608.79
You save:  B$182.65
R1,290
List Price:  R1,842.93
You save:  R552.93
Лв131.30
List Price:  Лв187.58
You save:  Лв56.28
₩101,582.03
List Price:  ₩145,123.41
You save:  ₩43,541.37
₪254.54
List Price:  ₪363.65
You save:  ₪109.10
₱4,098.92
List Price:  ₱5,855.86
You save:  ₱1,756.93
¥10,967.38
List Price:  ¥15,668.35
You save:  ¥4,700.97
MX$1,406.50
List Price:  MX$2,009.38
You save:  MX$602.87
QR254.06
List Price:  QR362.96
You save:  QR108.89
P963.25
List Price:  P1,376.14
You save:  P412.88
KSh9,053.20
List Price:  KSh12,933.70
You save:  KSh3,880.50
E£3,568.78
List Price:  E£5,098.48
You save:  E£1,529.69
ብር8,687.63
List Price:  ብር12,411.43
You save:  ብር3,723.80
Kz64,250.82
List Price:  Kz91,790.82
You save:  Kz27,540
CLP$69,297.02
List Price:  CLP$99,000
You save:  CLP$29,702.97
CN¥510.87
List Price:  CN¥729.84
You save:  CN¥218.97
RD$4,243.89
List Price:  RD$6,062.96
You save:  RD$1,819.07
DA9,435.69
List Price:  DA13,480.14
You save:  DA4,044.44
FJ$162.05
List Price:  FJ$231.51
You save:  FJ$69.46
Q536.99
List Price:  Q767.16
You save:  Q230.17
GY$14,580.66
List Price:  GY$20,830.41
You save:  GY$6,249.74
ISK kr9,757.30
List Price:  ISK kr13,939.60
You save:  ISK kr4,182.30
DH701.41
List Price:  DH1,002.06
You save:  DH300.64
L1,291.33
List Price:  L1,844.84
You save:  L553.50
ден4,135.36
List Price:  ден5,907.91
You save:  ден1,772.55
MOP$557.92
List Price:  MOP$797.07
You save:  MOP$239.14
N$1,283.07
List Price:  N$1,833.03
You save:  N$549.96
C$2,564.57
List Price:  C$3,663.83
You save:  C$1,099.26
रु9,479.94
List Price:  रु13,543.35
You save:  रु4,063.41
S/259.51
List Price:  S/370.75
You save:  S/111.23
K282.61
List Price:  K403.75
You save:  K121.13
SAR262.99
List Price:  SAR375.71
You save:  SAR112.72
ZK1,928.73
List Price:  ZK2,755.44
You save:  ZK826.71
L334.62
List Price:  L478.06
You save:  L143.43
Kč1,690.23
List Price:  Kč2,414.72
You save:  Kč724.49
Ft27,882.67
List Price:  Ft39,834.10
You save:  Ft11,951.42
SEK kr772.23
List Price:  SEK kr1,103.23
You save:  SEK kr331
ARS$71,547.27
List Price:  ARS$102,214.77
You save:  ARS$30,667.50
Bs481.59
List Price:  Bs688.02
You save:  Bs206.42
COP$305,890.51
List Price:  COP$437,005.17
You save:  COP$131,114.66
₡35,162.35
List Price:  ₡50,234.08
You save:  ₡15,071.73
L1,769.11
List Price:  L2,527.41
You save:  L758.30
₲543,432.39
List Price:  ₲776,365.26
You save:  ₲232,932.87
$U3,131.93
List Price:  $U4,474.38
You save:  $U1,342.44
zł286.59
List Price:  zł409.44
You save:  zł122.84
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.