cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian Dai" <>
Subject xsp-formval question
Date Mon, 27 Oct 2003 21:56:19 GMT

Is there anybody know if we can dynamic assign the value for the name
in <xsp-formval> tag? Here is an example:

we have a xsp-formval tag like <xsp-formval:is-error name="paraname" />,
can we set the value of paraname dynamic during runtime? I have tried to
do something like following:
		<xsp-atttribute name="name">paraname</xsp-attribute>

But it did not work. the name's value could not be setted here.

Many thanks in advance.


-----Original Message-----
From: Johannes Becker []
Sent: Monday, October 27, 2003 1:16 AM
Subject: XSP-vormvalidation question!


I have a problem. When  I try to validate a form the
<xsp-formval:get-attribute tag doesn't write anything in my docuement:

Here the code:
if (userHasSeenForm) {
               <xsp-formval:on-null>									....
										</xsp-formval:on-null>								<xsp-formval:on-error>
	</xsp-formval:on-error>							<xsp-formval:on-toosmall>							     <b>
logins with at least
                     <xsp-formval:get-attribute parameter="login"
                     characters are accepted.
                 </b>									</xsp-formval:on-toosmall>

The output is always:
Only logins with at least characters are accepted.

No min-len is added.

What am I doing wrong?


NEU: Polyphone Klingeltöne und farbige Logos für Ihr Handy! Jetzt Handy aufpeppen!

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message