Hi can I obtain full textual (ie. as a String) URL to a page with some parameters? Let's say that I have a page PageBeingCalled with a string property:

public class PageBeingCalled extends BasePage {
  public abstract void setMyProperty(String prop);
  public abstract String getMyProperty();

  ....
}

I want to call that page using JavaScript. Within a page that is calling the one above I can do something like:

@InjectPage("PageBeingCalled")
public abstract PageBeingCalled getCalledPage();

public String getJsLink() {
  PageBeingCalled pbc = getCalledPage();
  pbc.setMyProperty("some value I need");
  String jsLink = ............. // what should I put here??
  return jsLink;
}


What service (as I expect that is needed) should I get to perform encoding? How to perform it?

Any help would be greatly appreciated.

Wojtek

----------------------------------------------------------------------
Wideofelietony Tadeusza Mosza.
O biznesie dla wszystkich. OglÄ…daj >> http://link.interia.pl/f1a3c


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

Reply via email to