You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2015/04/23 15:23:39 UTC

[jira] [Commented] (TOBAGO-1456) Mark NonFacesRequestServlet as deprecated

    [ https://issues.apache.org/jira/browse/TOBAGO-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509031#comment-14509031 ] 

Hudson commented on TOBAGO-1456:
--------------------------------

SUCCESS: Integrated in tobago-trunk #1352 (See [https://builds.apache.org/job/tobago-trunk/1352/])
TOBAGO-1456: Mark NonFacesRequestServlet as deprecated
- using <f:viewParam> instead (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1675588)
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/HtmlEditor.java
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/nonfacesrequest/FishPond.java
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/nonfacesrequest/FishServlet.java
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.xhtml
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/90-non-faces-request/non-faces-request.xhtml
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/90-non-faces-request/x-fish-pond.xhtml
* /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml


> Mark NonFacesRequestServlet as deprecated
> -----------------------------------------
>
>                 Key: TOBAGO-1456
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1456
>             Project: MyFaces Tobago
>          Issue Type: Task
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Trivial
>
> The NonFacesRequestServlet is no longer needed with JSF 2.0.
> This example shows the alternative.
> {code:xml}
>   <f:metadata>
>       <f:viewParam name="fishId" value="#{fishPond.selectedFishId}" />
>       <f:event type="preRenderView" listener="#{fishPond.initId}"/>
>     </f:metadata>
> {code}
> With JSF 2.2 there is also a <f:viewAction> tag.
> The NonFacesRequestServlet doesn't work well with Deltaspike.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)