Shop Count As Value
Kaupan lukumääräarvojen syöttäminen myös numerona.
-
40 40 <h:commandButton action="#{productShopView.addMinusOne}" value="#{i18n['productshop.minusOne']}"> 41 41 <f:ajax render="@form" /> 42 42 </h:commandButton> 43 <h:outputText id="cartcount" escape="false" value=" #{cart.count} "> 43 <p:inputText size="2" id="cartcount" escape="false" value="#{cart.count}"> 44 <f:ajax render="@form" listener="#{productShopView.countChangeListener}" /> -
Owner
Miten toimii jos napeilla kasvattaa yli sadan?
Jos koskaan laajennetaan iisoihin laneihin niin tarttee tukea kolmea numeroa koska hara ja haramaiset otukset.
-
-
40 40 41 41 <br /> 42 42 <p:dataTable id="prods" value="#{productShopView.boughtItems}" var="prods"> 43 <p:column> 44 <f:facet name="header"> 45 <h:outputText value="#{i18n['shop.count']}" /> 46 </f:facet> 47 <p:inplace> 48 <h:outputText value="#{prods.count}" size="4"> 49 <f:convertNumber minFractionDigits="0" maxFractionDigits="2" /> 50 </h:outputText> 51 </p:inplace> 43 <p:column headerText="#{i18n['shop.count']}"> 44 <p:inputText value="#{prods.count}" size="2"> 45 <f:ajax render="@form" listener="#{productShopView.countBoughtChangeListener}" /> 46 <f:convertNumber minFractionDigits="0" maxFractionDigits="2" /> -
Owner
Ylempänä puhutaan integerdigitseistä (shop.xhtml), täällä murto-osasta, tarkoituksellista?
-
-
Status changed to closed
Toggle commit list
-
Please register or sign in to post a comment