Forums

Home » Liferay Portal » English » x. Miscellaneous

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Łukasz Pogorzelski
Bugs in documentation
April 18, 2012 2:11 AM
Answer

Łukasz Pogorzelski

Rank: New Member

Posts: 6

Join Date: April 12, 2012

Recent Posts

Hello.

I didn't found one place, where bugs in documentation are described, so I post it here.

I refer to Liferay Portal 6.0 - Development Guide which can be found here http://www.liferay.com/documentation/liferay-portal/6.0/development.

Bug 1:
Section: Anatomy of a Portlet http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/anatomy-of-a-portlet

Some content are double (bold):

New portlets are configured by default to use the MVCPortlet framework, a very light framework that hides part of the complexity of portlets and makes the most common operations easier. MVCPortlet uses separate JSPs for each page in the portlet.

Portlets created in the SDK are configured by default to use the MVCPortlet framework, a very light framework that hides part of the complexity of portlets and makes the most common operations easier. MVCPortlet uses separate JSPs for each page in the portlet. MVCPortlet uses by default a JSP with the mode name for each of the registered portlet modes. For example edit.jsp for the edit mode, help.jsp for the help mode, etc.


Bug 2:
Section: Understanding the Two phases of Portlet Execution http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/understanding-the-two-phases-of-portlet-execution

executeis should be execute is

Render phase: The render phase is always invoked for all portlets in the page after the action phase (which may or not exist). This includes the portlet that also had executed its action phase. It's important to note that the order in which the render phase of the portlets in a page gets executedis not guaranteed by the portlet specification. Liferay has an extension to the specification through the element render-weight in liferay-portlet.xml. Portlets with a higher render weight will be rendered before those with a lower value.
Hitoshi Ozawa
RE: Bugs in documentation
April 22, 2012 5:30 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

Yes, it's a pity the there are some technical entry errors in Liferay documentation.

Regular users registered to this site, however, are free to edit wiki pages. I personally think wiki pages provide more update to date and correct information because they are being continuously being updated by users and users are able to comment on them.

Finally, it's probably better to post documentation related topic to the documentation forum. Liferay.com do try to keep their documents correct by fixing errors in the next release.

http://www.liferay.com/community/forums/-/message_boards/category/5950063