After reading old threads in the board here I saw mention of problems with using a Panel inside a ModalWindow. So I tried converting my Panel that contained my DataGrid in to a WebPage. And now that DataGrid works perfectly. I am also having problems with another DataGrid which I will gather more info on that problem and then post it as a separate thread.

Thanks,
plb

Paul Logasa Bogen II wrote:
Ok here is a very stripped down version that I think is about as minimal as possible. The problem occurs when you click the open link, close the modal window and the click the open link again.
plb

Paul Logasa Bogen II wrote:
I have a version of my code without my DB stuff that exhibits the problem still. If anyone else is interested (other than Matej) let me know and I can send you a copy or post it to the web.
plb

Paul Logasa Bogen II wrote:
I looks correct in IE6. I also tried disabling my CSS, but that didn't help either.
plb

Paul Logasa Bogen II wrote:
I went ahead and created a bare minimal project to illustrate the behavior, but It doesn't occur in the minimal project. I've gone over everything and I just can't seem to figure out where a difference that matters would be. I checked the generated source that Firefox renders and the information is in the source. And no JavaScript exceptions are thrown. I'm going to go ahead and give it a try in IE to see if it is some weird interaction between Firefox and the specifics of my code.

plb

Matej Knopp wrote:
Could you create a quickstart project that demonstrates the behavior
and send it to me directly (there's no issue tracker for grid yet)?

-Matej

On Fri, Jul 25, 2008 at 5:34 AM, Paul Logasa Bogen II <[EMAIL PROTECTED]> wrote:
These are the primary involved java source files, let me know if you'd like
to see any others.
plb

CollectionDataModel.java -- http://pastebin.ca/1082263
CollectionDataSource.java -- http://pastebin.ca/1082264
LoadPanel.java -- http://pastebin.ca/1082266


Paul Logasa Bogen II wrote:
I added a second entry to my database that backs the DataGrid and I still see the same problem, but now when I click a sort (etc) to get it to show
only the first item shows.
plb

Paul Logasa Bogen II wrote:
Sure, no problem, I didn't want to spam the list with too much info if I
didn't need to.
I'm using Firefox 3.0.1 under WinXP and Iceweasel 3.0.1 (rebranded
Firefox) under Debian i686 and Debian x86_64

I am using Wicket 1.3.4 and the inMethod DataGrid is the current SVN code
under the 1.3.x branch.

plb

Matej Knopp wrote:
We use grid in modal window all the time. Can you be more specific
about the setup (browser, grid version, wicket version)?

-Matej

On Thu, Jul 24, 2008 at 10:56 PM, Paul Logasa Bogen II <[EMAIL PROTECTED]>
wrote:

Howdy,

First of I'd like to say that I think Wicket is fantastic and after
trying
GWT and Thinwire, I finally have found a framework that is open,
supported,
mature, and lets me program how I want to. However, I am currently
having a
strange problem. I have a ModalWindow which is shown after an AjaxLink
is
clicked on a WebPage. On the panel used as the content for the
ModalWindow
is a DataGrid control. The Model and DataSource appear correct when I inspect them in a debugger, yet the DataGrid does not show any contents
for
the cells. It does show the correct number of rows, but the cells are blank. Once I resize, or move the ModalWindow the contents magically
show.
Additionally, clicking a header to sort the rows or clicking a row to
select
it also causes the cells content to show. I think the problem is the DataGrid's update isn't triggered between creation and the first time I manipulate the DataGrid or the ModalWindow. Is there someway I can
force the
DataGrid to redraw when I show the Modal? update() doesn't work.

Thanks,
Paul Logasa Bogen II

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to