Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > Using Ajax in existing JSF application

Reply
Thread Tools

Using Ajax in existing JSF application

 
 
Jyotsnac Jyotsnac is offline
Junior Member
Join Date: Feb 2009
Posts: 1
 
      02-17-2009
Hello Friends,

This is my jsp code in which i've added Ajax code. I am not able to call method from controllerBean. How i can do that. plz do some needful.



<hutputLabel for="providerSearch"
value="#{tpenrmsg['label-tpappmnt-search-searchBy']}" />
<m:br />
<h:selectOneMenu id="providerSearch"
value="#{tradingPartnerDataBean.searchCriteriaVO.p rimarySearchType}">
<f:selectItems
value="#{tradingPartnerDataBean.providerSearchList }"/>
</h:selectOneMenu>
<hx:behavior event="onchange" target="providerSearch"
behaviorAction="get" targetAction="group1"></hx:behavior>
<m:br />
<h:message for="providerSearch" styleClass="errorMessage" />
</m:div>
<hanelGroup id="group1" styleClass="panelGroup">
<m:div rendered="#{tradingPartnerDataBean.nameFilterSecti on}">
<h:selectOneRadio id="forLastName"
value="#{tradingPartnerDataBean.searchCriteriaVO.n ameFilter}">
<f:selectItem itemValue="Starts with"
itemLabel="#{tpenrmsg['label-tpappmnt-search-startsWith']}" />
<f:selectItem itemValue="Contains"
itemLabel="#{tpenrmsg['label-tpappmnt-search-contains']}" />
</h:selectOneRadio>
</m:div>
</hanelGroup>
<hx:ajaxRefreshRequest id="ajaxRefreshRequest1" target="group1" params="providerSearch">
</hx:ajaxRefreshRequest>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Existing Dll - using Functions from an existing dll Tristin.Colby@gmail.com Ruby 0 02-05-2008 07:38 PM
Using ajax in Existing ASP.net Application Mukesh ASP .Net 5 06-12-2007 06:52 AM
Include JSF page within another JSF page BlackIce Java 1 07-05-2006 11:24 PM
JSF debugging / JSF newsgroup Sebastian Fey Java 1 04-07-2006 08:52 PM
[JSF]Need to deploy a jsf application on SunApplicationServer. dudu Java 0 03-03-2006 12:09 PM



Advertisments