mmm .. well I tried that and it worked, so now I'm wondering if I'm a
complete idiot or whether there was some other reason this caused problems since it
was a while ago we experimented with this. Maybe it was the fact that
creating multiple callbacks for validation was difficult... mmm
On Wed, 12 Feb 2003, Robin Berjon wrote:
> Tom Howe wrote:
> > Putting the name as a child tag doesnt work..
> >
> > <f:form>
> >
> > <xsp:logic>
> > <![CDATA[
> > for my $i (0..99) {
> > $i = "0.$i" if length($i) < 2;
> > my $name = "text_$i";
> > ]]>
> > </xsp:logic>
> >
> > <f:textfield width="30">
> > <name><xsp:expr>$name</xsp:expr></name>
> > </f:textfield>
> >
> > <xsp:logic>
> > }
> > </xsp:logic>
>
> Have you tried
>
> <f:textfield width="30">
> <f:name><xsp:expr>$name</xsp:expr></f:name>
> </f:textfield>
>
> instead? It would seem unlikely that your name element will be picked up by
> PerForm if it doesn't have the right namespace.
>
> > Using the xsp:attribute field doesnt seem to do it either.
> >
> > <f:textfield width="30">
> > <xsp:attribute
> > value="name"><xsp:expr>$name</xsp:expr></xsp:attribute>
> > </f:textfield>
>
> No, that would require two-pass XSP.
>
> --
> Robin Berjon <[EMAIL PROTECTED]>
> Research Engineer, Expway http://expway.fr/
> 7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488
>
>
> ---------------------------------------------------------------------
> 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]