Backbase Java Technologies 4.x

Change skin dynamically

Hi all,
How can I change the skin dynamically?
In earlier versions of Backbase I have bound the bjsf:application's skin attribute to a property in my managed bean. When I changed the value in my bean and the whole page was reloaded the skin was changed.
Because the application component haven't got the skin attribute anymore, I don't know how to achieve this behavior.
Could you help me, please?
Thanks in advance
David

FieldConfig

Talking about datamodule-config.xml: the fields in a domain are represented by a HashMap with the attribute name as the key. And we know HashMap does not allow duplicate keys. So we cannot have 2 fields with the same name attribute.

datamodule-config , one or more argument accessor method

Hi,
Is there anyway we can specify arguments to the accessor method(get method) in datamodule-config.xml?

<domain>
 <type name="movie" class="bb.Movie">
   <field name="practice" node="@Practice" type="string"/>
 </type>
</domain>

Are there any way to invoke the method getPractice(type arg1, type arg2, type arg3, ....), instead of the no argument getter method get called.

Also, how do I read the datamodule-config file programatically.
I am looking to add field description in to the config file as well as read the fields.

setDragMode on UIBackbaseWindow and UIBackbaseModal

Hi all,

I was expecting to see the set/getDragMode(..) method on both UIBackbaseWindow and UIBackbaseModal. I tried using the attribute on the client edition and found that the following worked as I expected, so I expected to find a mirror method on the JSF flavour.

The following code is taken from the examples in the Backbase Explorer. I have simply added dragMode to the window and modal declaration.

Modal Version

<b:modal label="Warning" id="exampleModal" padding="10px" dragConstraint="/*" icon="icon-bb-window" dragMode="real">

Data Service

Hi,
A question on how the list grid gets refreshed after an update.
I am following the example code.
I add the updated Item's id to the list ( updatedIds.add(item.getId()); )
And then call respds.addAttribute("records", updatedIds) method.

The datamodule config entry is

 <attribute name="records" node="@records" type="longList"/>

The list not getting refreshed ( not showing the updated value). Of course the field values are updated, you can see that when you come back again to the same page.

Jay

Instalation and Eclipse Configuration

Hi all,

I wish to install and configure "backbase" in eclipse IDE.
But I have no idea about backbase.
Please help me ...!

Thanks,
Sivasubramanian V

How can I use the 'accesskey' attribute in the pager component?

I need use the accesskey attribute in the pager component, at least to set the focus in the first link of it. In our corporate applications almost all components in the layouts, can be focused with a shortcut.
I set the 'accesskey="y"' attribute, but it doesn´t run.

What I´m doing bad?

I need your help urgently.

Thanks in advice.

Data Services and Listgrid

Hi,
when i edit the fields in a list grid, I am getting only those values which are edited in the grid.
The unedited fields dont show their original value, but it gives empty string or -1(for int).
I am using data services to sync with server data using java bean model.

I am using the example code from data services

           List updatedIds = new ArrayList();

           Iterator itemIter = reqds.getRecords().iterator();
           while (itemIter.hasNext()) {
               Item item = (Item) itemIter.next();

Need to run the script while opening a pdf

Hi,

I am writing the pdf content to output stream:

res.setContentType("application/pdf");
res.setHeader("Content-disposition","inline; filename=XXX.pdf");
out.println(report.getContentString().toString());

Now along with this request I need to run javascript to log the details of a pdf in another server(It basically requests an image on logger server there by sending the details set by the javascript).

Can I do that in the same request.

Can I do the same for excel report also.

Does Backbase 4.2.1 support java framework Struts 2.0

Hi

I have new project, which uses JSP pages, Struts 2.0 and Spring 2.0 framework. My question is does Backbase 4.2.1 support Struts 2.0. So far I can only find documents, examples and tutorials on Stuts 1.+ with Backbase 4.2.1.

Please point me to right direction.

many thank