Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does CI-Link allow to provide Web pages with a generic behavior by the way of inheritance ?

0
Posted

Does CI-Link allow to provide Web pages with a generic behavior by the way of inheritance ?

0

Yes. Dynamic pages, or even pages defined by the Dynamite technology, are classes deriving from the ServerPage class. It is possible to select the class from which the Web page being defined will derive. You just need to indicate the name of a class deriving from ServerPage for the Web page to inherit the specificities of that class. Typically, it is possible to create a class possessing a certain number of methods specific to it or over-defining the sendNext(), sendPrev(), sendNextPrev() or sendNoNext() methods used by the automatic construction of the multi-pages list. It is also possible to use this functionality to design a class that will catch exceptions and request a precise description of the program’s environment before sending this description by e-mail to the program’s developer. The WarnServerPage class provided in the system directory implements a sophisticated handling of exceptions.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123