[xwiki-devs] how to get Number of attachments in the page
hai how can i get Number of attachments in the page. Regards sekaraa
hai , sample is page can i use like $sample.getAttachmentList().size() Regards sekar On Mon, Aug 18, 2008 at 6:41 PM, Vincent Massol <[email protected]> wrote:
Hi,
On Aug 18, 2008, at 2:39 PM, raja raja wrote:
hai
how can i get Number of attachments in the page.
$doc.getAttachmentList().size()
-Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Aug 18, 2008, at 3:22 PM, raja raja wrote:
hai ,
sample is page can i use like $sample.getAttachmentList().size()
No. $xwiki.getDocument("pagename").getAttachmentList().size() -Vincent
Regards sekar
On Mon, Aug 18, 2008 at 6:41 PM, Vincent Massol <[email protected]> wrote:
Hi,
On Aug 18, 2008, at 2:39 PM, raja raja wrote:
hai
how can i get Number of attachments in the page.
$doc.getAttachmentList().size()
-Vincent
participants (2)
-
raja raja -
Vincent Massol