Skip to main content
1-Visitor
June 2, 2014
Solved

MVC components

  • June 2, 2014
  • 1 reply
  • 1937 views

Hi!

I create the jsp page with two MVC components:

<jsp:include page="${mvc:getComponentURL('mytable1')}"/>

<jsp:include page="${mvc:getComponentURL('mytable2')}"/>

And I have two questions:

1) How can I set size to the component?

2) How can I refresh the second component on refreshing the first?

Best answer by AntonBagryanov

I have solved this by using "renderTwoPanes" jca tag:

<jca:renderTwoPanes orientation="horizontal"

headerPane="/netmarkets/jsp/some.jsp"

headerPaneHeight="30"

leftPane="/netmarkets/jsp/some2.jsp"

leftPaneSize="30"

rightPane="/netmarkets/jsp/some3.jsp"

rightPaneSize="70"

/>

1 reply

AntonBagryanov1-VisitorAuthorAnswer
1-Visitor
June 3, 2014

I have solved this by using "renderTwoPanes" jca tag:

<jca:renderTwoPanes orientation="horizontal"

headerPane="/netmarkets/jsp/some.jsp"

headerPaneHeight="30"

leftPane="/netmarkets/jsp/some2.jsp"

leftPaneSize="30"

rightPane="/netmarkets/jsp/some3.jsp"

rightPaneSize="70"

/>