Re: TextField w/ bean as model object?

2010-03-15 Thread MattyDE
Iam in hope duke you will share your solution with us ... Want to know it too ;) igor.vaynberg wrote: > > there are two ways to do this > > either you do everything in the converter > > take the string and convert it into the area, if the zip is incorrect > throw a conversion exception > > o

SV: why is hashcode() called on page deserialization?

2010-03-15 Thread Wilhelmsen Tor Iver
> java.lang.NullPointerException > at com.company.project.event.SMSEvent.hashCode(SMSEvent.java:334) This looks a lot like an exception we get in one project as well, where a bean serialized into the DiskPageStore comes back with all properties set to null (including the ones tested for in

RE: why is hashcode() called on page deserialization?

2010-03-15 Thread Martin Asenov
The issue is that the object that hashCode() is called on contains a @Lob object, I think it has to do with it... Regards, -Original Message- From: Wilhelmsen Tor Iver [mailto:toriv...@arrive.no] Sent: Monday, March 15, 2010 10:01 AM To: users@wicket.apache.org Subject: SV: why is hashc

Regarding TreeTable Horizontal Scrollbar

2010-03-15 Thread Vikash Shrivastava
Hi, I am using TreeTable Wicket-1.4.5 component in my application. In my application, TreeTable may have one to many column based on some selection/event. I want Horizontal scrollbar for TreeTable component to see the entire columns when it has many numbers. If it needs customization then pleas

Wicket in the industry

2010-03-15 Thread Mynhardt Vlok
Hey community I'm testing / using wicket at the moment and have to convince my company to use the framework. I really enjoy wicket and it's ease of use. Thing is my company has asked me two valid questions which I hope the community can answer. 1. How is wicket's stress load? For example could yo

Re: Regarding TreeTable Horizontal Scrollbar

2010-03-15 Thread Leo . Erlandsson
You can solve this by using CSS. E.g. [content] The trick is "overflow:auto" that will add scrollbars when needed. "overflow-y: scroll; " will give you an always visible scrollbar for the y-axis. >Hi, >I am using

Wicket session never expires

2010-03-15 Thread Martin Asenov
Hello, everyone! In web.xml, I've set so: 30 However, the session never expires, and typing the app IP this morning I get in use the very old session from yesterday evening. And I get some hibernate closed connection exceptions... Would someone give a hint? Regar

Re: Wicket with Jquery jqGrid

2010-03-15 Thread Ernesto Reinaldo Barreiro
AFAIK JWeekend has been working on an integration, see demo at [1]. I have been working in another integration which is not (yet) as advanced/complete as JWekeend´s is. You can find the details at [2] Best, Ernesto Refereces, 1-http://labs.jweekend.com/public/ 2-http://code.google.com/p/wijqgri

Re: Wicket in the industry

2010-03-15 Thread Anantha Kumaran
http://www.breakitdownblog.com/apache-wicket-powers-mobile-walmart-com/ On Mon, Mar 15, 2010 at 1:50 PM, Mynhardt Vlok wrote: > Hey community > > I'm testing / using wicket at the moment and have to convince my company to > use the framework. > I really enjoy wicket and it's ease of use. Thing i

Re: Looking for a less chatty auto-complete component?

2010-03-15 Thread Thomas Kappler
On 03/15/10 02:42, Ben Hutchison wrote: Hi all, We're developing a wicket web-application that makes heavy use of auto-complete text fields populated from slow back-end (mainframe) web services. Concerned that standard auto-complete behavior will be too chatty and result in many calls to slow s

RE: Regarding TreeTable Horizontal Scrollbar

2010-03-15 Thread Vikash Shrivastava
Where should I place the contents you have sent me as I tried it at TreeTable html & couldn't get the needed output? Please see the below code and let me know where I can modify... Tried for both TreeTable component html & web page html.

Re: ClassLoader (Serialization?) error

2010-03-15 Thread Xavier López
I agree it's not a classloader issue, the classloader is being given a cobbled class name, so it's not its fault it cannot load it. Is it possible that due to some serialization error the class name gets messed with the html markup, so that the class name read in deserialization ends messed up ?

Re: RE: Regarding TreeTable Horizontal Scrollbar

2010-03-15 Thread Leo . Erlandsson
If you want the entire table to be scrollable horizontally you should probably place the CSS attributes on the top CSS class (wicket-tree-table). Search the net for "CSS horizontal scoll". There should be loads of examples on how to do this using CSS. http://lmgtfy.com/?q=css horizontal scoll

Re: ClassLoader (Serialization?) error

2010-03-15 Thread Jonas
I guess you use that panel somewhere on a page near a shared resource, maybe for an Image, have you tried debugging the rendering of that page? A side note, probably totally unrelated to your problem: having 'head' tags inside a wicket:panel will probably result in invalid html, you should conside

InMethod Grid: resizing rowcount

2010-03-15 Thread Pointbreak
The public interface of the inmethod DataGrid/DefaultDataGrid does not seem to provide functionality to expand the number of rows after an ajax-call that e.g. adds data to the underlying datasource. Is there a way to tell the DataGrid that the underlying datasource may have changed, to the effect t

Re: Wicket feedback

2010-03-15 Thread Martin Makundi
Hi! One more benefit for MashupWebPage is that you can use it for creating tests: public void testSomeFieldComponent() { Page page = new MashupWebPage(); Form form; page.add(form = new MashUpForm(GID)); FormComponent customField; form.add(customField = new CustomFieldToBeTested(GID

RE: RE: Regarding TreeTable Horizontal Scrollbar

2010-03-15 Thread Vikash Shrivastava
It's true that we can get the horizontal scroll by using CSS but, in case of wicket TreeTable component, it's an issue as because of the wicket component getting prepared at java side and I couldn't find the appropriate place (in both java & markup code) to use the CSS attribute. I tried to use

Re: InMethod Grid: resizing rowcount

2010-03-15 Thread Thierry Peng
Pointbreak schrieb: The public interface of the inmethod DataGrid/DefaultDataGrid does not seem to provide functionality to expand the number of rows after an ajax-call that e.g. adds data to the underlying datasource. Is there a way to tell the DataGrid that the underlying datasource may have ch

Re: InMethod Grid: resizing rowcount

2010-03-15 Thread Pointbreak
On Mon, 15 Mar 2010 15:06 +0100, "Thierry Peng" wrote: > Pointbreak schrieb: > > The public interface of the inmethod DataGrid/DefaultDataGrid does not > > seem to provide functionality to expand the number of rows after an > > ajax-call that e.g. adds data to the underlying datasource. Is there a

Re: InMethod Grid: resizing rowcount

2010-03-15 Thread Thierry Peng
Pointbreak schrieb: On Mon, 15 Mar 2010 15:06 +0100, "Thierry Peng" wrote: Pointbreak schrieb: The public interface of the inmethod DataGrid/DefaultDataGrid does not seem to provide functionality to expand the number of rows after an ajax-call that e.g. adds data to the underlying data

Re: How to delete an item from List view.

2010-03-15 Thread prati
Hi, I am also having similar issue, it all the time removes last row. I have attached code. OptionGroupPageForm(String id) { super(id); final MarkupContainer rowPanel = new WebMarkupContainer("rowPanel"); rowPanel.setOut

RE: Wicket in the industry

2010-03-15 Thread Josh Chappelle
Hi, I work for a company that develops banking software and we use wicket for our software. Our software runs in house for the banks on their local intranet. We love wicket and its component oriented nature. I have load tested wicket with JMeter and I can't remember the exact measurements but I

Menu other than YUI

2010-03-15 Thread Josh Chappelle
Hi, I'm unable to get wicket-datetime DatePicker to work with the YUI menu for wicket 1.4.7. So it's either not upgrade to 1.4.7 or use a menu other than YUI. I noticed that the javascript for YUI in 1.4 was pretty bulky and a significant increase from 1.3 so I'm kind of ok with replacing it.

Remove error message for a specific component

2010-03-15 Thread Anna Simbirtsev
Hi, How can I remove error message for a specific component? In the Component.class, it checks that the component is valid the following way: public final boolean hasErrorMessage() { return Session.get().getFeedbackMessages().hasErrorMessageFor(this); } I need to remove error message for

Re: Remove error message for a specific component

2010-03-15 Thread Pedro Santos
You can use FormComponent#valid() method to make them valid, an still present the validations messages. On Mon, Mar 15, 2010 at 2:59 PM, Anna Simbirtsev wrote: > Hi, > > How can I remove error message for a specific component? > In the Component.class, it checks that the component is valid the fo

Re: Remove error message for a specific component

2010-03-15 Thread Igor Vaynberg
getsession().getfeedbackmessages().clear(new ifeedbackmessagefilter() { accept(feedbackmessagefilter f) { f.getreporter()==component; } -igor On Mon, Mar 15, 2010 at 10:59 AM, Anna Simbirtsev wrote: > Hi, > > How can I remove error message for a specific component? > In the Component.class,

Re: Wicket with Jquery jqGrid

2010-03-15 Thread vermas
Thanks for your reply. Would you be able to tell when are you expecting(tentative date) the integration work to be over? reiern70 wrote: > > AFAIK JWeekend has been working on an integration, see demo at [1]. I have > been working in another integration which is not (yet) as > advanced/complet

Re: testing a wicket panel

2010-03-15 Thread vermas
Add the table to a form. Then create a FormTester. Using formTester set the value of the textfeild autoOne. Then call formTester.submit(); Use Assertion to test the value. ayman elwany wrote: > > Hi all, > > I had this AutoCompleteform.html > > > > > > > > > > > > my questi

Re: Wicket session never expires

2010-03-15 Thread Boris Goldowsky
I once tested when Tomcat sessions actually get expired, and it can be very much longer than the given session-timeout value. Probably if there was active traffic the session would be recycled sooner, but I think if you need accurate timing then you have to implement something yourself rather

Wicket Renames my Form id

2010-03-15 Thread Steven Haines
Hi, I've noticed that wicket is renaming my form id, which has become problematic when our JavaScript developer makes use of the id for some of his behaviors. Is there a way to tell Wicket to preserve the form id in the HTML page? Here's what I'm doing: HTML: ...

Re: Wicket Renames my Form id

2010-03-15 Thread Major Péter
override http://wicket.apache.org/docs/1.4/org/apache/wicket/Component.html#getMarkupId() 2010-03-15 20:00 keltezéssel, Steven Haines írta: > Hi, > > I've noticed that wicket is renaming my form id, which has become problematic > when our JavaScript developer makes use of the id for some of his

Re: Wicket Renames my Form id

2010-03-15 Thread Igor Vaynberg
call form.setmarkupid() -igor On Mon, Mar 15, 2010 at 11:00 AM, Steven Haines wrote: > Hi, > > I've noticed that wicket is renaming my form id, which has become problematic > when our JavaScript developer makes use of the id for some of his behaviors. > Is there a way to tell Wicket to preserv

Re: Remove error message for a specific component

2010-03-15 Thread Anna Simbirtsev
Thanks I have another question. I use the following code to validate a field onblur event. I have couple of those fields. When the first field is validated, it displays error message for it. But when the second field is invalid, it displays error message for it, and removes error message for the f

Re: TinyMCE components in WicketStuff

2010-03-15 Thread Boris Goldowsky
There's already a jira issue from Feb '09: http://wicketstuff.org/jira/browse/WCTINYMCE-6 I can try to put in a patch. My Sourceforge ID is bgoldowsky if you'd like to give me access. Bng Igor Vaynberg wrote: there is a jira instance on wicketstuff where you can report bugs. however, i d

Re: TinyMCE components in WicketStuff

2010-03-15 Thread Igor Vaynberg
you should have svn access -igor On Mon, Mar 15, 2010 at 12:33 PM, Boris Goldowsky wrote: > There's already a jira issue from Feb '09: >  http://wicketstuff.org/jira/browse/WCTINYMCE-6 > > I can try to put in a patch.  My Sourceforge ID is bgoldowsky if you'd like > to give me access. > > Bng >

RE: datetime and yui clash

2010-03-15 Thread Josh Chappelle
In case anyone was wondering, this issue seems to be fixed with the latest snapshot of YUI that was released today. -Original Message- From: Josh Chappelle [mailto:jchappe...@4redi.com] Sent: Friday, March 12, 2010 3:48 PM To: users@wicket.apache.org Subject: RE: datetime and yui clash T

Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications are not too big

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread James Carman
You can try my demo application I used for my Advanced Wicket presentation: http://svn.carmanconsulting.com/public/wicket-advanced/trunk On Mon, Mar 15, 2010 at 10:05 PM, David Chang wrote: > > Can anybody recommend to me two good complete clean sample or open source > Wicket + Spring + Hiber

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
Hello James, Thank you! Best, -David --- On Mon, 3/15/10, James Carman wrote: > From: James Carman > Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? > To: users@wicket.apache.org > Date: Monday, March 15, 2010, 10:09 PM > You can try my demo application I > used

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
James, I just downloaded your application. Do you have any documentation/presentation about this application? Do you happen to have knowledge of another good sample/demo app? Thanks, David --- On Mon, 3/15/10, James Carman wrote: > From: James Carman > Subject: Re: Recommend two good com

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread James Carman
On Mon, Mar 15, 2010 at 10:57 PM, David Chang wrote: > James, > > I just downloaded your application. Do you have any > documentation/presentation about this application? I didn't really have a slide presentation for this talk. I basically just walked through code. I did it as a "day in the li

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
James, the info is fantastic! Many thanks!!! -David --- On Mon, 3/15/10, James Carman wrote: > From: James Carman > Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? > To: users@wicket.apache.org > Date: Monday, March 15, 2010, 11:02 PM > On Mon, Mar 15, 2010 at

Re: Resource authorisation scenario: dealing with non-application wide permissions

2010-03-15 Thread Fernando Wermus
Danielle, I run out into the same problem. Did you solve it? if so, how? thanks in advance On Thu, Feb 11, 2010 at 11:50 PM, Daniele Dellafiore wrote: > Hi. > > Imagine this scenario: a webapp that allows creation of groups of people. > There is the owner, the administrator and the normal u