facelets Questions
2
Solved
I have a dropdown list of items a user can select from (the view is JSF). I would like for an image to appear on the same JSF page after a user selects an item from the dropdown list (i.e. A user s...
5
Solved
I am looking for a way to inject values from the fragment (#) of a URL into bean(JSF), in the same way query-parameter values are injected. I am using Ben Alman's Bookmarkable jQuery plugin (http:/...
Strangeness asked 13/8, 2010 at 8:16
2
Solved
I have found some similar questions like this one, however there are so many ways this can be done that it made me more confused.
We are getting an XML file that we are reading. This XML contains ...
Burra asked 18/8, 2010 at 9:25
3
Solved
I have done some reading and playing and I still have some questions I was hoping someone might answer:
So, can I use two or more backing beans in a single JSF page?
<h:intputText value="#{myF...
2
Solved
If I had a managed bean as follows:
@ManagedBean
@RequestSchoped
public class Example {
private List<String> stringList;
private List<Long> longList;
// getters, setters, etc. dow...
Pneumato asked 24/6, 2010 at 20:23
2
Solved
I have a problem with duplicated ids in my JSF app. I've read in this post that one of the possible solutions is to use Naming Container. Can you give me some example how to use the Naming Containe...
Benford asked 10/8, 2010 at 13:21
1
Solved
Basic question:
Including a page, that contains a component with component id, multiple times cannot be done. But how can i have a reference to that component iside that included page?
Example:
...
2
Solved
I am using JSF2 on Facelets.
I define an <ui:param> in a page:
<ui:composition template="/WEB-INF/templates/ui.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/...
2
Solved
I am currently looking in to some file uploading using Java Server Faces. I've found this great introduction to it using RichFaces. However, I have some troubles understanding the process here.
Fi...
Truthful asked 22/10, 2009 at 8:28
1
Solved
On my JSF2 page, i'm using internationalized error messages.
In my backing bean, i'm putting the messages into the flash Scope:
flash.put("error", exception.getType());
On the page, this strin...
1
Solved
I have a dynamic web application in Java EE 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 to be reachab...
Discreet asked 30/6, 2010 at 13:33
1
Solved
I have some Facelets files like below.
WebContent
|-- index.xhtml
|-- register.xhtml
|-- templates
| |--userForm.xhtml
| `--banner.xhtml
:
Both pages are using templates from /templates d...
1
Solved
Been try to learn JSF, and sometimes I see the URL is *.jsf and sometimes is *.xhtml or /faces/*. Can someone fill my knowledge, please? When I create a JSF using Facelet, the file extension is .xh...
Synn asked 9/6, 2010 at 17:48
1
Solved
Again i see that the @PostConstruct is firing every time even though no binding attribute is used. See this code :-
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//...
2
Solved
I have a simple problem on .xhtml page. This expression is not working :-
<a href="Photos.jsf?albumId=#{item.albumId}&blogId=#{PhotoAlbumsCommonBean.blogId}">
photos
</a>
I get ...
2
Solved
With the JSF/Seam/RichFaces stack, is there a way to mark up comments (on XHTML pages) so that they will not be included in the HTML output? I.e., something like JSP's <%-- comments --%>, as ...
1
Solved
Facelets uses the jsfc attribute to convert HTML elements to their associated JSF components. This is rather helpful for fast prototyping as it allows you to create your views using a visual design...
2
Solved
I'm working and learning about JSF + Facelets these days. I have a BackingBean and a Facelet xHTML page. When I request the facelet-page (only one time) the backing-bean-method is called mult...
1
Solved
I just started reading the Java EE 6 Tutorial, and I'm a little confused! I knew about JavaServer Pages (JSP), and even did some coding during my undergraduate studies. But now, in this tutor...
3
Solved
For example, the following snippet:
<h:form id="levelone">
<h:inputText id="leveltwo" value="Test" />
</h:form>
generates the following markup:
<form id="levelone" name="l...
2
Solved
I just started to get into the door of the Java world. I have been programming in C# for the last 3 years, and been doing about 3 months of ASP.Net MVC. I absolutely love it, but the fact that I ne...
Instillation asked 22/1, 2010 at 15:18
2
Solved
Due to some custom components which expect a bean name (NOT the bean instance) in their attributes I need to pass the actual bean name between pages. As the bean itself is also used by non-custom c...
4
Solved
I'm creating a JSF/Facelets web app in Eclipse. I've configured my project to use a Tomcat (6.0) server that is started/stopped by Eclipse.
Whenever I save a file (eg .xhtml) Eclipse restarts the ...
1
Solved
I'm trying to accomplish a small tweak in a Facelets/JSF environment. I know next to nothing how all of it fits together.
I have a value defined on various pages as "title"
<ui:define name="ti...
3
I have a dynamic Facelets page that needs to show information from database when the page loads. At this point in the flow, there have not been any form submissions. Every JSF example I can find on...
Camelopardus asked 31/10, 2008 at 2:29
© 2022 - 2024 — McMap. All rights reserved.