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:

Yes, in this particular case that would help Ben.
But what happened with getHandleWithDefaultExtension() from Content ?
now this doesn't work anymore {actpage.handleWithDefaultExtension}
is it removed? if yes, any particular reason?

Thanks
Stojan

Boris Kraft wrote:
Maybe have a look at
info.magnolia.module.dms.beans.Document.getLink()?

Cheers
Boris



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


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

Reply via email to