facebook

jsf using struts tiles runs but jsf tags not recognised !!

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #287595 Reply

    amir55
    Participant

    hi all dearlove colleagues

    I do run jsf-struts tiles successfully on MyEclipse 6, J2EE 5 and JBoss

    but I have to use html tags in the jsf files not jsf tags as in my attempt three below

    I tried next attempts :

    1 – attempt one I added in the faces-config.xm the next

    <application>
    <view-handler>
    org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl
    </view-handler>
    </application>

    // but I get compile error
    :java.lang.ClassNotFoundException: org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl

    2 – attempt two
    iI added myfaces.jar and myfaces-extensions.jarbut I get rror as next

    java.lang.ClassCastException: org.apache.myfaces.component.html.ext.HtmlDataTablePhaseListener cannot be cast to javax.faces.event.PhaseListener

    3 – Attempt three

    // if I use next deploy ok it does not recognise the jsf tags so Ihave touse html tags.
    <application>
    <view-handler>
    org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
    </view-handler>
    </application>

    So I may need some more jars in the lib to rectify the error

    thanks a lot

    Amir

    #287668 Reply

    Loyal Water
    Member

    Im sorry I dont have an answer to this. Maybe some other user on the forum might be able to help you out.

    #287787 Reply

    amir55
    Participant

    hi dear all

    I now have this error may be you can help

    javax.servlet.jsp.JspException: Can’t get definitions factory from context

    1 – I have one jar sturrs.jar but I dded library j2ee5 it works fine for tiles in jsp bit not tiles-def.xml

    2 – I wish MyEclipse team would put an example of tiles using j2ee5 or someone knows a link to an exmaple.

    3 – I can zip my project to the team. it is very simpe and small just to use tiles.

    4 – I use Jboss by the way version 6

    thnaks a lot and this is very vital for my simple application

    Amir

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: jsf using struts tiles runs but jsf tags not recognised !!

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