Re: Several entities and DataTable

2010-01-09 Thread Ivan Dudko
This is DataProvider and ListPage. All is fine where i work with only one entity. My DAO returns data from table assotiated with this entity and another table. How i can provide access to this data from my DataTable? public class MyDomainDataProvider extends SortableDataProviderMyDomain

How to create Wicket's session and inject to Wicket's life cycle using Servlet Filter ?

2010-01-09 Thread smallufo
2010/1/9 smallufo small...@gmail.com Hi all : I'm trying to inject something to the Wicket Session by a Generic Servlet Filter : public class UserFilter implements Filter { private UserDao UserDao; @Override public void init(FilterConfig config) throws ServletException {

Re: WARN BorderBodyResolver

2010-01-09 Thread Anton Veretennikov
Thank you, Igor!!! On Sat, Jan 9, 2010 at 2:42 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if you do this border.html wicket:border div wicket:id=foo wicket:body/ /div /wicket:border notice that the body is inside foo but you add children as border.add(bar) so you are creating a

Wicket Acegi Security

2010-01-09 Thread raj kamal
Hi, I am Working as Software Eng in India.Currently Working on WICKET Security. i can't find security that based on Database Interaction can u send any link that understand (WICKET+ACEGI+DATABASE+ROLE_ BASED) Regards Rajkamal.S

Re: Wicket Acegi Security

2010-01-09 Thread Jeroen Steenbeeke
I'm not sure if I fully understood your question, but perhaps this can help: http://cwiki.apache.org/WICKET/acegi-and-wicket-auth-roles.html Of course, you could have simply Googled that yourself: http://en.lmgtfy.com/?q=wicket+acegi+security+role 2010/1/9 raj kamal rajkamal@gmail.com:

Re: How to create Wicket's session and inject to Wicket's life cycle using Servlet Filter ?

2010-01-09 Thread Igor Vaynberg
why not simply put whatever it is into the httpsession, and then write a getter in wicket's session that retrieves it from there? seems simpler. -igor On Sat, Jan 9, 2010 at 4:07 AM, smallufo small...@gmail.com wrote: 2010/1/9 smallufo small...@gmail.com Hi all : I'm trying to inject

Re: How to create Wicket's session and inject to Wicket's life cycle using Servlet Filter ?

2010-01-09 Thread smallufo
2010/1/10 Igor Vaynberg igor.vaynb...@gmail.com why not simply put whatever it is into the httpsession, and then write a getter in wicket's session that retrieves it from there? seems simpler. -igor Thank you . But how to get HttpSession inside Wicket's Session ? thanks ...

Re: How to create Wicket's session and inject to Wicket's life cycle using Servlet Filter ?

2010-01-09 Thread smallufo
Thank you , I've found the answer : httpSession = ((ServletWebRequest)request).getHttpServletRequest().getSession(); This is a better way ... thanks a lot. 2010/1/10 smallufo small...@gmail.com 2010/1/10 Igor Vaynberg igor.vaynb...@gmail.com why not simply put whatever it is into the

Re: component xxx:yyy:zzz not found on page

2010-01-09 Thread Douglas Ferguson
Hmm.. Would this really be resulting from the site being slow? Or the client being slow? D/ On Jan 8, 2010, at 12:46 PM, nino martinez wael wrote: I your site is slow and the user manages to click the delete twice i could happen (I can see you write that too).. Put a veil over the button

Re: component xxx:yyy:zzz not found on page

2010-01-09 Thread Douglas Ferguson
Anybody have any thoughts on how to systematically deal with this problem rather than updating every link to disable after onclick.. D/ On Jan 8, 2010, at 12:46 PM, nino martinez wael wrote: I your site is slow and the user manages to click the delete twice i could happen (I can see you

Re: DropDownChoice and selected value...

2010-01-09 Thread Facundo Miquel
Hi, thanks for the tip.. unfortunately , I tried this, (a shorter version at least..) add(new DropDownChoice(userProfile.city, new PropertyModel(this.getModel(), userProfile.city), new LoadableDetachableModel() { @Override

Re: [whishlist] JS libraries

2010-01-09 Thread Ernesto Reinaldo Barreiro
Hi Cemal, Nice to know there is already some implementation in place. Yes I would like to help even if it is only by testing what you have and providing some feed-back, although I expect to contribute a bit more than that;-). I'll contact you in private. Best, Ernesto On Sat, Jan 9, 2010 at

Re: DropDownChoice and selected value...

2010-01-09 Thread Pieter Degraeuwe
check your equals() method of the selected object's classes On Sun, Jan 10, 2010 at 7:03 AM, Facundo Miquel facu...@easytech.com.arwrote: Hi, thanks for the tip.. unfortunately , I tried this, (a shorter version at least..) add(new DropDownChoice(userProfile.city,

Re: DropDownChoice and selected value...

2010-01-09 Thread Martin Makundi
Yeah, or implement IChoiceRenderer? 2010/1/10 Pieter Degraeuwe pieter.degrae...@systemworks.be: check your equals() method of the selected object's classes On Sun, Jan 10, 2010 at 7:03 AM, Facundo Miquel facu...@easytech.com.arwrote: Hi, thanks for the tip.. unfortunately , I tried this,