tag « JSP « JSF Q&A





I am using above code in my jsp file.List allowableEntities is always getting populated. When I select one or more item out of this list from dropdown the selected items populates the appliesTo list. My problem is appliesTo list is not always getting populated even though I select one ...

1. Difference between selectitem and selectitems tags    stackoverflow.com

What is the difference between the selectitem and selectitems tags in jsf?

2. Converting A JSP Tag To A JSF Component    stackoverflow.com

I've got an JSP tag that I would like to use in my JSF/Seam application. Could someone please give me some guidance in getting my environment to accept the tag. ...

3. Writing a custom JSF Tag    stackoverflow.com

I am trying to write a custom tag. I can write attributes; however, I'm having difficulty writing the innerHTML part:

<span class="required">*</span>
I can write:
writer.startElement("span", component);
writer.writeAttribute("class", "required", "class");
writer.endElement("span");
How do I write the ...

4.  tag for JSF page    stackoverflow.com

Used to develop Portlets and JPS's, so have a dilemma. task: display <h:dataTable> only when list isn't empty Is it possible to provide <c:if> tag for JSF page?

5. How to show the loading status in mouse?    stackoverflow.com

I create jsp page using JSF Framework. If i perform some action(Login), then go to the backend and perform some process and it will return some value. Here this whole process will be ...

6. Why jsp: tags are not parsed?    stackoverflow.com

I have this login.xhtml JSF page:

<?xml version="1.0"?>
<jsp:root version="2.0"
  xmlns:jsp="http://java.sun.com/JSP/Page"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html">
<jsp:directive.page contentType="text/html"/>
<f:view>
  <h:inputText value="#{userBean.id}"/>
</f:view>
</jsp:root>
Output HTML contains properly rendered <input> tag, but <jsp:*> are left untouched. Seems that ...

7. how can I create variable in JSF to use thro' JSP tag    stackoverflow.com

I am using tomahawk dataList, where I use

rowIndexVar="rowIndex"
Inside the dataList I have been using verbatim, where I need to retreive the rowIndex thro' JSP EL ${rowIndex}. How can I achieve it. ...

8. Is there a tag like verbatim, except you can set it to dirty?    stackoverflow.com

What I would like is something like following:


<f:verbatim>
<%
out.println("<span id='test'>Data</span>");
%>
</f:verbatim>

I would like the out.println code to be rerun by ajax. However, when I set that form to dirty, the out.println is ...

9. How to set the title of jsp page using JSF 1.1 tags    stackoverflow.com

I want to set the title of my JSP page

<head>
<title> ABCD
</title>
</head>
where ABCD is accessed from the backing bean is their a way to set the title using a JSF/Tomahawk tag.





10. java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton    stackoverflow.com

I have create a registration form in jsp file with jsf and I try to connect it with a web service in order to pass through this the elements to a ...

11. How can I manipulate a String in a JSF tag?    stackoverflow.com

Given this code,

<rich:dataTable id="list" value="#{testBeen.dataModel}" var="test" rows="#{testBeen.dataModel.pageSize}">
    ...
    <h:outputText value="#{test.WEEK}" />  
I need to manipulate the #{test.WEEK} and replace character ) with ...

12. meta tags in jsp with a4j    stackoverflow.com

I have a JSP page in a JSF application which uses A4J. I want to add a meta tag to put IE9 in compatibility mode. Unfortunately, this meta tag has to ...

13. problem with basic jsf tags in the jsp    coderanch.com

14. problems - displaying a jsp page with jsf tags    coderanch.com

i have a parent.jsp page. this page contains a javascript function to open a popup window. this popup window is a Faces JSP page, with JSF components. If I use odinary JSP tags, the page and functins work fine...if I put JSF tags, i get the following error: [Cannot find FacesContext]: javax.servlet.jsp.JspException: Cannot find FacesContext at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:399) at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105) at org.apache.jsp._Child1._jspService(_Child1.java:112) ...

15. jsp+display tag    coderanch.com

16. selectManyListbox tag bug in JSF Jsp    coderanch.com





18. Tag used in JSF    coderanch.com

21. How to read the value selected in the selectOneMenu tag in the forwarded jsp page    coderanch.com

I think the first thing that will help is to not think in terms of "pages", but in terms of the backing beans. In JSF, pages are views into the backing beans, but the beans themselves are where the action is. I can't tell for certain, but I suspect that your "myBean" may be a request-scope object. Request-scope objects get created ...

22. Cannot use JSF tags inside JSP page.    coderanch.com

23. JSP custom tag and JSF    forums.oracle.com

you see, jsp or java server page is page pretty much like php, mixture of html and java codes like this: <% out.println("hello world"); %> jsf, java server faces, on the other hand is framework, pretty much like struts, or springs. framework are ways to make jsp easier to use. hope that helped you chief! regards--- memnoch ...