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 ... |
I want to implement mailto: link in jsf on selected option in selectOneMenu(dropdown list)
how can i implement this ?
|
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 ... |
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}"> ...
|
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}" />
</a4j:include>
My ... |
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> ...
|
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 ... |
|
|
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 ... |
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"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
...
|
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 ...
|
i have the following bean:
public class MyBean {
public ArrayList<ReportRow> getReportRows()
{
return reportRows;
}
private ...
|
|
|
|
16. Ajax4JSF coderanch.comHi 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) ... |
|
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" ... |
|
|
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. ... |
|
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: |
|
|