[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2275) Document on Seam iText charting
by Joshua Partogi (JIRA)
Document on Seam iText charting
-------------------------------
Key: JBSEAM-2275
URL: http://jira.jboss.com/jira/browse/JBSEAM-2275
Project: JBoss Seam
Issue Type: Patch
Affects Versions: 2.0.0.GA
Environment: JBoss 4.2.1.GA
Reporter: Joshua Partogi
Fix For: 2.0.1.GA
Point 16.2
1. Write in doc to use the charting support, we need to add the jfreechart.jar and jcommon-*.jar in the project classpath. We can also add this is our build.xml
2. The key attribute is needed upon p:data component usage otherwise it will throw
this exception java.lang.IllegalArgumentException: Null 'key' argument.
at org.jfree.data.DefaultKeyedValues.setValue(DefaultKeyedValues.java:239)
at org.jfree.data.DefaultKeyedValues2D.setValue(DefaultKeyedValues2D.java:337)
at org.jfree.data.DefaultKeyedValues2D.addValue(DefaultKeyedValues2D.java:303).
In examples, it is used in (the ones below are the fixed value):
Barchart, Linechart, Series
PieChart
1. Attributes:
title — The chart title text.
legend — A boolean value indicating whether or not the chart should include a legend. Default value is true
is3D - A boolean value indicating that the chart should be rendered in 3D instead of 2D.
labelLinkMargin - The link margin
labelLinkPaint - The paint used for the label linking lines.
labelLinkStroke - The stroke used for the label linking lines.
labelLinksVisible - A flag that controls whether or not the label links are drawn.
labelOutlinePaint - The paint used to draw the outline of the section labels
labelOutlineStroke - The stroke used to draw the outline of the section labels
labelShadowPaint - The paint used to draw the shadow for the section labels
labelPaint - The color used to draw the section labels
labelGap - The gap between the labels and the plot as a percentage of the plot width.
labelBackgroundPaint - The color used to draw the background of the section labels. If this is null, the background is not filled.
startAngle - The starting angle
circular - A boolean value indicating whether whether to draw an ellipse or a perfect circle.
direction - The direction for the pie segments. If value is not set "anticlockwise" then by default it is clockwise.
sectionOutlinePaint - The outline paint for ALL sections (overrides list).
sectionOutlineStroke - The outline stroke for ALL sections (overrides list).
sectionOutlinesVisible - A flag that controls whether or not an outline is drawn for each section in the plot.
baseSectionOutlinePaint - The base section outline paint
baseSectionPaint - The base section paint
baseSectionOutlineStroke - The base section outline stroke
2. Usage:
<p:document xmlns:p="http://jboss.com/products/seam/pdf">
<p:piechart title="Pie Chart" circular="false" direction="anticlockwise"
startAngle="30" labelGap="0.1" labelLinkPaint="red">
<p:series key="Prices">
<p:data key="2003" columnKey="2003" value="7.36" />
<p:data key="2004" columnKey="2004" value="11.50" />
<p:data key="2005" columnKey="2005" value="34.625" />
<p:data key="2006" columnKey="2006" value="76.30" />
<p:data key="2007" columnKey="2007" value="85.05" />
</p:series>
</p:piechart>
</p:document>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBSEAM-4755) Usage of propagation="nest" with <s:link> throughs Exception
by Bertrand Toussaint (JIRA)
Usage of propagation="nest" with <s:link> throughs Exception
------------------------------------------------------------
Key: JBSEAM-4755
URL: https://issues.jboss.org/browse/JBSEAM-4755
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.2.1.CR3
Environment: Seam 2.2.1.CR3 / Jboss AS 4.3.2
Reporter: Bertrand Toussaint
When "nest" is replaced by "nested" in the xhtml views:
It works well when the conversation propagation is done by using the tag <s:conversationPropagation type="nested" />
It does not work if you use the attribute propagation="nested" on the <s:link> tag: the nested conversation is not created.
If you remove the propagation attribute from <s:link> tag and insert <s:conversationPropagation type="nested" /> inside the tag, it works.
The documentation still references "nest" value for <s:link> propagation attribute in the chapter 7.5. Using <s:link> and <s:button>
http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/conversations.html
If you use s:link with propagation="nest", you get the exception java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType.NEST.
So, the workaround is: do not use "propagation" attribute on s:link, use <s:conversationPropagation type="nested" /> instead.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBSEAM-4751) Test task not working in a seam-gen project
by Jozef Hartinger (JIRA)
Test task not working in a seam-gen project
-------------------------------------------
Key: JBSEAM-4751
URL: https://issues.jboss.org/browse/JBSEAM-4751
Project: Seam
Issue Type: Bug
Components: Tools
Affects Versions: 2.2.1.CR3
Reporter: Jozef Hartinger
Assignee: Marek Novotny
The testng.jar has been renamed from testng.jar to testng-jdk15.jar. As a result, the "test" target in a seam-gen project does not work anymore. The error output:
test:
[taskdef] Could not load definitions from resource testngtasks. It could not be found.
BUILD FAILED
/home/jharting/jboss/testing/2.2.1.CR3/workspace/seamGenTestAppRichEarE001/build.xml:462: Problem: failed to create task or type testng
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBSEAM-4744) EntityQuery.resultList throws a exception when the entity has composite key
by Alessandro Lazarotti (JIRA)
EntityQuery.resultList throws a exception when the entity has composite key
---------------------------------------------------------------------------
Key: JBSEAM-4744
URL: https://issues.jboss.org/browse/JBSEAM-4744
Project: Seam
Issue Type: Bug
Components: Framework
Affects Versions: 2.2.1.CR1, 2.2.0.GA
Environment: Fedora 12, JDK 1.6 sun/oracle, Seam 2.2.1 CR1, MySQL 5
Reporter: Alessandro Lazarotti
Fix For: 2.2.1.Final
Hibernate has a known trouble running queries using "count" when the entity has composite keys, like:
select count(foobar) from Foobar foobar:
- ERROR [JDBCExceptionReporter] Operand should contain 1 column(s)
Seam EntityQuery has a workaround, using count(*) instead of count(alias)(spec way) if you use entityQuery.resultCount.
It's works with Seam 2.0.x but no more in Seam 2.2.x
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBSEAM-4731) backbuttoningAfterLogoutWithAjaxTest causes ServletException on JBoss AS 6
by Jozef Hartinger (JIRA)
backbuttoningAfterLogoutWithAjaxTest causes ServletException on JBoss AS 6
--------------------------------------------------------------------------
Key: JBSEAM-4731
URL: https://jira.jboss.org/browse/JBSEAM-4731
Project: Seam
Issue Type: Bug
Components: Test Harness
Affects Versions: 2.2.1.CR2
Environment: JBoss AS 6 CR1
Seam 2.2.1-SNAPSHOT
Reporter: Jozef Hartinger
Assignee: Jozef Hartinger
Priority: Minor
Fix For: 2.2.1.CR3
Attachments: backbuttoningAfterLogoutWithAjaxTest.html
The backbuttoningAfterLogoutWithAjaxTest fails for every booking-like example with the attached exception. I am not able to reproduce the exception manually. Therefore, it seems that it is Selenium-related.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months