Results 1 to 3 of 3
  1. #1
    basfot is offline Member
    Join Date
    Feb 2012
    Posts
    16
    Rep Power
    0

    Default MediaOutput - pdf

    Hi, I need open PDF in JSF, but I have problem with different version of browsers. Following code isn't good for example Firefox 3.6 ... it's opened new window, but it's all empty. In the latest version is functional. Thanks.

    XML Code:
    			<a4j:outputPanel id="pdfWindow">
    				<div style="display: none;">
    					<c:forEach var="item" items="${bean.listPdfs}" varStatus="status">
    						<div id="#{status.index}" style="display: none;">
    							<a4j:mediaOutput standby="Load" element="object"
    								uriAttribute="data" cacheable="false" ajaxSingle="true"
    								mimeType="application/pdf" style="width:100%; height:100%;"
                                    createContent="#{bean.createPdf}"
    								value="#{status.index}" >
    							</a4j:mediaOutput>
    						</div>
    					</c:forEach>
    				</div>
    			</a4j:outputPanel>
    Last edited by basfot; 01-24-2013 at 02:51 PM.

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    6

    Default Re: MediaOutput - pdf

    I think it's good that it doesn't work with FF 3.6
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    basfot is offline Member
    Join Date
    Feb 2012
    Posts
    16
    Rep Power
    0

    Default Re: MediaOutput - pdf

    And how it repair make it work in FF 3.6?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •