Foren

RE: liferay-ui:input-editor tag not working in liferay-faces-portal-3.1.0-B

Hasika Pamunuwa, geändert vor 11 Jahren.

liferay-ui:input-editor tag not working in liferay-faces-portal-3.1.0-BETA1

New Member Beiträge: 11 Beitrittsdatum: 21.06.10 Neueste Beiträge

<liferay-ui:input-editor value="#{modelBean.text}" />


I had to patch the input-editor.xhtml to get the input-editor to work.

xmlns:liferay-util="http://liferay.com/tld/util" ---> xmlns:liferay-util="http://liferay.com/faces/util"
thumbnail
Neil Griffin, geändert vor 11 Jahren.

RE: liferay-ui:input-editor tag not working in liferay-faces-portal-3.1.0-B

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
Thanks! Fix for FACES-1199 will appear in 3.0.0-BETA2/3.1.0-BETA2 which hopefully will be released later today.
thumbnail
Neil Griffin, geändert vor 11 Jahren.

RE: liferay-ui:input-editor tag not working in liferay-faces-portal-3.1.0-B

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
Liferay Faces 3.0.0-BETA2 (Liferay 6.0.x) and 3.1.0-BETA2 (Liferay 6.1.x) just released. You can download artifacts directly from the artifact repository. The Liferay website will be updated on Monday or Tuesday.
thumbnail
Muhammed Shafeek V, geändert vor 10 Jahren.

RE: liferay-ui:input-editor tag not working in liferay-faces-portal-3.1.0-B

Regular Member Beiträge: 140 Beitrittsdatum: 22.07.13 Neueste Beiträge
Hi, I am new to liferay-faces. In my portel iam using the tag liferay_ui:input-editor> , At that time i got an error which says that "File "/resources/liferay-ui/jsp/input-editor.jsp" not found"

<liferay-ui:input-editor value="#{activity.text}" /> - this is my code inside my xhtml.
Please help me..
thumbnail
Neil Griffin, geändert vor 10 Jahren.

RE: liferay-ui:input-editor tag not working in liferay-faces-portal-3.1.0-B

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
When you see the error "File /resources/liferay-ui/jsp/input-editor.jsp not found" that means the StartupListener did not auto-register for some reason (see FACES-1520).

In order to fix this, add the following to your WEB-INF/web.xml descriptor:

<listener>
    <listener-class>com.liferay.faces.portal.listener.StartupListener</listener-class>
</listener>


Also, please refer to the thread titled Where to find input-editor.jsp?
thumbnail
Kyle Joseph Stiemann, geändert vor 8 Jahren.

Thread Split

Liferay Master Beiträge: 760 Beitrittsdatum: 14.01.13 Neueste Beiträge
thumbnail
Muhammed Shafeek V, geändert vor 10 Jahren.

RE: liferay-ui:input-editor tag not working in liferay-faces-portal-3.1.0-B

Regular Member Beiträge: 140 Beitrittsdatum: 22.07.13 Neueste Beiträge
In my xhtml iam using liferay_ui tags which is not working..,


<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<f:view xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:aui="http://liferay.com/faces/aui"
xmlns:aui-cc="http://liferay.com/faces/aui-cc"
xmlns:liferay-ui="http://liferay.com/faces/ui"
xmlns:liferay-util="http://liferay.com/faces/util"
xmlns:portlet="http://java.sun.com/portlet_2_0"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<h:head />
<h:body>

<p>#{i18n['activity-hello-world']} in view mode.</p>

<c:if test="#{liferay.themeDisplay.signedIn}">
<liferay-ui:user-display displayStyle="0" userId="#{liferay.themeDisplay.userId}" />
</c:if>

</h:body>
</f:view> this is my xhtml. after deploying I got an error,
"Argument Error: Parameter url is null"