Re: Detecting when a session is destroyed

2011-09-20 Thread Matt Schmidt
Alright, thanks! On Tue, Sep 20, 2011 at 11:28 AM, Martin Grigorov wrote: > On Tue, Sep 20, 2011 at 6:27 PM, Martin Grigorov > wrote: > > a new session is created > unless there is "remember me" functionality in place > > > > On Tue, Sep 20, 2011 at 6:22 PM,

Re: Detecting when a session is destroyed

2011-09-20 Thread Matt Schmidt
imeout minutes and it will fire. > > On Tue, Sep 20, 2011 at 6:12 PM, Matt Schmidt > wrote: > > I am trying to override WebApplication.sessionDestroyed() to perform an > > action any time a user's session is terminated, either by manually > logging > > out, sess

Detecting when a session is destroyed

2011-09-20 Thread Matt Schmidt
I am trying to override WebApplication.sessionDestroyed() to perform an action any time a user's session is terminated, either by manually logging out, session expiring, or closing the browser. But unfortunately sessionDestroyed() doesn't seem to get called when the browser is closed. Is there any

Re: Manually Rendering a DataGridView

2011-08-01 Thread Matt Schmidt
the HTML at all, and initialize with a JavaScript array that puts the data directly in the DOM. On Mon, Aug 1, 2011 at 10:38 AM, Martin Grigorov wrote: > See > https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/datatables-parent > > On Mon, Aug 1, 2011 at 3:54 PM, Matt Sch

Re: Manually Rendering a DataGridView

2011-08-01 Thread Matt Schmidt
fectory the code and move the mock response logic to other place. > You can use an IVisitor to visit cells in you component tree, create > a mock response to render them and use its text, i.e. > mockResponse.getText(), to fit your needs > > On Sun, Jul 31, 2011 at 10:33 AM,

Re: Manually Rendering a DataGridView

2011-07-31 Thread Matt Schmidt
code at TableParser[1] to render > the component tree to a mock response and later get its char sequence. > > 1 - https://github.com/wicketstuff/core/blob/master/jdk-1.5-parent/wicket-poi-parent/wicket-poi/src/main/java/org/wicketstuff/poi/excel/TableParser.java > > On Fri, Jul 29, 2011 a

Manually Rendering a DataGridView

2011-07-29 Thread Matt Schmidt
Is there any way to access the HTML of each cell that would be rendered in a DataGridView without adding it to the page and actually rendering it? Ultimately, I am trying to add all of the inner HTML of the cells of the DataGridView to a JavaScript array.

Re: RadioGroup nulled out during form submit in IE

2011-06-19 Thread Matt Schmidt
o tags > outside of the form. > I'd suggest to check your markup, i.e. look out for non-closed tags. > > Hope this helps > > Sven > > > On 06/18/2011 11:04 PM, Matt Schmidt wrote: > >> I have a form that is working correctly in FireFox but not IE. This

RadioGroup nulled out during form submit in IE

2011-06-18 Thread Matt Schmidt
I have a form that is working correctly in FireFox but not IE. This puzzled is quite puzzling to me since it is server side functionality. Here's a much simplified version of what I've got: Radio 1 Radio 2 Radio 3 The RadioGroup's also have an Ajax

AjaxLazyLoadPanel question

2011-02-03 Thread Matt Schmidt
I currently have a DataGridView loaded inside of an AjaxLazyLoadPanel, including the service call to get the data. myLazyLoadPanel = new AjaxLazyLoadPanel("id", new CollectionModel()) { public Component getLazyLoadComponent(String markupId) { if(getDefaultModelObject() == null) {

Re: Rerender a Page with Ajax from Abstract Page

2011-01-04 Thread Matt Schmidt
> On Tue, Jan 4, 2011 at 2:11 PM, Matt Schmidt wrote: > > > I am trying to rerender an entire page via ajax from an abstract page. > > > > I have the follow page hierarchy: > > > > abstract class AbstractPage extends WebPage > >* dropdown to change

Rerender a Page with Ajax from Abstract Page

2011-01-04 Thread Matt Schmidt
I am trying to rerender an entire page via ajax from an abstract page. I have the follow page hierarchy: abstract class AbstractPage extends WebPage * dropdown to change an existing session variable class MyPage1 extends AbstractPage * component that depends on the value of the session va

Re: Modify Attribute on DataView HTML Element

2010-12-17 Thread Matt Schmidt
t item#oncomponenttag actually > receives the markup tag. > > Martijn > > On Thu, Dec 16, 2010 at 10:04 PM, Matt Schmidt > wrote: > > I'm trying to modify an attribute on the HTML element that goes with my > > DataView: > > > > HTML > >

Modify Attribute on DataView HTML Element

2010-12-16 Thread Matt Schmidt
I'm trying to modify an attribute on the HTML element that goes with my DataView: HTML JAVA new DataView("dataview", dataProvider) { protected void populateItem(Item item) { item.add(new Label("myLabel", item.getModelObject().getValue())); } protected void onComponentTag(Comp

Re: Updating model object on AjaxFallbackDefaultDataTable page change

2010-11-09 Thread Matt Schmidt
n Tue, Nov 9, 2010 at 1:02 PM, Matt Schmidt wrote: > > Yes that works for the first page - only on that page are the javascript > > behaviors rendered. > > > > Basically, we are looking for a way to NOT do an ajax request every time we > > check a box - The mode

Re: Updating model object on AjaxFallbackDefaultDataTable page change

2010-11-09 Thread Matt Schmidt
by navigator with submit links, there are > factory methods on the navigator. > > -igor > > On Tue, Nov 9, 2010 at 8:41 AM, Matt Schmidt wrote: > > I have a CheckGroup that contains an AjaxFallbackDefaultDataTable that > has a > > column containing a Check. As long as I

Updating model object on AjaxFallbackDefaultDataTable page change

2010-11-09 Thread Matt Schmidt
I have a CheckGroup that contains an AjaxFallbackDefaultDataTable that has a column containing a Check. As long as I click my submit button while on the first page of the DataTable, the model object of the CheckGroup is updated as expected with the items I had checked. However, if I check some chec

Re: Lazy load exception with LoadableDetachableModel

2010-09-30 Thread Matt Schmidt
: > Are you detaching your model? If not, it could be returning a Product > object that was obtained during a different Hibernate session. > > On Wed, Sep 29, 2010 at 5:53 PM, Matt Schmidt > wrote: > > I am using LoadableDetachableModel's to load my persisted objects from

Lazy load exception with LoadableDetachableModel

2010-09-29 Thread Matt Schmidt
I am using LoadableDetachableModel's to load my persisted objects from the database, but I am still getting a lazy load exception when accessing a property that is a Set. For example: take persistent POJO Product that has this property, where ProductType is another persistent POJO: private Set pr