Hello Community,

Is there a way to call a java service written at
pluginname/src/main/java/apache/services/ Submitform.java  in
pluginname/widget/screens.xml

I actually have my Java service written in  Submitform.java  which is
getting called through the <request-map> in the controller.xml
<request-map uri="ProductionViewFtl">
     <security https="true" auth="true"/>
     <event type="java" path="com.apache.xerus.services.Submitform"
  invoke="productionNeedsPage"/>
     <response name="success" type="view" value="ProductionViewFtl"/>
 </request-map>
 <view-map name="ProductionViewFtl" type="screen"
page="component://xerus/widget/XerusScreens.xml#ProductionViewFtl"/>

so when I hit  https://localhost:8443/xerus/control/ProductionViewFtl
, productionNeedsPage
service will be invoked

I want to achieve the same through Screens.xml which is in
pluginname/widget/screens.xml.

calling the java event productionNeedsPage and the view will be
ProductionViewFtl

how can I achieve this? can anyone please let me know how can I do it so?

Thanks,
Maheshwari.

Reply via email to