Results 1 to 3 of 3

Thread: xslt-payload-transformer expression elements can't resolve beans

  1. #1
    Join Date
    Mar 2011
    Posts
    5

    Default xslt-payload-transformer expression elements can't resolve beans

    Hello,

    I am working with an xslt-payload-transformer and I need to pass in my service bean for the XSLT to call methods of. However, if I try to use an expression string of "@myServiceBean" it can't resolve it. At the moment, I am using a header enricher to with the expression string as above, to set my service bean as a header value, and then I pass the xslt-param from the header value. Looking at the source, the XsltPayloadTransformer does expression stuff differently to the HeaderEnricher class.

    Is this something that can be looked at? In addition are the other places where it would be good to make expression evaluation more consistent?

    Regards
    Phil

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,844

    Default

    So you are saying that the @beanname resolution is not working for the XSLT param's expression?

    If so... yes, please open a JIRA issue for that. The expression evaluation for the XSLT params should also support the bean resolver.

    Thanks,
    Mark

  3. #3
    Join Date
    Mar 2011
    Posts
    5

    Default

    Hi Mark,

    Thanks for the prompt reply. Yes, that is what I am saying, so I have opened JIRA issue: INT-2447

    Regards
    Phil

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •