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
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs