hi all
I have base page for portlets and some page that inharitances base page.
Base page contains market name (Label)
public MarketTableBasePage(final PageParameters parameters)
throws StringValueConversionException {
String id =
parameters.getString(MarketUtils.PARAMETER_MARKET_ID);
Label label = new Label(MarketUtils.MARKET_NAME, id);
add(label);
}
Descendants have concrete market tables (ListView)
public CurrencyRates(final PageParameters parameters) throws
StringValueConversionException {
super(parameters);
WebMarkupContainer marketTableContainer = new
WebMarkupContainer("marketTableContainer");
marketTableContainer.add(marketTable);
add(marketTableContainer);
}
Web page's constructor with parameters is run twice for portlets (as i
got action phase and render phase ) and in CurrencyRates class content
renders correct , but in Base page simply empty label.
How can i avoid this problem?
Thanks , I'll appreciate any advice
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]