Lukket

need info about ajax in java JSF2

see attached file when drop down is change from 1 to 5

<div class="row">

<h:outputLabel value="Kategorie:" />

<h:selectOneMenu id="categoryDrop" value="#{[url removed, login to view]}">

<f:selectItems value="#{[url removed, login to view]}" var="c" itemLabel="#{[url removed, login to view]}" itemValue="#{[url removed, login to view]}" />

<f:ajax execute="@this" immediate="true" render="outside" />

</h:selectOneMenu>

</div>

i add adittional texfields

<h:panelGroup rendered="#{[url removed, login to view] eq 5}">

<div class="row">

<h:outputLabel value="Gesamtbelastung:" />

<h:inputText id="gesamtbelastung" value="#{[url removed, login to view]}">

<f:validateRegex pattern="(|[0-9]*(\,\d{0,2})?$)" />

</h:inputText>

<h:message styleClass="validationLabel" id="errorgesamtbelastung" for="gesamtbelastung"/>

&nbsp; nur Zahl

</div>

<div class="row">

<h:outputLabel value="Nettomiete:" />

<h:inputText id="nettomiete" value="#{[url removed, login to view]}">

<f:validateRegex pattern="(|[0-9]*(\,\d{0,2})?$)" />

</h:inputText>

<h:message styleClass="validationLabel" id="errornettomiete" for="nettomiete"/>

&nbsp; nur Zahl

</div>

<div class="row">

<h:outputLabel value="Bruttomiete:" />

<h:inputText id="bruttomiete" value="#{[url removed, login to view]}">

<f:validateRegex pattern="(|[0-9]*(\,\d{0,2})?$)" />

</h:inputText>

<h:message styleClass="validationLabel" id="errorgesbruttomiete" for="bruttomiete"/>

&nbsp; nur Zahl

</div>

</h:panelGroup>

but their values is set to "null" which should not be becuase of later validation.

very strange is that their getters in Bean are not called when drop down ist selected from 1 to 5

i need to set them to ""

gesamtbelastung = "";

Færdigheder: Java

Se mere: d rendered, validation ajax, need info, need null, ajax drop, java pattern, java ajax drop, ajax java change, div drop, ajax validation, div ajax, drop div, ajax categories, java ajax timed reload, java ajax encoding, drop ajax, need web designer outside, ajax message, comment system java ajax, row java, java bean, java ajax textbox connect, ajax java, java ajax, jquery java ajax prototypejs

Om arbejdsgiveren:
( 219 bedømmelser ) Steyr Gleink, Austria

Projekt-ID: #5999333

3 freelancere byder i gennemsnit $25 for dette job

dhena123

A proposal has not yet been provided

$25 USD på 1 dag
(1 bedømmelse)
1.0
pratyatech

Hi, I can complete your task with 100% accuracey and in time limit also I have a more than 2 years experience in this type of work so if you interested please inform me looking for hearing from you thanks and Mere

$20 USD på 1 dag
(0 bedømmelser)
0.0
sandanilprashan

Hi, Over last 4 years I was working on Mobile , Web and Desktop application development using Java and related techs : Android, JSP, Servlets, HTML, CSS, JavaScript, PHP, Spring MVC, Struts 2, JSF, Hibernate, JPA, MyS Mere

$35 USD på 1 dag
(0 bedømmelser)
0.0
siliconu

Hello, I am a full-time j2ee developer with 1 year of experience who recently had this exact same problem a few months ago and can help you really fast with resolving, explaining the problem and also add some cool A Mere

$20 USD på 1 dag
(0 bedømmelser)
0.0