<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>JSF Portlets using EL in Faces-config.xml</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4138764" />
  <subtitle>JSF Portlets using EL in Faces-config.xml</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4138764</id>
  <updated>2026-06-02T12:14:28Z</updated>
  <dc:date>2026-06-02T12:14:28Z</dc:date>
  <entry>
    <title>RE: JSF Portlets using EL in Faces-config.xml</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4143070" />
    <author>
      <name>cee bee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4143070</id>
    <updated>2009-10-15T12:06:08Z</updated>
    <published>2009-10-15T12:06:08Z</published>
    <summary type="html">Ok, i figured my Problem out ... it was a nullpointer exception in my Faces projekt ... &lt;br /&gt;&lt;br /&gt;But why doesn&amp;#39;t show liferay this problem in the console ?</summary>
    <dc:creator>cee bee</dc:creator>
    <dc:date>2009-10-15T12:06:08Z</dc:date>
  </entry>
  <entry>
    <title>JSF Portlets using EL in Faces-config.xml</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4138763" />
    <author>
      <name>cee bee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4138763</id>
    <updated>2009-10-14T16:13:28Z</updated>
    <published>2009-10-14T16:13:28Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello, &lt;br&gt;I am trying to create a Portlet , which uses JSF 1.2 ( SUN RI) on Liferay. &lt;br&gt;&lt;br&gt;I created a class which has a action() Method, which returns a string. &lt;br&gt;&lt;br&gt;My faces-config has  the following configuration : &lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;	&amp;lt;managed-bean&amp;gt;
		&amp;lt;managed-bean-name&amp;gt;DeleteUser&amp;lt;/managed-bean-name&amp;gt;
		&amp;lt;managed-bean-class&amp;gt;com.test.actions.DeleteUser&amp;lt;/managed-bean-class&amp;gt;
		&amp;lt;managed-bean-scope&amp;gt;session&amp;lt;/managed-bean-scope&amp;gt;
	&amp;lt;/managed-bean&amp;gt;
	
	&amp;lt;navigation-rule&amp;gt;
		&amp;lt;from-view-id&amp;gt;/view.xhtml&amp;lt;/from-view-id&amp;gt;
		&amp;lt;navigation-case&amp;gt;
			&amp;lt;from-action&amp;gt;#{DeleteUser.action}&amp;lt;/from-action&amp;gt;
			&amp;lt;from-outcome&amp;gt;success&amp;lt;/from-outcome&amp;gt;
			&amp;lt;to-view-id&amp;gt;/submit.xhtml&amp;lt;/to-view-id&amp;gt;
		&amp;lt;/navigation-case&amp;gt;
	&amp;lt;/navigation-rule&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;When i deploy the portlet and push the button &lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;h:commandbutton action="#{DeleteUser.action}" styleClass="portlet-form-button" value="Submit" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;the page reloads , but the portlet doesn't get redirected to the "/submit.xml" ... &lt;br&gt;&lt;br&gt;the action() - method  in the class "com.test.actions.DeleteUser" just contains "return "success"; " but it dosen't seemed to be called ..&lt;br&gt;&lt;br&gt;do i have to register in the faces-config a special property-resolver or variable-resolver ? &lt;br&gt;&lt;br&gt;thnx a lot in advance ... i am really in despair&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>cee bee</dc:creator>
    <dc:date>2009-10-14T16:13:28Z</dc:date>
  </entry>
</feed>
