Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces
Description
JSF 2.0 allows a variety of different Servlet mappings and support for Portlets requires further flexibility in resource URLs. The auction demo should be updated so that it can automatically run behind the specified mapping for the FacesServlet or the Portlet environment.
Testing for this should include:
/faces/*
*.faces
*.jsf
Testing for this should include:
/faces/*
*.faces
*.jsf
Activity
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Affects Version/s | 2.0-Beta1 [ 10231 ] | |
Affects Version/s | 2.0.0 [ 10230 ] |
Deryk Sinotte
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 | |
Description |
JSF 2.0 allows a variety of different Servlet mappings and support for Portlets requires further flexibility in resource URLs. The auction demo should be updated so that it can automatically run behind the specified mapping for the FacesServlet or the Portlet environment. Testing for this should include: /faces/* *.faces *.jsf |
JSF 2.0 allows a variety of different Servlet mappings and support for Portlets requires further flexibility in resource URLs. The auction demo should be updated so that it can automatically run behind the specified mapping for the FacesServlet or the Portlet environment. Testing for this should include: /faces/* *.faces *.jsf |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
Copied from ICE-5366:
auction verified to be functional under /faces/* mapping.
application must be visited with the following URL:
http://localhost:8080/auction/faces/auction.xhtml
Application is not designed to handle servlet mapping changes, but the following page changes are an improvement:
(many images are still broken)
Index: samples/auction/src/main/webapp/auction.xhtml
===================================================================
— samples/auction/src/main/webapp/auction.xhtml (revision 22160)
+++ samples/auction/src/main/webapp/auction.xhtml (working copy)
@@ -27,8 +27,8 @@
<h:head><title>Auction Monitor - JSF 2.0 Direct-to-DOM (D2D) Version</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<h:outputScript name="jsf.js" library="javax.faces"/>
+ <link href="# {facesContext.externalContext.requestContextPath}/resources/demo_template.css" rel="stylesheet" type="text/css"/>
+ <link href="#{facesContext.externalContext.requestContextPath}
/resources/auction_styles.css" rel="stylesheet" type="text/css"/>
<!-
<link href="/auction/javax.faces.resource/demo_template.css.jsf" rel="stylesheet" type="text/css" />-><!-
<link href="/auction/javax.faces.resource/auction_styles.css.jsf" rel="stylesheet" type="text/css" />-><!--Appear to alternately reverse order between requests
@@ -51,12 +51,12 @@
</script>
<div>
<div class="header_right">
+ <h:graphicImage value="/css/images/banner_logo.jpg" alt="ICEfaces" width="267"
height="159"/>
</div>
<div class="header_container">
<div class="header_left">
+ <h:graphicImage value="/css/images/banner_hdr_auction.jpg"
width="463" height="100"
title="Component Suite Showcase"
alt="Component Suite Showcase"/>
@@ -221,7 +221,7 @@
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr style="background-image: url(images/button_bkgnd2.gif); background-position:top; background-repeat:repeat-x;">
+ <td width="13%" valign="top"><h:graphicImage value="/images/chat-icon.gif"
width="49" height="35"/>
</td>
<h:panelGroup rendered="# {UserBean.conversationStatus}
">
@@ -374,7 +374,7 @@
</div>
</div>
+ <div class="footer_right"><h:graphicImage value="/css/images/footer_faces.jpg"
alt="ICEfaces" width="121"
height="95" border="0"/></div>
</div>
@@ -382,8 +382,8 @@
<!-- PRELOAD TAB IMAGES -->
<div style="display: none">
+ <h:graphicImage value="/images/button_bid_accept.gif"/>
+ <h:graphicImage value="/images/button_bid_decline.gif"/>
</div>
</h:body>
</html>