| [top] |
| [top] |
<message-resources></message-resources>
| [top] |
<ria-config>
<drawers>
<drawer>
<set-property></set-property>
<set-property></set-property>
</drawer>
</drawers>
</ria-config>
<div>
${title}
</div>
<div id="${id}" #if(${contentStyle})style="${contentStyle}"#end #if(${contentStyleClass})class="${contentStyleClass}"#end>
<script>
SweetDevRia.$('${accordionId}').addItem( new SweetDevRia.AccordionItem('${id}', '${title}') );
</script>
Focus on the alert('open item'); added in the middle of the first line of the template copied. This adds a simple default behavior to this component.
| [top] |
<servlet>
<servlet-name>SweetDevRiaResourcesProvider</servlet-name>
<servlet-class>com.ideo.sweetdevria.servlet.SweetDevRiaResourcesProvider</servlet-class>
<init-param>
<param-name>resourcesPath</param-name>
<param-value>%RESOURCES_PATH_FOLDER%</param-value>
</init-param>
</servlet>
Your webapp resources folder will always be looked up before trying to get resources into the jar.
| [top] |
SweetDevRia.log = new SweetDevRiaLog(Log.NONE, Log.alertLogger);
SweetDevRia.errorLog = new SweetDevRiaLog(Log.NONE, Log.alertLogger);
And change first parameter to desired level log : Log.DEBUG, Log.INFO, Log.ERROR, Log.FATAL, Log.WARN or Log.NONE.
| [top] |
<ria-config>
<property></property>
</ria-config>
The local will now be retrieved the way you want it to.
| [top] |