Re: recursive component

2008-06-04 Thread Stefan Selariu
item.add(newComponentForTreeNodeChildren(item, "children", > currentChild)); > } > > } > > } > > TreeView.html : > > > > > > > > > > >

Re: recursive component

2008-06-04 Thread Stefan Selariu
> > Martijn > > On Wed, Jun 4, 2008 at 2:29 PM, Stefan Selariu <[EMAIL PROTECTED]> wrote: > > Thanks for the answers. > > > > The only annoying thing is that I have to create a different panel for > > each node since the captions differ on each level. Or

Re: recursive component

2008-06-04 Thread Stefan Selariu
Thanks for the answers. The only annoying thing is that I have to create a different panel for each node since the captions differ on each level. Or am I wrong? Stefan On Wed, 2008-06-04 at 14:22 +0200, Jan Kriesten wrote: > hi stefan, > > > The think is the markup is required to be like this.

Re: recursive component

2008-06-04 Thread Stefan Selariu
tion components -- -- children components -- I hope I was clearer this time :D Stefan On Wed, 2008-06-04 at 15:04 +0300, Stefan Selariu wrote: > Hi guys! > > I need to make generate something like this dynamically: > >  > > > >

recursive component

2008-06-04 Thread Stefan Selariu
Hi guys! I need to make generate something like this dynamically:    select      This is a tree

Re: configurable component

2008-06-03 Thread Stefan Selariu
Thanks for your quick answers. The TreeTable doesn't help me because I have different objects in the table rows. And the groups should be able to span acros more columns. TreeTable doesn't let me configure the table appearance using the static html... I hope I'm not wrong :D I guess I'll send the

configurable component

2008-06-03 Thread Stefan Selariu
Hi guys! Is there a way to configure the wicket components using the html markup? I would like to do something like this: ...  ...  ... The reason for this is that I want to create tables with collapsible rows (if group1 is collapsed then group1 and group2 are not shown) Thanks

Re: default spring transaction on request cycle

2008-04-24 Thread Stefan Selariu
Indeed, my use cases don't allow to group the bean calls in another service. I know it's not perfect this way, but it is better than writing the services with transaction awareness. Surrounding the bean calls with the transaction manager transaction solved my problem. Now I'm even using wi

Re: default spring transaction on request cycle

2008-04-24 Thread Stefan Selariu
onManager spring bean? Or the same TransactionManager spring bean > > instance? > > > I meant instance. > > Again I am not sure if this is enough, Mixing manual and spring managed > transaction goes a bit above my transaction management experience. > > Lar

Re: default spring transaction on request cycle

2008-04-24 Thread Stefan Selariu
vious attempt and what was the propagation > setting you used? > > For wicket-spring see http://cwiki.apache.org/WICKET/spring.html, I would > suggest you use the annotation based approach. > > On Thu, Apr 24, 2008 at 1:55 PM, Stefan Selariu <[EMAIL PROTECTED]> > wrote: > &g

Re: default spring transaction on request cycle

2008-04-24 Thread Stefan Selariu
def.setPropagationBehavior(...); > } > > protected void onBeginRequest() { > status = txManager.getTransaction(def); > } > > protected void onEndRequest() { > txManager.commit(status); > } > protected void onRuntimeException() { > if(statu

Re: default spring transaction on request cycle

2008-04-24 Thread Stefan Selariu
http://static.springframework.org/spring/docs/2.5.x/reference/transaction.htmlfor > more info on Spring and Transactions. > > Lars > > > On Thu, Apr 24, 2008 at 10:01 AM, Stefan Selariu <[EMAIL PROTECTED]> > wrote: > > > Hi! > > > > I need to call i

default spring transaction on request cycle

2008-04-24 Thread Stefan Selariu
Hi! I need to call inside a request cycle an unknown number of transactional spring beans. How can I call those beans within the same transaction? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-