[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: CaptainCasa  XML
Profile for CaptainCasa -> Messages posted by CaptainCasa [5510] Go to Page: 1, 2, 3  ...  366, 367, 368 Next 
Author Message
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
Problems with Tomcat 10.

Just had some mail ping pong with a user that is trying to get HotSwapAgent up and runnint with Tomcat 10 (jakarta). When following the original documentation then the Tomcat-plugin of HotSwapAgent was creating a bug:

Code:
        Caused by: org.apache.catalina.LifecycleException: Failed to start component [WebappLoader[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/App]]]
                 at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
                 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
                 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4747)
                 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
                 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683)
                 ... 37 more
         Caused by: java.lang.IllegalArgumentException: No such field class org.apache.catalina.loader.ParallelWebappClassLoader.repositories on ParallelWebappClassLoader
   context: App
   delegate: false
 ----------> Parent Classloader:
 java.net.URLClassLoader@6404f418
 
                 at org.hotswap.agent.util.ReflectionHelper.get(ReflectionHelper.java:149)
                 at org.hotswap.agent.plugin.tomcat.TomcatPlugin.addRepositoriesAtStart(TomcatPlugin.java:168)
                 at org.hotswap.agent.plugin.tomcat.TomcatPlugin.init(TomcatPlugin.java:116)
                 at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:398)
                 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
                 ... 40 more
 


It sounds strange, but the Tomcat-plugin is not required for CaptainCasa development activities (you do not directly work with servlets/filters/...!). So when switching this plugin off, then Tomcat properly starts and it seems after first tests that code-replacement is properly working.

Switching off the Tomcat-plugin is just a simple configuration file, please read the details in the updated documentation: https://www.captaincasa.com/docu/eclnt_risc_hotswap/index.html?ifrunningtomcat10addbasicconfigurationfiletotomcatlib

Kind regards! Björn
Thanks Nikolay! ;-)
There are nicer ways, I believe:

Could you take a look at demo workplace: Components > Animation & Graphics & Sound > Image Capturer & Animator (1) - here select animation type "foglight" or "fogdark". The animations are super-easy to implement.

@cursor: the cursor is part of the style definition of each component. So... to consistently update the cursor we would have to update the style of each component. (How do we do it when communicating to the server: then a "glass pane component" is arranged in front of all other components, and this one glass pane component is driving the cursor styel...)

What do you think...?

Kind regards! Björn
(from mail - answered via forum)

Hi Björn,


Is there a way to somehow change the icon whenever there is a call to a bean to make some processing? Idea: We click on a checkbox then some filtering happens and the page is updated. If the process is to quick and the filter doesn't change the current UI, tthe user won't have a visual feedback unless we write something to the statusbar. He might get the impression that sthg "is broken". However if momentaneously the cursor icon of the mouse would quickly transit between the "default operation ongoing icon" (sand timer) and the default icon (pointer), he would know that there was sthg going on. What do you think?


Best Regards
Your way of accessing the top dispatcher is super-dependent on the way JSF stores its session data... Maybe you switched from a default implementation to our mini-implementation?

Nevertheless: if you cannot get the dispatcher by a concrete instance you can access by calling:

Code:
 IDispatcher top = DefaultDispatcher.getDialogSessionInstance();
 


Maybe you write a corresponding method in your dispatcher that returns back the proper class:


Code:
 public class Dispatcher
 {
     public static Dispatcher getDialogSessionInstance()
     {
         return (Dispatcher)DefaultDispatcher.getDialogSessionInstance();
     }
 


Kind regards! Björn
(question by mail - answered via forum)

I upgraded today from 20230731 to the 20240219 and found out that the method "HttpSessionAcccess.getCurrentHttpSession().getAttribute("d")" returns null when before we were getting a dispatcher. (See screenshot)

Can the top dispatcher still be accessed in this way but maybe another key?

Thank you
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
This is a bug in the toolset - thanks for telling us...

It happens when the project is configured to only hold resources in the webcontent (not in the source part). Please change your project configuration (.ccproject file in main directory of your project) to;

Code:
 <project ...
          resourcesinsource="true"
          resourcesinwebcontent="true"
          ...
 


Then you again see all tabs.
We will fix for next update.

Kind regards! Björn
(request by mail - answered through forum)

I updated CC to the latest version.
When I open the toolset I only see the "Web Content" tab - no "Source", no "Configuration" tab.
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
Hi Markus,

my ability to imagine things that happen on other screens than the one of myself is limited... ;-)

It would be great to add...

...screenshot of how it looks like
...XML layout how the image is embedded
...the image itself

If images are rendered very small (16x16) then it typically is an issue that the size of the image can not be properly calculated. But that's just a guess.
 
Profile for CaptainCasa -> Messages posted by CaptainCasa [5510] Go to Page: 1, 2, 3  ...  366, 367, 368 Next 
Go to:   
Powered by JForum 2.1.6 © JForum Team