Can we place a form inside the panel and have actions attached to it just
like a normal page?
florin.g wrote:
>
> 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-tp2470163p2475335.html
Sent from the click-user mailing list archive at Nabble.com.