xhtml « JSP « JSF Q&A





1. Should i use JSTL in JSF 2 xhtml pages?    stackoverflow.com

I would like to bind a backing bean's field to the selected value of a selectOneListbox. This value could be null, so i want to convert this to 0. This will set ...

2. Xhtml pages and HttpSession test , no jstl?    stackoverflow.com

I have a dynamic web application in JEE with JSF, Facelets, Richfaces. My pages are all xhtml pages. So JSTL isn't working in it. For my account pages and all other private pages ...

3. Mixing JSP and XHTML (Facelets) in JSF2 Project - possible?    stackoverflow.com

I have a client who wants to use JSF2 and they like that XHTML is now the default (Facelets). However, they have a huge amount of "legacy" JSP from their JSF1.x codebase. I ...

4. Using foreach into jsf / xhtml    stackoverflow.com

Well, I array a dataTable where i must have some dynamic columns.... So im using dataTable... Like the code above:

<rich:dataTable value="#{query.dataModel}" var="inscricao">
            ...

5. Dynamic incude page in xhtml page    stackoverflow.com

I have a favourites chart, on click on an item in the chart, I have to inlcude a page in rich:tab. The favourites chart is built using jQuery and on each ...

6. Using .xhtml and JSP in same application    stackoverflow.com

I found this Mixing JSP and XHTML (Facelets) in JSF2 Project - possible? when I searched for a way to use .jsp and .xhtml together. That question is answered with a ...

7. Is there a way to check the flow of a program one-by-one?    stackoverflow.com

I need to make a sequence diagram out from JSP file (or is it JSF) which also includes xhtml and java files. What I did before was to go to faces-config.xml and ...

8. What is the difference between creating .xhtml or .jsp .or .jsf for JSF pages    stackoverflow.com

i saw some samples creating the JSF pages with extension .jsp and other samples creating it with .xhtml extension, other samples chooses .jsf i just want to know what is the difference ...

9. How to use jsp and xhtml files in an application    coderanch.com

If i wont configure this context-param in web.xml, then i can work with only jsp files. but, now i want to work with both jsp and xhtml files. To work with xhtml, we need to configure web.xml like this, javax.faces.DEFAULT_SUFFIX .xhtml If i configure my web.xml with above context-param, then i am not able to work with jsp files, ...





10. JSF TreeMap Iteration Problem Using JSTL In XHTML    coderanch.com

JSF has actual menu and tree tags to do that. Not in the core tagset, but in the various extensions like Tomahawk, RichFaces, IceFaces, and so forth. As a general rule, you shouldn't put JSTL tags in a JSF view. You shouldn't have to. And in the case where you're actually putting logic JSTL in the view, you shouldn't. Period. It ...

11. Uable to access jsp page from xhtml    coderanch.com

Hi guys, I am new to jsf , i have a problem while accessing a jsp page from a xhtml page, my web.xml file is: MyPetStore Application MyPetStore application. javax.faces.STATE_SAVING_METHOD server javax.faces.CONFIG_FILES /WEB-INF/faces-config.xml,/WEB-INF/faces-managed-beans.xml,/WEB-INF/faces-navigation.xml javax.faces.DEFAULT_SUFFIX .xhtml ...

13. how to include jsp page in xhtml file?    coderanch.com