A graveness bug of jsf!!! to jsf developer!!!!!

i write a jsp constituted by jsf components,i not specified id of some components,such as a output_text ,and debug found that jsf not create id for
this UIoutput component,the getComponentId() of this UIoutput return null!!
this result in some oddness thing..

i think it would be more logical that the id attribute is required for all components.

Similar Messages

  • JSF HTML + JSF Core license question

    Hello everyone...
    If I use JDeveloper 10.1.3.4 to develop web applications to use JSF technology such that I only use the following components:
    JSF HTML
    JSF Core
    Java Beans for data connectivity,
    with Tomcat application server (The free version) , should I pay for oracle license ? I am NOT USING Oracle ADF OR TOPLINK, Just those 3 items mentioned above...
    the problem is that I get confused from time to time with the licensing, so I just want to make sure I won't be violating any terms and conditions.
    Thanks for any answer...
    Best Regards

    JDeveloper is free.
    Oracle ADF requires a runtime license.
    It doesn't appear you are using any of ADF.
    Note: I don't work for Oracle, so my opinions on this should be taken with this in light.
    (you may want to change your forum nickname so that your e-mail isn't visible to the world like that - it's an open invitation for spam)
    John

  • Who can help me to submit this bug to the adobe indesign development team?

    I developed a indesing plug-in, and its function is to increase the two kinds of footnotes style,
    When the user selects this type of footnote style, and insert some footnote to the document
    The user then export the document to pdf。
    there is no  problem in indesign CS3 and indesign CS4.
    but in indesign CS5 and CS5.5,
    export pdf, there will be two kinds of format:
    Adobe PDF(Interaction)
    Adobe PDF(Print)
    If the user chooses to export a pdf(Interaction),there is no problem,
    but if user choose to export to pdf(print),
    All of the footnote is replaced by an ordinary Arabic numerals 1,2,3,4,......
    I think there is a bug in exported the pdf function in cs5 and cs5.5,
    so ,who can help me to submit this bug to the adobe indesign development team? thanks.
    Through the link below to download a trial version of this plugin for indesign cs5
    http://www.cppblog.com/Files/lyj2871/1380_CS5.rar

    who can help me?

  • Mixing Non JSF and JSF components

    Hi All,
    I wanted to mix non jsf and jsf components and I able to do this
      <f:verbatim>
                                    <input type="radio" name="selectBidder" value="#{currentRow['BID_ID]}"/>
                                </f:verbatim>But the problem is bean value is not getting binded.
    The rendered output is containing same string i.e.
    value="#{currentRow['BID_ID]}"
    How to bind bean value to non jsf component.
    And No Javascript please
    Thanks
    Sudhakar

    Basically I am trying to implement something like below
    <h:dataTable binding="#{consumer$Select_Provider.dataTable1}" headerClass="list-header" id="dataTable1"
                            rowClasses="list-row-even,list-row-odd" style="left: 48px; top: 48px; position: absolute"
                            value="#{consumer$Select_Provider.dataTable1Model}" var="currentRow">
                            <h:column binding="#{consumer$Select_Provider.column6}" id="column6">
                                <h:outputText binding="#{consumer$Select_Provider.outputText11}" id="outputText11" value="#{currentRow['USER_LNAME']} #{currentRow['USER_FNAME']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText12}" id="outputText12" value="Bidder"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{consumer$Select_Provider.column1}" id="column1">
                                <h:outputText binding="#{consumer$Select_Provider.outputText1}" id="outputText1" value="#{currentRow['BID_PRICE']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText2}" id="outputText2" value="Bid Price"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{consumer$Select_Provider.column3}" id="column3">
                                <f:verbatim>
                                    <input name="selectBidder" type="radio" value="#{currentRow['BID_ID]}"/>
                                </f:verbatim>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText6}" id="outputText6" value="Select Bidder"/>
                                </f:facet>
                            </h:column>
                        </h:dataTable>Thanks
    Sudhakar

  • Does any body have any design patterns of JSF Web Application Developping?

    Can any one answer me some questions?
    #1.I am an amatuar of people who develop Web Application.For some reason,We choose the JSF to develop our item.through some introduction,I know the UI component of JSF is resided in Server side,is it right?but I am a little confused that:if there are many users who are exploring our jsf website.(to simplify my question,image I had just one web page and just one button)How many UI components(buttons) will be there?How it(they?) works?
    #2.Does any body have the success experience (for example design pattern)to develop web applications?if We just concern about the Add,Delete,Modify,Query operations of some data.
    I just do my job according to my feeling.
    I will give every page a pagebean(backing bean),and I am not sure how to combine the business data with the pagebean.some one suggested that I should use delegate pattern to separate my business log and page logic.But I am still confused by following things:
    #2.1 does JSF have the same ability to help us construct the model dialog just like swing to
    help us control the operation flow?
    #2.2 If there is not,Does the following way work?I put every tabledata's property as corresponed component.if user choosed the row in the table,My Listener will syncronize the row data to the components.But
    #2.2.1 if JSF has the components according to the web users' number,how can My Listener tell which component should be update?Should I maintain the map?
    #2.2.2 If the problem I imaged above is false,Does any body can tell me how to custom      the ListDataModel,so I can use it like Swing?because now I can just use some view data to insert into ListDataModel,but after some selection operation,my business object must be find according to the selected data,it is not an interesting job!
         I am waiting for your advice!

    Ok I'll try to explain Step by step please correct me if I make any mistake because I have not played much with shared variables.
    To create a shared variable to an RT target go to the target if tou have already otherwise add an RT target by right clicking the Project>>Add targets and Devices
    Then in the target Right clikc and select the variable as shown below.
    Then once the Shared variable settings window opens Enter a variable name and then Select the type "Network Published"
    In the right side you can select the data type for the shared variable and even you can choose your custome controls.
    After selecting the data type go for the Network and select buffering if required else leave it if you are planning to use the variable just for display purpose.
    Then you can enable the RT FIFO if required (Not able to explain how it works and why it is used).
    Then after completing the Shared variable setup you can access the variable in the VI in both the Host and the RT.
    You can bind the variable to a control so that if any data from the RT is coming you can read the data from that control.
    Once you have placed your shared variable in the BD you can change the access typr to read or write depending on your need.
    This might not explain the complete shared variable concept but I believe that this would defenelty give you a kick off to start using the shared variable. Please correct or add more comments if anybody know better.
    Good luck.
    The best solution is the one you find it by yourself

  • Status of ADF BC / JSF Version of Developer Guide?

    Can anyone provide an update on when this will be available (Developer guide based on ADF BC and JSF vs. Toplink)? I'm EAGERLY awaiting - this will be very helpful.
    I was able to download the SRDemo app based on ADF BC / JSF - this is very helpful to see some real code examples. For example, I read topics related to programming View Objects and Application Modules, but viewing the actual code examples for how to call these methods was invaluable. Any other sources for ADF BC / JSF Technology scope code examples greatly appreciated.
    Thanks

    Hi,
    I think this information is what you can already get from the SRDemoBc application. I remember from an internal training i delivered that the login is performed by a ViewObject that is acting as the root VO for all application VO. In addition, to store global values, a VO is created that doesn't use queries.
    Note that I am not really a suppoter of applications that handle the login logic in itself. Its good for demos, but in praxis they should use either JAAS or J2EE authentication to fit into an overall enterprise security strategy.
    Frank

  • [Swiss JSF Users] JSF Special-Interest-Group Switzerland

    JSF is proving more and more competitive each day. A increasing number of
    companies are developing applications based on JSF.
    Often the same questions/problems/hints are valid for almost all users of
    JSF. Internationally some active communities have been established. Last
    year a first encounter of JSF-entusiasts created the idea of "JSFDays Europe",
    a conference that allows to get in touch with the main players int he
    JSF-universe and to meet also informally. This first encounter took place
    in Munich, was organized on very short notice during the Oktoberfest. An
    intense session with the JSF expert group lead Ed Burns allowed the users
    to voice their wishes for JSF 2.0 and regognize the "approachability" of
    the JSF-people at Sun. Within Switzerland so far the contacts between the
    users are rather sporadic and more on a one-to-one basis.
    Hopefully some contacts have been added during the Jazoon-conference. We
    would like to go one step further and establish the networking between
    Swiss-JSF users. An active community can help in solving problems or even
    create components that are usefull for some or all members. And in
    Switzerland we encounter some problems (like i18n, as most of our
    applications need to be available in multiple languages) that other
    international users do not encounter or encounter later or to a lesser extent.
    The JSF-specification is driven by requirements that are brought to the
    Expert Group discussing the specifications. So far much input has come
    from framework-architects, appserver-providers and tool-creators. It's
    about time the actual users let hear their voices as well. Although the
    expert group members can be contacted and have proven to be very
    responsive, requirements coming from an official user-group have more
    importance.
    Establishing a "JSF user group" as a independant community or a
    "special interest group" under the umbrella of the
    "JUGS (Java User Group Switzerland)" could be the outcome of this meeting.
    The underline the importance of "interaction" and communication for the
    community, we propose short presentations with much space for discussion.
    Date: Thursday, 2007-06-28 (right after the end of Jazoon 07)
    Place: Zurich, close to the location of Jazoon 07 (but not yet defined)
    Agenda:
    - 16:30 - 17:30: HTTP-GET interface into JSF-applications
         Presenter: Ed Burns
         Abstract: First ideas on the upcoming GET-interface into
    JSF-applications. ...
         30 minutes presentation, 30 minutes discussion on
    these ideas and their implications on the applications
    - 17:30 - 18:30 (resp. open end): JSF, Quo Vadis?
         Presenter: Ed Burns, Alexander Jesse
         Abstract:
         - Where is JSF heading? The Expert Group is forming and discussing
    the next version of the JSF-spec right now.
    What are the ideas driving the EG?
         - Where is JSF heading in Switzerland? Can we say a User Group is
    forming right now? What could be the plans of this group? Should
    it participate in the "JSFDays Europe" initiative?
    In order to plan the upcoming first meeting (room,...) we would appreciate
    feedback from all interested people. Also from those that cannot come to
    the first meeting, but would welcome the foundation of the
    JSF Special-Interest-Group Switzerland.

  • JSF Samples (jsf-guessNumber.war)is NOT Working in Tomcat

    Hello
    I have worked in struts a bit, but, I'm new to JSF world. I was trying to run small program in JSF, but, I am getting the error by all the way.
    I have downloaded the JSF from Sun web site, the version says, jsf1.1 Final. I have found, "jsf-guessNumber.war" file in the sample folder in the downloaded zip file. I have already working Tomcat 5.5 in my laptop, I have deployed jsf-guessNumber.war application in my Tomcat and deployed successfully. But, when try to access the application through http://localhost:8080/jsf-guessNumber/ , the below exception appears. I have changed nothing in the war file. I have tried to deploy all other war sample files in my tomcat, but, nothing is working :-(.
    Can anyone please help me to find out what's wrong with this ?. Many Thanks in advance!.
    The exception details are below
    Dec 13, 2007 12:18:54 AM org.apache.catalina.core.ApplicationContext log
    SEVERE: StandardWrapper.Throwable
    java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:660)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:97)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:595)
    Dec 13, 2007 12:18:54 AM org.apache.catalina.core.ApplicationDispatcher invoke
    SEVERE: Allocate exception for servlet Faces Servlet
    java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:660)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:97)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:595)
    Dec 13, 2007 12:18:54 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:660)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:97)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:595)
    Thanks
    Sarav.

    Hi BalusC
    I have downloaded this now - https://javaserverfaces.dev.java.net/files/documents/1866/78307/jsf-1_2_07.zip and deployed samples in my Tomcat and added the libs. Restarted ny tomcat too thrice.
    I am getting the below exception while accessing this http://localhost:8080/jsf-guessNumber/
    Dec 13, 2007 12:53:12 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:267)
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:164)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:660)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
    Can you please help to find out what is missing ?

  • Lightroom 4: Massive BUG with White Balance / Quick Develop. Totally Unreliable!

    I just recently updated from LR3 and just now found a massive bug concerning the white balance adjustments in the quick develop module.
    After a studio shooting and especially after weddings I use the "make warmer" adjustment in the quick develop panel to give all (a few thousand NEFs) a nicer look all at once.
    The great thing about this is - like all quick developments - that it increases the color temperature relative to each image's starting white balance.
    Yesterday I wanted to edit my first wedding in LR4 and like in LR3 applied one click "make warmer" to all images at once (previously WB was "as shot").
    While I browsed through the images to rate them I noticed some of them were very "pinkish".
    After closer inspection it came out that a lot of images (50%-60%) had the following custom WB set: 5316, Tint: +10.
    It is always this exact combination no matter what the "as shot" WB was.
    That setting of course applies way too much magenta to a lot of images.
    After resetting the WB of single images to "as shot" and selecting "make warmer" once again the images look fine and get appropriate WB values.
    But every time I select more than one image to apply "make warmer" a lot of them get the strange value of 5316 and +10.
    Sometimes it's even just the first few images of the selection that get correct values and all the following ones get the off value. It appears to be totally random.
    I tried completely resetting all images prior to "make warmer", setting them to different camera profiles first and even switched them to Process 2010 again. But absolutely no luck!  :-(
    The "make warmer" tool gives me totally unusable results.
    I find it strange, that I couldn't find anything about that on the net.
    PLEASE fix this ASAP.
    To apply WB to thousands of images individually is a real pain.
    I would be glad to support you fixing the issue.
    My setup:
    Nikon D700
    Nikon D300s
    (Both cameras affected, I only shoot NEF)
    Win7 x64
    LR4.1 as well as LR4.2 RC

    @ssprengel
    I get your point but that is exactly my problem.
    Not only is there no pattern but also once I reset a file that got 5316+10 to "as shot" and select "make warmer" for it again it does get the correct value! As long as I select it as a single file without others.
    So just to simplify my findings and explain what I have been doing all night:
    - SELECT 5 files in Library View (all freshly imported, no settings altered, WB "as shot")
    File 1: 5700 / -8
    File 2: 5500 / -8
    File 3: 5550 / -8
    File 4: 5450 / -6
    File 5: 5500 / -7
    - CLICK "make warmer" once
    Result:
    File 1: 6089 / -8
    File 2: 5867 / -8
    File 3: 5316 / +10
    File 4: 5316 / +10
    File 5: 5316 / +10
    1 and 2 are okay!
    - SELECT 3-5
    - RESET THEM
    Result:
    File 3: 5550 / -8
    File 4: 5450 / -6
    File 5: 5500 / -7
    - CLICK "make warmer" again
    Result:
    File 3: 5316 / +10
    File 4: 5812 / -6
    File 5: 5867 / -7
    File 4 and 5 are okay!
    - SELECT File 3 again
    - RESET IT
    - CLICK "make warmer"
    Result:
    File 3: 5923 / -8
    now File 3 is okay, too.
    It is completely random!
    But that is no way to work, of course.
    I have two weddings from last week and am going nuts already.

  • BUG: ORA-00600 in SQL Developer while good in SQL*Plus

    Just run the following PL/SQL script:
    SET SERVEROUTPUT ON
    << outer_block >>
    DECLARE
    v_test NUMBER := 123;
    BEGIN
    DBMS_OUTPUT.PUT_LINE ('Outer Block, v_test: '||v_test);
    << inner_block >>
    DECLARE
    v_test NUMBER := 456;
    BEGIN
    DBMS_OUTPUT.PUT_LINE ('Inner Block, v_test: '||v_test);
    DBMS_OUTPUT.PUT_LINE ('Inner Block, outer_block.v_test: '|| outer_block.v_test);
    END inner_block;
    END outer_block;
    In SQL*Plus, you get the correct result, while in SQL Developer 1.5.4, you get:
    Error report:
    ORA-00600: internal error code, arguments: [12259], [], [], [], [], [], [], []
    00600. 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]"
    *Cause:    This is the generic internal error number for Oracle program
    exceptions.     This indicates that a process has encountered an
    exceptional condition.
    *Action:   Report as a bug - the first argument is the internal error number                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Meanwhile a workaround is to enclose the whole lot in a BEGIN END;

  • Working with Non JSF and JSF Pages

    Hi ALL,
    I wanted to know wheter it is possible or not
    Here is scenario
    I have 2 pages. First one is JSF Page and second one is JSP Page
    I wanted to submit the JSF Page contents to JSP Page. Is it possible??
    Below is by Navigation Rule for it where postJob is JSF and postJobDetails is JSP Page
    <navigation-rule>
            <from-view-id>/consumer/postJob.jsp</from-view-id>
            <navigation-case>
                <from-outcome>postJobDetails</from-outcome>
                <to-view-id>/consumer/postjobDetails.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>And in my button action I am doing like this
    public String btnContinue_action()
            return "postJobDetails";
        }And I am not able to submit JSF contents to JSP Page.
    Thanks
    Sudhakar

    You should be able to do this with a HyperLink component.

  • Sending parametrs from JSF to JSF

    Hi,
    I have 2 JSF screens . first.jsf and second.jsf.
    In first.jsf , I have 2 different links , one is �save� and other is �copy� .On clicking either of the link it goes to same second.jsf
    In second.jsf , I have 3 command buttons.
    1.     Save 2. Copy 3.Cancel
    When the user clicks save on first.jsf , it goes to second.jsf and displays only 2 command buttons (save,cancel)
    When user clicks copy on first.jsf, it goes to second.jsf and displays only 2 command buttons (copy,cancel)
    Below is the code I am doing. Command link for �save� on first.jsf
    <h:commandLink immediate ="true" action = "#{controller.control}" >
                                                                               <f:param name="cipIdValue" value="#{cipDetailed.cipId}" />
                                                                               <f:param name ="save" value = "save" />
                                                                               <h:outputText styleClass="user" valueue="#{cipDetailed.comments}"/>
    </h:commandLink>
    Command link for �copy� on first.jsf
    <h:commandLink immediate ="true" action = "#{controller.control}" >
                                                                               <f:param name="cipIdValue" value="#{cipDetailed.cipId}" />
                                                                               <f:param name ="copy" value = "copy" />
                                                                               <h:outputText styleClass="user" value="#{cipDetailed.cipId}"/>
                                                                               </h:commandLink>
    In the faces-config file, I have added save and copy as managed-property
    <managed-bean>
    <managed-bean-name>capitalImproveProj</managed-bean-name>
    <managed-bean-class>gov.gdot.ooit.asm.dto.CapitalImproveProj</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>save</property-name>
    <value>#{param.save}</value>
    </managed-property>
    <managed-property>
    <property-name>copy</property-name>
    <value>#{param.copy}</value>
    </managed-property>
    </managed-bean>
    In the capitalImproveProj.java (dto) I have getter/setters for save and copy.
    How can I get the parameter value to second.jsf like (save/copy ) and show the respective buttons like (save/cancel) and (copy/cancel)
    Do please suggest me, any snippet of code is helpful
    Thanks

    You can use the rendered attribute whether to render some component or not.
    Here are some basic examples:
    <h:someComponent rendered="#{myBean.booleanValue}" />
    <h:someComponent rendered="#{myBean.intValue > 10}" />
    <h:someComponent rendered="#{myBean.objectValue == null}" />
    <h:someComponent rendered="#{myBean.stringValue != 'someValue'}" />
    <h:someComponent rendered="#{!empty myBean.collectionValue}" />
    <h:someComponent rendered="#{!myBean.booleanValue && myBean.intValue != 0}" />
    <h:someComponent rendered="#{myBean.stringValue == 'oneValue' || myBean.stringValue == 'anotherValue'}" />Further on this article might be of interest: http://balusc.xs4all.nl/srv/dev-jep-com.html
    And probably this one also: http://balusc.xs4all.nl/srv/dev-jep-dat.html

  • Difference between jsf and jsf fragment

    hi all,
    now i am working with layout and menu framework.
    our page have main menu and side menu then in the middle there is main area.
    so far i use dynamic region and jsf fragment for main area.
    because i can only use jsff in dynamic region. So when user click on main menu or side menu, i change dynamically in dynamic region.
    So all of my functional pages become jsff.
    is there any disadvantages for using like this?
    is it anti design patterns?
    With Regards,
    WP

    Hi,
    I am having UI which includes 5 tabs.
    The tabs present separate functionalities and are independent of each other.
    I am not sure, whether to make 5 .jsff fragments and put them into one .jspx or make 5 different .jspx files.
    Please comment on which approach to follow, or any general UI design guidelines to be looked into.
    Thanks !

  • Small bug and fix starting SQL Developer on Mac OS X

    I couldn't find anyone else mentioning this so I'll write it in.
    If I started SQL Developer in one user I couldn't start it again in another user, even after quitting out of the first. I would double click the icon and it would do the animated "zoom" but then nothing.
    I tracked it down to a problem in SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh. When it redirects the output of the call to the start scipt in the /sqldeveloper/bin directory it would fail because the /tmp/sqldeveloper-startup.log was owned by the first user to start the App (since the /tmp was cleared anyway). My umask didn't give it permission to start overwriting that file.
    To fix it I changed the last line in SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh to:
    bash ./sqldeveloper >/tmp/sqldeveloper-startup.$$.log
    so that the PID was now part of the name and each initiation of SQL Developer would have its own.
    You could also change the last line to:
    bash ./sqldeveloper >$(mktemp /tmp/sqldeveloper-startup.log.XXXXX)
    which would guarantee more uniqueness but wouldn't let you know which process was using the file.
    Savvy Mac users can edit the script themselves by right-clicking on the SQLDeveloper.app and selecting "Show Package Contents". You may have to temporarily change the file permissions to let you edit it.
    For the record I'm running SQL Developer 1.2.0 on a Mac TiBook G4 867MHz with Mac OS X 10.4.10 and 1Gb RAM (and it is still maddeningly slow because Java fundamentally sucks).
    -Bion

    Ok - I think I found it.
    Go into ~/Library/Application Support/SQL Developer/system1.5.3.57.83/o.ide.11.1.1.0.22.49.44 (or similar for whatever version you're running) and edit the settings.xml file there.
    Look for a block that looks like:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[0]</Item>
    </data>
    </second>
    </Item>
    and change it to:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[8]</Item>
    </data>
    </second>
    </Item>
    I'm not sure why, but this file seems to always contain the incorrect keystroke value when I do a fresh install of SQL Developer. I always have to go in and change that value by hand. I've tried choosing any number of the accelerator presets, but none of them make the delete key work.

  • Bug?  In LR5 Mac, Develop module, option+slider undocks right panel!

    Holding down option key (LR5 Mac) with slider causes entire right panel to undock
    In the Develop module, I used to be able to hold down the option key while adjusting a slider, giving some extra features in the panel section.  (To see the extent of masking in the Detail panel group, in white/black, for example)
    Now, the entire panel undocks and I can't slide the slider, instead the panel moves around in th LR5 workspace. While I am unintentionally moving the panel, there is a blue border that appears around the panel.  See the screenshot.  Has anyone had this issue, and if so, were you able to fix it?

    In develop module, Details panel group (sharpening), I hold down option key and attempt to move any of the sliders.  Instead of the view changing as described in this page: http://laurashoe.com/2012/11/26/develop-module-secret-lightroom-powers-revealed-the-altopt ion-key/, the whole panel becomes undocked and moves in the LR workspace.
    While its moving, there is a blue border around the panel window (as I show in my screenshot). 
    The slider does not move, the whole panel becomes undocked. In the screenshot, I was attempting to slide the Sharpening/Detail slider.
    I am working with OS Mavericks, LR 5.3

Maybe you are looking for