You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Bandaru <rb...@gmail.com> on 2007/08/13 09:17:51 UTC

Action not working in jspx page



 Hi,
    I'm configuring Trinidad in Jdeveloper 10g,
    evering is getting fine but the actions in the page are not working
example: inputDate not displaying   
   calender content in pop up.and other actions are also not working.
     what may the problem..

 My code in jspx ..
*********
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
          version="2.0"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:tr="http://myfaces.apache.org/trinidad">
  <jsp:output omit-xml-declaration="true"
              doctype-root-element="HTML"
              doctype-system="http://www.w3.org/TR/html4/loose.dtd"
              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
  <jsp:directive.page contentType="text/html;charset=windows-1252"/>
  <f:view>
    <html>
      <body>
       <tr:document title="Trinidad Index">
      <tr:form  id="form1">
          <tr:inputDate label="Date"/>
        </tr:form>
        </tr:document>
        </body>
    </html>
  </f:view>
 
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_trinaidad-->
</jsp:root>
********
lib used :
---------
Activation-1.1.jar
Commons-beanutils-1.7.0.jar
Commons-codec-1.3.jar
Commons-collections-3.1.jar
Commons-digester-1.6.jar
Commons-el-1.0.jar
Commons-lang-2.1.jar
Commons-logging-1.0.4.jar
Jsf-impl.jar
Jstl-1.1.2.jar
Mail-1.4.jar
Myfaces-api-1.1.5.jar
Myfaces-impl-1.1.5.jar
Oracle-portlet-tags.jar
Trinidad-api-1.0.1.jar
Trinidad-impl-1.0.1.jar
---------

Configured web.xml,faces-config,correctly what else to do to resolve this
problem Please suggest me..

Thank in Advance,
Bandaru


-- 
View this message in context: http://www.nabble.com/Action-not-working-in-jspx-page-tf4259576.html#a12121863
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Action not working in jspx page

Posted by Danny Robinson <da...@gmail.com>.
Try removing the <html> and <body> tags from your code, they are auto
generated through the use of <tr:document>.

Danny


On 8/13/07, Bandaru <rb...@gmail.com> wrote:
>
>
>
>
> Hi,
>    I'm configuring Trinidad in Jdeveloper 10g,
>    evering is getting fine but the actions in the page are not working
> example: inputDate not displaying
>   calender content in pop up.and other actions are also not working.
>     what may the problem..
>
> My code in jspx ..
> *********
> <?xml version='1.0' encoding='windows-1252'?>
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
>          version="2.0"
>          xmlns:f="http://java.sun.com/jsf/core"
>          xmlns:h="http://java.sun.com/jsf/html"
>          xmlns:tr="http://myfaces.apache.org/trinidad">
> <jsp:output omit-xml-declaration="true"
>              doctype-root-element="HTML"
>              doctype-system="http://www.w3.org/TR/html4/loose.dtd"
>              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
> <jsp:directive.page contentType="text/html;charset=windows-1252"/>
> <f:view>
>    <html>
>      <body>
>       <tr:document title="Trinidad Index">
>      <tr:form  id="form1">
>          <tr:inputDate label="Date"/>
>        </tr:form>
>        </tr:document>
>        </body>
>    </html>
> </f:view>
>
>
> <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_trinaidad-->
> </jsp:root>
> ********
> lib used :
> ---------
> Activation-1.1.jar
> Commons-beanutils-1.7.0.jar
> Commons-codec-1.3.jar
> Commons-collections-3.1.jar
> Commons-digester-1.6.jar
> Commons-el-1.0.jar
> Commons-lang-2.1.jar
> Commons-logging-1.0.4.jar
> Jsf-impl.jar
> Jstl-1.1.2.jar
> Mail-1.4.jar
> Myfaces-api-1.1.5.jar
> Myfaces-impl-1.1.5.jar
> Oracle-portlet-tags.jar
> Trinidad-api-1.0.1.jar
> Trinidad-impl-1.0.1.jar
> ---------
>
> Configured web.xml,faces-config,correctly what else to do to resolve this
> problem Please suggest me..
>
> Thank in Advance,
> Bandaru
>
>
> --
> View this message in context:
> http://www.nabble.com/Action-not-working-in-jspx-page-tf4259576.html#a12121863
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>


-- 
Chordiant Software Inc.
www.chordiant.com