AW: [opencms-dev] Bean usage - Ahhhhhhhh - solved

Rene Hinojosa R_Hinojosa at Cityofsouthfield.com
Fri Jun 27 15:25:01 CEST 2003


Greetings,

Sorry for not specifically stating that in the readme I wrote. It was implied that you have to change the newsbean.properties file. In the readme I put that it contained the connection info. As you know, not everyone is using the same database with opencms.

I wrote those classes using java's db connection api not opencms. I plan on changing this in the near future(once I figure out how it works)

Rene

>>> mark.miller at hema.ch 06/27/03 08:58AM >>>
Although this was not the problem ....

What I didn't realise is that I had to change the NewsBean.properties
..... I'm sure I didn't see anything about this in the install thingy
... or was it there somewhere ???

Thanks anywayz..

All the best,

And have a good weekend,

mark


-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org 
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Mark Miller
Gesendet: 27 June 2003 14:38
An: opencms-dev at opencms.org 
Betreff: AW: [opencms-dev] Bean usage - Ahhhhhhhh

Silly silly me .....

I just realised ... the folder above is locked .... hmmmmmm

Please ignore last mails :oops:

Thanks,

mark

-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org 
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Joachim Arrasz
Gesendet: 27 June 2003 14:20
An: opencms-dev at opencms.org 
Betreff: Re: [opencms-dev] Bean usage

Hy,

have you published your classes too?

When not do this and then after that restart your Server.

Regards Achim

-- 
Questions about OpenCMS?
--> www.synyx.de/board 


> Mark Miller>
> Hi all,
>
> A quick question about the beans in newshack . I have installed news
> and newshack (ie. beans into their class folder) but when I try to use
> the news.jsp page I keep getting a
>
> Resource loader error in file '/system/modules/bla bla bla/news.jsp'
>
> The news.jsp has the
>
>
> <jsp:useBean id="newsBean" scope="page"
> class="com.opencms.modules.homepage.news.NewsBean" />
>
> and then first instantiates the object in the line
>
> newslist = newsBean.getList();
>
> which is where the error is occurring.
>
> So it would seem that the class is not available, although I have
> restarted tomcat ... any ideas ????
>
> All the best,
>
>
> Mark
>
>
> PS. For those who like to answer with 'please search the ..', I have
> tried searching the list using 'newsBean', 'Resource loader error' and
> 'news.jsp' .. But I didn't find anything . maybe I'm blind .. or deaf
.
> or something.



_______________________________________________
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 

_______________________________________________
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 

_______________________________________________
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




More information about the opencms-dev mailing list