Bug 793069 (JBEPP-151) - Examples for <trans-attribute> element in the Reference Guide are incorrect
Summary: Examples for <trans-attribute> element in the Reference Guide are incorrect
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-151
Product: JBoss Enterprise Portal Platform 4
Classification: JBoss
Component: docs-Reference_Guide
Version: 4.3.0.GA_CP2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.0.GA_CP3
Assignee: Thomas Heute
QA Contact: ecs-bugs
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-08 09:00 UTC by Martin Weiler
Modified: 2012-02-16 03:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-10 13:46:41 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-151 0 None None None Never

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 :)


Note You need to log in before you can comment on or make changes to this bug.