<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Problem: embed BIRT Report in Seam page
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/cacelis">Carlos Celis Osorio</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/619407#619407">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><span class="jive-content-block-pm"></span>Hi there.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> I am trying to embed a report designed on BIRT in a web page using the next code:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="prettyprint"><span class="tag">&lt;ui:composition</span><span class="pln"> </span><span class="atn">xmlns</span><span class="pun">=</span><span class="atv"><span>"</span><a class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a><span>"</span></span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">xmlns:s</span><span class="pun">=</span><span class="atv"><span>"</span><a class="jive-link-external-small" href="http://jboss.com/products/seam/taglib" target="_blank">http://jboss.com/products/seam/taglib</a><span>"</span></span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">xmlns:ui</span><span class="pun">=</span><span class="atv"><span>"</span><a class="jive-link-external-small" href="http://java.sun.com/jsf/facelets" target="_blank">http://java.sun.com/jsf/facelets</a><span>"</span></span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">xmlns:f</span><span class="pun">=</span><span class="atv"><span>"</span><a class="jive-link-external-small" href="http://java.sun.com/jsf/core" target="_blank">http://java.sun.com/jsf/core</a><span>"</span></span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">xmlns:h</span><span class="pun">=</span><span class="atv"><span>"</span><a class="jive-link-external-small" href="http://java.sun.com/jsf/html" target="_blank">http://java.sun.com/jsf/html</a><span>"</span></span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">xmlns:rich</span><span class="pun">=</span><span class="atv"><span>"</span><a class="jive-link-external-small" href="http://richfaces.org/rich" target="_blank">http://richfaces.org/rich</a><span>"</span></span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">xmlns:b</span><span class="pun">=</span><span class="atv"><span>"</span><a class="jive-link-external-small" href="http://jboss.com/products/seam/birt" target="_blank">http://jboss.com/products/seam/birt</a><span>"</span></span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">template</span><span class="pun">=</span><span class="atv">"layout/template.xhtml"</span><span class="tag">&gt;</span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="tag">&lt;ui:define</span><span class="pln"> </span><span class="atn">name</span><span class="pun">=</span><span class="atv">"body"</span><span class="tag">&gt;</span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="tag">&lt;rich:panel&gt;</span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="tag">&lt;f:facet</span><span class="pln"> </span><span class="atn">name</span><span class="pun">=</span><span class="atv">"header"</span><span class="tag">&gt;</span><span class="pln">Products</span><span class="tag">&lt;/f:facet&gt;</span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="tag">&lt;b:birt</span><span class="pln"> </span><span class="atn">designType</span><span class="pun">=</span><span class="atv">"embed"</span><span class="pln"> </span><span class="atn">designName</span><span class="pun">=</span><span class="atv">"/report/prueba.rptdesign"</span><span class="pln"> <br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">embeddable</span><span class="pun">=</span><span class="atv">"true"</span><span class="pln"> </span><span class="atn">masterpage</span><span class="pun">=</span><span class="atv">"false"</span><span class="pln"> </span><span class="tag">/&gt;</span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="tag">&lt;/rich:panel&gt;</span><span class="pln"><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="tag">&lt;/ui:define&gt;</span><span class="pln"><br/></span><span class="tag">&lt;/ui:composition&gt;</span><span class="pln"><br/></span></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> The problem is cannot visualize the report when page loads.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="jive-content-block-pm"><p>I added the next code in components.xml file:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;web:context-filter regex-url-pattern="/run | /frameset | /embed"/&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The error is next:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>ERROR&#160; [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/MyFirstProject].[default]] El Servlet.service() para servlet default lanz&#243; una excepci&#243;n: java.io.FileNotFoundException: El recurso requerido /MyFirstProject/embed no se encuentra disponible</p></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> Somebody can help me? Please.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> I am using:</p><p> - JBoss Developer Studio 4.0</p><p> - Seam Framework 2.2</p><p> - JBoss Application Server 6.0</p><p> - BIRT Framework 2.6</p><p> - BIRT WTP Integration 2.6</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> Thanks! </p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/619407#619407">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>