On Wednesday, 12. February 2003 14:11, Tom Howe wrote:
> 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
XSP had many namespace handling changes since the 1.5 times. If your last
experiments were at that time, it was likely these changes.
>
> 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]
--
CU
Joerg
PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]