JMockit compatible with GWTTestCase?

2012-12-28 Thread James Scott
Hello all- I'm trying to use JMockit in a GWTTestCase (JUnit 3, for what it's worth) and I'm not having any luck. I have jmockit.jar on my classpath for the test, but when I run it, I get this error message: [ERROR] Line 50: No source code is available for type mockit.NonStrictExpectations;

Remediating older GWT code with GWT 2.3 XsrfProtectedService - any experiences?

2012-11-28 Thread James Scott
Hi all- We're looking at remediating an existing GWT application with the CSRF/XSRF protection features introduced with GWT 2.3. Has anybody else done this, and do you have any experiences/advice to share? I'm looking particularly for testing advice. How did you validate that the XSRF

Re: TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-15 Thread James Scott
Wrapping the TabLayoutPanel in a ResizeLayoutPanel, and then adding the RLP as the content widget of the HeaderPanel, resulted in nothing rendering in the content area. Here's my test code for my original case - I'm adding the HeaderPanel directly to the RootLayoutPanel. public class

Re: TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-14 Thread James Scott
I've applied the patch from the code review referenced in comment 3 on issue 7065, and it didn't fix the bug. I verified that the DeckLayoutPanel.onLoad() method implementation added by the patch gets called, but the tab body is still not rendered when the TabLayoutPanel is contained in a

TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-03 Thread James Scott
I'm updating a module originally done in GWT 1.7 to GWT 2.4, and I'm having a problem with a TabLayoutPanel inside a HeaderPanel. When I add the TabLayoutPanel to the content area of the HeaderPanel, the tab content does not appear. Inspecting the HTML shows that the tab content divs have 0

Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2011-12-29 Thread James Scott
that working, I needed to add keyup and keydown events to the CompositeCell. Clearly I do not yet have my mind wrapped around how the events are propagated in a CompositeCell, but at least I've solved my immediate problems. JLS On Dec 28, 3:49 pm, James Scott j...@jls.cx wrote: Hi all- I feel

GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2011-12-28 Thread James Scott
Hi all- I feel like I'm missing something obvious here, but I haven't been able to figure this out. In short, I have a CellTree whose leaf nodes are populated with CompositeCells. Each CompositeCell has an ImageResourceCell, a TextCell, and a TextInputCell. These are displaying in the tree

[gwt-contrib] StyleInjector and IE limitations

2008-11-19 Thread James Scott
Hi Folks- This doesn't appear to be a known issue and I didn't manage to dig up any previous conversation on the topic, so let me offer my apologies in advance if this has been covered before. When adding multiple incubator widgets that use StyleInjector, we ran up against a limitation in IE.

Re: OPTGROUP

2008-10-22 Thread James Scott
On Aug 28, 3:15 am, Karl [EMAIL PROTECTED] wrote: How can i create aoptgroupinside a combobox? ListBox does not have an optgroup API, so you need to get the select element from your ListBox and use the DOM API to add the optgroup. Something like this: ListString options = new