You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Simone Piva (JIRA)" <ji...@apache.org> on 2007/02/12 12:37:16 UTC

[jira] Created: (STR-3005) Multiple select not rendered in browser with tiles

Multiple select not rendered in browser with tiles
--------------------------------------------------

                 Key: STR-3005
                 URL: https://issues.apache.org/struts/browse/STR-3005
             Project: Struts 1
          Issue Type: Bug
          Components: Tiles
    Affects Versions: 1.1.1
         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
            Reporter: Simone Piva
            Priority: Critical


Hi all,
I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!

Did anyone experience the same problem?

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


[jira] Commented: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40103 ] 

Niall Pemberton commented on STR-3005:
--------------------------------------

Yes it sounds like a bug - but the question  is whether its a bug in the Struts framework or your application? Without knowing the cause the etiquette around here is to first post a question to the user list since often these type of things turn out to be a user error rather than a bug in Struts - rather than doing what you've done which is assume its a Tiles bug first.

Anyway as I said before what matters is what html is being generated - if I was you I would start looking there - comparing whats being produced by forwarding directly to the jsp vs using Tiles.

> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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


[jira] Commented: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Simone Piva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40102 ] 

Simone Piva commented on STR-3005:
----------------------------------

I think that the behaviour I explained is a bug in Tiles. I mean, forwarding from an action directly to a jsp I can see the multiple select, whilst if the action forwards to a tile that contains the same jsp in the body, the combobox are not displayed. Isn't that a bug or what?

> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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


[jira] Updated: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Simone Piva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Piva updated STR-3005:
-----------------------------

    Attachment: Thin combobox.jpg

> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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


[jira] Commented: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40106 ] 

Niall Pemberton commented on STR-3005:
--------------------------------------

> Where do I fine the "user list"?

Details about the user mailing list are here: http://struts.apache.org/mail.html

> However, as I told in the first message the generated HTML, when saved as a
> file, displays in the right way the multi-select.

Well I made some suggestions on this too!

> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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


[jira] Commented: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Simone Piva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40105 ] 

Simone Piva commented on STR-3005:
----------------------------------

Where do I fine the "user list"?

However, as I told in the first message the generated HTML, when saved as a
file, displays in the right way the multi-select.



> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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


[jira] Commented: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Simone Piva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40112 ] 

Simone Piva commented on STR-3005:
----------------------------------

Solved problem: It was a CSS issue.



> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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


[jira] Commented: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40101 ] 

Niall Pemberton commented on STR-3005:
--------------------------------------

Jira is for bugs found in Struts - not for getting help on debugging your application. Please ask questions like this on the user list first.

At the end of the day whether you use jsp directly or tiles what matters is what html is generated. The question you need to work out is "why when you save the page to an HTML file it apparently works?" - my first thought is maybe its a stylesheet issue. If not that, then something else is different by the fact that it works when the page is not a url relative to the rest of your site. I bet if your servlet container served up the static HTML page you saved you would experience the same issue.



> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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


[jira] Resolved: (STR-3005) Multiple select not rendered in browser with tiles

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton resolved STR-3005.
----------------------------------

    Resolution: Not A Problem

> Multiple select not rendered in browser with tiles
> --------------------------------------------------
>
>                 Key: STR-3005
>                 URL: https://issues.apache.org/struts/browse/STR-3005
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.1.1
>         Environment: Operating system: windows XP, Rational Software Development platform with Websphere Application Server
>            Reporter: Simone Piva
>            Priority: Critical
>         Attachments: Thin combobox.jpg
>
>
> Hi all,
> I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles.
> If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile that contains also my jsp with the select multiple tag I don't see the multiple combobox, but only a thin box, so thin that no text can be displayed. If I get the HTML source code (right-clicking on the page), saving the open window to an html file and reopening the just saved file I can see my multiple select!
> Did anyone experience the same problem?

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