Jsf rendering urgenttttttt.................

Hi mates,
I have a litle problem, If we type something in a textfield then after a arrow key press or enter key press it should be typed on another textfiled.
I have create it with rendering can,
can anyone help me its urgeeeeeeeeent.....

Two things:
1) We don't care if it is urgent or not. Putting pressure to others is rude.
2) This isn't a serverside problem, but a clientside problem. Javascript can help you solving this problem. JSF can't do anything for you here.

Similar Messages

  • Visual editor JSF rendering not working

    Hi,
    I'm trialing the 10.1.0.3EA version of JDeveloper and I can't seem to get the JSF rendering working in the visual editor. I thought that perhaps I'd changed some settings or something so I completely uninstalled and then reinstalled JDeveloper. After the install I created a new application using the default web tech. scope, created default business components from the order and order_items tables in the oe schema, opened the JSF navigation, added a page and tried to drag and drop a read only table onto the page. Instead of the rendering I am getting a hierarchical view of tags with just the tag names, i'm not even getting any of the binding information shown, other than in the property inspector. I'v checked to make sure that the JSP tag libraries in the project settings all have "Execute tags in JSP Visual Editor" checked and in the preferences I have made sure that "Show JSP Tag Names Only" is unchecked. Does this functionality not work by default from the install or am I missing something?
    Any help would be appreciated!
    Thanks,
    Lee Proctor.

    Of course, use the value attribute of the component and set it to EL representing the desired property.

  • JSF Rendering problems

    Hello
    I have encountered tow problems using JSF 1.0
    First:
    I have a site that has a css file asociated with it.
    In this css file i have a class for the option tag "<option>".
    My problem is that JSF dose not provide a way to pass and render the class attribute on the option tag.
    Is there a way to render this attribute on the option tag without extending the component or writing a renderer for it?
    Second:
    How can I pass the attributes colspan and rowspan of a <td> element rendered for a panelGrid tag without extending the component or writing a renderer for it?
    Thx.

    Hello again
    I forgot to mention this for th above problem.
    The problem with the option tag is that this jsf code
    <h:selectOneMenu id="someId" value="" styleClass="select">
    <f:selectItems value="#{Dummy.dummySelects}" />
    </h:selectOneMenu>
    generates this HTML code
    <span class="select">
    <select id="someId" name="someName" size="1">
    <option value="dummy select">dummy select</option>
    <option value="dummy select">dummy select</option>
    <option value="dummy select">dummy select</option>
    <option value="dummy select">dummy select</option>
    </select>
    </span>
    the class="select" attribute should be on the <select> tag but is on the <span> tag.
    Why is this and how can I fix it ?

  • JSF Rendering in IE 7 and Firefox 2.0

    Hello everyone,
    I have developed a JSF page and have been testing it mostly with Firefox 2.0. I liked how it worked: when virtual forms where submitted only the related components where re-rendered. However, when using IE 7 or firefox 1.0 (haven't tested with firefox 1.5), every time any virtual form is submitted, the browser seems to re-render the entire page, this is really annoying for users since, when you have scrolled down the page and submit one of the virtual forms, the browser scrolls you back to the top. This is ridiculous since simply ordering a table at the bottom of the page takes user back to the top.
    I thought I could avoid that by using of Virtual Forms, without Ajax (ajax4jsf) components.
    So far it seems to me it's more of a browser issue, and there's not much I can do on the server side besides Ajax. I might be wrong, and that's why I'm asking the forums.
    Am I doing something wrong?? How could I make IE behave like Firefox 2.0 without resorting to Ajax?? do I have any alternatives to Ajax?? any suggestion is welcome.
    Thanks.

    What is not working?

  • JSF rendering problem in IE

    Hi,
    I am having a problem with the following JSF page:
    <f:view>
    <afh:html binding="#{backing_add_Sponsor.html1}" id="html1">
    <afh:body binding="#{backing_add_Sponsor.body1}" id="body1">
    <h:form binding="#{backing_add_Sponsor.form1}" id="form1">
    <af:panelPage title="Add - Sponsor"
    binding="#{backing_add_Sponsor.panelPage1}"
    id="panelPage1">
    <af:message binding="#{backing_add_Sponsor.message1}" id="message1"/>
    <h:panelGrid columns="3" binding="#{backing_add_Sponsor.panelGrid1}"
    id="panelGrid1">
    <af:outputText value="Sponsor Name"
    binding="#{backing_add_Sponsor.outputText2}"
    id="outputText2" inlineStyle="font-size:small;"/>
    <h:inputText binding="#{backing_add_Sponsor.inputText1}"
    id="inputText1" size="30" tabindex="1"/>
    <af:outputText value="Sponsor Address 1"
    binding="#{backing_add_Sponsor.outputText3}"
    id="outputText3" inlineStyle="font-size:small;"/>
    <h:inputText binding="#{backing_add_Sponsor.inputText2}"
    id="inputText2" size="30" tabindex="2"
    style="background-color:transparent;"/>
    Problem is that some fields in this form are displayed differently in Internet Explorer and Firefox. In IE some of them have yellow background, that disappears during the page refresh and is displayed again after the page is refreshed. For example, the "Sponsor Name" field has no background color, while "Sponsor Address 1" has. In Firefox all the fields are correctly displayed without the background color.
    Did anyone have similar problem?
    Thank you,
    Zrinka

    Hi,
    which version of IE do you use. If this occurs in IE7, please check with IE6. Also, make sure there is no browser setting causing this issue. Different behavior in color usually doesn't point to a rendering but a browser problem
    Frank

  • JSF Rendering Commented code

    Am trying to debug an AssertionFailureException so I thought I'd reduce the components on my form - see section of JSP below
    When I deploy & test the items are still displayed -- surely this can't be correct
    When can we expect a fix
    <h:panel_data id="passportTblData" var="passport" valueRef="employee.passportList">
    <h:input_text id="passportId" valueRef="passport.passportNumber" readonly="true"/>
    <!-- <h:input_date id="passportIssueDate" valueRef="passport.passportIssueDate" readonly="true"/>     -->
    <!-- <h:input_text id="passportIssueLocation" valueRef="passport.issueLocation" readonly="true"/>     -->
    <!-- <h:input_date id="passportExpires" valueRef="passport.passportExpiryDate" readonly="true"/>     -->
    <!-- <h:input_text id="passportBirthPlace" valueRef="passport.birthPlace" readonly="true"/>     -->
              </h:panel_data>
    The more I learn about JSF - the less I'm impressed by it

    Hi Stefan,
    You're using HTML comment syntax where you need scriptlet comments. Try this:
    <%-- <h:input_date id="passportIssueDate" valueRef="passport.passportIssueDate" readonly="true"/> --%>
    ...HTML comments prevent the browser from rendering a portion of the page, but you're trying to prevent tag interpretation, which is done on the server side during JSP code generation.
    Jonathan

  • JSF rendering & Table Sorting

    I have problem in creating a jsf application for sorting the database table records using column names and rendering must be in the page only. could any bdy help me.

    This article might be helpful, it also contains a sorting sample: http://balusc.blogspot.com/2006/06/using-datatables.html

  • JSF renders invalid HTML code?

    Hi
    I'm new to JSF, but I know JSTL well. I'm trying to modify an existing JSF application, but there's one thing I don't understand: Since there can only be one <f:view> in the page, it must contain both the HTML <head> and <body>.
    Now, when I look at the rendered HTML code, I see something like this:
        </body>
      <form id="linkDummyForm" name="linkDummyForm" style="display:inline" method="post" action="/srclient/faces/jsp/start.jsp"><input type="hidden" name="jsf_tree_64" id="jsf_tree_64" value="H4sIAAAAAAAAA  (etc. etc.)
    </form>
    </html>This is clearly invalid HTML code. Is there a way to change the way that f:view is rendered?
    Btw, I'm using MyFaces.
    Thanks for any help!

    Any update on above issue, its urgent.

  • JSF Renderer encoding html link to call bean

    I have custom renderer. I would like to write out links in the same that when clicked will call a backing mean method.
    For example, suppose the backing bean method has a method foo(), I would like to be able to call that in my decode method and make it forward to a jsp. How can I accomplish this?
    Thanks in advance

    Thank you for reply, after making few chages by taking your suggestion i am still struggling to get the desired result in my jsp. please into the code below
    public class Database {
            public List calToDatabase;
         public static void initialCalToList()
              System.out.println("Contents in the List#########");
              List al=new ArrayList();
              al.add("JAya");
              al.add("chandra");
              al.add("raheem");
              al.add("balu");
              System.out.println("Contents in the List"+al);
              Database db= new Database();
              db.setCalToDatabase(al);  // calling the setter with list as an argument
    public List getCalToDatabase() {
              return calToDatabase;
         public void setCalToDatabase(List calToDatabase) {
              this.calToDatabase = calToDatabase;
         }I have also made changes in success.jsp
    <%@ page contentType="text/html"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    Login Successful
    <html>
    <f:view>
       <h:form id="result">
         <p>
               <c:forEach var="x" items="#{Database.getCalToDatabase}" >
                     ${x}
                   </c:forEach>
         </p>
       </h:form>
    </f:view>
    </html>

  • Problem with JSF rendered

    Hi,
    I have strange problem in my JSF project. When i use rendered along with <h:commandButton> it is not invoking method specified in action attribute. In following code
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <h:commandButton
         action="#{myBean.updateMyData}"
         value="EditButton"
         rendered ="#{myBean.buttonClicked == 'edit'}">
    </h:commandButton>
    <h:commandButton
         action="#{myBean.saveMyData}"
         value="SaveButton"
         rendered ="#{myBean.buttonClicked == 'save'}">
    </h:commandButton>
    It is showing proper buttons on jsp pages. i.e. if value of "myBean.buttonClicked" = save , it shows save button else it shows edit button.
    But problem is when i click the button, it is not calling any method.ie. neither "saveMyData" nor "updateMyData".
    Now, if i make use of <t:saveState> of myfaces, it works fine. Following is code after inserting which it works fine.
    <%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
    <t:saveState value="#{myBean}"/>
    Please help me out on this. I dont want to save the state and i want rendered to work fine. Any pointers will be really helpful to me.
    Thanks,
    Vishal

    Hi rlubke,
    Thank you very much for replying. I understood first two work arounds but not clear about third one. i.e "modifying the rendered attribute directly via method calls instead of via expressions" .
    Can you please elaborate this technique?If you can provide some example code then it would be great.
    Thanks,
    vishal

  • JSF Rendering messages component

    Hi All,
    I am having a t:messages tag on my jsf page which displayes all the error messages
    I want to make it fixed size possible by placing it in a textarea, Can i do this ?
    There is an attribute layout to t:messages tag which supports table and list but is there a way to render these ?
    when i set the style attribute or use the styleClass attribute it is applied only to the span tag ( which is generated by t:messages tag ) but not to either table or list, Can anyone suggest a way to do this
    Do get back to me if i am not clear
    Thanks in advance

    While this is in no way complete, you can check out my check list for Iin my opinion) a good overview of what it takes to write a JSF component:
    http://blogs.steeplesoft.com/2006/12/14/jsf-component-writing-check-list/
    The Burns/Schalk book, JavaServer Faces:  The Complete Reference (http://tinyurl.com/2ndoye) is also an excellent resource. If you can be patient, you might also keep on eye on java.net, as Ken Pauslen (of JSFTemplating and GlassFish fame) and I will have an article coming out on this very topic.

  • JSF Rendering

    I have deployed a B2E webApp using JWSDP 1.3
    When viewed via IE I get a lot of Blank lines between one <h:output_text and the next <h:panel_grid
    Any ideas how to prevent this
    Please see below a segment from my JSP
    <body bgcolor="white">
    <h:form id="HRDetails" formName="HRDetails">
    <d:stylesheet path="/stylesheet.css"/>
    <h:output_message value="Please Enter/Correct your Personal Details below"/>
    <h:input_number id="staffNumber" valueRef="employee.staffNumber" readonly="true" formatPattern="#####" numberStyle="99999"/>
    <h:output_text value="HR Staff Number"/>
    ********** ADITIONAL BLANK LINES APPEAR HERE ?? *************
    <h:panel_grid id="info" columns="3" panelClass="medium" columnClasses="subtitle,medium">
    <h:input_text id="title" valueRef="employee.title" readonly="true"/>
    <h:output_text value="Title"/>
    Thanks

    I have deployed a B2E webApp using JWSDP 1.3
    When viewed via IE I get a lot of Blank lines between
    one <h:output_text and the next <h:panel_grid
    Any ideas how to prevent this
    This looks like a renderer bug. It's still present in the latest code. I'll file the bug.
    Thanks.
    Ed

  • JSF Rendering & Performance

    Hi,
    I am using the below code snippet to render my pages based on certain conditions
    <h:form>
    <ui:fragment rendered="#{mybean.pageName eq 'CourseType'}">
    <ui:include src="/pages/courseTypePage.xhtml />
    <ui:fragment>
    <ui:fragment rendered="#{mybean.pageName eq 'ContainerType'}">
    <ui:include src="/pages/containerTypePage.xhtml />
    <ui:fragment>
    <ui:fragment rendered="#{mybean.pageName eq 'MenuType'}">
    <ui:include src="/pages/menuTypePage.xhtml />
    <ui:fragment>
    </h:form>
    I have many pages like this. I wanted to know,
    1. If I use rendered attribute like this, is it a performance hit.Because even if only 1 page is getting rendered, I found it is validating all the pages I have included here when loading the above page. If any invalid code or duplicate id in any of the pages above with rendered attribute value evaluated to false is giving me error.
    2. In the DOM tree, all the pages and its components will be there?
    I tried to build the pageUrl dynamically. but because of some other issues, it is not working fine.
    Can anyone give some light on this. If there is a better approach, could you please suggest.
    Any help will be greatly appreciated.
    Thanks,
    Sreejith

    1. A Facelet pages gets parsed and then it gets put into a Facelets cache (this cache I consider the compiled version of a Facelet page).You can consider it what you like, but there is still no compilation step. JSPs are compiled. Facelets pages are parsed and then interpreted. It isn't the same thing. You don't get anywhere by misusing standard terminology except to create unnecessary confusion.
    And EJP, if you think he should not be doing it this way please do tell how you would do it. Instead of just saying I wouldn't.I did. I said to use an id-scoping container instead of ui:fragment. You missed it.
    (I think this is taken out of context. I am trying to express that I am here to help not to pass the ultimate judgment on what should be done. If an example can accomplish what they are trying to do I would say it is right, if it would not do that I would say it is wrong).I must have missed the part where you provided any example at all, let alone one that was right or wrong.

  • JSF Rendering in the Visual Editor

    JDeveloper frequently fails to render JSF components in the Visual Editor when running the Car Demo example (as documented on this site). The error reported is a null pointer exception inside the View Tag code, caused by an inability to create a faces context.... Does anyone have any ideas?

    Jhon, what Frank mentioned can't be fixed from the outside. You or the developers who use phase listens without thinking about the design view are the ones to fix this. Frank provided you with the solution for this.
    However, we don't know if you use any self written phase listener. If you don't do this you have another problem. I do see some of your symptoms but can't reproduce them at the moment. As long as we can't reproduce the problem somehow it's difficult to to get a solution.
    My advise is to keep your eyes open (add I do) and whenever you can reproduce this behaviour come back and tell us about it. It's hard or impossible to give the 'best' settings for Jdev.conf as they depend on other factors e.g. operating system, memory, other applications running at the same time and many more.
    Personally I don't change the parameters as long as I can't put the problems to low memory (which I can't at the moment).
    Timo

  • Visual Web JSF: Rendering a checkbox group with some checkboxes preselected

    Dear Sirs and Madams,
    I am a Visual Web JSF newbie and have been humbled by this one issue: I have User value objects which hold a List attribute of what user privileges they have. Am trying to render a checkbox group of user privileges for a chosen user with some user privileges already checked (the ones the user already has), and some not checked (potential privileges to give to the user) for the EditAUsersPrivileges page. Is this even possible? If so, how?
    Profusely thanking you in advance,
    Phoenix

    Of course, use the value attribute of the component and set it to EL representing the desired property.

Maybe you are looking for

  • Prohibitory Sign in Pages document

    Hello~ I created a table in Pages and somehow a gray prohibitory sign appeared in the table, on each page. I am unable to make any changes to the document now. Please help!

  • Class Definition Error

    Hi- when I compile the following code I receive this error message: Exception in thread "main" java.lang.NoClassDefFoundError: ConnectionPool Any ideas? Here's the code: package databaseConn; import java.awt.*; import java.io.*; import java.util.*; i

  • Dynamic bad and Log file names!!

    Hi

  • Any solutiob of these errors

    public class Bharat public void main (strings args[]) system.out.println("hi"); ERROR: cannot find symbol class strings package system does not exist how to fix it please

  • How to make test data anonymus

    Hi all, we are planning to copy our productive system to our test system. Therefore it is necessary to make all HR and customer data anonymus. Is there a possibility within the standard (maybe a report) to make these data anonymus. If there is no sta