Bug 445

Summary: [Chameleon-Core] popup dialog buttons broken when no resources used
Product: Chameleon Reporter: Paul Spencer <pspencer@dmsolutions.ca>
Component: CoreAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description From 2004-06-08 15:05:08
When using plain buttons with no style resources, popup dialogs like the query
results window have broken buttons.  Replace this with HTML inputs.
------- Comment #1 From 2004-06-08 15:13:39 -------
fixed, sample_basic_plainbuttons.html has test case (query widget)
------- Comment #2 From 2004-06-24 15:16:34 -------
verified in beta 2 2004-06-20
------- Comment #3 From 2004-07-13 15:42:56 -------
Please Chris gives more details on how to test this bug.
------- Comment #4 From 2004-07-14 12:31:16 -------

Test settings:

I modified the "sample_basic_plain.html" template like this:

1  Added a "styleresource" attribute like this:

      '<!-- QUERY -->
      <td><cwc2 type="Query" visible="true" image="buttons/button_query_1.png"
imagewidth="24" imageheight="24" imagetip="Identify Feature" PopupWidth="500"
PopupHeight="600" Toolbar="false" Status="false" Menubar="false" RADIUS="3"
MAXFEATURES="5" toolset="Navigation" includeemptyresults="true"
styleresource="TextButtons2"/></td>'

2. Added a sharedresource named "TextButtons2" in which I changed the button color.

---------------

I loaded the "sample_basic_plain.phtml" application and checked if button is
red.  In fact it is.

I then removed the "styleresource" and checked if button appears correctly.  It did.