Adding a new wizard in the browse.jsp in alfresco 1.3.0
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 05:46 AM
Hello everyone.
I have a question about the new version 1.3. I will explain all i did in the version 1.2.
I included a new funcionality in the version 1.2, in the part of create, i added a new wizard, like the one that is created, but changing.
In Alfresco 1.2, i just put an action in the browse.jsp,
I have the problem that i added things in the alfresco 1.2, and now, i follow all the steps, and i realise that the code has been changed, so it makes me lose lot of time.
Can anyone help me?
Thanks in advanced
Bird
I have a question about the new version 1.3. I will explain all i did in the version 1.2.
I included a new funcionality in the version 1.2, in the part of create, i added a new wizard, like the one that is created, but changing.
In Alfresco 1.2, i just put an action in the browse.jsp,
<a:actionLink value="Crear document" image="/images/icons/create_space.gif" action="createDoc" actionListener="#{NewDocWizard.startWizard}" id="myLink" />
But this code-line is not possible to be included in the browse.jsp. So my problem, or what i am not able to discover is in which file do i indicate the same thing. I can include the label so i am able to click on the title, but i get no result, because it is not linked with the .jsp I have the problem that i added things in the alfresco 1.2, and now, i follow all the steps, and i realise that the code has been changed, so it makes me lose lot of time.
Can anyone help me?
Thanks in advanced
Bird
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 06:15 AM
The actions on the browse screen and most other screens are now externalised to XML files. This means you no longer have to modify the browse screen JSP to add/change/remove an action from the UI. Taking a look at this page before starting customisations will save you from wasting time:
http://wiki.alfresco.com/wiki/Web_Client_Customisation_Guide
Take a look at this page for specific info on externalised actions:
http://wiki.alfresco.com/wiki/Externalised_Client_Actions
Thanks,
Kevin
http://wiki.alfresco.com/wiki/Web_Client_Customisation_Guide
Take a look at this page for specific info on externalised actions:
http://wiki.alfresco.com/wiki/Externalised_Client_Actions
Thanks,
Kevin
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 07:41 AM
Thank you very much!
If only i new before, i would not have waste one week of working.
Thx
Bird
If only i new before, i would not have waste one week of working.
Thx
Bird
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 06:43 AM
ok there.
i have been reading the pages you posted me. But i don't want to Customize the Create Content Wizard. What i want to do is add a new wizard. so, when i click into that in the menu, it opens me a diferent .jsp.
So one question is… where do i indicate which .jsp is? Because it makes nothing. Previos version was easily
Another question is do i have to add in the web-client-config-custom.xml file? or i have to make a new web-client-config-wizard.xml but instead of "web-client-config-wizard.xml" change the name into "web-client-config-doc.xml" or just add in web-client-config-wizard.xml a new config - wizard…
Thanks
Bird
i have been reading the pages you posted me. But i don't want to Customize the Create Content Wizard. What i want to do is add a new wizard. so, when i click into that in the menu, it opens me a diferent .jsp.
So one question is… where do i indicate which .jsp is? Because it makes nothing. Previos version was easily

Another question is do i have to add in the web-client-config-custom.xml file? or i have to make a new web-client-config-wizard.xml but instead of "web-client-config-wizard.xml" change the name into "web-client-config-doc.xml" or just add in web-client-config-wizard.xml a new config - wizard…
Thanks
Bird
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 06:50 AM
another thing about that.
I know that i have to put the action in the web-client-config-actions.xml, but i have a doubt. The next code..
I mean, the directori? the name of the classe? because if i create a new one such as follows
Can you help me?
I think that the applications does not work because the action doesn't know where to find the createDoc…. because the action-listener works.
Thanks very much
Bird
I know that i have to put the action in the web-client-config-actions.xml, but i have a doubt. The next code..
<!– Create Advanced Space Wizard –> <action id="create_space_wizard"> <permissions> <permission allow="true">ChangePermissions</permission> </permissions> <label-id>advanced_space_wizard</label-id> <image>/images/icons/create_space.gif</image> <action>wizard:createSpace</action> </action>
is in the file, but in the <action> label… what does it means 'wizard:.." I mean, the directori? the name of the classe? because if i create a new one such as follows
<!– Create Doc –> <action id="create_doc"> <!–permissions> <permission allow="true">ChangePermissions</permission> </permissions–> <label-id>create_doc</label-id> <image>/images/icons/create_space.gif</image> <action>wizard:createDoc</action> <action-listener>#{NewDocWizard.startWizard}</action-listener> </action>
Then, i don't know what to put before createDoc, wizard: ? or doc:? that's because i don't understand what it means. Also in other actions there is "dialog: " and other things… Can you help me?
I think that the applications does not work because the action doesn't know where to find the createDoc…. because the action-listener works.
Thanks very much
Bird

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2006 07:16 AM
Hi,
The easiest thing to do is to add your custom config to web-client-config-custom.xml, however, you don't have to, read the information in this article for details on adding extra config files: http://wiki.alfresco.com/wiki/Web_Client_Configuration_Guide
The wizard: prefix on an action will make the web client look for a wizard defined in your configuration with the name following the : In your example the web client will be looking for a wizard called "createDoc". Have a look at the following wiki pages for information on the new dialog and wizard framework: http://wiki.alfresco.com/wiki/Dialog_And_Wizard_Framework and http://wiki.alfresco.com/wiki/Wizard_Framework
You will not need the action-listener config with the new dialogs and wizards, the framework now does this automatically.
Hope this helps.
The easiest thing to do is to add your custom config to web-client-config-custom.xml, however, you don't have to, read the information in this article for details on adding extra config files: http://wiki.alfresco.com/wiki/Web_Client_Configuration_Guide
The wizard: prefix on an action will make the web client look for a wizard defined in your configuration with the name following the : In your example the web client will be looking for a wizard called "createDoc". Have a look at the following wiki pages for information on the new dialog and wizard framework: http://wiki.alfresco.com/wiki/Dialog_And_Wizard_Framework and http://wiki.alfresco.com/wiki/Wizard_Framework
You will not need the action-listener config with the new dialogs and wizards, the framework now does this automatically.
Hope this helps.
