EL « Component « JSF Q&A

Home
JSF Q&A
1.API
2.Bean
3.Component
4.Control
5.Data
6.database
7.Datatable
8.Development
9.Exception
10.Facelets
11.Form
12.Glassfish
13.HTML
14.IceFaces
15.Internationalization
16.JPA
17.JSP
18.MyFaces
19.openfaces
20.Page
21.Portlet
22.PrimeFaces
23.RichFaces
24.Seam
25.Security
26.Servlet
27.Session
28.Tag
29.Test
30.Tomcat
31.validation
32.Web Service
JSF Q&A » Component » EL 

1. How to access html components in JSF EL?    stackoverflow.com

I want some code in facelet (jsf 2.0) to work:

  <h:inputText id="q" />
  <h:button outcome="/search.xhtml?q=#{q.value}" />
but when I press the button, search page opens without any parameters. I think, my ...

2. javax.el.PropertyNotFoundException with CompositeComponent?    stackoverflow.com

I'm currently trying to build a composite component, and this is how i make use of my component :


Include it with xmlns:albert="http://java.sun.com/jsf/composite/albert"
And here's the usage example
<albert:infoButton
    infoId="infoSingleRecord"
  ...

3. JSF/Facelets component using bindings    stackoverflow.com

I'm creating a simple JSF/Facelets component, useful to specify time intervals:

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:jstl="http://java.sun.com/jsp/jstl/functions" version="2.0">
<ui:component>
    <h:panelGrid columns="2" cellpadding="2">
        <rich:inputNumberSpinner value="#{durationBean.duration}"/>
    ...

4. JSF 2 Composote Component EL Problem    stackoverflow.com

I have a JSF Composite Component that has a EL Expression on the Interface part, code snippet below.

<cc:interface>
     <cc:attribute name="label" type="java.lang.String"/>
     <cc:attribute name="labelRendered" ...

5. Error in creating Seam Custom EL function    stackoverflow.com

I tried to create a custom el function in seam 2.2 by following http://seamframework.org/Documentation/CreatingCustomELFunctions The taglib content is:

<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "facelet-taglib_1_0.dtd">
<facelet-taglib>
   ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.