Hi,

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-formval:is-error>
                <xsp-atttribute name="name">paraname</xsp-attribute>
        </xsp-formval:is-error>

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

Many thanks in advance.

Jack

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


Hi,

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> Only
logins with at least
                     <xsp-formval:get-attribute parameter="login"
name="min-len"/>
                     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?

Regards
Jonny

_________________________________________________________________
NEU: Polyphone Klingelt�ne und farbige Logos f�r Ihr Handy!
http://polyphonetoene.handy.msn.de Jetzt Handy aufpeppen!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to