Re: [rules-users] [Guvnor] template keys in formula and metadata

2012-06-05 Thread Michael Anstis
It should in theory be a relatively simple enhancement.

Please feel free to request such an enhancement:
https://issues.jboss.org/browse/GUVNOR.

A pull request providing such functionality is always welcome :)

Feel free to come along to #guvnordev if you need some guidance.

With kind regards,

Mike

On 5 June 2012 16:00, Jim van Dam  wrote:

>
> Mark Proctor wrote
> >
> >> Ok, would be great if it would be part of 5.3.0 as it would make the
> >> lives of our business users a lot easier.
> >> ...
> >> We have a group of users that only need to use the webgrid to enter
> >> rules.
> >>
> > features are only a patch submission away :)
> >
> > Mark
> >
> We are also very interested in being able to use template keys in metadata.
> I cannot find an assigned issue for the metadata part only LHS and RHS
> which
> was in 5.4 Beta. Am I missing an issue that is on the roadmap to fix this?
> If not and you agree I would like to create one and start working on it.
>
> Regards,
>
> Jim
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p4017754.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Guvnor] template keys in formula and metadata

2012-06-05 Thread Jim van Dam

Mark Proctor wrote
> 
>> Ok, would be great if it would be part of 5.3.0 as it would make the 
>> lives of our business users a lot easier.
>> ...
>> We have a group of users that only need to use the webgrid to enter 
>> rules.
>>
> features are only a patch submission away :)
> 
> Mark
> 
We are also very interested in being able to use template keys in metadata.
I cannot find an assigned issue for the metadata part only LHS and RHS which
was in 5.4 Beta. Am I missing an issue that is on the roadmap to fix this?
If not and you agree I would like to create one and start working on it.

Regards,

Jim


--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p4017754.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Guvnor] template keys in formula and metadata

2011-09-18 Thread Mark Proctor

On 14/09/2011 21:28, Hans Boerstra wrote:


Ok, would be great if it would be part of 5.3.0 as it would make the 
lives of our business users a lot easier.
Is there a workaround available by creating a drt file and importing 
that somehow?
What's in the template file in the webdav repository when a rule 
template is saved?


We have a group of users that only need to use the webgrid to enter 
rules.



features are only a patch submission away :)

Mark


Regards,

Hans



View this message in context: Re: [rules-users] [Guvnor] template keys 
in formula and metadata 
<http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p3337058.html>
Sent from the Drools: User forum mailing list archive 
<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html> at 
Nabble.com.



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Guvnor] template keys in formula and metadata

2011-09-18 Thread Michael Anstis
BRL is an XStream representation of the underlying object model; that does
not support what you ask.

AFAIK you are free to use template keys in DRL where-ever you like, so what
you ask would be possible using DRL templates, as covered in the Chapter 6
of the Drool Expert user-guide.

I assume however that you require the use of Guvnor's
web-template-data-grid-widget in which case I suspect your day will be rainy
:(

With kind regards,

Mike

2011/9/17 Hans Boerstra 

> Ok, you can still make this day shine if you tell me if it is possible to
> use the template keys in method calls and metadata fields if I use BRL XML
> directly.
>
> I don't care if I cannot edit the template itself in Guvnor anymore, but
> the load template data should use the template keys I specified in the BRL
> XML. Would that work?
>
> Kind regards,
>
> Hans
>
> ------
> View this message in context: Re: [rules-users] [Guvnor] template keys in
> formula and 
> metadata<http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p3345278.html>
> Sent from the Drools: User forum mailing list 
> archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html>at 
> Nabble.com.
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Guvnor] template keys in formula and metadata

2011-09-17 Thread Hans Boerstra
Ok, you can still make this day shine  if you tell me if it is possible to
use the template keys in method calls and metadata fields if I use BRL XML
directly.

I don't care if I cannot edit the template itself in Guvnor anymore, but the
load template data should use the template keys I specified in the BRL XML.
Would that work?


Kind regards,

Hans


--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p3345278.html
Sent from the Drools: User forum mailing list archive at Nabble.com.___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Guvnor] template keys in formula and metadata

2011-09-16 Thread Michael Anstis
Unfortunately, it is not possible to load DRT's into Guvnor (and have them
editable). You can only add it as a "file type" asset for storage (and
versioning) in Guvnor.

Rule Templates authored in Guvnor are persisted to the repository as BRL
using org.drools.guvnor.server.util.BRDRTXMLPersistence.

More unfortunately GUVNOR-1397 has been pushed to 5.4.0.Beta1.

I hope the rest of the day brings you some good news :)

With kind regards,

Mike

2011/9/14 Hans Boerstra 

>  Ok, would be great if it would be part of 5.3.0 as it would make the lives
> of our business users a lot easier.
> Is there a workaround available by creating a drt file and importing that
> somehow?
> What's in the template file in the webdav repository when a rule template
> is saved?
>
> We have a group of users that only need to use the webgrid to enter rules.
>
> Regards,
>
> Hans
>
> --------------
> View this message in context: Re: [rules-users] [Guvnor] template keys in
> formula and 
> metadata<http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p3337058.html>
>
> Sent from the Drools: User forum mailing list 
> archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html>at 
> Nabble.com.
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Guvnor] template keys in formula and metadata

2011-09-14 Thread Hans Boerstra

Ok, would be great if it would be part of 5.3.0 as it would make the lives
of our business users a lot easier.

Is there a workaround available by creating a drt file and importing that
somehow? 

What's in the template file in the webdav repository when a rule template is
saved?


We have a group of users that only need to use the webgrid to enter rules.

Regards,
Hans


--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p3337058.html
Sent from the Drools: User forum mailing list archive at Nabble.com.___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [Guvnor] template keys in formula and metadata

2011-09-14 Thread Michael Anstis
Hi,

This is not possible at present, there is an unresolved JIRA for it already:
https://issues.jboss.org/browse/GUVNOR-1431.

It is unlikely to make 5.3.0.Final, however not completely ruled out at the
moment.

With kind regards,

Mike

2011/9/14 Hans Boerstra 

> Is it possible to use template keys in a formula and metadata in a rule
> template in Guvnor?
> I can't find a way to get them in and if I just use $var notation it does
> not get used when I load template data.
> In Guvnor I can only use template keys in the expression editor. In the drt
> format I could put keys everywhere I wanted.
>
> Is there a way to make Guvnor accept that too?
> Regards,
>
> Hans
>
> --
> View this message in context: [Guvnor] template keys in formula and
> metadata
> Sent from the Drools: User forum mailing list 
> archiveat 
> Nabble.com.
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] [Guvnor] template keys in formula and metadata

2011-09-14 Thread Hans Boerstra
Is it possible to use template keys in a formula and metadata in a rule
template in Guvnor?

I can't find a way to get them in and if I just use $var notation it does
not get used when I load template data.

In Guvnor I can only use template keys in the expression editor.
In the drt format I could put keys everywhere I wanted.
Is there a way to make Guvnor accept that too?


Regards,

Hans


--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-template-keys-in-formula-and-metadata-tp3336774p3336774.html
Sent from the Drools: User forum mailing list archive at Nabble.com.___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users