ajaxAnywhere.getZonesToReload = function() {
return "CountryZone";
}could this be my problem (i need to try)? Any ajaxanywhere expert can answer this? (i think, not writing any ajaxananywhere related code in the backing beans is better)
regards
On 5/17/06, Michael Ageeb <[EMAIL PROTECTED]> wrote:
<h:outputLabel value="Select Territory: " for=""> <h:selectOneMenu id="Territory" value="#{CustomerBranchSelection.territory}"();"
valueChangeListener="#{CustomerBranchSelection.territoryValueChangeListener}">
<f:selectItems value="#{CustomerBranchSelection.territories}"/>
</h:selectOneMenu>
<h:outputLabel value="Select Country: " for=""> <aa:zoneJSF id="CountryZone">
<h:selectOneMenu id="Country" value="#{ CustomerBranchSelection.country}" > valueChangeListener="#{CustomerBranchSelection.countryValueChangeListener}">
<f:selectItems value="#{ CustomerBranchSelection.countries}"/>
</h:selectOneMenu>
</aa:zoneJSF>public void territoryValueChangeListener(ValueChangeEvent event){
if(event.getNewValue () == null) return;
String currentValue = (String) event.getNewValue();
this.territory = currentValue;
this.selectedTerritory = currentValue;
if (AAUtils.isAjaxRequest (getRequest())) {
AAUtils.addZonesToRefresh(getRequest(), "CountryZone");
}
}On 5/17/06, Murat Hazer <[EMAIL PROTECTED]> wrote:ok then, could you send the scripts in the jsf pages and the zone definitions?On 5/17/06, Michael Ageeb <[EMAIL PROTECTED] > wrote:no i did change nothing and this is my first time to use AAOn 5/17/06, Murat Hazer < [EMAIL PROTECTED]> wrote:I have same configuration but i have problems, it's weird. Everthing was working fine before migrating myfaces and tomahawk. Did you do something in aa.js or scripts in the jsf pages that define zones?On 5/17/06, Michael Ageeb <[EMAIL PROTECTED]> wrote:MyFaces core 1.1.3
Tomahawk 1.1.2
Sandbox 1.1.3-snabshot
AA 1.2-RC1On 5/17/06, Murat Hazer < [EMAIL PROTECTED] > wrote:On 5/17/06, Michael Ageeb <[EMAIL PROTECTED]> wrote:Hello,
I'm trying to use the AjaxAnyWhere with inputSuggestAjax i've used AA alone with no problems.
I am having problem with AA alone, could you tell me the versions of the myfaces, tomahawk and AA?What i want to do is when the user choose a value from the inputSuggestAjax i want the value to be sent to the server as AA request I've tried to do it using the following code.
<s:inputSuggestAjax id="Territory" suggestedItemsMethod="#{CustomerBranchSelection.getTerritoriesSuggest}"
value="#{CustomerBranchSelection.territory }" valueChangeListener="#{CustomerBranchSelection.territoryValueChangeListener}"/>
<h:outputLabel value="Select Country: " for=""
<aa:zoneJSF id="CountryZone">
<h:selectOneMenu id="Country" value="#{CustomerBranchSelection.country}" ();"
valueChangeListener="#{CustomerBranchSelection.countryValueChangeListener}">
<f:selectItems value="#{CustomerBranchSelection.countries }"/>
</h:selectOneMenu>
</aa:zoneJSF>
But the #{CustomerBranchSelection.territoryValueChangeListener} is never called
--
http://mageeb.net
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
regards....
--
Murat HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
--
http://mageeb.net
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
--
Murat HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
--
http://mageeb.net
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
--
Murat HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
--
http://mageeb.net
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
--
Murat HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/

