Fórumok

Bugs in documentation

thumbnail
Łukasz Pogorzelski, módosítva 12 év-val korábban

Bugs in documentation

New Member Bejegyzések: 6 Csatlakozás dátuma: 2012.04.12. Legújabb bejegyzések
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.
thumbnail
Hitoshi Ozawa, módosítva 12 év-val korábban

RE: Bugs in documentation

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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