Bug 793069 (JBEPP-151)

Summary: Examples for <trans-attribute> element in the Reference Guide are incorrect
Product: [JBoss] JBoss Enterprise Portal Platform 4 Reporter: Martin Weiler <mweiler>
Component: docs-Reference_GuideAssignee: Thomas Heute <theute>
Status: CLOSED NEXTRELEASE QA Contact: ecs-bugs
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0.GA_CP2   
Target Milestone: ---   
Target Release: 4.3.0.GA_CP3   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-151
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-10 13:46:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Weiler 2009-12-08 09:00:53 UTC
Date of First Response: 2009-12-10 08:53:46
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/373656
project_key: JBEPP

The following deployment descriptor example does not match the JBoss Portlet 2.6 DTD: 

<portlet>
  <portlet-name>MyPortlet</portlet-name>
  <remotable>true</remotable>
  <trans-attribute>Required</trans-attribute>
</portlet>

It should be changed to:

<portlet>
  <portlet-name>MyPortlet</portlet-name>
  <remotable>true</remotable>
  <transaction>
    <trans-attribute>Required</transaction>
  <transaction>
</portlet>

This can be found in Chapter 6.1.1 and in Appendix C of the Reference Guide, as well as in the jboss-portlet_2_6.dtd file:

Chapter 6.1.1: http://www.redhat.com/docs/en-US/Enterprise_Portal_Platform/4.3/html/Reference_Guide/xmldescriptors.html#d0e1766
Appendix C: http://www.redhat.com/docs/en-US/Enterprise_Portal_Platform/4.3/html/Reference_Guide/jbossPortletDTD.html

Comment 1 Martin Weiler 2009-12-10 13:46:37 UTC
The sentence above the deployment descriptor example in Chapter 6.1.1 is incorrect, too:

"The following is an example section from a WEB-INF/portlet.xml file..." 

should be corrected to:

"The following is an example section from a WEB-INF/jboss-portlet.xml file..." 

Comment 2 Thomas Heute 2009-12-10 13:53:46 UTC
Resolved in between, but I just fixed that as well.

Thanks :)