facebook

jsf validation error does not show on page when using tiles

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #332848 Reply

    amir55
    Participant

    hi all

    when I use tiles in next code I got error messages on console but without tiles all is fine.

    So i lose context in the process of tiles

    if (user.email.length()==0) {
    facesContext.addMessage(“sendPasswordByMail:email”,new FacesMessage(FacesMessage.SEVERITY_ERROR, mf.getMessage(“errorEmailMsg”), null));
    return “layOutMainPage” ;
    }

    any idea I can send the whole example if request

    take care

    Amir

    #332852 Reply

    amir55,

    Can you please answer some more queries to help us investigate further :
    1) Can you please share the Installation Details from MyEclipse > Installation Summary > Installation Details ?
    2) Can you please attach the sample project which shows this issue to help us investigate further ?
    3) Can you please share the steps in detail to help us replicate the issue at our end ?

    #332928 Reply

    amir55
    Participant

    hi dear sir

    I copied the requirements in the file inside the web toot of attached example.

    i know that the context is lost in this example when I do not forward to the facesContext jsp declaration but

    if I do then I lose the purpose of tiling

    I read a lot on tiling but non uses it with validation

    take care and have a nice weekend

    Amir

    Attachments:
    You must be logged in to view attached files.
    #332967 Reply

    amir55,

    There is no requirement file in the WebRoot of the attached example.

    This looks like a development query, I suggest you cross post to development forums for better support on this issue.

    #332980 Reply

    amir55
    Participant

    hi dear

    1 – thanks a lot but if you can pass me some links to jsf forums with my gratitude.

    2 – further more I ask in myeclipse editor for java when I have brackets and I put the cursor next to the opening bracket I should get a small box at its closing one but I can not find it

    3 – also tell me how to update myeclipse the new one with out having to downloading each time

    Many thanks

    Amir

    #332993 Reply

    amir55,

    1. Following are some of the JSF forums links :
    http://www.coderanch.com/forums/f-82/JSF
    https://forums.oracle.com/forums/forum.jspa?forumID=982
    http://www.eclipse.org/forums/index.php?t=thread&frm_id=148

    2. I could not replicate the MyEclipse Java editor brackets issue at my end on MyEclipse 10.7.
    Please check the following screenshot which shows a box for the closing bracket.

    3. If you are on MyEclipse 10, you can just go to Help > MyEclipse Configuration center > Software tab. Wait for the updates to appear in the Software updates available section. Select MyEclipse Enterprise edition 10.7, click on Apply changes and follow the wizard. For more information please check this FAQ : https://www.genuitec.com/forums/topic/installation-how-to-upgrade-to-latest-release/

    If you are not on MyEclipse 10, you should install a new major release as a fresh installation. This can be done through pulse or with a custom or off-line installer.
    You can install MyEclipse using following methods :
    a) Offline installer : Goto the downloads page and click on download : https://www.myeclipseide.com/index.php?name=Recommend_Us&req=Download&version=ME
    b) Using Pulse – Take a look at this FAQ for detailed steps : https://www.genuitec.com/forums/topic/installation-how-to-install-myeclipse-from-pulse/
    c) Using Archive update site – Take a look at this FAQ for detailed steps : https://www.genuitec.com/forums/topic/installation-install-myeclipse-using-archived-update-site/
    d) Using an Eclipse update site:
    > Install Eclipse Classic 3.7.2.
    > Edit the eclipse.ini file in the eclipse folder and change the -Xmx384m value to -Xmx512m.
    > Start Eclipse and click Help > Install New Software > Add the following update site:
    http://downloads.myeclipseide.com/downloads/products/eworkbench/indigo/enterprise-stable/
    > Make sure “Group items by category” is selected and select the “MyEclipse Enterprise Workbench” group.
    > Click Next twice, accept the licenses presented and click Finish to start the installation. Restart when prompted.

    Please update to the latest version of MyEclipse and let us know if you can still replicate the brackets issue which you mentioned.

    #333057 Reply

    amir55
    Participant

    hi sir

    I do thank you for all but after the updating long process or 16 hours I still have the same closing bracket not shown to its open one.

    i guess some text editor in the IDE for java needed but how?

    thanks a lot

    Amir

    #333069 Reply

    Amir,

    I could not replicate the issue at my end on MyEclipse 10.7.

    Can you please try the following suggestions :
    1) Make sure you open the java file with “Java Editor”.
    2) Make sure “Highlight matching brackets” option is selected which is under Window > Preferences > Java > Editor.
    3) If you can still see the issue, please change to a new workspace, create a sample project and sample java file and try to replicate the issue.

    If the issue still persists in the new workspace, can you please give us some more details to help us investigate further :
    1) Can you please share the Installation Details from MyEclipse > Installation Summary > Installation Details ?.Also mention the OS details.
    2) Can you please attach the screenshot of the java file which is opened in java editor ?

    Let us know how it works for you.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: jsf validation error does not show on page when using tiles

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