nested and ?

2008-08-20 Thread Sami

Hello all :)
I have ordered Wicket i Action but it a preorder at Amazon.co.uk :(

mean while I'm learning new stuff every day.

So now I want to do is a nested  and 
but i keep getting the: WicketMessage: Unable to find component with id 
'itemList' in [MarkupContainer



while i understand the problem but i dont know the right way to solve 
what i need
so what happens is that I get a list of items and its category and then 
display them on a table using ListView component

so its like this :


   
  
   wicket:id="categoryName">[Category]

 

   
  
    
   wicket:id="itemName">[Item Name]
   [item 
Price]  
 


 
 

==

so the Data should view like this
Category-1
 +-- Item 1
 +---Item 2
 +---Item 3
  n + 1

Category-2
 +--Item 32
 +--item 35


Does Tree component solve this problem, and how? as you can see it needs 
to be in an HTML table

is there any examples i can learn from? or any help to how to do this?
many thanks

Sami
p.s. sorry for my bad English :P

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



controlling number with wicket?

2008-08-27 Thread Sami

Hello,
I have been trying to control the colspan in a table but no luck :(

any one has an example of how to do it?

code:
-

wicket:id="categoryName">[Category]


   wicket:id="Info">[Info]

   [Type]
   [Date]
 

-

I want to control the number in the colspan markup?
I tried  but didnt work.

Many thanks
Sami


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



Re: controlling number with wicket?

2008-08-27 Thread Sami

Thanks for the reply, but is there an example for AttributeAppender?
I checked the java Doc but still can't figure out how to use it inside a 
ListView

it just appends it inside the list view container:



if I put s wicket:id inside the  i get an error because 
of the  after it , I get:


Expected close tag for '' Possible 
attempt to embed component(s) '' in 
the body of this component which discards its body


Sami


Vit Rozkovec wrote:

Hallo,
you can do with AttributeModifier or AttributeAppender.

Vitek

Sami wrote:

Hello,
I have been trying to control the colspan in a table but no luck :(

any one has an example of how to do it?

code:
-

wicket:id="categoryName">[Category]


   wicket:id="Info">[Info]
   wicket:id="Type">[Type]
   wicket:id="Date">[Date]

 

-

I want to control the number in the colspan markup?
I tried  but didnt work.

Many thanks
Sami


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




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




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