Yes, thanks  this is OK  with nodeDatas
Content is used in many context for sure, then isn't it good to have Page class extending the Content.

Stojan

Sameer Charles wrote:
now this doesn't work anymore {actpage.handleWithDefaultExtension}
is it removed? if yes, any particular reason?

It has been removed because it does not belong to Content class, Content is used in many context other than website.

You have 2 options:
1. get nodeData.getHandle()+"/anyname.extension" (magnolia is only interested in nodeData name, you can add any name after that)
OR
2. get nodeData.getHandle()
    +nodeData.getAttribute(FileProperties.PROPERTY_FILENAME)
    +"."
    +nodeData.getAttribute(FileProperties.PROPERTY_EXTENSION);

NodeData class can hold string and date type attributes, if you upload files using default file control then name, extension and mime type is added to the nodeData object.

Regards,
- Sameer



On Jun 29, 2006, at 6:18 PM, goodusername wrote:



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to