Re: Layout Panel

2007-08-23 Thread Paolo Di Tommaso
Umh .. I think the best things are simple ..

Why don't just handle the components position using html or css in your
panel?


Bye, Paolo



On 8/23/07, andrea pantaleoni [EMAIL PROTECTED] wrote:


 Hi,
 I have a little problem with Panel
 In a table I added a Panel
 Now in this Panel I want to add two different components, let's say, a
 dropdownchoice up and a textfield down.
 If I remember well, in swing it could be possible to add a layout to a
 panel
 and then for example add a component in north or in the south.
 Is there in wicket something similar?
 If I want to add the dropdownchoice component in the north of the panel
 and
 the textfield in the south is that possible
 Thanks for any help
 Andrea
 --
 View this message in context:
 http://www.nabble.com/Layout-Panel-tf4317423.html#a12293248
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Layout Panel

2007-08-23 Thread Ernesto Reinaldo Barreiro

What about

html xmlns=http://www.w3.org/1999/xhtml;
xmlns:wicket=http://wicket.sourceforge.net/;
wicket:panel
table cellpadding=2 cellspacing=2
   tr
   td
   bMyDropDown:/b
   /td
   td
   select wicket:id=MyDropDown/select
   /td
   /tr
   tr
   td
   bMyTextField:/b
   /td
   td
   input wicket:id=MyTextField/
   /td
   /tr   
/table

/wicket:panel
/html

On wicket you have the flexibility to design yourself the markup (as in 
plain old HTML...)


Ernesto

andrea pantaleoni wrote:
Hi, 
I have a little problem with Panel
In a table I added a Panel 
Now in this Panel I want to add two different components, let's say, a

dropdownchoice up and a textfield down.
If I remember well, in swing it could be possible to add a layout to a panel
and then for example add a component in north or in the south.
Is there in wicket something similar?
If I want to add the dropdownchoice component in the north of the panel and
the textfield in the south is that possible
Thanks for any help
Andrea  
  



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



Re: Layout Panel

2007-08-23 Thread Paolo Di Tommaso
I'm still thinking that's a pure html problem, Try with a table like this:

table height=100%
tr
td valign=top wicketcomponentup /td
td valign=bottom wicketcomponentdown /td
/tr
/table

Paolo



On 8/23/07, andrea pantaleoni [EMAIL PROTECTED] wrote:


 the reason is that I need to consider the panel as a single component
 which
 is used inside a listview
 Anyway you could be right I saw that in wicket you can create a html
 markup
 for each single component naming the file in this way:
 pagename$componentname.html

 So maybe I can add the  drodownchoice and textfield to the panel component
 and fix the layout in the  html file pagename$panelname.html

 table
 tr
 tdwicketcomponentup
 td
 tdwicketcomponentdown
 td
 /tr
 /table
 What do you think about? could that work?

 Thanks Paolo




 paolo di tommaso wrote:
 
  Umh .. I think the best things are simple ..
 
  Why don't just handle the components position using html or css in your
  panel?
 
 
  Bye, Paolo
 
 
 
  On 8/23/07, andrea pantaleoni [EMAIL PROTECTED] wrote:
 
 
  Hi,
  I have a little problem with Panel
  In a table I added a Panel
  Now in this Panel I want to add two different components, let's say, a
  dropdownchoice up and a textfield down.
  If I remember well, in swing it could be possible to add a layout to a
  panel
  and then for example add a component in north or in the south.
  Is there in wicket something similar?
  If I want to add the dropdownchoice component in the north of the panel
  and
  the textfield in the south is that possible
  Thanks for any help
  Andrea
  --
  View this message in context:
  http://www.nabble.com/Layout-Panel-tf4317423.html#a12293248
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Layout-Panel-tf4317423.html#a12293520
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Layout Panel

2007-08-23 Thread Igor Vaynberg
only pages/panels/borders have associated markup files by default.

-igor


On 8/23/07, andrea pantaleoni [EMAIL PROTECTED] wrote:


 the reason is that I need to consider the panel as a single component
 which
 is used inside a listview
 Anyway you could be right I saw that in wicket you can create a html
 markup
 for each single component naming the file in this way:
 pagename$componentname.html

 So maybe I can add the  drodownchoice and textfield to the panel component
 and fix the layout in the  html file pagename$panelname.html

 table
 tr
 tdwicketcomponentup
 td
 tdwicketcomponentdown
 td
 /tr
 /table
 What do you think about? could that work?

 Thanks Paolo




 paolo di tommaso wrote:
 
  Umh .. I think the best things are simple ..
 
  Why don't just handle the components position using html or css in your
  panel?
 
 
  Bye, Paolo
 
 
 
  On 8/23/07, andrea pantaleoni [EMAIL PROTECTED] wrote:
 
 
  Hi,
  I have a little problem with Panel
  In a table I added a Panel
  Now in this Panel I want to add two different components, let's say, a
  dropdownchoice up and a textfield down.
  If I remember well, in swing it could be possible to add a layout to a
  panel
  and then for example add a component in north or in the south.
  Is there in wicket something similar?
  If I want to add the dropdownchoice component in the north of the panel
  and
  the textfield in the south is that possible
  Thanks for any help
  Andrea
  --
  View this message in context:
  http://www.nabble.com/Layout-Panel-tf4317423.html#a12293248
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Layout-Panel-tf4317423.html#a12293520
 Sent from the Wicket - User mailing list archive at Nabble.com.


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