myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Mitev" <amit...@gmail.com>
Subject Re: HtmlRendererUtils: There should always be a submitted value for an input if it is rendered
Date Tue, 12 Sep 2006 19:49:56 GMT
No, i don't have! Here is the code:

<table border="0" cellspacing="5">
				<tr>
					<td align="right"><h:outputLabel value="Потребителско име: "
						for="userName2" /></td>
					<td><t:inputText id="userName2" value="#{user.userName}"
						required="true" displayValueOnly="#{registration.inPreview}">
						<ac:validateRegEx expression="\w{1,16}"
							message="Позволени са до 16 букви/цифри" />
					</t:inputText></td>
					<td><h:message errorClass="errorMessage" for="userName2" /></td>
				</tr>
				<h:panelGroup rendered="#{!registration.inPreview}">
					<tr>
						<td align="right"><h:outputLabel value="Парола: " for="pass" /></td>
						<td><h:inputSecret redisplay="true" id="pass"
							value="#{user.password}" required="true">
							<ac:validateRegEx expression="\w{1,16}"
								message="Позволени са до 16 букви/цифри" />
						</h:inputSecret></td>
						<td><h:message errorClass="errorMessage" for="pass" /></td>
					</tr>
					<tr>
						<td align="right"><h:outputLabel value="Повтори парола: "
							for="passwordRepeat" /></td>
						<td><h:inputSecret redisplay="true" id="passwordRepeat"
							value="#{requestScope.passRepeat}" required="true" /></td>
						<td><h:message errorClass="errorMessage" for="passwordRepeat" /></td>
					</tr>
				</h:panelGroup>
<tr>
					<td align="right"><h:outputLabel value="Име: " for="firstName" /></td>
					<td><t:inputText id="firstName" value="#{user.firstName}"
						displayValueOnly="#{registration.inPreview}" required="true">
						<ac:validateRegEx type="textFieldCyrilic" />
					</t:inputText></td>
					<td><h:message errorClass="errorMessage" for="firstName" /></td>
				</tr>
</table>

It give this warn for userName and password

On 9/12/06, Andrew Robinson <andrew.rw.robinson@gmail.com> wrote:
> Do you have JavaScript that altered the HTML control?
>
> On 9/12/06, Adrian Mitev <amittev@gmail.com> wrote:
> > Hi all! I have form with several input fields. When i submit the form
> > i get this message for the first two input components:
> >
> > WARN  [HtmlRendererUtils]:86 - There should always be a submitted
> > value for an input if it is rendered, its form is submitted, and it is
> > not disabled or read-only.
> >
> > What is the problem here?
> > --
> > Seeing is believing
> >
>


-- 
Seeing is believing
Mime
View raw message