[opencms-dev] R: News module (for ver. 5.0) by Frittoli - Questions regarding

Andrea Frittoli lorblond at inwind.it
Thu Jun 12 19:31:01 CEST 2003


Hi, Paul (and list)

about the news module, I produced a version for OpenCMS starting from
the one for OpenCMS 4.6. I followed these steps:
- get the News Module for OpenCMS 4.6
- install OpenCMS v5rc2
- create a new module
- check all the old module XML file for the encoding
- check all the old module XML for changed links in the VFS, non
existents templates and so on
- update java file with a new package name
- try to compile java files against the new OpenCMS jar (v5rc2)
- resolve complile errors
- update each by each all files in the new module I created
- put the compiled java files (.class) under the WEB-INF dir of the
deployed OpenCMS web-app
- create two files workplace_en.properties workplace_it.properties for
the labels & so on and put it under the same WEB-INF directory

It seems to me that the module works quit fine, except for PDF dynamic
generation (it's annoying to find the rigth fop version, within every
new release some methods disapper, other changes signature, uff...).
It's not clear for me how to manage localization files :(

Open issue for me: Is it possible to build backoffice templates with
JSP?

I attach the module and the locale file
hopes it helps

andrea frittoli

p.s.
sorry for my not-so-good english!

> >sorry, I'll be out of office till Wednesday.
> >When I come back, I'll sent to the list source code and compiled 
> >module!
> >
> >best regards
> >andrea
> 
> Andrea,
> 
>          I thank you for your offer to send the source code again. I 
> appreciate your generosity. However, I do not need the source 
> code -- I 
> need to know its derivation and the like. Is your code 
> derived from that 
> written by another person, such as Antonio Reyes? Or did you 
> derive it from 
> the source code for the news module for OpenCMS 4.6? Do you 
> have any tips 
> on how to compile, install, and use your source code? For 
> example, does it 
> require the use of XML templates, or does it permit the use of JSP 
> templates? Part of your code (in the file named 
> "NewsTemplate.java") seems 
> to inherit from the OpenCMS class named "CmsXmlTemplate", 
> which implies 
> that it uses XML templates. Second, how does your code 
> implement and use 
> channels?
> 
>          Thanks in advance.
> 
> Sincerely,
> Paul Bain
> 
> 
> > > Andrea,
> > >
> > >          On 29 May 2003, you posted this message to the OpenCMS 
> > > mailing list:
> > >
> > > ----------- <BeginningOfMessage> --------------------
> > >
> > > Hi,
> > >
> > > these src are from the news module v4, except for the 
> package name 
> > > and little more
> > > they compile against opencms.jar v5
> > >
> > > hope it helps
> > >
> > >--------------- <snip> -------------------------------
> > >
> > > --------- </EndOfMessage> ------------------------
> > >
> > >
> > >          How does your source code (for the news module) 
> relate to 
> > > the news module by Antonio Reyes? Antonio sent compiled 
> code (for a
> > > news module) to
> > > the list on 15 May 2003. Is your code _unrelated_ to the
> > > module by Reyes?
> > > Did you simply re-write the source code from the news module
> > > for version
> > > 4.6? Could you furnish us with instructions on how to compile
> > > and install
> > > your code?
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workplace_it.properties
Type: application/octet-stream
Size: 4601 bytes
Desc: not available
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20030612/7d3a5418/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workplace_en.properties
Type: application/octet-stream
Size: 4373 bytes
Desc: not available
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20030612/7d3a5418/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: org.opencms.news_1.0.zip
Type: application/x-zip-compressed
Size: 51415 bytes
Desc: not available
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20030612/7d3a5418/attachment.bin>


More information about the opencms-dev mailing list