[rules-users] guvnor 5.5 - Guided decision tables (web based)

Stephen Masters stephen.masters at me.com
Sat Feb 9 08:00:22 EST 2013


Ah … setting values of lists can be fiddly through a web decision table. What are you trying to do?

Guvnor works out what fields should be available to you by using reflection to find all the getX and setX methods. I suspect that you're missing setX(AnObject o) methods for the collections you're working with.

Are you trying to call something like:

	setMyList(List myNewList)

Or more like:

	setValue(AnObject o)  { this.items.add(o); }	

Although, without seeing the class for the fact you're trying to manipulate, I'm having to guess a bit. :)

Steve



On 9 Feb 2013, at 12:05, Apurva Joshi <apurvajos at gmail.com> wrote:

> Thank you for your inputs Steve .I am new to guvnor tool so may be my
> questions are pretty basic. But when I use the guided editor to add a new
> column using "Set the value of a field" I do not see any of the collection
> classed there in the face drop down.So I thought that they may be missing
> because the pojo jar is not being added.
> 
> I think I will have to do some more research on how to get these JDK classes
> in web-editor.
> 
> Thanks
> Apurva
> 
> 
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/guvnor-5-5-Guided-decision-tables-web-based-tp4022179p4022181.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list