facebook

MyEclipse cant open this file with the MyEclipse JSF designr

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #274803 Reply

    Tony Herstell
    Participant

    Clean install of MyEclipse (as auto update had this problem)…

    There are TWO JSF visual designers listed in the menu.. both with the same name.
    Neither can open this file (get a null pointer exception).

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <ui:composition xmlns:c=”http://java.sun.com/jstl/core&#8221; xmlns:ui=”http://java.sun.com/jsf/facelets&#8221;
    xmlns:f=”http://java.sun.com/jsf/core&#8221; xmlns:h=”http://java.sun.com/jsf/html&#8221;
    xmlns:s=”http://jboss.com/products/seam/taglib”&gt;

    <br/>

    <s:fragment rendered=”#{user.avatar.name == null}”>
    <div class=”image_upload_image_area”>
    <h:graphicImage value=”/images/no_image.png”/>
    </div>
    </s:fragment>

    <s:fragment rendered=”#{user.avatar.name != null}”>
    <div id=”reg_upload_image_area”>
    <s:graphicImage value=”#{user.avatar.image}”/>
    </div>
    </s:fragment>

    <!– ***********
    Avatar Upload
    *********** –>
    <s:decorate id=”avatar_decorator” template=”../edit.xhtml”>

    <ui:define name=”label”>
    <h:outputText value=”#{messages.avatar}” />
    </ui:define>

    <ui:define name=”content”>
    <div>
    <s:fileUpload id=”avatar” data=”#{user.avatar.image}” accept=”images/png,images/jpg,images/gif”
    contentType=”#{user.avatar.type}” fileName=”#{user.avatar.name}”/>
    </div>

    <div id=”reg_do_upload_button_area”>
    <h:commandButton id=”uploadAttempt” action=”#{userRegistrationController.processAvatarUpload}”
    value=”#{messages.general_button_upload_avatar}” type=”submit”>
    </h:commandButton>
    </div>

    </ui:define>

    <ui:define name=”hint”>
    <s:formattedText value=”#{messages.avatar_upload_hint}” />
    </ui:define>

    </s:decorate>

    </ui:composition>

    #274844

    Loyal Water
    Member

    Is this the entire file ? What extension have you given this file ?

    #274848

    Tony Herstell
    Participant

    Yes complete file was show (there are two others that also won’t open now )
    extension is .xhtml.

    Have to open then with MyEclipse HTML Designer

    This is NEW since GA release!

    #274849

    Tony Herstell
    Participant

    Project is SEAM (so its JSF).
    Its an EAR project
    The files are in the Web part of the project (obviously).

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: MyEclipse cant open this file with the MyEclipse JSF designr

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