Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Calendar Print (Read 964 times)
Slavcho
God Member
*****
Offline


tech.support

Posts: 3371
Joined: Oct 19th, 2005
Re: Calendar Print
Reply #15 - Apr 15th, 2025 at 8:29am
Print Post  
Hi,

I was thinking refactoring calendar init code and running it on both instances:

Code
Select All
MainFrame()
{
    configAppearance(onScreenCalendar);
}

void export()
{
    configAppearance(offScreenCalendar);
} 



or more fine-grained:

Code
Select All
configItems(ItemSettings);
configView(ResourceViewSettings); 



You could also try copying the settings using BeanUtils.copyProperties methods provided by various Java frameworks:

https://stackoverflow.com/questions/19763278/how-to-use-beanutils-copyproperties


Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint