images doesn't show when in a tabbed pane not visible at page display
---------------------------------------------------------------------

                 Key: TOBAGO-509
                 URL: https://issues.apache.org/jira/browse/TOBAGO-509
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.12
            Reporter: Zied Hamdi


Hi ,

I have wrote a test case for this example because it isn't easy to explain. 
This test case isn't maybe the only one, but this happens in my example:

- You will not see the image because the tab that holds it is not the first one.

Now if the tab contaning the sheet is selected. When I click on a link that 
refreshes the page (ex: a postback), the image displays correctly.

<tc:page
        xmlns="http://www.w3.org/1999/xhtml";
        xmlns:f="http://java.sun.com/jsf/core";
        xmlns:h="http://java.sun.com/jsf/html";
        xmlns:t="http://myfaces.apache.org/tomahawk";
        xmlns:tc="http://myfaces.apache.org/tobago/component";
        xmlns:tx="http://myfaces.apache.org/tobago/extension";
        xmlns:c="http://java.sun.com/jstl/core";>
        <tc:tabGroup>
                <tc:tab>
                </tc:tab>
                <tc:tab>
                        <tc:sheet
                                value="#{data}"
                                var="x"
                                columns="*;*">
                                <tc:column>
                                        <tc:link image="image/edit.PNG" />
                                </tc:column>
                                <tc:column>
                                        <tc:out value="no image" />
                                </tc:column>
                        </tc:sheet>
                </tc:tab>
        </tc:tabGroup>

</tc:page>

The unique workaround I found is to put a label instead of the image, that's 
why I consider it Major.

Regards,
Zied Hamdi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to