Page layout1: Table layoutThe main fields are:
Field
Privatelayout
0 represents a public page
Field
LayoutID
If there are many interfaces in the same community, LayoutID represents each interface, in order
Field
Parentlayoutid
If there are sub-pages under a page you need to specify Parentlayoutid
Field
Priority
Indicate which pages in the same community are at the same level in priority order
Tab: 2013 SharePoint vs2012Beginning SharePoint? 2013 Development 3rd chapter -- SharePoint 2013 developer tools use Visual Studio 2012 to develop SharePoint applications vs2012 with standard series project-level and project-level templates, making SP development simpler and more powerful. With sp2010, you can use vs20
Sharepoint210 has four execution Models
1. Full Trust)
2. bin/CAS execution model (both 1 and 2 are field solutions)
3. Sandbox execution model (sand box)
4. hybrid approach)
Next, let's take a look at how they are going.
I. Solutions
The field solution is a collection of resources deployed in the SharePoint environment through the server-side file system. These resources may contain Microsoft. NET Framework Assembly and non-compiled components such a
Brief introduction:
It is well known that cross-domain problems are a very common requirement, such as having a client's EXT-JS control render a JSON object from the server side. We can solve them in many ways, such as JSONP. However, in Liferay, we can use the Serveresource method to gracefully resolve Cross-domain access issues.
Whiteboard Analysis:
Here is the whiteboard on the technical symposium:
Workaround:
First write a Serveresource met
In Liferay, if you can use good portletpreferences then it will be very powerful:
Brief introduction:
Portletpreferences is a combination of a set of information related to the current user, and we can allow a logged on user to share data through this portletpreferences on different pages of a portlet, at different stages, Without having to worry about other users stealing the data. The benefit of using this shared data is that it does not require s
Recently our team asked Liferay to do the front page tuning, of course, the evaluation tool is the most important, in order to see the specific page loading time and so on, our first choice of course is the Chrome Browser diagnostics tool, but the total feeling is not professional, based on my experience, I still recommend YSlow, it The index of the page will be graded, and then finally get the total score then rating, General level has A,B,C,D,E,F6 l
In the Liferay Control Panel, when you click the search user in the user panel:
The requests sent to the server are as follows:
Based on the configuration in Struts-config.xml, we find forward that match struts-action to/user_admin/view_users:
Then go to tiles-def.xml and find the page that matches forward for Portlet.users_admin.view:
So, we found the page is/portlet/users_admin/view.jsp:
It is widely reported that I log on to the 64-bit server and the server is stuck (I don't know why)
So I decided to say goodbye to 64 for everyone's happiness. Haha.
I set up an environment on other servers, and everything went smoothly, because it has been set up many times,
However, when Tomcat is started at the end, when auto deploy restart started for/LTC/home/liferay/deploy is started, nothing will go down, and it won't be done after a long time,
Introduction:
We all know that we can use sessions to store attributes, but Liferay PortletSession is somewhat special. It can use different scopes to store different attributes. Our sample code is as follows:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/15061KS6-0.png "title =" 1.png" alt = "153666521.png"/>
Here we will study the details of PortletSession, for example, how to store the attributes on different scopes.
D
In the/portal-master/portal-impl/src/portal.properties file, the following configuration is available:# # Input A list of sections that would be included as part of the organization# form when adding an organization. #organ Izations.form.add.main=details,organization-siteorganizations.form.add.identification= Organizations.form.add.miscellaneous=# Input A list of sections that'll be included as part of the Organizatio n# form when updating a organization. #organizations. Form.update.main=detail
22:00:39,557 ERROR [schedulermessagelistener:53] Unable to process message {destinationname=liferay/scheduler_engine, Responsedestinationname=null, Responseid=null, payload= COM.LIFERAY.PORTAL.KERNEL.SCHEDULER.MESSAGING.SCHEDULERREQUEST@D870CB, Values=null}
Com.liferay.portal.kernel.scheduler.SchedulerException:Unable to start Scheduler
At Com.liferay.portal.scheduler.quartz.QuartzSchedulerEngineImpl.start (quartzschedulerengineimpl.java:276)
At Com.l
This problem actually stuck me for 1 hours, mainly beginning to think complex.
Because the default if the site to do in-station navigation, we are implemented with JS, and Liferay page is so complex, because the portal page is composed of a portlet, each page ID composition is also very complex, so I have been doing it for a long time did not get out, Until I returned to the basic definition of portal.
In the portal definition, a very important feat
Liferay has a service builder mechanism that generates a set of interfaces and classes and configuration files for the persistence Layer and service layer, and when we write a service.xml and invoke ant target as Build-service, The framework uses the Servicebuilder class to parse the Service.xml file:
For example, the service.xml we create is:
When we run Build-service Target, the location of this service.xml file is used with the first paramete
In the/portal-master/portal-web/docroot/html/portlet/dockbar/add_panel.jsp fileThe following will be included:if (hasaddcontentandapplicationspermission) { "content,applications");} if (haslayoutaddpermission) { "page");}Modified to:if (hasaddcontentandapplicationspermission) { "applications");} if (haslayoutaddpermission) { "page");}Remove the following content:"/html/portlet/dockbar/add_ content.jsp" /> Liferay 6.2 Retrofit Series Three
1. A single JSP file is directly suffixed with. jsp; a JSP file containing multiple JSP files is suffixed with. jspf.
2. Use single quotes in JS files
Confirm ('
3. Use the field set to wrap the input box
4. Use the built-in liferay Separator
1. Cancel the display of the above dockbar
This is the default code in the liferay topic, that is, all login users will display this control bar.
Dockbar is the top column.
#if ($is_signed_in) #dockbar()#end
Change to the following:
#if (($is_signed_in) $permissionChecker.isCompanyAdmin($company_id)) #dockbar()#end
Non-admin users will not be displayed
Ii. Access prohibited
You can still access the Control Panel through this connection:
Http: // lo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.