Am 18.04.2011 20:53, schrieb Tomas Mihok:
Hello,

I created a web application with module as reausable component in it. Here
is how it looks like (very simple):

Index.html - 2 links (they are in<ul>  list) and module added through<div>
Index.Java extends HomePage with three add statements (2 x
BookmarkablePageLink and one ModuleOne())
OtherPage.html - 2 links (they are in<ul>  list) and module added through
<div>
OtherPage.java - extends HomePage with three add statements (2 x
BookmarkablePageLink and one ModuleTwo())

When I run the application both modules show up and links don't work.. Can
both pages extend HomePage? Thank you for your comments.

This is a strange description. Could you please provide the code here. Otherwise it is hard to understand where your problem is.

Generaly every class can extend another non-final class.

Cheers
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to