cancel
Showing results for 
Search instead for 
Did you mean: 

Enhancing Web-Client config possibilities

jayjayecl
Confirmed Champ
Confirmed Champ
Hi, has anyone made a significant enhancement into Alfresco's XML web-client-config ?
I ll try to illustrate what I'm asking with an example :
Let's talk about Workflow tasks forms (manage-task-dialog.jsp).
Let's say I would like to be able to implement an UI where multiple tabs are available on the page, and then choose via XML WebclientConfig the number of tabs, their names, which field to be displayed on the first tab etc …
A config that could look like

<config evaluator="node-type" condition="custom:myWorkflowReviewTask" replace="true">
   <property-sheet>
        <property-tabs>
            <property-tab name="Tab1" display-label-id="tab1_label">
                <show-property ……./>
                …….
            </property-tab>
            <property-tab name="Tab2" display-label-id="tab2_label">
                <show-property ……./>
                …….
            </property-tab>

        </property-tabs>
    </property-sheet>
</config>

Of course, it would be perfect to make switching tab action by Ajax calls
10 REPLIES 10

dhalupa
Champ on-the-rise
Champ on-the-rise
Spring configuration? I hope this was a lapsus calami Smiley Wink
Some two years ago I made a small forge project which does something similar to what you are proposing http://forge.alfresco.com/projects/tabbedpropsheet/

Jibe framework is also able to wire tabs into tabbed containers using configuration, but this is another pair of shoes

Kind regards,

Denis

jayjayecl
Confirmed Champ
Confirmed Champ
Hi Denis

sorry but could you explain to me why you'd rather see my phrase as a lapsus ? I didn't get it …
Thank you for the link, I'll have a look at it.

dhalupa
Champ on-the-rise
Champ on-the-rise
C'mon Romain,

These xml configuration files used to configure UI are Alfresco specific and has absolutely nothing to do with Spring. Sorry, didn't want to sound rude, but I was kind of surprised.

br,

Denis

jayjayecl
Confirmed Champ
Confirmed Champ
Yes, you're totally right. I'm sorry.

In fact, I ran into Alfresco before knowing Spring or even Java. My knowledge of Alfresco is quite disconnected from standalone framework "theory" or "purposes".
Still, I have known for quite a long time that Spring layer was just about IOC and then injecting beans, but I have got used to the bad habit of calling every Alfresco XML piece of config as "Spring".
Thank you for the remark, I'll then update the title of this topic.

best regards

dhalupa
Champ on-the-rise
Champ on-the-rise
You're welcome, I'm glad to be helpfull

jayjayecl
Confirmed Champ
Confirmed Champ
Hi Denis,

I downloaded all the files. I will get deep into it tomorrow, but I have just one question.
You did not put any jsp file in the sources or in the AMP file, is there anything tricky about the declaration of your custom tag I should know about, or will it be easy to develop ?

Many thanks

dhalupa
Champ on-the-rise
Champ on-the-rise
Hi,
it's an extension of PropertySheet JSF component, therefore, no jsp files are required. Just follow the installation instructions and you should be ok. Nevertheless, be aware that it was developed on version 2.1, I believe, but I think it should be working since I guess this part of JSF client was not changed between versions.

Here is a thread which might be helpfull
http://forums.alfresco.com/en/viewtopic.php?f=12&t=7808&p=25547&hilit=tabbed#p25547

Also, a French company (bluexml or something) was using this extension in their product. I think it was even further developed by them (vertical tabs) Unfortunately, I haven't seen these changes posted anywhere Smiley Sad

Good luck, and feel free to ask for help if required

Denis

jayjayecl
Confirmed Champ
Confirmed Champ
Denis, thank you for your answer

I know that jsp files are not required… but I thought that you kept the "propertySheet" and "propertySheetGrid" tags untouched, adding a new one.
Then, I was just looking for the tag name and syntax. But, no problem, I'll get it work.

About the french company, it surely is BlueXml (with their Sustainable IDE), and they absolutely do great job about enhancing Alfresco JSF UI.
But their product aren't open source.

Thanks again

dhalupa
Champ on-the-rise
Champ on-the-rise
I know that jsp files are not required… but I thought that you kept the "propertySheet" and "propertySheetGrid" tags untouched, adding a new one.

It was quite a while ago, but I think the idea was to decorate property sheet component with this additional functionality and to avoid changing a whole bunch of jsp's. In that sense, tag remains the same..

br,
Denis
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.