cancel
Showing results for 
Search instead for 
Did you mean: 

Change layout

dorigon
Champ in-the-making
Champ in-the-making
Good afternoon.

I wonder how can I change something in the existing layout of the activiti-explorer?

Example: Add a field more in any screen.
5 REPLIES 5

vasile_dirla
Star Contributor
Star Contributor
Hi,
Depends what kind of "new field" you want to add.
Generally talking  you have to write some java (Vaadin) code since it is a Vaadin app;
if you want a new property for a task in the editor then it will involve some java script.

dorigon
Champ in-the-making
Champ in-the-making
Ok

Good and if I wanted to develop a new layout using outrras technologies like JSF and Primefaces, it would be possible?

vasile_dirla
Star Contributor
Star Contributor
1. If you want to develop a new client application then you can use any technology you like.

2. if you just want to add a new page to the existent application but using another technology, a good idea could be could start investigating the main servlet of the Vaadin application. and the url mapping for this servlet. (it should be mapped to respond to all the url's except the new one yuo want to add)
then you have to add mapping for the JSF main servlet to a path like /newZone/* and then the JSF will handle all the calls related to this path family. (but will ignore the paths of the Vaadin apps.)
I think it must work. (but i think you need "a bit of gymnastics" here) Smiley Happy

3. if you want just a new panel inside an existent Vaadin view it must be more complicated.
(As you know everything is possible because in the end all is rendered as a html+ javascript + backend but probably will need some extreme skills of Vaadin and JSF, never did such a combination)
If you "google" for this combination you'll usually find "Vaadin vs JSF" but not "Vaadin + JSF"  Smiley Happy

dorigon
Champ in-the-making
Champ in-the-making
What if I want to add another field to register some content more how do?

example:

Place an information field in the task registration screen as it is done? You need to create another table in the database?

vasile_dirla
Star Contributor
Star Contributor
Depends what''s the propose of that new information,
It could be just another entity related to an existent entity and in this case you just create a new table, in other cases maybe you just need a new column in an existent table.
depends what decides the architect of the application.