[pmwiki-users] deleting ptv's in ZAP

Jiri Hladůvka / OBUTEX admin at obutex.com
Tue Mar 13 03:32:10 CDT 2007


This is what the user would expect. "save" should save what intended 
leaving the rest of the page
untouched -  so  not listed PTVs including.
To destroy-delete PTVs should be explicitly said by "delete"  or "erase" 
. Then the "ZAP update" is not necessary any more.

Regards,
Jiri



The Editor napsal(a):
> I've been exploring reworking ZAP's engine for PTV's and have it
> seemingly working about as easily as I expected.  Had a rather
> confusing bug at first, but that seems to have been cleared after a
> PmWiki upgrade.  I'm really excited about the possibilities.
>
> One thing that confronts me is how to erase PTV's... Currently when you do:
>
> (:input hidden save "field1,field2,field3":)
>
> those three fields are saved and all other existing fields are
> automatically erased.
>
> The new approach simply writes over fields 1, 2, and 3, and leaves all
> other fields standing.  Maybe that's better.  And it is easy enough to
> set a value to null.  But I think I'm probably going to want to add
> something like:
>
> (:input hidden delete "field1,field2,field3":)
>
> This will simply delete all traces of those fields...  Any thoughts?
>
> Cheers,
> Dan
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
> __________ Informace od NOD32 2110 (20070312) __________
>
> Tato zprava byla proverena antivirovym systemem NOD32.
> http://www.nod32.cz
>
>
>
>   

-- 
OBUTEX s.r.o
Ing.Jiří Hladůvka
Zlatovská 22
911 01 Trenčín

tel.: +421 (0)32 6587000
mailto:admin at obutex.com

http://www.obutex.com





More information about the pmwiki-users mailing list