commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [jira] Created: (JELLY-154) invoke tag should allow to support literal parameters in nested tags
Date Fri, 08 Oct 2004 07:43:51 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-154

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
 Components: 
             taglib.soap

   Assignee: 
   Reporter: Michael Altenhofen

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

Description:
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">http://aws-beta.amazon.com/onca/soap?Service=AWSProductData</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:catch>
<j:if test="${ex != null}">
   Execption ${ex.message} occured
</j:if>

</j:jelly>

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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message