Hi.

How do I make a DirectLink listener in one page activate another page
which has (required) parameters?

I have a page class which looks something like this:

public abstract class MyPage extends BasePage {

  @InjectPage("AnotherPage")
  public abstract AnotherPage getAnotherPage();

  public IPage doSomething(ParameterForAnotherPage parm) {
    AnotherPage anotherPage = getAnotherPage(); // Causes exception
    return anotherPage;
  }
}

This works if AnotherPage dosn't have any parameters. If it requires a
parameter I get a org.apache.hivemind.ApplicationRuntimeException saying
that "Required parameter xxx of component AnotherPage is not bound".

How do I pass / bind a paramter to AnotherPage?

Kind Regards
Claus Nielsen
Bonnier Magazine Data A/S


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

Reply via email to