Hey Folks,

Using RDC's, I am wondering why the template for "rapid atomic
development" requires the grammar attribute?

http://jakarta.apache.org/taglibs/sandbox/doc/rdc-doc/index.html#template

I like many others prefer to use inline grammars, and in this case
would like to load my grammars in with my config file.  Would it be
possible to add another rdc:get-configuration xpath expansion in
fsm-input.tag?  I would recommend it goes right before the expansion
for your prompt list:

  <rdc:expand>
    <rdc:get-configuration xml="${model.configuration}"
     locator="/config/${stateNode}/grammar-list/grammar"/> 
  </rdc:expand>

This way, inside the <input></input> tags of my config file, I can
specify the grammar to use for that rdc, without having to have a
seperate grxml file.  If there is grammar listed in the configs, it
would add it to the list.  I believe that you could still specify
another grammar in the template grammar attribute and have them both
active, when necessary.

Thoughts?

Shane Smith

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to