Re: Expandable row in datatable

2011-05-30 Thread ramlael
Is any one know the solution?. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3560106.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: How to show / hide individual column of a DefaultDataTable using Ajax?

2011-05-30 Thread ramlael
I need som help with how to create an expandable row in a datatable. The idea would be to have functionality like an accordion where you click the table row and it expands to show more details of the object in the current row. U have mentioned This is working fine for the table content (data

adding style to multiple form fields on validaton

2011-05-30 Thread rebecca
Hello friends, I have form with fields A and B. When field A is invalid - it is colored in red (by adding ValidationStyleBehavior to it - see code below) How can I color field B when field A is invalid? class ValidationStyleBehavior extends AbstractBehavior { public void

Re: adding style to multiple form fields on validaton

2011-05-30 Thread Pedro Santos
Hi Rebecca, you can add the same behavior - ValidationStyleBehavior - in the field B. On Mon, May 30, 2011 at 7:14 AM, rebecca rivka.shis...@gmail.com wrote: Hello friends, I have form with fields A and B. When field A is invalid - it is colored in red (by adding ValidationStyleBehavior  to

Re: Expandable row in datatable

2011-05-30 Thread Pedro Santos
Hi, I easily achieved it using nested ListView components and one line of JavaScript: $('.expandableLine').click(function() { $(this).next().toggle(); }); On Mon, May 30, 2011 at 4:47 AM, ramlael grambab...@gmail.com wrote: Is any one know the solution?. -- View this message in context:

Re: adding style to multiple form fields on validaton

2011-05-30 Thread Martin Grigorov
afaiu she wants B to be red when A is invalid A should be passed to the behavior and also checked whether it has an error. See below for updated code On Mon, May 30, 2011 at 3:10 PM, Pedro Santos pedros...@gmail.com wrote: Hi Rebecca, you can add the same behavior - ValidationStyleBehavior - in

Re: Expandable row in datatable

2011-05-30 Thread ramlael
I need to use Datatable, bcoz need sorting for the columns. Regards, Rambabu -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3560606.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Expandable row in datatable

2011-05-30 Thread Josh Kamau
Rambabu, I did it using a datatable . The last column in the table containts the expanded area. Try to achieve it with html and javascript first. Then you can use wicket datatable and panels to put the html pieces together. Josh.

Re: Expandable row in datatable

2011-05-30 Thread ramlael
Hi Josh, Please can you send the code by using datatable?. Thanks in advance. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3560822.html Sent from the Users forum mailing list archive at Nabble.com.

Re: wicket session statistics

2011-05-30 Thread nino martinez wael
Or the requestlogger On May 27, 2011 9:13 AM, KingFee Dong kingfee.d...@gmail.com wrote: Hello, I think I find it getLiveSessions() can give me some help! Thank you both! Good Luck ! 在 2011年5月27日 下午1:47,Tobias Gierke tobias.gie...@code-sourcery.de写道: Hi, Implement a

Re: How to have custom components interact with CompoundPropertyModel?

2011-05-30 Thread Andrea Del Bene
Can you debug onBeforeRender and see if CompoundPropertyModel refers to the original Panel's field containing the calendar? Or model's object is already null? I tried to call getModel() in onBeforeRender() to get hold of the parent's model (the CompoundPropertyModel of the panel) which works.

guice injection on WebApplication init

2011-05-30 Thread kamiseq
hi, my wicket application uses guice to inject services and dao-s. it works fine but recently I started to use in-memory db. so I need somehow initialize(create tables, insert some sample data) my db after getComponentInjector() and before getHomePage(). of course I could (out of guice

Specific Paletter Validator

2011-05-30 Thread Tito
Hi, I'm trying to add a Validator to a Palette. The Idea is to check something related to List of selected Items. I tryied to make something like this: PaletteAccount palete = new PaletteAccount(..); palette.getRecorderComponent().add(new myValidator()); I hoped that RecorderAccount

1.5 rc 4.2 ajax radiochoice bug?

2011-05-30 Thread nino martinez wael
Hi Guys I've hit yet another possible bug. I'll fill in the jira if necessary heres how it is affecting our application. I have a form that has a propertylistview, in that list view theres a couple of different components where some are conditionally displayed depending on one of the

Re: guice injection on WebApplication init

2011-05-30 Thread Martin Grigorov
see GuiceWebApplicationFactory On Mon, May 30, 2011 at 9:19 PM, kamiseq kami...@gmail.com wrote: hi, my wicket application uses guice to inject services and dao-s. it works fine but recently I started to use in-memory db. so I need somehow initialize(create tables, insert some sample data) my

Re: guice injection on WebApplication init

2011-05-30 Thread nino martinez wael
heres how we do it.. it probably be done more elegantly.. You can also check the guice archetype on legup.. private Injector getDevelopmentInjector() { Injector parent = Guice .createInjector(new CoreServicesWallboardModule());

Re: How to have custom components interact with CompoundPropertyModel?

2011-05-30 Thread huberc
Yes, i can get the CompoundPropertyModel and it refers to the entity containing the calendar. So i was wondering if i should just get the object from the model and throw it in a PropertyResolver. But somehow I have the feeling this would not be the intended way, would it? Can you debug

Re: guice injection on WebApplication init

2011-05-30 Thread kamiseq
thanks for a quick replay Ill try this tomorrow :] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: Wicket / Hibernate / Databinder (dead?)

2011-05-30 Thread jbrookover
Rodolfo Hansen-2 wrote: I also have a bit of code we have been working on.. I was sorta procrastinating with it on my local box. Things have been rather overwhelming lately. If you would like to make a pull request, I will gladly review it, and merge it into my branch. I actually

Wicket newbie seeks redirect idiom

2011-05-30 Thread Mark Petrovic
Hello. I just finished reading Wicket In Action, and now I'm working on my first Wicket app. I have a simple question about page redirects. My application's homepage is WelcomePage.java, which I have mounted on /welcome. However, if the user has already authenticated and they have a session, I

Re: Wicket newbie seeks redirect idiom

2011-05-30 Thread Brian Topping
Here's a few thoughts: 1) Instead of all the redirecting around, put the unauthenticated content on the root page. If the user is authenticated, redirect them to a url such as /users and make everything below that mount protected. People don't pay much attention to URLs any more anyway.

Re: adding style to multiple form fields on validaton

2011-05-30 Thread rebecca
Martin you understood my question - thanks Now, what if compA and compB are added to panelC and when compA is invalid, I want to color all the panel with red? What is the right way to do that? Thanks again Rebecca -- View this message in context: