cancel
Showing results for 
Search instead for 
Did you mean: 

Picker control not working

cedomir
Champ in-the-making
Champ in-the-making
Hi,

I installed Alfresco war 2.9B on Ubuntu 7.10, with tomcat 5.5. and mysql 5 standard ubuntu packages. Alfresco/Tomtom is runned as tomtom55 user.

I have no errors in logs (tomcat and alfresco). Everything is done acording to install docs (as I think), except java security option turned off for resolving logging issue.

The problem is that some controls do not load, like avatar picker, but with no errors in logs or UI.

Any sugestions are very welcomed.

Thanks,

Cedomir
7 REPLIES 7

mikeh
Star Contributor
Star Contributor
This has been fixed after 2.9B was released - you can either grab a nightly build or, if you're using Firefox, a workaround is to install the Firebug add-in.

Thanks,
Mike

cedomir
Champ in-the-making
Champ in-the-making
Thanks for usefull and very quick response.

Firebug did not resolve my issue, but removing

aysnc: false,

from tomcat\webapps\alfresco\scripts\ajax\picker.js did (I'm trying to avoid deploying dev version). But now, when I choose option from tool, the ok or next button remains disabled. This happens in, for example, create rule wizard / Simple workflow, Set action form, after selecting space to move document on "Click here to select the destination" link.

The IE error is "object required" for alfresco/faces/jsp/action/simple-workflow.jsp

and for Firefox is
Error: document.getElementById("simple-workflow-action:client-approve-folder_selected") has no properties
Source File: http://alfresco-server:8180/alfresco/faces/jsp/wizard/container.jsp
Line: 46

and

Error: document.getElementById("simple-workflow-action:client-approve-folder_selected") has no properties
Source File: http://alfresco-server:8180/alfresco/faces/jsp/actions/simple-workflow.jsp
Line: 46


Thanks in advance,
Cedomir

dmatejka
Champ in-the-making
Champ in-the-making
Hi Cedomir,
try the latest build (2.9C) form
http://dev.alfresco.com/downloads/nightly/dist/

this problem has been solved

Best regards,

Daniel

cedomir
Champ in-the-making
Champ in-the-making
That solved the problem.

Thanks,
Cedomir

gilles
Champ in-the-making
Champ in-the-making
… But now, when I choose option from tool, the ok or next button remains disabled…
Same for me, but the latest 2.9C is not a solution for me. I must use the 2.9b.
Is there a quick fix for the 2.9b, concerning the next javascript errors ?
Removing the aysnc: false, also worked perfectly for me; I would like to have such a quick workaround for getting out of the Create Rule Wizard.

Thanks

Gilles

jpeffer
Champ in-the-making
Champ in-the-making
Similar issues; I am currently running Community Network - v2.9.0 (B 683).  If I download and install the 2.9.0 C Dev will that affect anything that I have done already to the current version, and what would be the process in linux?

Thanks ahead of time.

gilles
Champ in-the-making
Champ in-the-making
The temporary solution to this is to change the disabled property value from "true" to #{WizardManager.bean.actionProperties.approveFolder == null} in simple-workflow.jsp (projects\web-client\source\web\jsp\actions\simple-workflow.jsp),
Code extact:
<h:commandButton id="ok-button" value="#{msg.ok}" action="#{WizardManager.bean.addAction}"
styleClass="wizardButton" disabled="#{WizardManager.bean.actionProperties.approveFolder == null}" />


See http://forums.alfresco.com/viewtopic.php?p=38205#p38205

Hope it helps,
Gilles