[JBoss JIRA] Created: (JBRULES-1333) Enum doesn't work in the decision table
by tobato king (JIRA)
Enum doesn't work in the decision table
---------------------------------------
Key: JBRULES-1333
URL: http://jira.jboss.com/jira/browse/JBRULES-1333
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Decision tables
Affects Versions: 4.0.3
Reporter: tobato king
I have a enum like this:
public enum JobStatus {
UNEMPLOYED,EMPLOYED,RETIRED
}
I know i have to get a rule like this:
rule "EMPLOYED test"
no-loop true
when
$moneys:List()
$person:Person(jobstatus == JobStatus.EMPLOYED)
then
System.out.println( "EMPLOYED"+$person.getName());
$moneys.add(new Money(2));
retract($person);
end
I have imported the enum class and tryed define condition like JobStatus.EMPLOYED, EMPLOYED,"EMPLOYED", but nothing work!
I found JobStatus.EMPLOYED was convert to
$person:Person(jobstatus == "JobStatus.EMPLOYED")
buy the SpreadsheetCompiler
So, I think it seems have a bug.
--
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
16 years, 11 months
[JBoss JIRA] Created: (JBPORTAL-1176) Error Displaying Flash in JBoss Portal 2.4.1.CR2
by Mitch De Felice (JIRA)
Error Displaying Flash in JBoss Portal 2.4.1.CR2
------------------------------------------------
Key: JBPORTAL-1176
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1176
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Portlet
Affects Versions: 2.4.1 SP1
Environment: Release ID: JBoss [Zion] 4.0.5.GA
Home Dir: E:\Apache Group\jboss-portal-2.4.1-CR2
Java version: 1.4.2_09,Sun Microsystems Inc.
Java VM: Java HotSpot(TM) Server VM 1.4.2_09-b05,Sun Microsystems Inc.
OS-System: Windows 2000 5.0,x86
Database: Oracle 9i
Reporter: Mitch De Felice
Assigned To: Julien Viet
I'm having two problems with running the flash plugin in Jboss Portel window.
1. When I try to set the height and width on the object tag to a 100%, the window goes totally blank, like I didn't have any statements in the jsp. However, if I set the width="100%" and set a specific height="450" the flash plugin will be displayed.
<center>
<object width="100%" height="100%">
<param name="movie" value="<%= request.getAttribute("flashurl") %>"/>
<embed src="<%= request.getAttribute("flashurl") %>" width="100%" height="100%"/>
</object>
</center>
2. The second problem that I'm seeing when trying to view a flash plungin in a Portlet Window is when I specify the classid on the object tag, the footer of the Portlet Window gets clipped off.
<center>
<object width="100%" height="455"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" >
<param name="movie" value="<%= request.getAttribute("flashurl") %>"/>
<embed src="<%= request.getAttribute("flashurl") %>" width="100%" height="455"/>
</object>
</center>
I need to specify the classid so as the flash plugin can make an Ajax call back into the server.
--
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
16 years, 11 months
[JBoss JIRA] Created: (JBPORTAL-1525) RichFaces : finish integration : features, examples...
by Antoine Herzog (JIRA)
RichFaces : finish integration : features, examples...
------------------------------------------------------
Key: JBPORTAL-1525
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1525
Project: JBoss Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Portal Portlet
Affects Versions: 2.6 CR3
Environment: JBoss Portal 2.6CR3 (on a JBoss AS 4.0.5)
Rich Faces 3.0.0 and 3.0.2 (fixed version)
Reporter: Antoine Herzog
Assigned To: Julien Viet
RichFaces has provided a sample application to work in a JBoss Portal Portlet.
There was quiet a lot of tuning and adaptation (RichFaces side only ?).
It seems that it work with the JBoss Portal 2.6.0 as released.
But they may be some things to do in JBoss Portal side.
- Use of RichFaces for admin portlets etc... (as it is now inside JBoss products)
- At least, integrate a sample RichFaces Portlet, to show how nice it is, and how it works etc...
--
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
16 years, 11 months