[rules-users] Using both Drop Down(Enumeration) and Text Field for a field in guvnor

Ray Hooker ray.hooker at me.com
Sat Jan 11 22:54:29 EST 2014


Michael,  It looks promising.  The question is whether I can have something like a select that has a text and a value that returned.  For example the value RxNorm=617314  is actually “Atorvastain or Lipitor”.  If this was a typically select box, we could populate both the text (e.g., "Atorvastain or Lipitor”) and the value to be returned (e.g., 617314).  The resulting rule would only have the code.

Ray
On Jan 11, 2014, at 3:54 PM, Michael Anstis <michael.anstis at gmail.com> wrote:

> 1) No, you can't have ab enumeration defined and expect to have a text box to enter a value.
> 
> 2) You can define an enumeration that look up their values from elsewhere. Please see the Advanced Enum Concepts section in the user guide.
> 
> Sent on the move
> 
> On 11 Jan 2014 15:22, "Ray Hooker" <ray.hooker at me.com> wrote:
> This ties into a question, I had as well.  I am trying to setup an environment to author rules that have codes associates within them.  This is in the medical field where it would be nice to do a look-up.  If it possible to extend the interface, possibly in the guided rule development to allow the user to select from a popup list??  It would be nice to use Guvnor rather than having to write a custom set of screens.
> 
> 
> Ray
> On Jan 11, 2014, at 9:04 AM, abhinay_agarwal <abhinay_agarwal at infosys.com> wrote:
> 
> > Heya,
> >
> > Is it possible to use both drop downs and text field for the same field in
> > guvnor. For what I see now, is once I have made an enumeration for a field
> > of a fact, I am bound to choose values from the drop down, which makes it
> > difficult to use functionality of matches and using *. in guvnor.
> >
> > Regards,
> > Abhinay
> >
> >
> >
> > --
> > View this message in context: http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656.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
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140111/77d393ff/attachment.html 


More information about the rules-users mailing list