jsf

tomcat:access to outsider html page

Hello, I have html reports saved to disk, I want to display these files in my Jsf application deployed under tomcat 6. Is it possible to configure Tomcat to include these files with the context of my web application ...

<a4j:include> content doesn't get change

This is what i want to achieve. I have navigation panel on left and content panel on right. when user click links on left navigation panel , ajax calls made and content panel got rendered. With current implementation, content got change based on the link i clicked. however i found content still don't get change when perform following s...

Doing AJAX with JSF 2.0 without using action listeners

I'm new to JSF. I am using JSF 2.0. I'd like to be able to use scripts that use ajax in a classical way, not going through JSF's f:ajax tag. However, I know that it's easy to mess up with the application's state if you go around JSF features too much. Has anyone done this before? Any ideas on how it should be done? Suggestions and exi...

Ecplise autocomplete primefaces tags

I am using Eclipse to work with PrimeFaces like this: <ui:composition xmlns="http://www.w3.org/1999/xhtml" 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:p="http://primefaces.prime.com.tr/ui" template="/template/ui.xhtml"> I saw Bozho question and a...

focus to the next input in datatable with jquery

hi guys, I would like to make a focus to the next input in a table with jquery. I have this table in jsf. <p:dataTable id="resu" value="#{onController.items}" var="item" > <p:column id="colIn" > <h:inputText id="i" value="#{item.cup}" /> <p:column> <p:dataTable> was tested with this: function nexts(input) { $(in...

When method marked with @PostConstruct called?

At which phase of the JSF request processing lifecycle, the backing bean method marked with @PostConstruct called? ...

How to handle data from one model panel to another in JSF richfaces ?

scenario: i have a model anel opened in whci i have a commandlink which opens another model to search for data adn the data is poplated in a datatable with a link in one of the column. On click of the link i need to fetch the row data an populate the value inside the parent model panel . Problem: i am not able t...

A4j buttons don't fire

I used richfaces in a JSF project. Now I'm trying the same with Seam. But I always get the same JavaScript error: Message: Object required Line: 2791 Code: 0 URI: http://localhost:8080/myapp/a4j/g/3_3_1.GA/org/ajax4jsf/framework.pack.js The s:button tag works <s:button id="eMail0" value="sButton" action="#{Mailer.sendMail}" /> Bo...