p:diagram

UI Components for JSF
Post Reply
knoxz
Posts: 8
Joined: 02 Feb 2017, 18:38

02 Feb 2017, 18:49

Hi there Primefaces Community,

I have a small problem which might be fixed really easy, but I am not that experienced with jsf, primefaces and html in general.
On university you dont get into web development at all. Everything has to be selftaught...

I want my primefaces diagram with generated components to have a dynamic background depending on how many elements there are for a certain role.

Image how the background should look in theory. This was done by hand.
Image

I want the Diagram background be scaled dynamically. Image from the Diagram how it looks atm.
Image

Is there an easy way to set the background of a diagram with more then 1 box and even add some test to it?
Also why I am here, is there a way to "hide" the connection lines behind the elements and maybe make them shorter? I may switch them back to straight lines, but I just wanted to ask.
Any help would be much appreciated!

Cheers,
Knoxz
Using Primefaces 6.1
With a Apache Tomcat 8.5

knoxz
Posts: 8
Joined: 02 Feb 2017, 18:38

04 Feb 2017, 14:42

if anyone would say, there is no way to do it, that would also help. Then I can stop searching for it ;-)
Using Primefaces 6.1
With a Apache Tomcat 8.5

knoxz
Posts: 8
Joined: 02 Feb 2017, 18:38

07 Mar 2017, 00:04

Is there any way to set the background other than a static color or a image?

For example can I make it transparent and have a simple html table "behind" it and use the table to colorize the background?

I still havent found a way to set the background to the way I want it. :oops:
Using Primefaces 6.1
With a Apache Tomcat 8.5

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests