Vikrant Yagnick | 1 Oct 09:29 2008

Category Tree Display Overlaps the box area in Guvnor in Internet Explorer

Hi All,

 

I am not sure, if this has been raised before(could not find an existing JIRA) for it.

The display of categories in IE 7 seems to overlap the box area(See attached). 

 

This works correctly with Safari and FireFox.  Sounds like a problem with Z-Indexes in IE.

 

 

Cheers,

Vikrant

 

 




MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Vikrant Yagnick | 1 Oct 09:38 2008

RE: Category Tree Display Overlaps the box area in Guvnor in Internet Explorer

Actually, this is pretty much a blocker bug for Internet Explorer as I am unable to add  a name to a new rule, if my category is in the lower half of the list.

 

Anybody, have any ideas on how this can be worked around or solved?

 

From: Vikrant Yagnick
Sent: Wednesday, October 01, 2008 1:00 PM
To: 'Rules Users List'
Subject: Category Tree Display Overlaps the box area in Guvnor in Internet Explorer

 

Hi All,

 

I am not sure, if this has been raised before(could not find an existing JIRA) for it.

The display of categories in IE 7 seems to overlap the box area(See attached). 

 

This works correctly with Safari and FireFox.  Sounds like a problem with Z-Indexes in IE.

 

 

Cheers,

Vikrant

 

 




MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Asif Akram | 1 Oct 11:00 2008
Picon

Upload Rules to BRMS at runtime

Hi,

    I was wondering if it is possible to create and upload rules at 
runtime to BRMS to be accessed by other users. I have only seen the 
examples where existing packages/rules are loaded from the BRMS. Any 
help and suggestion will be appreciated.

Cheers
Asif

--

-- 
This message has been scanned for viruses and
dangerous content by WATEEN TELECOM, and is
believed to be clean.

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

David Sinclair | 1 Oct 15:21 2008

Re: rule agent - package loading from url

Jeff this isn't currently possible. A change would be needed for PackageDeploymentServlet along with RuleAgent to support this.

dave

On Tue, Sep 30, 2008 at 5:43 PM, hongyu lu <hl_107 <at> yahoo.com> wrote:
Hi,

I was using the code below to initialize rule agent from a url. Is it possible to load the latest version of all the packages from brms, instead of name specific ones? Our use case is we will have new packages created on the fly through brms. Can someone shed some light on this?

config.setProperty("url", "http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/MyPkg/LATEST");
RuleAgent.newRuleAgent(config);

thanks
Jeff



_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Leonardo Figueiredo | 1 Oct 17:26 2008
Picon

Re: Upload Rules to BRMS at runtime

Hi,

You mean using an api to add rules to the BRMS? If so i have the same problem. I am using an "homemade" build that have a custom Servlet that allows me to pass an DRL to be added to the BRMS.

I am still searching for a better solution.


Regards,
Leo



On Wed, Oct 1, 2008 at 7:00 AM, Asif Akram <asif.akram <at> imperial.ac.uk> wrote:
Hi,

  I was wondering if it is possible to create and upload rules at runtime to BRMS to be accessed by other users. I have only seen the examples where existing packages/rules are loaded from the BRMS. Any help and suggestion will be appreciated.

Cheers
Asif


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Leonardo Figueiredo | 1 Oct 17:34 2008
Picon

Re: to have some hierarchical control over rules in the same package

Hi,

Why dont you build an RuleBase for each package and runs it when and where needed? Or add an remove the packages from RuleBase as needed?

ruleBase.addPackage( pkg ); // Add a package instance ruleBase.removePackage( "org.com.sample" ); // remove a package, and all its parts, by it's namespace

Is it what you want to do? 

Regards,
Leo

On Mon, Sep 29, 2008 at 7:18 PM, hongyu lu <hl_107 <at> yahoo.com> wrote:
Hi,

I have a use case where I would like to group rules by package(each package would be one experiment in my app). There are a couple attributes at the package level, which will enable/disable all rules of that package(not being fired). What would be the best way to achieve this? I am new to Drools and it looks like the rule definition is kinda flat. I would like to avoid defining package level conditions within each rule.

thanks
Jeff




_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Marcin Krol | 1 Oct 17:42 2008
Picon

Re: Working with collections

Michael Neale wrote:
> The days list property needs to be a Collection (at the moment I think
> it uses the collection semantics in java, which sadly arrays are not
> part of the collections family).
> 
> You can do Arrays.asList() to convert it to a list in the getter
> method, and it should work. If you however make it a hashset, it in
> theory will be slightly faster then most other collection types.

Thanks for answer, Michael, but it didn't work:

private String[] dl = {"Monday", "Tuesday", "Wednesday", "Thursday", 
"Friday"};
			
public WorkDays() {
}
			
public List<String> getDaylist() {
  return Arrays.asList(this.dl);
}

I even coded this as List explicitly:

public class WorkDays {
private List<String> wd;
		
public WorkDays() {
  this.wd = new ArrayList<String>();
  this.wd.add("Monday");
  this.wd.add("Tuesday");
  this.wd.add("Wednesday");
  this.wd.add("Thursday");			
  this.wd.add("Friday");			
}
	
	
public List<String> getWorkDays() {
  return this.wd;
}

It seems like Drools can't instantiate the List in question, because 
when I leave only this as condition of the rule, it still cannot fire:

import com.sample.WorkDays;

rule "Rule 1"
  when
     $wd : WorkDays()
  then
     System.out.println("Rule 1 fired.");
end

> 
> On Sat, Sep 27, 2008 at 2:04 AM, Marcin Krol <mrkafk <at> gmail.com> wrote:
>> Hello everyone,
>>
>> I'm a beginner in Drools, so please account for that. :-)
>>
>> How do I use memberOf operator when working with collections? Depending on a
>> day of week, I want to check if a day is a working day or weekend day.
>>
>> I tried this:
>>
>> package com.sample
>> dialect "mvel"
>> import com.sample.ThermostatTimeData;
>> import com.sample.Thermostat.WorkDay;
>> import com.sample.Thermostat.WorkDays;
>>
>>
>> rule "Rule 1"
>>
>> when
>>        $wd : WorkDays()
>>        $ttd : ThermostatTimeData( day memberOf $wd.daylist )
>>        //$ttd: ThermostatTimeData ( day == "Monday" || day == "Tuesday" ||
>> day == "Wednesday" || day == "Thursday" || day == "Friday" )
>>
>> then
>>        insert( new WorkDay() );
>>        System.out.println("inserting new workday");
>> end
>>
>>
>> with this in my Thermostat class:
>>
>> public static class WorkDays {
>>  private String[] dl = {"Monday", "Tuesday", "Wednesday", "Thursday",
>> "Friday"};
>>
>>  public WorkDays() {
>>  }
>>
>>  public String[] getDaylist() {
>>        return this.dl;
>>  }
>> }
>>
>>
>> Now the above rule works fine when I select days using the regular fact
>> field selection in Drools:
>>
>> $ttd: ThermostatTimeData ( day == "Monday" || day == "Tuesday" || day ==
>> "Wednesday" || day == "Thursday" || day == "Friday"
>>
>> However, when I try to access WorkDays.dl or WorkDays.daylist(), the rule
>> doesn't fire (the program output is empty).
>>
>> Regards,
>> MK
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users <at> lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
> 
> 
> 

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Leonardo Figueiredo | 1 Oct 17:45 2008
Picon

Re: Sort different records

Hi,

Do PricingField overrides hashCode and equals? Did you check the possibility of using the collect or accumulate conditionals?

Regards,
Leo



On Tue, Sep 30, 2008 at 11:49 AM, Delaunay Gaetan <gdelaunay <at> seasatcom.com> wrote:
Hi,

I've got this following rule :
when
$p1 : PricingField(v1 : name == "startdate")
$p2 : PricingField(this != $p1, name =="startdate", dateValue == v1)
then
....

This rule doesn't work and i can't figure out why. Does anyone have an idea?
Gaet


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Vikas Phonsa | 1 Oct 18:16 2008

RE: Upload Rules to BRMS at runtime

Is anybody using BRMS (4.0.7) successfully in production? If yes, how many DRLs do you have?

 

Thanks,

Vikas

 

From: rules-users-bounces <at> lists.jboss.org [mailto:rules-users-bounces <at> lists.jboss.org] On Behalf Of Leonardo Figueiredo
Sent: Wednesday, October 01, 2008 8:27 AM
To: Rules Users List
Subject: Re: [rules-users] Upload Rules to BRMS at runtime

 

Hi,

 

You mean using an api to add rules to the BRMS? If so i have the same problem. I am using an "homemade" build that have a custom Servlet that allows me to pass an DRL to be added to the BRMS.

 

I am still searching for a better solution.

 

 

Regards,

Leo

 

 

On Wed, Oct 1, 2008 at 7:00 AM, Asif Akram <asif.akram <at> imperial.ac.uk> wrote:

Hi,

  I was wondering if it is possible to create and upload rules at runtime to BRMS to be accessed by other users. I have only seen the examples where existing packages/rules are loaded from the BRMS. Any help and suggestion will be appreciated.

Cheers
Asif

 


This email and/or any files or attachments transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and/or any files or attachments transmitted with it is strictly forbidden. If you have received this email in error, please delete the e-mail and/or any files or attachments, and also notify the system manager (PostMaster <at> mercuryinsurance.com) of the error. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email and/or any files or attachments transmitted with it.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
hongyu lu | 1 Oct 19:56 2008
Picon

Re: to have some hierarchical control over rules in the same package

Hi David and Leo,

thanks for the info.

our plan is to get brms exposed to business users so they can manage rules with the guided editor(with template and guidance for sure). was thinking they need to be able to create new packages, which should not require any app side change.

what i can do is to pre-define packages for different domains and let users use categories to organize their rules(always assigned to the proper pre-defined package or so).

thanks
Jeff

----- Original Message ----
From: Leonardo Figueiredo <leo.lists <at> gmail.com>
To: Rules Users List <rules-users <at> lists.jboss.org>
Sent: Wednesday, October 1, 2008 8:34:56 AM
Subject: Re: [rules-users] to have some hierarchical control over rules in the same package

Hi,

Why dont you build an RuleBase for each package and runs it when and where needed? Or add an remove the packages from RuleBase as needed?

ruleBase.addPackage( pkg ); // Add a package instance
ruleBase.removePackage( "org.com.sample" ); // remove a package, and all its parts, by it's namespace

Is it what you want t o do? 

Regards,
Leo

On Mon, Sep 29, 2008 at 7:18 PM, hongyu lu <hl_107 <at> yahoo.com> wrote:
Hi,

I have a use case where I would like to group rules by package(each package would be one experiment in my app). There are a couple attributes at the package level, which will enable/disable all rules of that package(not being fired). What would be the best way to achieve this? I am new to Drools and it looks like the rule definition is kinda flat. I would like to avoid defining package level conditions within each rule.

thanks
Jeff




_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Gmane