Skip to Content
author's profile photo
Former Member

checkbox problem in EP5SP5 (unable to find method: key)

Hello,

I experience a checkbox problem on EP5SP5. Here is the error:

Caused by: com.sapportals.portal.prt.servlets_jsp.server.jsp.ParseException: Unable to Find Method : key at com.sapportals.portal.prt.servlets_jsp.server.jsp.TagBeginGenerator.generateSetters(TagBeginGenerator.java:224)

at com.sapportals.portal.prt.servlets_jsp.server.jsp.TagBeginGenerator.generateServiceMethodStatements(TagBeginGenerator.java:267)

If I delete the "key" in the checkbox tag I get an error with "Unable to Find Method : text"!

It works fine in the pdk environment. Any ideas?

Cheers, Jens

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Feb 06, 2004 at 12:56 PM

    I forgot to add the code...:

    Regards, Jens

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Feb 17, 2004 at 08:46 PM

    Hi Jens, there is a problem in EP5 with the taglib implmentation. Please have a look at the HTMLB documentation that explains a workaround. Here the important snipet fr checkbox:

    key

    Deprecated - use attribute 'id' instead.

    A string which is assigned to the checkbox when the form is sent to the server. A key string must be defined and must not be empty. In case you specify 'key' you have to use the same value as for 'id' otherwise you cannot access this control in a scriptlet.

    Bye Sigi

    Add comment
    10|10000 characters needed characters exceeded