Feature request: use predicates with onConfigure()

2011-06-07 Thread Russell Morrisey
Guys, I would like to see a standard implementation of onConfigure(), where the user can set a Predicate object for the component's visibility, and another Predicate for the enabled state. This is an idea that our team tossed around for a while; since I just discovered the onConfigure()

Can you patch ModalWindow in next 1.4 release?

2011-05-11 Thread Russell Morrisey
I created a patch in order to replace ModalWindow's window-closing behavior with a custom IBehavior implementation. The .patch file and a quickstart project are included in the JIRA issue: https://issues.apache.org/jira/browse/WICKET-3630 Could someone who is a committer to wicket-extensions

What's the intent of Enclosure.warnAboutFormComponentInsideEnclosure()?

2011-04-27 Thread Russell Morrisey
All, Since I upgraded our project to wicket 1.4.17, I am seeing this warning: http-2467-1 WARN [2011-04-27 17:22:00,574] Enclosure.warnAboutFormComponentInsideEnclosure():196 - Found a form component

RE: What's the intent of Enclosure.warnAboutFormComponentInsideEnclosure()?

2011-04-27 Thread Russell Morrisey
| www.missionse.comhttp://www.missionse.com/ 304 West Route 38, Moorestown, NJ 08057-3212 From: Russell Morrisey Sent: Wednesday, April 27, 2011 5:37 PM To: users@wicket.apache.org Subject: What's the intent of Enclosure.warnAboutFormComponentInsideEnclosure()? All, Since I upgraded our project

RE: ModalWindow patch for 1.4.x

2011-04-21 Thread Russell Morrisey
files are not allowed. If you create ticket then please create either tests for the new functionality or at least a demo application that uses it. Thanks! On Thu, Apr 21, 2011 at 2:27 AM, Russell Morrisey russell.morri...@missionse.com wrote: Please consider the following ModalWindow patch

RE: ModalWindow patch for 1.4.x

2011-04-21 Thread Russell Morrisey
| russell.morri...@missionse.com | www.missionse.comhttp://www.missionse.com/ 304 West Route 38, Moorestown, NJ 08057-3212 From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, April 21, 2011 10:52 AM To: Russell Morrisey Subject: Re: ModalWindow patch for 1.4.x Thanks! On Thu, Apr 21

ModalWindow patch for 1.4.x

2011-04-20 Thread Russell Morrisey
Please consider the following ModalWindow patch for inclusion in wicket-extensions 1.4.x This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of

Ajax header-contribution omits IE conditional comments

2011-04-08 Thread Russell Morrisey
All, I am working on a behavior which contributes IE-specific stylesheets, using conditional comments. The implementation that we have works for normal page loading, but not for AJAX requests. I think this may be an oversight in the wicket ajax client-side code? I created a JIRA issue with

RE: ModalWindow detach/serialize crashes wicket app

2011-04-04 Thread Russell Morrisey
crashes wicket app Do you have a propetymodel with the session as its object? On Friday, April 1, 2011, Pedro Santos pedros...@gmail.com wrote: looks like your page is referencing session or pagemap somehow On Fri, Apr 1, 2011 at 4:15 PM, Russell Morrisey russell.morri...@missionse.com wrote

ModalWindow detach/serialize crashes wicket app

2011-04-01 Thread Russell Morrisey
Guys, I'm having an intermittent issue in development where use of a ModalWindow on a page completely crashes wicket. I don't know of the ModalWindow is the root cause. I am hoping that someone with intimate knowledge of wicket's page store can help me narrow it down. Hints appreciated. =)

How do I construct criteria using a SQL expression?

2011-03-23 Thread Russell Morrisey
How can I construct a criteria query (or even HQL) with a restriction like the following? select * from item inner join program on program.unique_id = item.program_id where item.name + ' (' + program.name + ')' like ? I would like to use Restrictions.sqlRestriction() for the where clause, but I

alert error message for a missing javascript resource?

2011-03-09 Thread Russell Morrisey
wicket 1.4.9 When a wicket behavior tries to load a javascript resource from the response, I want to create some error handler (a javascript alert) that runs if the javascript package resource is not found. I set an IAjaxCallDecorator which spits out a javascript string on failure, but the

RE: Wicket survey?

2010-04-28 Thread Russell Morrisey
Ok, great =) Do you need me to resubmit my responses? It sounds like you got them already. RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com 304 West Route 38, Moorestown, NJ 08057 -Original

Re: Wicket survey?

2010-04-28 Thread Russell Morrisey
| russell.morri...@missionse.com | www.missionse.comhttp://www.missionse.com/ 304 West Route 38, Moorestown, NJ 08057 From: Karolina Rusin [mailto:karolina.ru...@gmail.com] Sent: Wednesday, April 28, 2010 2:29 AM To: Russell Morrisey Subject: Re: Wicket survey? Thank you Russell for sending

Wicket survey?

2010-04-27 Thread Russell Morrisey
I received a personal e-mail from somebody's g-mail account, claiming to be from the Wroclaw University of Technology, soliciting my input for a Wicket user study. It mentions Wicket, and other tools like Spring and Hibernate in the e-mail. Can anybody confirm that this survey is what it

RE: Wicket survey?

2010-04-27 Thread Russell Morrisey
and was wondering the same thing. If you find out it's legit, let me/us know. On Tue, Apr 27, 2010 at 5:53 PM, Russell Morrisey russell.morri...@missionse.com wrote: I received a personal e-mail from somebody's g-mail account, claiming to be from the Wroclaw University of Technology, soliciting my input

RE: jqery not getting called after ajax refresh

2010-04-09 Thread Russell Morrisey
It might be a good idea to use an IBehavior to contribute the script. You can add the behavior to the link component in wicket; when the behavior is rendered, it can contribute the javascript code to set it up with jquery. That way, you ensure that every new rendering of the link (which creates

RE: IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread Russell Morrisey
Amen! RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com 304 West Route 38, Moorestown, NJ 08057 -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Thursday, April

RE: LoadableDetachable Models

2010-04-06 Thread Russell Morrisey
, 2010 at 9:23 PM, Russell Morrisey russell.morri...@missionse.com wrote: This approach stores a hard reference to the object. It seems prone to causing LazyInitializationExceptions when used with Hibernate. You are storing a reference to a persistent object (in this case, the regular Model

RE: LoadableDetachable Models

2010-04-05 Thread Russell Morrisey
Jeffrey, The problem is that if you use an LDM, the list is loaded from persistent storage, and any non-persisted changes from the previous request are lost. If you don't use an LDM, though, you will have stale objects hanging around from the previous Hibernate session (as you mentioned).

RE: LoadableDetachable Models

2010-04-05 Thread Russell Morrisey
changes into the real models. On Mon, Apr 5, 2010 at 6:11 PM, Russell Morrisey russell.morri...@missionse.com wrote: Jeffrey, The problem is that if you use an LDM, the list is loaded from persistent storage, and any non-persisted changes from the previous request are lost. If you don't use

RE: inmethod DataGrid problem in IE8

2010-03-17 Thread Russell Morrisey
: Russell Morrisey [mailto:russell.morri...@missionse.com] Sent: Tuesday, March 16, 2010 11:09 AM To: users@wicket.apache.org Subject: RE: inmethod DataGrid problem in IE8 Marsha wasn't able to reproduce the problem in the examples. She is working on it now. Thanks for the quick response! RUSSELL E

RE: A web site developed with Wicket

2010-03-17 Thread Russell Morrisey
In IE7 (win XP), I get a javascript error on the PGMainScreen after logging in: Line 10, Char 4265 Invalid callback for subscriber to 'DOMReady' RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com 304 West

RE: inmethod DataGrid problem in IE8

2010-03-16 Thread Russell Morrisey
: Matej Knopp [mailto:matej.kn...@gmail.com] Sent: Friday, March 12, 2010 3:57 PM To: users@wicket.apache.org Subject: Re: inmethod DataGrid problem in IE8 If you run grid examples is the problem present? -Matej On Fri, Mar 12, 2010 at 9:54 PM, Russell Morrisey russell.morri...@missionse.com wrote

inmethod DataGrid problem in IE8

2010-03-12 Thread Russell Morrisey
I am having trouble with the layout of my inmethod DataGrid in wicket. It appears that the header columns and the data columns are not lining up correctly. There is a thin outer layer surrounding the individual columns on each row that is pushing the data outside of the viewable area. This

RE: Speeding Up HTML Parse???

2010-02-25 Thread Russell Morrisey
Before spending a lot of time trying to debug client-side performance, be sure that the problem is on the client side, and not the server. A lot of performance problems I see on my project arise from user code on the server side which takes a long time to run (such as redundant or inefficient

RE: How to ajax update a component without triggered ajaxrequesttarget

2010-02-16 Thread Russell Morrisey
Martin, I think possibly what you want is AjaxRequestTarget.get(): AjaxRequestTarget target = AjaxRequestTarget.get(); if (target != null) { //...then this is an ajax request, not a static one target.addComponent(myComponent); } This gives you the ajax request target which is bound to

RE: quickstart POM has wrong artifactId for jetty maven plugin

2010-02-12 Thread Russell Morrisey
artifactId for jetty maven plugin It works perfect for 6.x releases. You changed the version to 7 your self, so it is your responsibility to change the other stuff too. When we upgrade the version we'll be sure to modify the plugin accordingly. Martijn On Thu, Feb 11, 2010 at 10:39 PM, Russell

quickstart POM has wrong artifactId for jetty maven plugin

2010-02-11 Thread Russell Morrisey
I'm using the quickstart maven command generated by http://wicket.apache.org/quickstart.html, and then running 'mvn eclipse:eclipse -DdownloadSources=true'. I have the wicket version set to 1.4.5. The build fails: Unable to find resource

AjaxCallThrottlingDecorator breaks the precondition of AjaxFormSubmitBehavior

2010-02-11 Thread Russell Morrisey
I ran into a problem with wicket's ajax call throttling in wicket 1.4.5. It seems like the AjaxFormSubmitBehavior's precondition script isn't working the way it's intended when a throttling call decorator is supplied. It's causing a one-off side effect problem in my application in IE7. I

RE: Form#anyComponentError change in 1.4 breaks validation

2010-02-09 Thread Russell Morrisey
:22 PM, Russell Morrisey russell.morri...@missionse.com wrote: Thanks Igor, It seems like maybe WICKET-2026 is also related: http://issues.apache.org/jira/browse/WICKET-2026 This changes how Form#anyFormComponentError handles border components, it looks like, but also switches us

Form#anyComponentError change in 1.4 breaks validation

2010-02-08 Thread Russell Morrisey
We are in the process of upgrading our application from wicket 1.3 to 1.4.5. There were a lot of minor changes due to the generics-related code changes, but for the most part the upgrade has been smooth. One big problem we've recently come across: Form#anyComponentError was changed in this

RE: Form#anyComponentError change in 1.4 breaks validation

2010-02-08 Thread Russell Morrisey
problems... seems some changes are related to WICKET-2202 cheers -igor On Mon, Feb 8, 2010 at 9:14 AM, Russell Morrisey russell.morri...@missionse.com wrote: We are in the process of upgrading our application from wicket 1.3 to 1.4.5. There were a lot of minor changes due to the generics-related

Corrupt URL for shared resource

2009-11-20 Thread Russell Morrisey
We are getting erroneous requests in our access log, where a URL for a shared resource, which is supposed to look like: com.mycompany.mywidgets.Widget/icon.gif ...instead looks like: com.mycompany.m564ywidgets.Widget/icon.gif These bad requests result in an application error like: ERROR

inmethod DataGrid javascript error (with fix?)

2009-09-24 Thread Russell Morrisey
I'm getting a javascript error using the inmethod DataGrid; it looks to me like a bug with the DataGrid's script code. I am hoping that the DataGrid script can be patched =) When using the inmethod grid (com.inmethod.grid.datagrid.DataGrid), I get the error whenever I hover the mouse over a

ModalWindow bug in IE6?

2007-10-11 Thread Russell Morrisey
, Russell Morrisey Computer Sciences Corporation Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA Registered in USA No: C-489-59

ModalWindow JS error

2007-09-26 Thread Russell Morrisey
a quickstart with instructions error message output on the JIRA. Hope this helps, Russell Morrisey Computer Sciences Corporation Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA Registered in USA No: C-489-59

Re: Dynamic message for required validation in 1.3

2007-08-31 Thread Russell Morrisey
on the component. Thanks, Igor! Russell Morrisey Computer Sciences Corporation NOTE: Regardless of content, this e-mail