Re: Fragment question

2008-04-11 Thread Ritz123

Didnt hear anything back on the post, any fragment gurus?



Ritz123 wrote:
> 
> Hi,
> 
> This may be actually a stupid question - am little confused about
> Fragments use.
> 
> Lets say I was extending existing component e.g. DataTable and did not
> have markup file of my derived component, (I think) in such a case, base
> class markup file will be used. Assuming that is the case if I wanted to
> add a fragment (since I would like to lets say add more than just 1 label)
> which will be a good place to put the fragment? The reason why I use
> Fragment instead of Panel is because for very small change, having a panel
> and a separate markup would be a headache and I will have multiple such
> changes.
> 
> I dont quiet understand the use of markupProvider being the container
> instance in Fragment constructor - why could it just have been the class
> name? It would have been just easy to look up corresponding markup file
> even if it was a class name. I am assuimg Fragments can reside in any
> markup file.
> 

-- 
View this message in context: 
http://www.nabble.com/Fragment-question-tp16623671p16628141.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Fragment question

2008-04-10 Thread Ritz123

Hi,

This may be actually a stupid question - am little confused about Fragments
use.

Lets say I was extending existing component e.g. DataTable and did not have
markup file of my derived component, (I think) in such a case, base class
markup file will be used. Assuming that is the case if I wanted to add a
fragment (since I would like to lets say add more than just 1 label) which
will be a good place to put the fragment? The reason why I use Fragment
instead of Panel is because for very small change, having a panel and a
separate markup would be a headache and I will have multiple such changes.

I dont quiet understand the use of markupProvider being the container
instance in Fragment constructor - why could it just have been the class
name? It would have been just easy to look up corresponding markup file even
if it was a class name. I am assuimg Fragments can reside in any markup
file.
-- 
View this message in context: 
http://www.nabble.com/Fragment-question-tp16623671p16623671.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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