Jump to content

custom data source applicationContext docs?


joshhighley

Recommended Posts

Is there documentation for the applicationContext file used for custom data sources besides the JasperServer Pro Admin Guide?  Specifically, I wanted to display a text area instead of a text input for one of the properties of my custom data source.  I looked through the jsp source code (WEB-INF/jsp/reportDataSourceFlow/customPropsForm.jsp) and found that if properties textWidth and textHeight were defined, then it would display a text area.  The admin guide has a little documention about the applicationContext file and defining the properties for a custom data source, but it has no mention of textWidth or textHeight.  Are these properties, and any others, documented (or at least listed) anywhere?

<bean id="myDataSource" class="com.jaspersoft.jasperserver.api.engine.jasperreports.util.CustomDataSourceDefinition">     ....etc.....
      <property name="propertyDefinitions">
         <list>
               <map>
                  <entry key="name" value="lotsOfData"/>
                  <entry key="textWidth" value="40"/>
                  <entry key="textHeight" value="20"/>

               </map>
         </list>
      </property>

.....etc......

</bean>
 

Thanks,

Josh

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...