{"id":350,"date":"2022-12-06T05:14:19","date_gmt":"2023-04-11T04:06:05","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/"},"modified":"2025-07-31T22:52:51","modified_gmt":"2025-07-31T13:52:51","slug":"primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/","title":{"rendered":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002"},"content":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u4e3b\u306a\u76ee\u7684\u306f\u3001Primefaces\u306e\u5b9f\u88c5\u3067\u4f7f\u7528\u3055\u308c\u308b\u30e1\u30a4\u30f3\u30e1\u30cb\u30e5\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30d0\u30fc\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u901a\u5e38\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306b\u5e83\u304c\u308b\u591a\u6570\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u7570\u306a\u308b\u5f62\u5f0f\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u30bf\u30a4\u30d7\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u30ab\u30d0\u30fc\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Menu: Is a navigation component with submenus and menu items.<\/li>\n<li>MenuBar: Is a horizontal navigation component.<\/li>\n<li>MenuButton: Is used to display different commands in a popup menu.<\/li>\n<li>TieredMenu: Is used to display nested submenus with overlays.<\/li>\n<li>SlideMenu: Is used to display nested submenus with sliding animation.<\/li>\n<\/ul>\n<p>\u3055\u3042\u3001Primefaces\u304c\u63d0\u4f9b\u3059\u308b\u3053\u306e\u7a2e\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5099\u308f\u3063\u305f\u6a5f\u80fd\u3092\u898b\u308b\u305f\u3081\u306b\u3001\u3053\u308c\u3089\u306e\u30e1\u30cb\u30e5\u30fc\u30bf\u30a4\u30d7\u3092\u8aac\u660e\u3057\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u30e1\u30cb\u30e5\u30fc\u306e\u57fa\u672c\u60c5\u5831<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>menu<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Component Class<\/td>\n<td>org.primefaces.component.menu.Menu<\/td>\n<\/tr>\n<tr>\n<td>Component Type<\/td>\n<td>org.primefaces.component.Menu<\/td>\n<\/tr>\n<tr>\n<td>Component Family<\/td>\n<td>org.primefaces.component<\/td>\n<\/tr>\n<tr>\n<td>Renderer Type<\/td>\n<td>org.primefaces.component.MenuRenderer<\/td>\n<\/tr>\n<tr>\n<td>Renderer Class<\/td>\n<td>org.primefaces.component.menu.MenuRenderer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30e1\u30cb\u30e5\u30fc\u306e\u5c5e\u6027<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Default<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Unique identifier of the component.<\/td>\n<\/tr>\n<tr>\n<td>rendered<\/td>\n<td>true<\/td>\n<td>Boolean<\/td>\n<td>Boolean value to specify the rendering of the component, when set to false component will not be rendered.<\/td>\n<\/tr>\n<tr>\n<td>binding<\/td>\n<td>null<\/td>\n<td>Object<\/td>\n<td>An el expression that maps to a server side UIComponent instance in a backing bean.<\/td>\n<\/tr>\n<tr>\n<td>widgetVar<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Name of the client side widget.<\/td>\n<\/tr>\n<tr>\n<td>model<\/td>\n<td>null<\/td>\n<td>MenuModel<\/td>\n<td>A menu model instance to create menu programmatically.<\/td>\n<\/tr>\n<tr>\n<td>trigger<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Target component to attach the overlay menu.<\/td>\n<\/tr>\n<tr>\n<td>my<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Corner of menu to align with trigger element.<\/td>\n<\/tr>\n<tr>\n<td>at<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Corner of trigger to align with menu element.<\/td>\n<\/tr>\n<tr>\n<td>overlay<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Defines positioning type of menu, either static or overlay.<\/td>\n<\/tr>\n<tr>\n<td>style<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Inline style of the main container element.<\/td>\n<\/tr>\n<tr>\n<td>styleClass<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Style class of the main container element.<\/td>\n<\/tr>\n<tr>\n<td>triggerEvent<\/td>\n<td>click<\/td>\n<td>String<\/td>\n<td>Event to show the dynamic positioned menu.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306e\u30e1\u30cb\u30e5\u30fc &#8211; \u306f\u3058\u3081\u306b<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u306f\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3068\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306f\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u3001\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u306f\u5fc5\u8981\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u306f\u3001Menu\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u6700\u3082\u57fa\u672c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002index.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form&gt;\r\n\t&lt;p:menu&gt;\r\n\t\t&lt;p:submenu label=\"File\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Open\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Edit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Exit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Help\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"About Primefaces\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Contact Us\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Help\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:menu&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u30e1\u30cb\u30e5\u30fc &#8211; \u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u30e1\u30cb\u30e5\u30fc<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u306f\u9759\u7684\u307e\u305f\u306f\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306e2\u3064\u306e\u65b9\u6cd5\u3067\u914d\u7f6e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u9759\u7684\u306a\u4f4d\u7f6e\u3065\u3051\u3067\u306f\u3001\u30e1\u30cb\u30e5\u30fc\u306f\u901a\u5e38\u306e\u30da\u30fc\u30b8\u306e\u6d41\u308c\u306b\u3042\u308a\u307e\u3059\u3002\u5bfe\u7167\u7684\u306b\u3001\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u30e1\u30cb\u30e5\u30fc\u306f\u901a\u5e38\u306e\u30da\u30fc\u30b8\u306e\u6d41\u308c\u306b\u306f\u542b\u307e\u308c\u305a\u3001\u4ed6\u306e\u8981\u7d20\u306e\u4e0a\u306b\u91cd\u306a\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30e1\u30cb\u30e5\u30fc\u3092\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306b\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u7d4c\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Define your menu normally by setting\u00a0overlay\u00a0attribute to true and associating the menu\u2019s trigger attribute with the id\u00a0of the triggered action.<\/li>\n<li>Tune both of\u00a0my\u00a0and\u00a0at\u00a0menu\u2019s attribute for specifying the corner of the menu to align with trigger element and corner of trigger to align with menu element, respectively.<\/li>\n<li>Pairs of\u00a0left, right, bottom and top\u00a0are the only values accepted for my and at attributes.<\/li>\n<\/ul>\n<p>index1.xhtml \u306e\u5185\u5bb9\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form&gt;\r\n\t&lt;p:menu overlay=\"true\" trigger=\"triggerButton\" my=\"left top\" at=\"right top\"&gt;\r\n\t\t&lt;p:submenu label=\"File\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Open\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Edit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Exit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Help\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"About Primefaces\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Contact Us\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Help\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:menu&gt;\r\n\t&lt;p:commandButton id=\"triggerButton\" value=\"Trigger Menu\"&gt;&lt;\/p:commandButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li>Once Trigger Menu action has activated, your defined menu has been displayed.<\/li>\n<\/ul>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u30e1\u30cb\u30e5\u30fc- Ajax\u3068\u975eAjax\u30a2\u30af\u30b7\u30e7\u30f3<\/h3>\n<p>\u73fe\u5728\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u9759\u7684\u30e1\u30cb\u30e5\u30fc\u3068\u3088\u308a\u8907\u96d1\u306a\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u30e1\u30cb\u30e5\u30fc\u3092\u958b\u767a\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u30e1\u30cb\u30e5\u30fc\u306b\u306f\u3001\u5fc5\u8981\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3059\u308b\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u306f\u3001p:commandButton\u3068\u540c\u69d8\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3067\u3059\u306e\u3067\u3001ajax\u5316\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002index2.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:menu overlay=\"true\" trigger=\"triggerButton\" my=\"left top\" at=\"right top\"&gt;\r\n\t\t&lt;p:submenu label=\"File\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Open\" action=\"#{menuManagedBean.openAction}\" update=\"message\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Edit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Exit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Help\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"About Primefaces\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Contact Us\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Help\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:menu&gt;\r\n\t&lt;p:commandButton id=\"triggerButton\" value=\"Trigger Menu\"&gt;&lt;\/p:commandButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30e1\u30cb\u30e5\u30fc\u306e\u7ba1\u7406\u3092\u62c5\u5f53\u3059\u308bMenuManagedBean.java<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class MenuManagedBean {\r\n\tpublic String openAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Open action has activiated asynchrounsly !\"));\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff081\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u5fc5\u8981\u3067\u3059\uff09\uff1a<\/p>\n<p>&#8220;The weather is very hot today.&#8221;<br \/>\n\u2192 \u4eca\u65e5\u306f\u3068\u3066\u3082\u6691\u3044\u3067\u3059\u3002<\/p>\n<h3>Primefaces \u30e1\u30cb\u30e5\u30fc &#8211; \u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30e1\u30cb\u30e5\u30fc<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u3088\u3063\u3066\u3082\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u5ba3\u8a00\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3068\u6bd4\u3079\u3066\u67d4\u8edf\u3067\u3059\u3002org.primefaces.model.MenuModel\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3001\u305d\u306e\u3088\u3046\u306a\u30e1\u30cb\u30e5\u30fc\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002p:submenu\u3001p:menuitem\u3001p:separator\u306a\u3069\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u30e1\u30cb\u30e5\u30fc\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5b9f\u88c5\u3082\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u306f\u3001\u4ee5\u524d\u958b\u767a\u3057\u305f\u540c\u3058\u30d3\u30b8\u30cd\u30b9\u30b7\u30ca\u30ea\u30aa\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u30e1\u30cb\u30e5\u30fc\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002index3.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:menu overlay=\"true\" trigger=\"triggerButton\" my=\"left top\" at=\"right top\" model=\"#{menuManagedBean.menu}\"&gt;\r\n\t&lt;\/p:menu&gt;\r\n\t&lt;p:commandButton id=\"triggerButton\" value=\"Trigger Menu\"&gt;&lt;\/p:commandButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30e1\u30cb\u30e5\u30fc\u3092\u7ba1\u7406\u3059\u308bBean\u30af\u30e9\u30b9\u306eMenuManagedBean.java<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\nimport org.primefaces.model.menu.DefaultMenuItem;\r\nimport org.primefaces.model.menu.DefaultMenuModel;\r\nimport org.primefaces.model.menu.DefaultSeparator;\r\nimport org.primefaces.model.menu.DefaultSubMenu;\r\nimport org.primefaces.model.menu.MenuModel;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class MenuManagedBean {\r\n\tprivate MenuModel menu = new DefaultMenuModel();\r\n\r\n\tpublic MenuManagedBean(){\r\n\t\t\/\/ Create submenu\r\n\t\tDefaultSubMenu file = new DefaultSubMenu(\"File\");\r\n\t\t\/\/ Create submenu\r\n\t\tDefaultSubMenu help = new DefaultSubMenu(\"Help\");\r\n\t\t\/\/ Create menuitem\r\n\t\tDefaultMenuItem open = new DefaultMenuItem(\"Open\");\r\n\t\t\/\/ Create menuitem\r\n\t\tDefaultMenuItem edit = new DefaultMenuItem(\"Edit\");\r\n\t\t\/\/ Create menuitem\r\n\t\tDefaultMenuItem exit = new DefaultMenuItem(\"Exit\");\r\n\r\n\t\t\/\/ Create menuitem\r\n\t\tDefaultMenuItem about = new DefaultMenuItem(\"About Primefaces\");\r\n\t\t\/\/ Create menuitem\r\n\t\tDefaultMenuItem contact = new DefaultMenuItem(\"Contact Us\");\r\n\t\t\/\/ Create menuitem\r\n\t\tDefaultMenuItem helpMenuItem = new DefaultMenuItem(\"Help\");\t\t\r\n\r\n\t\t\/\/ Determine menuitem action\r\n\t\topen.setCommand(\"#{menuManagedBean.openAction}\");\r\n\r\n\t\t\/\/ Associate menuitem with submenu\r\n\t\tfile.addElement(open);\r\n\t\tfile.addElement(edit);\r\n\t\tfile.addElement(new DefaultSeparator());\r\n\t\tfile.addElement(exit);\r\n\r\n\t\thelp.addElement(about);\r\n\t\thelp.addElement(contact);\r\n\t\thelp.addElement(new DefaultSeparator());\r\n\t\thelp.addElement(helpMenuItem);\r\n\r\n\t\t\/\/ Associate submenu with menu\r\n\t\tmenu.addElement(file);\r\n\t\tmenu.addElement(help);\r\n\t}\r\n\r\n\tpublic MenuModel getMenu() {\r\n\t\treturn menu;\r\n\t}\r\n\r\n\tpublic void setMenu(MenuModel menu) {\r\n\t\tthis.menu = menu;\r\n\t}\r\n\r\n\tpublic String openAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Open action has activiated asynchrounsly !\"));\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<h3>Primefaces\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc &#8211; \u57fa\u672c\u60c5\u5831<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306f\u6c34\u5e73\u306a\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>Menubar<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Component Class<\/td>\n<td>org.primefaces.component.menubar.Menubar<\/td>\n<\/tr>\n<tr>\n<td>Component Type<\/td>\n<td>org.primefaces.component.Menubar<\/td>\n<\/tr>\n<tr>\n<td>Component Family<\/td>\n<td>org.primefaces.component<\/td>\n<\/tr>\n<tr>\n<td>Renderer Type<\/td>\n<td>org.primefaces.component.MenubarRenderer<\/td>\n<\/tr>\n<tr>\n<td>Renderer Class<\/td>\n<td>org.primefaces.component.menubar.MenubarRenderer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc &#8211; \u5c5e\u6027<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Default<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Unique identifier of the component.<\/td>\n<\/tr>\n<tr>\n<td>rendered<\/td>\n<td>true<\/td>\n<td>Boolean<\/td>\n<td>Boolean value to specify the rendering of the component, when set to false component will not be rendered.<\/td>\n<\/tr>\n<tr>\n<td>binding<\/td>\n<td>null<\/td>\n<td>Object<\/td>\n<td>An el expression that maps to a server side UIComponent instance in a backing bean.<\/td>\n<\/tr>\n<tr>\n<td>widgetVar<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Name of the client side widget<\/td>\n<\/tr>\n<tr>\n<td>model<\/td>\n<td>null<\/td>\n<td>MenuModel<\/td>\n<td>MenuModel instance to create menus<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>programmatically<\/td>\n<\/tr>\n<tr>\n<td>style<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Inline style of menubar<\/td>\n<\/tr>\n<tr>\n<td>styleClass<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Style class of menubar<\/td>\n<\/tr>\n<tr>\n<td>autoDisplay<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Defines whether the first level of submenus will be displayed on mouseover or not. When set to false, click event is required to display.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3092\u4f7f\u3044\u59cb\u3081\u308b<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u540c\u69d8\u306b\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3082\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3092\u69cb\u6210\u3059\u308b\u305f\u3081\u306b\u5b50\u3068\u3057\u3066p:submenu\u3068p:menuitem\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc-\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30e1\u30cb\u30e5\u30fc<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306f\u3001\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30e1\u30cb\u30e5\u30fc\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001\u5225\u306e\u89aa\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u5185\u306b\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002index5.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:menubar&gt;\r\n\t\t&lt;p:submenu label=\"File\"&gt;\r\n\t\t\t&lt;p:submenu label=\"Open\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Open Excel File\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Open Word File\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Open Power Point File\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t\t&lt;p:menuitem value=\"Edit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Exit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Help\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"About JournalDev\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Contact Us\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Help\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:menubar&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h3>Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc &#8211; \u30eb\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306f\u3001p:menubar\u5185\u306b\u76f4\u63a5\u306ep:menuitem\u5b50\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u30eb\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u3082\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002index6.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:menubar&gt;\r\n\t\t&lt;p:menuitem value=\"Open\"&gt;&lt;\/p:menuitem&gt;\r\n\t&lt;\/p:menubar&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc &#8211; Ajax \u3068\u975eAjax \u30a2\u30af\u30b7\u30e7\u30f3<\/h3>\n<p>\u540c\u69d8\u306b\u3001p:commandButton\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u3088\u3046\u306b\u3001p:menuitem\u3082\u30a2\u30af\u30b7\u30e7\u30f3\u306eAjax\u5316\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u3059\u3067\u306bp:menu\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3053\u308c\u3092\u7d4c\u9a13\u3057\u3066\u3044\u307e\u3059\u3002p:menuitem\u306f\u3001\u30a2\u30af\u30b7\u30e7\u30f3\uff08Ajax\u304a\u3088\u3073\u975eAjax\uff09\u3068\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001p:menuitem\u306e\u7570\u306a\u308b\u4f7f\u7528\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002index7.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:menubar&gt;\r\n\t\t&lt;p:submenu label=\"File\"&gt;\r\n\t\t\t&lt;p:submenu label=\"Open\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Ajax Action\" action=\"#{menubarManagedBean.ajaxAction}\" update=\"message\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Non Ajax Action\" action=\"#{menubarManagedBean.nonAjaxAction}\" ajax=\"false\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Go To JournalDev\" url=\"https:\/\/www.scdev.com\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t\t&lt;p:menuitem value=\"Edit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Exit\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Help\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"About JournalDev\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:menuitem value=\"Contact Us\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t&lt;p:menuitem value=\"Help\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:menubar&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u30d3\u30fc\u30f3\u3001MenubarManagedBean.java<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class MenubarManagedBean {\r\n\tpublic String ajaxAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Ajax Update\"));\r\n\t\treturn \"\";\r\n\t}\r\n\r\n\tpublic String nonAjaxAction(){\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u6587\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u4e00\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3060\u3051\u3067\u7d50\u69cb\u3067\u3059\u3002<\/p>\n<p>There are many beautiful flowers in the garden.<\/p>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc &#8211; \u52d5\u7684\u306a\u30e1\u30cb\u30e5\u30fc<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3092\u52d5\u7684\u306b\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002Ajax\u3001\u975eAjax\u3001URL\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Ajax\u30a2\u30af\u30b7\u30e7\u30f3\u3068\u975eAjax\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u884c\u3063\u305f\u3088\u3046\u306b\u3001index8.xhtml\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:menubar model=\"#{menubarManagedBean.menubar}\"&gt;\r\n\t&lt;\/p:menubar&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u3092\u884c\u3046ManagedBean\u30af\u30e9\u30b9\u3001MenubarManagedBean.java<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\nimport org.primefaces.model.menu.DefaultMenuItem;\r\nimport org.primefaces.model.menu.DefaultMenuModel;\r\nimport org.primefaces.model.menu.DefaultSeparator;\r\nimport org.primefaces.model.menu.DefaultSubMenu;\r\nimport org.primefaces.model.menu.MenuModel;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class MenubarManagedBean {\r\n\r\n\tprivate MenuModel menubar = new DefaultMenuModel();\r\n\r\n\tpublic MenubarManagedBean(){\r\n\t\t\/\/ Create submenus required\r\n\t\tDefaultSubMenu file = new DefaultSubMenu(\"File\");\r\n\t\tDefaultSubMenu open = new DefaultSubMenu(\"Open\");\r\n\t\tDefaultSubMenu help = new DefaultSubMenu(\"Help\");\r\n\r\n\t\t\/\/ Create menuitems required\r\n\t\tDefaultMenuItem edit = new DefaultMenuItem(\"Edit\");\r\n\t\tDefaultMenuItem exit = new DefaultMenuItem(\"Exit\");\r\n\r\n\t\t\/\/ Create menuitems required\r\n\t\tDefaultMenuItem ajaxAction = new DefaultMenuItem(\"Ajax Action\");\r\n\t\tajaxAction.setUpdate(\"message\");\r\n\t\tajaxAction.setCommand(\"#{menubarManagedBean.ajaxAction}\");\r\n\r\n\t\tDefaultMenuItem nonAjaxAction = new DefaultMenuItem(\"Non Ajax Action\");\r\n\t\tnonAjaxAction.setAjax(false);\r\n\t\tnonAjaxAction.setCommand(\"#{menubarManagedBean.nonAjaxAction}\");\r\n\r\n\t\tDefaultMenuItem urlAction = new DefaultMenuItem(\"Go To JournalDev\");\r\n\t\turlAction.setUrl(\"https:\/\/www.scdev.com\");\r\n\r\n\t\tDefaultMenuItem about = new DefaultMenuItem(\"About JournalDev\");\r\n\t\tDefaultMenuItem contactUs = new DefaultMenuItem(\"Contact Us\");\r\n\t\tDefaultMenuItem helpMenuItem = new DefaultMenuItem(\"Help\");\r\n\r\n\t\t\/\/ Associate menuitems with open submenu\r\n\t\topen.addElement(ajaxAction);\r\n\t\topen.addElement(nonAjaxAction);\r\n\t\topen.addElement(urlAction);\r\n\r\n\t\t\/\/ Associate menuitems with help submenu\r\n\t\thelp.addElement(about);\r\n\t\thelp.addElement(contactUs);\r\n\t\thelp.addElement(new DefaultSeparator());\r\n\t\thelp.addElement(helpMenuItem);\r\n\r\n\t\t\/\/ Associate open submenu with file submenu\r\n\t\tfile.addElement(open);\r\n\t\tfile.addElement(edit);\r\n\t\tfile.addElement(new DefaultSeparator());\r\n\t\tfile.addElement(exit);\r\n\r\n\t\t\/\/ Associate submenus with the menubar\r\n\t\tthis.menubar.addElement(file);\r\n\t\tthis.menubar.addElement(help);\r\n\r\n\t}\r\n\r\n\tpublic MenuModel getMenubar() {\r\n\t\treturn menubar;\r\n\t}\r\n\r\n\tpublic void setMenubar(MenuModel menubar) {\r\n\t\tthis.menubar = menubar;\r\n\t}\r\n\r\n\tpublic String ajaxAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Ajax Update\"));\r\n\t\treturn \"\";\r\n\t}\r\n\r\n\tpublic String nonAjaxAction(){\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3 &#8211; \u57fa\u672c\u60c5\u5831<\/h3>\n<p>MenuButton\u306f\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc\u306b\u7570\u306a\u308b\u30b3\u30de\u30f3\u30c9\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>menuButton<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Component Class<\/td>\n<td>org.primefaces.component.menubutton.MenuButton<\/td>\n<\/tr>\n<tr>\n<td>Component Type<\/td>\n<td>org.primefaces.component.MenuButton<\/td>\n<\/tr>\n<tr>\n<td>Component Family<\/td>\n<td>org.primefaces.component<\/td>\n<\/tr>\n<tr>\n<td>Renderer Type<\/td>\n<td>org.primefaces.component.MenuButtonRenderer<\/td>\n<\/tr>\n<tr>\n<td>Renderer Class<\/td>\n<td>org.primefaces.component.menubutton.MenuButtonRenderer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306eMenuButton\u306e\u5c5e\u6027<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Default<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Unique identifier of the component.<\/td>\n<\/tr>\n<tr>\n<td>rendered<\/td>\n<td>true<\/td>\n<td>Boolean<\/td>\n<td>Boolean value to specify the rendering of the component, when set to false component will not be rendered.<\/td>\n<\/tr>\n<tr>\n<td>binding<\/td>\n<td>null<\/td>\n<td>Object<\/td>\n<td>An el expression that maps to a server side UIComponent instance in a backing bean.<\/td>\n<\/tr>\n<tr>\n<td>value<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Label of the button<\/td>\n<\/tr>\n<tr>\n<td>style<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Style of the main container element<\/td>\n<\/tr>\n<tr>\n<td>styleClass<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Style class of the main container element<\/td>\n<\/tr>\n<tr>\n<td>widgetVar<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Name of the client side widget<\/td>\n<\/tr>\n<tr>\n<td>model<\/td>\n<td>null<\/td>\n<td>MenuModel<\/td>\n<td>MenuModel instance to create menus programmatically<\/td>\n<\/tr>\n<tr>\n<td>disabled<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Disables or enables the button.<\/td>\n<\/tr>\n<tr>\n<td>iconPos<\/td>\n<td>left<\/td>\n<td>String<\/td>\n<td>Position of the icon, valid values are left and right.<\/td>\n<\/tr>\n<tr>\n<td>appendTo<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Appends the overlay to the element defined by search expression. Defaults to document body.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306eMenuButton\u306e\u4f7f\u3044\u65b9\u3092\u521d\u3081\u3066\u306e\u65b9\u3078<\/h3>\n<p>\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u306f1\u3064\u4ee5\u4e0a\u306e\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5b9a\u7fa9\u3055\u308c\u308b\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u306f\u3001\u4ee5\u524d\u306b\u4f7f\u7528\u3055\u308c\u305f\u3082\u306e\u3068\u540c\u69d8\u306e\u985e\u4f3c\u6027\u3092\u6301\u3061\u307e\u3059\u3002\u307e\u305f\u3001Ajax\u3001\u975eAjax\u3001\u304a\u3088\u3073\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30a2\u30af\u30b7\u30e7\u30f3\u3082\u3053\u3053\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002index9.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:menuButton value=\"MenuButton\"&gt;\r\n\t\t&lt;p:menuitem value=\"Ajax Action\" action=\"#{menuButtonManagedBean.ajaxAction}\" update=\"message\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;p:menuitem value=\"Non Ajax Action\" action=\"#{menuButtonManagedBean.nonAjaxAction}\" ajax=\"false\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;p:menuitem value=\"Go To JournalDev\" url=\"https:\/\/www.scdev.com\"&gt;&lt;\/p:menuitem&gt;\r\n\t&lt;\/p:menuButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>MenuButtonManagedBean.java\u306e\u65e5\u672c\u8a9e\u3067\u306e\u30d1\u30e9\u30d5\u30ec\u30fc\u30ba\uff1a<br \/>\nMenuButtonManagedBean.java\u3092\u30cd\u30a4\u30c6\u30a3\u30d6\u306b\u65e5\u672c\u8a9e\u3067\u8981\u7d04\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u7ba1\u7406\u306eBean\u30af\u30e9\u30b9\u3001MenuButtonManagedBean.java\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\nimport org.primefaces.model.menu.DefaultMenuItem;\r\nimport org.primefaces.model.menu.DefaultMenuModel;\r\nimport org.primefaces.model.menu.DefaultSeparator;\r\nimport org.primefaces.model.menu.DefaultSubMenu;\r\nimport org.primefaces.model.menu.MenuModel;\r\n\r\n@ManagedBean(name=\"menuButtonManagedBean\")\r\n@SessionScoped\r\npublic class MenuButtonManagedBean {\r\n\tprivate MenuModel menuButton = new DefaultMenuModel();\r\n\r\n\tpublic MenuButtonManagedBean(){\r\n\r\n\t}\r\n\r\n\tpublic MenuModel getMenuButton() {\r\n\t\treturn menuButton;\r\n\t}\r\n\r\n\tpublic void setMenuButton(MenuModel menuButton) {\r\n\t\tthis.menuButton = menuButton;\r\n\t}\r\n\r\n\tpublic String ajaxAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Ajax Update\"));\r\n\t\treturn \"\";\r\n\t}\r\n\r\n\tpublic String nonAjaxAction(){\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\uff11\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>There are various reasons why people choose to study abroad.<\/p>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3 &#8211; \u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u30e1\u30cb\u30e5\u30fc<\/h3>\n<p>MenuButton\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u4e0a\u3067\u3082\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u63d0\u4f9b\u3055\u308c\u305fMenuButton\u306e\u540c\u3058\u4f8b\u3092\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u7684\u306a\u624b\u6cd5\u3092\u7528\u3044\u3066\u4ee5\u4e0b\u306b\u5b9f\u88c5\u3057\u307e\u3059\u3002index10.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:menuButton value=\"MenuButton\" model=\"#{menuButtonManagedBean.menuButton}\"&gt;\r\n\t&lt;\/p:menuButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u306e\u7ba1\u7406Bean\u3001MenuButtonManagedBean.java<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\nimport org.primefaces.model.menu.DefaultMenuItem;\r\nimport org.primefaces.model.menu.DefaultMenuModel;\r\nimport org.primefaces.model.menu.MenuModel;\r\n\r\n@ManagedBean(name=\"menuButtonManagedBean\")\r\n@SessionScoped\r\npublic class MenuButtonManagedBean {\r\n\tprivate MenuModel menuButton = new DefaultMenuModel();\r\n\r\n\tpublic MenuButtonManagedBean(){\r\n\r\n\t\t\/\/ Create menuitems required\r\n\t\tDefaultMenuItem ajaxAction = new DefaultMenuItem(\"Ajax Action\");\r\n\t\tajaxAction.setUpdate(\"message\");\r\n\t\tajaxAction.setCommand(\"#{menubarManagedBean.ajaxAction}\");\r\n\r\n\t\tDefaultMenuItem nonAjaxAction = new DefaultMenuItem(\"Non Ajax Action\");\r\n\t\tnonAjaxAction.setAjax(false);\r\n\t\tnonAjaxAction.setCommand(\"#{menubarManagedBean.nonAjaxAction}\");\r\n\r\n\t\tDefaultMenuItem urlAction = new DefaultMenuItem(\"Go To JournalDev\");\r\n\t\turlAction.setUrl(\"https:\/\/www.scdev.com\");\r\n\r\n\t\tthis.menuButton.addElement(ajaxAction);\r\n\t\tthis.menuButton.addElement(nonAjaxAction);\r\n\t\tthis.menuButton.addElement(urlAction);\r\n\r\n\t}\r\n\r\n\tpublic MenuModel getMenuButton() {\r\n\t\treturn menuButton;\r\n\t}\r\n\r\n\tpublic void setMenuButton(MenuModel menuButton) {\r\n\t\tthis.menuButton = menuButton;\r\n\t}\r\n\r\n\tpublic String ajaxAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Ajax Update\"));\r\n\t\treturn \"\";\r\n\t}\r\n\r\n\tpublic String nonAjaxAction(){\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30b9\u30c6\u30a3\u30a2\u30fc\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u57fa\u672c\u60c5\u5831<\/h3>\n<p>TieredMenu\u306f\u3001\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3092\u4f7f\u7528\u3057\u3066\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>TieredMenu<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Component Class<\/td>\n<td>org.primefaces.component.tieredmenu.TieredMenu<\/td>\n<\/tr>\n<tr>\n<td>Component Type<\/td>\n<td>org.primefaces.component.TieredMenu<\/td>\n<\/tr>\n<tr>\n<td>Component Family<\/td>\n<td>org.primefaces.component<\/td>\n<\/tr>\n<tr>\n<td>Renderer Type<\/td>\n<td>org.primefaces.component.TieredMenuRenderer<\/td>\n<\/tr>\n<tr>\n<td>Renderer Class<\/td>\n<td>org.primefaces.component.tieredmenu.TieredMenuRenderer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306eTieredMenu &#8211; \u5c5e\u6027<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Default<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Unique identifier of the component<\/td>\n<\/tr>\n<tr>\n<td>rendered<\/td>\n<td>true<\/td>\n<td>Boolean<\/td>\n<td>Boolean value to specify the rendering of the component, when set to false component will not be rendered.<\/td>\n<\/tr>\n<tr>\n<td>binding<\/td>\n<td>null<\/td>\n<td>Object<\/td>\n<td>An el expression that maps to a server side UIComponent instance in a backing bean<\/td>\n<\/tr>\n<tr>\n<td>widgetVar<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Name of the client side widget.<\/td>\n<\/tr>\n<tr>\n<td>model<\/td>\n<td>null<\/td>\n<td>MenuModel<\/td>\n<td>MenuModel instance for programmatic menu.<\/td>\n<\/tr>\n<tr>\n<td>style<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Inline style of the component.<\/td>\n<\/tr>\n<tr>\n<td>styleClass<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Style class of the component.<\/td>\n<\/tr>\n<tr>\n<td>autoDisplay<\/td>\n<td>true<\/td>\n<td>Boolean<\/td>\n<td>Defines whether the first level of submenus will be displayed on mouseover or not. When set to false, click event is required to display.<\/td>\n<\/tr>\n<tr>\n<td>trigger<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Id of the component whose triggerEvent will show the dynamic positioned menu.<\/td>\n<\/tr>\n<tr>\n<td>my<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Corner of menu to align with trigger element.<\/td>\n<\/tr>\n<tr>\n<td>at<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Corner of trigger to align with menu element.<\/td>\n<\/tr>\n<tr>\n<td>overlay<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Defines positioning, when enabled menu is\u00a0displayed with absolute position relative to the\u00a0trigger. Default is false, meaning static positioning.<\/td>\n<\/tr>\n<tr>\n<td>triggerEvent<\/td>\n<td>click<\/td>\n<td>String<\/td>\n<td>Event name of trigger that will show the dynamic\u00a0positioned menu.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306eTiered\u30e1\u30cb\u30e5\u30fc &#8211; \u30b9\u30bf\u30fc\u30c8\u30ac\u30a4\u30c9<\/h3>\n<p>TieredMenu\u306f\u3001\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3068\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u3067\u69cb\u6210\u3055\u308c\u3066\u304a\u308a\u3001\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306f\u30cd\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5404\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306f\u3001\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002p:tieredMenu\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u95a2\u4e0e\u3059\u308b\u3053\u308c\u3089\u306e\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u306f\u3001Ajax\u3084\u975eAjax\u3001\u304a\u3088\u3073\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u306f\u3001p:tieredMenu\u3067\u306e\u6700\u3082\u5358\u7d14\u306a\u9069\u7528\u4f8b\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002index11.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:tieredMenu&gt;\r\n\t\t&lt;p:submenu label=\"Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Ajax Action\" action=\"#{tieredMenuManagedBean.ajaxAction}\" update=\"message\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Non Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Non Ajax Action\" action=\"#{tieredMenuManagedBean.nonAjaxAction}\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:separator\/&gt;\r\n\t\t&lt;p:submenu label=\"Navigations\"&gt;\r\n\t\t\t&lt;p:submenu label=\"Primefaces links\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Prime\" url=\"https:\/\/www.prime.com.tr\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Primefaces\" url=\"https:\/\/www.primefaces.org\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t\t&lt;p:submenu label=\"Prime Blogs\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"JournalDev\" url=\"https:\/\/www.scdev.com\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:tieredMenu&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>TieredMenuManagedBean.java\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30a3\u30a2\u30e1\u30cb\u30e5\u30fc\u7ba1\u7406Bean.java<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class TieredMenuManagedBean {\r\n\tpublic String ajaxAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Ajax Update\"));\r\n\t\treturn \"\";\r\n\t}\r\n\r\n\tpublic String nonAjaxAction(){\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<h3>Primefaces\u306eTieredMenu &#8211; AutoDisplay<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u30eb\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u306b\u30de\u30a6\u30b9\u304c\u4e57\u3063\u305f\u6642\u306b\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001autoDisplay\u3092false\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30eb\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066autoDisplay\u30e2\u30fc\u30c9\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u540c\u69d8\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066\u3001p:tieredMenu\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u3082autoDisplay\u3092false\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3>Primefaces TieredMenu &#8211; \u30aa\u30fc\u30d0\u30fc\u30ec\u30a4<\/h3>\n<p>\u540c\u69d8\u306b\u3001TieredMenu\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3001Menu\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3059\u308b\u969b\u306b\u4f7f\u7528\u3055\u308c\u308b\u65b9\u6cd5\u3068\u540c\u3058\u65b9\u6cd5\u3067\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\uff08Menu Overlay\u3092\u53c2\u7167\uff09\u3002index11.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:tieredMenu autoDisplay=\"false\" trigger=\"triggerBtn\" overlay=\"true\" my=\"left top\" at=\"right top\"&gt;\r\n\t\t&lt;p:submenu label=\"Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Ajax Action\" action=\"#{tieredMenuManagedBean.ajaxAction}\" update=\"message\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Non Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Non Ajax Action\" action=\"#{tieredMenuManagedBean.nonAjaxAction}\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:separator\/&gt;\r\n\t\t&lt;p:submenu label=\"Navigations\"&gt;\r\n\t\t\t&lt;p:submenu label=\"Primefaces links\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Prime\" url=\"https:\/\/www.prime.com.tr\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Primefaces\" url=\"https:\/\/www.primefaces.org\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t\t&lt;p:submenu label=\"Prime Blogs\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"JournalDev\" url=\"https:\/\/www.scdev.com\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:tieredMenu&gt;\r\n\t&lt;p:commandButton value=\"Show Menu\" id=\"triggerBtn\"&gt;&lt;\/p:commandButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30c6\u30a3\u30a2\u30fc\u30c9\u30e1\u30cb\u30e5\u30fc &#8211; \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9API<\/h3>\n<p>Primefaces\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9API\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001TieredMenu\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3082\u5236\u5fa1\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Method<\/th>\n<th>Params<\/th>\n<th>Return Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>show()<\/td>\n<td>&#8211;<\/td>\n<td>void<\/td>\n<td>Shows overlay menu.<\/td>\n<\/tr>\n<tr>\n<td>hide()<\/td>\n<td>&#8211;<\/td>\n<td>void<\/td>\n<td>Hides overlay menu.<\/td>\n<\/tr>\n<tr>\n<td>align()<\/td>\n<td>&#8211;<\/td>\n<td>void<\/td>\n<td>Aligns overlay menu with trigger.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u30a4\u30f3\u30c7\u30c3\u30af\u30b911.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n\t&lt;script&gt;\r\n\t\tfunction showMenu(){\r\n\t\t\tPF('tieredMenu').show();\r\n\t\t}\r\n\t\tfunction hideMenu(){\r\n\t\t\tPF('tieredMenu').hide();\r\n\t\t}\r\n\t&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:tieredMenu autoDisplay=\"false\" trigger=\"triggerBtn\" overlay=\"true\" my=\"left top\" at=\"right top\" widgetVar=\"tieredMenu\"&gt;\r\n\t\t&lt;p:submenu label=\"Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Ajax Action\" action=\"#{tieredMenuManagedBean.ajaxAction}\" update=\"message\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Non Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Non Ajax Action\" action=\"#{tieredMenuManagedBean.nonAjaxAction}\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:separator\/&gt;\r\n\t\t&lt;p:submenu label=\"Navigations\"&gt;\r\n\t\t\t&lt;p:submenu label=\"Primefaces links\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Prime\" url=\"https:\/\/www.prime.com.tr\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Primefaces\" url=\"https:\/\/www.primefaces.org\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t\t&lt;p:submenu label=\"Prime Blogs\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"JournalDev\" url=\"https:\/\/www.scdev.com\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:tieredMenu&gt;\r\n\t&lt;p:commandButton value=\"Show Menu - Normal Trigger\" id=\"triggerBtn\"&gt;&lt;\/p:commandButton&gt;\r\n\t&lt;p:commandButton value=\"Show Menu - JavaScript function\" onclick=\"showMenu()\"&gt;&lt;\/p:commandButton&gt;\r\n\t&lt;p:commandButton value=\"Hide Menu - JavaScript function\" onclick=\"hideMenu()\"&gt;&lt;\/p:commandButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc &#8211; \u57fa\u672c\u60c5\u5831<\/h3>\n<p>SlideMenu\u306f\u3001\u30b9\u30e9\u30a4\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7528\u3044\u3066\u30cd\u30b9\u30c8\u3055\u308c\u305f\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>slideMenu<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Component Class<\/td>\n<td>org.primefaces.component.slidemenu.SlideMenu<\/td>\n<\/tr>\n<tr>\n<td>Component Type<\/td>\n<td>org.primefaces.component.SlideMenu<\/td>\n<\/tr>\n<tr>\n<td>Component Family<\/td>\n<td>org.primefaces.component<\/td>\n<\/tr>\n<tr>\n<td>Renderer Type<\/td>\n<td>org.primefaces.component.SlideMenuRenderer<\/td>\n<\/tr>\n<tr>\n<td>Renderer Class<\/td>\n<td>org.primefaces.component.slidemenu.SlideMenuRenderer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces \u306e\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u5c5e\u6027\u3067\u3059\u3002<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Default<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Unique identifier of the component<\/td>\n<\/tr>\n<tr>\n<td>rendered<\/td>\n<td>true<\/td>\n<td>Boolean<\/td>\n<td>Boolean value to specify the rendering of the component, when set to false component will not be rendered.<\/td>\n<\/tr>\n<tr>\n<td>binding<\/td>\n<td>null<\/td>\n<td>Object<\/td>\n<td>An el expression that maps to a server side UIComponent instance in a backing bean<\/td>\n<\/tr>\n<tr>\n<td>widgetVar<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Name of the client side widget.<\/td>\n<\/tr>\n<tr>\n<td>model<\/td>\n<td>null<\/td>\n<td>MenuModel<\/td>\n<td>MenuModel instance for programmatic menu.<\/td>\n<\/tr>\n<tr>\n<td>style<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Inline style of the component.<\/td>\n<\/tr>\n<tr>\n<td>styleClass<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Style class of the component.<\/td>\n<\/tr>\n<tr>\n<td>backLabel<\/td>\n<td>Back<\/td>\n<td>String<\/td>\n<td>Text for back link.<\/td>\n<\/tr>\n<tr>\n<td>trigger<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Id of the component whose triggerEvent will show the dynamic positioned menu.<\/td>\n<\/tr>\n<tr>\n<td>my<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Corner of menu to align with trigger element.<\/td>\n<\/tr>\n<tr>\n<td>at<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Corner of trigger to align with menu element.<\/td>\n<\/tr>\n<tr>\n<td>overlay<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Defines positioning, when enabled menu is displayed with absolute position relative to the trigger. Default is false, meaning static positioning.<\/td>\n<\/tr>\n<tr>\n<td>triggerEvent<\/td>\n<td>click<\/td>\n<td>String<\/td>\n<td>Event name of trigger that will show the dynamic positioned menu.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30b9 \u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc &#8211; \u521d\u3081\u306b &#8211; \u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9API<\/h3>\n<p>SlideMenu\u306f\u3001\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3068\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30c6\u30e0\u3067\u69cb\u6210\u3055\u308c\u3066\u304a\u308a\u3001\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306f\u5165\u308c\u5b50\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u5404\u5165\u308c\u5b50\u306e\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306f\u30b9\u30e9\u30a4\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002SlideMenu\u306e\u6a5f\u80fd\u306f\u3001\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u8aac\u660e\u3055\u308c\u305fTieredMenu\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u3082\u306e\u3068\u4f3c\u3066\u3044\u307e\u3059\u3002index12.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n&lt;h:head&gt;\r\n\t&lt;script name=\"jquery\/jquery.js\" library=\"primefaces\"&gt;&lt;\/script&gt;\r\n\t&lt;script&gt;\r\n\t\tfunction showMenu(){\r\n\t\t\tPF('tieredMenu').show();\r\n\t\t}\r\n\t\tfunction hideMenu(){\r\n\t\t\tPF('tieredMenu').hide();\r\n\t\t}\r\n\t&lt;\/script&gt;\r\n&lt;\/h:head&gt;\r\n&lt;h:form style=\"width:400px;\"&gt;\r\n\t&lt;p:growl id=\"message\"&gt;&lt;\/p:growl&gt;\r\n\t&lt;p:slideMenu autoDisplay=\"false\" trigger=\"triggerBtn\" overlay=\"true\" my=\"left top\" at=\"right top\" widgetVar=\"tieredMenu\"&gt;\r\n\t\t&lt;p:submenu label=\"Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Ajax Action\" action=\"#{slideMenuManagedBean.ajaxAction}\" update=\"message\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:submenu label=\"Non Ajax Menuitem\"&gt;\r\n\t\t\t&lt;p:menuitem value=\"Non Ajax Action\" action=\"#{slideMenuManagedBean.nonAjaxAction}\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;p:separator\/&gt;\r\n\t\t&lt;p:submenu label=\"Navigations\"&gt;\r\n\t\t\t&lt;p:submenu label=\"Primefaces links\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Prime\" url=\"https:\/\/www.prime.com.tr\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"Primefaces\" url=\"https:\/\/www.primefaces.org\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t\t&lt;p:submenu label=\"Prime Blogs\"&gt;\r\n\t\t\t\t&lt;p:menuitem value=\"JournalDev\" url=\"https:\/\/www.scdev.com\"&gt;&lt;\/p:menuitem&gt;\r\n\t\t\t&lt;\/p:submenu&gt;\r\n\t\t&lt;\/p:submenu&gt;\r\n\t&lt;\/p:slideMenu&gt;\r\n\t&lt;p:commandButton value=\"Show Menu - Normal Trigger\" id=\"triggerBtn\"&gt;&lt;\/p:commandButton&gt;\r\n\t&lt;p:commandButton value=\"Show Menu - JavaScript function\" onclick=\"showMenu()\"&gt;&lt;\/p:commandButton&gt;\r\n\t&lt;p:commandButton value=\"Hide Menu - JavaScript function\" onclick=\"hideMenu()\"&gt;&lt;\/p:commandButton&gt;\r\n&lt;\/h:form&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u7ba1\u7406\u30d3\u30fc\u30f3\u3001SlideMenuManagedBean.java<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class SlideMenuManagedBean {\r\n\tpublic String ajaxAction(){\r\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Ajax Update\"));\r\n\t\treturn \"\";\r\n\t}\r\n\r\n\tpublic String nonAjaxAction(){\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u6587\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u4e00\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3060\u3051\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>Original: &#8220;I will go to the park tomorrow.&#8221;<\/p>\n<p>Paraphrased: \u300c\u660e\u65e5\u306f\u516c\u5712\u306b\u884c\u304d\u307e\u3059\u3002\u300d<\/p>\n<h3>\u8981\u70b9\u306f\u3001\u65e5\u672c\u8a9e\u3067\u306e\u307f\u306e\u63d0\u4f9b\u3067\u3042\u308a\u30011\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/h3>\n<p>PrimeFaces\u306f\u3001\u958b\u767a\u8005\u304c\u9078\u629e\u3067\u304d\u308b\u8208\u5473\u6df1\u3044\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3059\u308bPrimeFaces\u306eUI\u30e1\u30cb\u30e5\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u6570\u3005\u3067\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306f\u3001\u3053\u308c\u3089\u306e\u30e1\u30cb\u30e5\u30fc\u30bf\u30a4\u30d7\u306e\u4e00\u90e8\u3092\u660e\u78ba\u306b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u30b3\u30e1\u30f3\u30c8\u3057\u3066\u5354\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u30e1\u30cb\u30e5\u30fc\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u4e3b\u306a\u76ee\u7684\u306f\u3001Primefaces\u306e\u5b9f\u88c5\u3067\u4f7f\u7528\u3055\u308c\u308b\u30e1\u30a4\u30f3\u30e1\u30cb\u30e5\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ab\u30d0\u30fc\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u901a\u5e38\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306b\u5e83\u304c\u308b\u591a\u6570\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u7570\u306a\u308b\u5f62\u5f0f\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c1 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-350","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002\" \/>\n<meta property=\"og:description\" content=\"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-11T04:06:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T13:52:51+00:00\" \/>\n<meta name=\"author\" content=\"\u685c, \u6625\u6a39\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u685c, \u6625\u6a39\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"79\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/\",\"name\":\"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-04-11T04:06:05+00:00\",\"dateModified\":\"2025-07-31T13:52:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341\"},\"description\":\"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341\",\"name\":\"\u685c, \u6625\u6a39\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g\",\"caption\":\"\u685c, \u6625\u6a39\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/sakuraharuki\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002 - Blog - Silicon Cloud","description":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\/","og_locale":"ja_JP","og_type":"article","og_title":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002","og_description":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-11T04:06:05+00:00","article_modified_time":"2025-07-31T13:52:51+00:00","author":"\u685c, \u6625\u6a39","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u685c, \u6625\u6a39","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"79\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/","name":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-04-11T04:06:05+00:00","dateModified":"2025-07-31T13:52:51+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341"},"description":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Primefaces\u306e\u30e1\u30cb\u30e5\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u3001\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\u3001\u30b9\u30e9\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4f8b\u3002"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341","name":"\u685c, \u6625\u6a39","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g","caption":"\u685c, \u6625\u6a39"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/sakuraharuki\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%ae%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%81%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%83%9c%e3%82%bf%e3%83%b3%e3%80%81\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=350"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/350\/revisions"}],"predecessor-version":[{"id":39471,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/350\/revisions\/39471"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}