List Info

Thread: org.apache.lenya.cms.publication.file.FilePublication Constructor




org.apache.lenya.cms.publication.file.F ilePublication Constructor
country flaguser name
United States
2007-07-23 09:25:58
Hi, in merit of FilePublication constructor method:

FilePublication(java.lang.String id, java.lang.String
servletContextPath)

what is intended in the second argument with "String
serveletContextPath"?

the result of getServletContext().getRealPath() of
javax.servlet.ServletContext class or what?


-- 
View this message in context: http://www.nabble.com/-Lenya-1.2--org.apache.len
ya.cms.publication.file.FilePublication-Constructor-tf412992
7.html#a11744476
Sent from the Lenya - Dev mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: org.apache.lenya.cms.publication.file.Fi lePublication Constructor
country flaguser name
United States
2007-07-23 10:24:11


Andreas Hartmann wrote:
> 
> 
> Yes, it is the file system path to the web application
context,
> as returned by
ServletContext.getRealPath("").
> 
> 

thanks Andreas, i've just tried and it works.
finally i've solved all the problems inerithed the metadata
extraction from
a just published document (if you remember my other thread)
and all works
good.
-- 
View this message in context: http://www.nabble.com/-Lenya-1.2--org.apache.len
ya.cms.publication.file.FilePublication-Constructor-tf412992
7.html#a11746732
Sent from the Lenya - Dev mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: org.apache.lenya.cms.publication.file.Fi lePublication Constructor
country flaguser name
United States
2007-07-25 06:18:05


Andreas Hartmann wrote:
> 
> 
> that sounds great - thanks for the good news 
> 
> 

you hate me, i know ^_^

only last "curiosity":

in lenya 1.2.5, by default, only this metadata are filled
manually/automatically: 

dc:title
dc:creator
dc:subject
dc:description
dc:publisher
dc:date
dc:language
dc:rights
dc:issued
dc:modified

and this one remain empty:

dc:contributor
dc:type
dc:format
dc:identifier
dc:source 
dc:relation
dc:coverage

or maybe they are filled in special case/complex document
(i've made only
very simple page to work and manage them in my source) ?

thanks and bye.
-- 
View this message in context: http://www.nabble.com/-Lenya-1.2--org.apache.len
ya.cms.publication.file.FilePublication-Constructor-tf412992
7.html#a11780543
Sent from the Lenya - Dev mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )