[opencms-dev] Help Creating New Resource
Jason Schatz
jes at urbancode.com
Fri Aug 20 19:13:27 CEST 2004
Hey Olli,
I dont actually get a stack trace, otherwise this might be an easier bug
to fix. I'll go ahead and attach some source code.
The CmsResourceTypeAction is located in com.opencms.file and
CmsActionLauncher is placed in com.opencms.launcher, obviously.
I have figured out that the problem is from the createResource() method
of the CmsResourceTypeAction as far as I can tell. Let me know what you
think
Thanks again,
--Jason
Olli Aro wrote:
>Hi Jason,
>
>Some source code / stackTrace for your error would be useful to find out
>what is going on. So are you creating a single new resource or collection of
>them?
>
>Olli
>
>-----Original Message-----
>From: opencms-dev-bounces at opencms.org
>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jason Schatz
>Sent: 20 August 2004 17:02
>To: The OpenCms mailing list
>Subject: [opencms-dev] Help Creating New Resource
>
>I am just finishing a module for creating a new resource and I have one
>problem I can't seem to solve.
>I am trying to use explorer_files_new_othertype.html to create my
>module, since it seems to work fine for jsp types.
>However, I get the following error when I create one of my resources.
>
>Error in getContent for template class
>com.opencms.workplace.CmsNewResourceOthertype
>
>The resource installs fine, it works correctly, it just doesnt forward
>back to the destination it was created when it is finished. Any
>thoughts would be greatly appreciated.
>
>I have also tried several different CmsResourceTypeAction classes, even
>simply extending CmsResourceTypePlain and not overwritting any methods.
>Let me know if you have any thoughts
>
>Thanks
>--Jason
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.737 / Virus Database: 491 - Release Date: 11/08/2004
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.737 / Virus Database: 491 - Release Date: 11/08/2004
>
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmsActionLauncher.java
Type: text/x-java
Size: 3153 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040820/3707881a/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmsResourceTypeAction.java
Type: text/x-java
Size: 1276 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040820/3707881a/attachment-0001.java>
More information about the opencms-dev
mailing list