commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (JELLY-154) invoke tag should allow to support literal parameters in nested tags
Date Fri, 08 Oct 2004 08:20:51 GMT
The following comment has been added to this issue:

     Author: Paul Libbrecht
    Created: Fri, 8 Oct 2004 1:20 AM
In your example, I don't understand why using params="${params}" is not enough.
Maybe you can provide another example ?
Do you want to do something like:
   <soap:invoke endpoint="${endpoint}" namespace="${namespace}" method="${method}">

Or maybe something more elaborate such as using j:forEach ?


View this comment:

View the issue:

Here is an overview of the issue:
        Key: JELLY-154
    Summary: invoke tag should allow to support literal parameters in nested tags
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: jelly

   Reporter: Michael Altenhofen

    Created: Fri, 8 Oct 2004 12:42 AM
    Updated: Fri, 8 Oct 2004 1:20 AM

The current version (1.6) of InvokeTag's doTag method does not allow me to write something
like this:

<?xml version="1.0"?>
<j:jelly trim="false" xmlns:soap="jelly:soap" xmlns:j="jelly:core" xmlns:ju="jelly:util">
<j:catch var="ex">

   1. Define variables to hold invocation parameters
   <j:set var="endpoint"></j:set>
   <j:set var="namespace"/>
   <j:set var="method">ItemSearch</j:set>
   2. Load the parameters for the call from the file itemssearch_params.xml      
   <ju:loadText file="itemsearch_params.xml" var="params"/>
   3. Invoke the web service using the parameters we've just read in
       <soap:invoke endpoint="${endpoint}" namespace="${namespace}" method="${method}">${params}</soap:invoke>
<j:if test="${ex != null}">
   Execption ${ex.message} occured


I've posted this issue into standard bugzilla (Bug #31542) but was advised to post it here

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message