1 Reply Latest reply on Oct 24, 2007 12:23 PM by pmuir

    How can I create an encoded URL to make a method call?

    rickhoro2

      I'm trying to integrate PayPal checkout into a Seam application and need to be able to pass a URL to PayPal to call back to my application. I'm wondering if there's a facility in Seam (or JSF for that matter) that would allow me to pass an EL method reference, e.g. #{shoppingCart.setPayPalResults} to create a URL that will call my Seam component method.

      I have been looking at org.jboss.seam.ui.HtmlLink's encodeBegin() method and will hack through this, if necessary, but it seems there should be a much easier way to do this.

      Any help would be greatly appreciated.

      Thanks

      Rick