AW: [opencms-dev] Ver6: Article Management Module is out!!!

Ulrich Rueth lists at rueth.info
Sun Feb 6 20:15:45 CET 2005


Hi Jose,

that's up to you, but I personally would update the JDK. As I mentioned in
the documentation, I recommend Java 1.5. As I haven't tested it with 1.4, I
didn't get this error. I will update the FAQ.

Anyway, good to hear that the installation worked fine apart from this.

Regards
Ulrich

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Jose Felix
Hernandez
Gesendet: Sonntag, 6. Februar 2005 17:58
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Ver6: Article Management Module is out!!!


Thanks Robert,

Do you think it is worthy to update my jdk?

José F. Hernández

----- Original Message -----
From: "Robert Petermeier" <robert2.0 at gmx.de>
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Sent: Sunday, February 06, 2005 4:04 PM
Subject: Re: [opencms-dev] Ver6: Article Management Module is out!!!


> Jose Felix Hernandez schrieb:
>
>> I am getting a jsp compilation error for the navigation.jsp in the line
>>
>> boolean openInNewWindow =
>> Boolean.parseBoolean(cms.getCmsObject().readPropertyObject(resourceName,
>> "link_blank", false).getValue());
>>
>> This is the compilation error.
>> Boolean.parseBoolean(cms.getCmsObject().readPropertyObject(resourceName,
>> "link_blank", false).getValue());
>>                                                 ^
>> 1 error
>>
>> The class java.lang.Boolean haven´t got such a method (parseBoolean).
>
> It has, but only in JDK 1.5, which Ulrich apparently uses. Replace his
> line with these lines to make it work with older JDKs:
>
> String s =
>     cms.getCmsObject().readPropertyObject(
>     resourceName, "link_blank", false).getValue();
> boolean openInNewWindow = (s != null && s.equalsIgnoreCase("true"));
>
>
> Regards,
> Robert
>
>
> _______________________________________________
> 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