cancel
Showing results for 
Search instead for 
Did you mean: 

Calendars

indsev
Champ in-the-making
Champ in-the-making
Hi!
I'd like to know if it's possible to change the way that dates in Alfresco are shown, I mean, is it possible to show a calendar? What classes do I have to change to make it possible?
It's really urgent.
Thank you very much!
13 REPLIES 13

dhalupa
Champ on-the-rise
Champ on-the-rise
You really made me confused Smiley Happy
If you had the knowledge to make your Advanced search interface dynamic, than you should know how you instantiated your components and how to instantiate some other components instead of default ones.

indsev
Champ in-the-making
Champ in-the-making
Hi dhalupa,
Can you help me once again? Smiley Very Happy
I managed to make calendars work, but only if type is date. If type is datetime, I get the following error:

org.alfresco.error.AlfrescoRuntimeException: Failed to parse date 14/02/2008
caused by:
java.lang.NumberFormatException: For input string: "14/0"

I've changed DateTimePickerGenerator in the same way as DateTimePicker, but only dates work (and not datetimes). Any idea?
Thank you very much again!

dhalupa
Champ on-the-rise
Champ on-the-rise
Sorry, I can not possibly know what you have changed in your code. Try setting up debugger and stepping through the code

Kind regards,

Denis

joshuafrfld701
Champ in-the-making
Champ in-the-making
Advanced search screen does not use ComponentGenerators to generate components but components are rather hardcoded within jsp. Check Web-Client/source/web/jsp/search/advanced-search.jsp, If you could give me an example about this I would be really really grateful.



_________________
flavia calendars