You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Juby Jose (JIRA)" <ji...@apache.org> on 2010/03/08 16:53:27 UTC

[jira] Updated: (STR-3201) tiles:insert not working for Wepshere 6.1

     [ https://issues.apache.org/jira/browse/STR-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juby Jose updated STR-3201:
---------------------------


Hi,
  We are not able to download struts 1.2.9. we found one location(http://archive.apache.org/dist/struts/binaries/), but failed to unzip the same. 

Could you please provide us the download location as well as let us know if there is any workaround available.

More details on the issue:

      In our "baseLayout.jsp" we have 'accueil' attribute  which is not able to insert authentification.jsp .

<td valign='middle'><tiles:insert attribute='accueil'/></td>
 
The   attribute 'accueil' is mapped to authetification.jsp in tiles-config.xml file.
<!-- Authentification Page definition -->
<definition name=".authentification" extends="baseLayout">
<put name="document.title" value="Ocean Authentication Page"/>
<put name="accueil" value="/common/authentification.jsp"/>
</definition>
The struts-config.xml has entry of tiles-config.xml 
<!-- Plugin pour l'utilisation des Tiles Struts -->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-config.xml" />
<set-property property="definitions-debug" value="2" />
<set-property property="definitions-parser-details" value="2" />
<set-property property="definitions-parser-validate" value="true" />
</plug-in>

But what we found is, if we duplicated the <tiles:insert> command, it works fine as shown below:

baseLayout.jsp:

.....
.....                
                <td valign='middle'><tiles:insert attribute='accueil'  /> <tiles:insert page="/common/test.jsp" flush="true" /> </td>

        </tr>
</table>


Cat ../common/test.jsp

bash-3.00$ cat test.jsp 
<html>
<head> </head>
</html>
bash-3.00$


> tiles:insert not working for Wepshere 6.1
> -----------------------------------------
>
>                 Key: STR-3201
>                 URL: https://issues.apache.org/jira/browse/STR-3201
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles 1 Plugin
>    Affects Versions: 1.1.0
>         Environment: os: solaris 8, Application server: websphere 6.1
>            Reporter: Juby Jose
>            Priority: Critical
>
> The tiles:insert tag is not functional after migrating from Websphere 5 to websphere 6.1
> The interesting thing is if we duplicate the tiles:insert tag it is able to insert the jsp page and everthing works fine..
> Thanks is advance 
> Regards
> Juby

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