Tuesday, July 14, 2020

Re: can gwt be used with cockpit ui project?

cockpit guys reached out, they told me i have inline css which cockpit disables those, once i enabled CSP in cockpit it was ok. , they also recommended i should try elemento because it's more like patternfly 

On Tue, Jul 14, 2020 at 7:42 PM Rogelio Flores <rogelio.flores@gmail.com> wrote:
Looks like you have css on your cockpit project that is affecting your gwt code. You need to either change your cockpit's css to be more specific to cockpit (add specific class names instead ".div" for instance), or override those styles within your gwt code.

On Tuesday, July 14, 2020 at 3:00:32 AM UTC-6, Elhanan wrote:
i just want to use cockpit's authentication, (meaning when they log into cockpit, they already have ot use the os's user/pass) so i don't have create my own credentials system 

my current main problem, is that debugging as i was told cockpit pages aren't developed  on windows.
in addition the same gwt page on my machine  when displayed alone, looks fine, but when it's under cockpit, all the layout is twisted. 
(but it does see the CSS), because all the fonts and colors are there.
one notable exception, is that history frame is actually visible rectangle in the cockpit page 

On Mon, Jul 13, 2020 at 7:04 PM Rogelio Flores <rogeli...@gmail.com> wrote:
If you're not integrating much with cockpit then there's not much extra to do. It would be hard or at least more involved, if you needed to integrate with cockpit because on top of a typical integration of two frameworks, you have disparate languages.


On Saturday, July 11, 2020 at 1:22:04 PM UTC-6, Elhanan wrote:
Actually i don't want to integrate much woth cockpit just want to call out some rest api to another server. Why would it be hard? 

On Thu, Jul 9, 2020, 00:45 Rogelio Flores <rogeli...@gmail.com> wrote:
Of course GWT can be used, but IMO is probably not needed and would be easier not to use it, unless you want to program all the client-side logic using Java and integrate it with cockpit using JsInterop.


On Wednesday, July 8, 2020 at 1:57:48 AM UTC-6, Elhanan wrote:
hi.. we've been using a small gwt page we developed inside an old vmware application that's not longer supported 
the page lived under lighttpd server, and used python scripts as the backend for web services, which they themselves called other web services. 
because it was provided with gwt 2.5.0, i had no choice and couldn't upgrade, thus browsers incompatibilities starting creeping up. 

we are now switching to cockpit ui project for OS management, and according to them, https://cockpit-project.org/blog/cockpit-starter-kit.html
it can live with any single page app, but it prefers react
i was wondering if GWT can also be used here, i would "rip out" the page we are using, and switch the remote commands to other web services. 

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/t2q7MK5r77g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/bdcbbd84-4cba-4994-a3b7-97da0a0ba3f0o%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/t2q7MK5r77g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/8face25b-a237-4c55-adf4-908c6cf8a03bo%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/t2q7MK5r77g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/82cea043-6217-4a24-bc45-34862517e42do%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAETAEK%2BjQeVzWvhtggpBJ55jpoaVrjEeKYzYRPMYmWeiraZQaQ%40mail.gmail.com.

No comments:

Post a Comment