Hi all,

I just want to discuss some changes to support web fragments. So if you
dynamically place in some jars into the lib folder the web application
would show some features provided by this modules.

In a link for example the approach would be look like this:

@Override

public void onClick(){setResponsePage(
"wicket.microservices.service1.MicroservicePage1");}

@Override

protected void
onConfigure(){setVisible(Application.get().isComponentAvailable(
"wicket.microservices.service1.MicroservicePage1"));}

So if the module (jar) is available the link would be shown and it would
set the response page to a page which is available in the module. If not
the link would be not visible.

For this I would add some methods:

Application.isComponentAvailable(String)

Component.setResponsePage(String)

Component.setResponsePage(String,PageParameters)

This is only an experiment and I would like to know if there are other
places (e.g. forms, etc.) where we could add some "generic" methods to
support web fragment behaviors like this.


WDYT?


kind regards

Tobias

Reply via email to