Yes, it did work. Thank you.
sabob wrote:
>
> Bob Schellink wrote:
>> public class MyPanel extends Panel { // Extend from Panel
>> public MyPanel() {
>> addModel("myString", "loaded");
>> }
>> }
>
>
> Here is a more concrete example with the proper constructor:
>
> public class MyPanel extends Panel {
> public MyPanel(String name, String template) {
> super(name, template);
> addModel("myString", "loaded");
> }
> }
>
> public class ContainerPage extends Page {
> // reference MyPanel from ContainerPage
> public MyPanel panel = new MyPanel('mypanel', '/myPanel.htm');
> }
>
>
> bob
>
>
--
View this message in context:
http://n2.nabble.com/Unexpected--parse%28%29-behavior-tp2470163p2473535.html
Sent from the click-user mailing list archive at Nabble.com.