facebook

[Closed] MyFaces and real WYSIWYG look while designing

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #271702 Reply

    jGabriel
    Member

    I tried to use MyFaces(tomahawk 1.1.3) but when dropping component into designer all the components look the same (simple rectangle with black border) and that’s all. When I used Sun RI it really looks like true WYSIWYG (buttons looks like buttons, text fields like text fields etc.). Where is the problem ? Probably, I made a mistake somewhere while creating new project, but only SUN RI project examples (tutorials) can be found.

    P.S.
    1. bug (?)
    I defined tomahawk.tld in tag libraries in Project Capabilities-> JSF->MyFaces and despite the fact that “copy JSF TLDsto …” option is checked, nothing is copied.
    2. bug (?)
    When I set MyFaces 1.1.5 as Default JSF implementation” option in the same dialog, it’s not saved and after reopening the dialog Sun RI is back.

    #271709

    Riyad Kalla
    Member

    jGabriel,
    This is an unfortunately side effect of there being no good way to evaluate the “look” of a component at design time. The standard JSF controls all have graphical reprepsentations coded for them ahead of time, so we know what they look like, but droping in custom components don’t have this luxury, so they default to a “Rectangle” representation. We hope to expand the widget set that the designer understands over time, but right now this is the fall-back behavior.

    1 and 2) These sound like bugs, I’ll file them ASAP. Thank you for reporting them.

    #271723

    jGabriel
    Member

    Thank you for answer, now it clear. I was not sure if the problem is on my side.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] MyFaces and real WYSIWYG look while designing

You must be logged in to post in the forum log in