[rules-users] Store a Map in Country Enumeration

2011-12-14 Thread srinivasasanda
Yes Manstis,U r right..The war file version you specified has no issues with it.It is being automatically refreshed.Thank you so much for your advice and suggestions.You people helping our drools semi-beginners a lot.Thank you once again. -- View this message in context: http://drools.46999.n3.n

Re: [rules-users] Store a Map in Country Enumeration

2011-12-14 Thread Michael Anstis
No, I'd encourage you to try 5.3.0.Final first. There were fixes in the area you are experiencing the issue. On 14 December 2011 08:46, srinivasasanda wrote: > I'm using Guvnor 5.3.0 CR1.Should i raise JIRA?? > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Store-a-Map

Re: [rules-users] Store a Map in Country Enumeration

2011-12-14 Thread srinivasasanda
I'm using Guvnor 5.3.0 CR1.Should i raise JIRA?? -- View this message in context: http://drools.46999.n3.nabble.com/Store-a-Map-in-Country-Enumeration-tp3582244p3584844.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-

Re: [rules-users] Store a Map in Country Enumeration

2011-12-14 Thread Michael Anstis
What version of Guvnor are you using? Can you try with 5.3.0.Final? If the problem remains can you raise a GUVNOR JIRA with a self contained test and repository export? sent on the move On 14 Dec 2011 06:41, "srinivasasanda" wrote: > Hi Manstis, > > I created enumeration for states and countrie

[rules-users] Store a Map in Country Enumeration

2011-12-13 Thread srinivasasanda
Hi Manstis, I created enumeration for states and countries as 'Address.country':(new com.sample.DataList()).getMyCountriesList() 'Address.state[country]' : '(new com.sample.DataList()).getStateList("@{country}")' It is showing drop-down list in guided rule editor for countries as US,UK,I

Re: [rules-users] Store a Map in Country Enumeration

2011-12-13 Thread srinivasasanda
I solved the problem.I concatenated Country Id and Country name with = sign in between so it became A01=USA,A02=UK.and this list Iam passing to Guvnor.In that guvnor,USA UK is being displayed in GUI where A01,A02 are being used as backend. Now to retrieve states when Iam passing countryname in

Re: [rules-users] Store a Map in Country Enumeration

2011-12-13 Thread Michael Anstis
You *should* be able to have your backend service return values as "display=value". TBH, I've not tried it personally but the internal mechanics should be the same. I'd be interested in your feedback so we can schedule improvements if necessary. On 13 December 2011 13:10, srinivasasanda wrote:

[rules-users] Store a Map in Country Enumeration

2011-12-13 Thread srinivasasanda
Hi, I have a declarative model with a fact named Person with field*(country,state)* I have seen in guvnor documentation that 'Board.type':['short','long','NN=MIn Mal'] Min Mal will be displayed in GUI where as NN will be used backend In the sameway,I need to use country ids instead of countryna