ajax4jsf « Development « JSF Q&A

1. JSF 1.1 and Ajax4jsf not working properly on Websphere 6.1    stackoverflow.com

I am working with JSF 1.1, Ajax4JSF. What I find is, if I enable a4j:support for some of JSF's inputText items, it is not working as expected. I have something like ...

2. mailto: on selected option from selectOneMenu in JSF    stackoverflow.com

I want to implement mailto: link in jsf on selected option in selectOneMenu(dropdown list) how can i implement this ?

3. Ajax4jsf File Upload    stackoverflow.com

I want to upload a file with AJAX in a JSF application. The idea is that as soon as the user selects the file, it is uploaded, and a preview is ...

4. How to synchronize a4j:jsFunction and actionListener in Jsf    stackoverflow.com

I have following code for execution but it is giving some problem related ajax request. actionListener Call on Button Click

<a4j:commandButton value="Submit" alt="OligoWalk" styleClass="common_button" onclick="createNewLog();showProgressLayer();" oncomplete="parent.document.getElementById('resultFrm').src ='#{MyResearchView.resultToShow}';parent.reRenderLogSection();" actionListener="#{MyResearchView.executeTool}">     ...

5. JSF Dynamic view binding issues    stackoverflow.com

In a bean I have a list of objects. I need to present each object in separate form one below other (dynamic) I am using

<ui:repeat value="#{bean.list}" var="currentObject">
<a4j:include viewId="myView.xhtml">
<ui:param name="data" value="#{currentObject}" />
My ...

6. Problems with conditionals in JSF    stackoverflow.com

I have the code bellow:

<c:set var="show" value="#{cartBean.itemsAdded}" />

<c:if test="${show}">
    <h:form id="test1">
        <h:commandLink action="#{cartBean.foo}">this doesn't work</h:commandLink>       ...

7. a4j:support after h:inputText value change doesn't work    stackoverflow.com

can anyone figure out why the h:outputText doesn't get refreshed after inputText value change? I've tried both onkeyup and onchange and both don't affect.. When I do some other thing that makes the ...

8. reRender a panelGroup or region depending on what is selected on selectOneRadio    stackoverflow.com

It's basically this Question: JSF 2.0 How to display a diferent h:panelGroup each time an item is selected from a selectOneMenu But i'm using selectOneRadio and I don't have the f:ajax that ...

9. Internet Explorer very slow using lots of checkboxes with valueChangeListener/ajax    stackoverflow.com

I have a jsf site with a html table, which shows up to 300 rows and 50 columns. Except the table-header and the first column (someones name) all the cells contain ...

10. h:selectBooleanCheckbox valueChangeListener is not working    stackoverflow.com

I am facing trouble with the valueChangeListener of h:selectBooleanCheckbox. I have the following code block:

<ui:composition xmlns="http://www.w3.org/1999/xhtml"

11. JSF: How show 'waiting' message?    stackoverflow.com

i create a contact form, but now i want to show a wait message like 'sending message' for example. this is what i have done so far:

<h:form styleClass="contact">
    <h:inputText ...

12. How to maintain/save row values when generating a new row?    stackoverflow.com

i have the following bean:

public class MyBean {

public ArrayList<ReportRow> getReportRows()
        return reportRows;

    private ...

13. Creator 2 and Ajax4JSF    coderanch.com

14. ICEFace Vs. Ajax4JSF    coderanch.com

15. Ajax4jsf and trinidad question...    coderanch.com

16. Ajax4JSF    coderanch.com

Hi All, I am getting following error when I tried to run my Ajax4jsf application. can any one of you tell me the solution. 12:50:27,578 ERROR [Engine] StandardContext[/project]Exception starting filter ajax4jsf java.lang.NoClassDefFoundError: org/ajax4jsf/cache/LRUMapCache at org.ajax4jsf.cache.LRUMapCacheFactory.createCache(LRUMapCacheFactory.java:49)at org.ajax4jsf.framework.resource.InternetResourceService.init(InternetResourceService.java:106) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.init(BaseFilter.java:149) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3698) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4349) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ...

17. Doubt in ajax4jsf    coderanch.com

18. Ajax4JSF "View State couldn't be restored"error after some minute with no user action    coderanch.com

I use Ajax4Jsf 1.1.4 (,tiles and i small part of struts) in my JSF application. When there is no user activity on the page for some minutes (15?) and then the user click on the Command link the ajax action isnt done correctly because the Ajax4Jsf view root is lost. A combo with the error message "View State couldn't be restored" ...

19. Ajax4JSF saveViewState Warning    coderanch.com

20. ajax4jsf reRendering outputpanel issue    coderanch.com

21. Ajax4Jsf Filter interfering when contentType is set to 'application/pdf'    coderanch.com

Hello all, I have a requirement where i need to click a command link and a PDF file to be opened in a new window. The path of the PDF file is to be taken from a database. So in the backing bean, I get the path, set the contentType to 'application/pdf' and of course writing to a new byte steam. ...

23. ajax4jsf and h:inputText    coderanch.com

Dear All, I'm struggling with an issue with Ajax and JSF and i cannot figure it out... I've tried to find anything on various sites...but no idea on this behaviour. I would like to validate a user creation on the fly: if the user already exists, return an error. I cmanaged to have it working with this code:

24. using ajax4jsf with dropdawn list    coderanch.com

25. Using ajax4jsf in JSF1.2    coderanch.com