What is a sense of Log?

UI Components for JSF
Post Reply
User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

06 Sep 2011, 10:06

Just a question about new Log component. It doesn't render markup. Instead of using <p:log> I have added

Code: Select all

<h:outputScript library="js" name="blackbird.js" target="head"/>
<h:outputStylesheet library="css" name="blackbird.css"/>
and call

Code: Select all

log.info(...);
log.debug(...);
log.toogle(...);
instead of

Code: Select all

PrimeFaces.info(...);
etc.
That's all. And to log PrimeFaces ajax calls by this way is not comfortable. I would use prof. tools like Fiddler, FireBug, HTTPFox, various snooper tools or ui:debug.

In the fact this component is not customizable too - fix size, no initial postion, not themable (uses black image as backgrpund), not valid CSS (IE expressions). Furthermore JS script is not developing a couple of years yet. What is about a home grown PrimeFaces widget for Log component?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Sep 2011, 15:42

Not themeable? Will you present the logs to the users of your app?

It's a small utility that you don't have to use. Will be much more useful when we add more logs to our widgets.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 42 guests