Changine Fonts in JDeveloper/Jheadstart 10.1.3

What is the best and simplest method of changing all-for example- Arial fonts throughout the application to Verdana? Do the changes survive after JHS regenerates the pages?
I want to avoid creating my own skin, and when I change the entries in [oracle-desktop-10_1_3_0_4...].css file, none of the changes appears.
I tried making changes in oracle-desktop.xss and base-desktop.xss but I can't see the effect of modification in the above css file and in the pages.
Thanks,
Farbod

Technically Steven is right of course, you should be creating a new skin. However, new skins are based on the simple look and feel and do not extend the BLAF look and feel. That means that if you like the overall BLAF look and feel, with its icons and rounded buttons and tabs etc., and only would like to use different colors or fonts, changing a custom skin is a massive undertaking that is currently to even fully supported (for example changing the icons in the tree component cannot be done in a custom skin). In those cases, I can fully justify the approach outlined by Farbod. In fact, it is the same approach I used several weeks ago in our own application.
It seems that internally, ADF Faces still has three different code bases, for Simple, Minimal and BLAF. I would hope to see in a later release that BLAF is also just a custom skin on top of Simple. Until that moment, BLAF and Simple + Custom Skins are two different worlds.
regards
Lucas Jellema

Similar Messages

  • Installing New Font in Jdeveloper(urgent)

    how can install a new font in jdeveloper and also in java i need for printing labels for our application, if could help, i would appreicate it.
    thanks
    email:[email protected]

    Jeff:
    Trying to index PDF files to be uploaded to IBM Content Manager OnDemand.  I work for a utility that now keeps a digital copy of customer bills, stored as PDFs.  We are moving to mid range servers to isolate for performance spikes, without service degradation. But the font files in the bills need to be recpognized by the PDF Indexer (licensed) part of the IBM product.
    So these font files need to be found by this ADOBE integrated product.  Use o fthe resource files should save us about 93% of the storage that will otherwise be necessary.
    L J Wagner

  • Transitioning from Designer/Headstart to JDeveloper/JHeadstart

    My company is considering transitioning from Designer/Headstart to JDeveloper/JHeadstart. I have a question on hardware/software requirements.
    We currently have two MS Windows Server 2003 running our Oracle Application Servers.
    Will we be able to use these servers for our OAS? Or will we need something else? I was planning to upgrade the OAS to the latest version as part of the upgrade. I'll also be making sure that the servers at least have the recommended hardware requirements for that version before the upgrade.
    Thanks.

    Hi,
    Questions regarding server requirements for JHeadstart are basically questions regarding server requirements for JDeveloper/ADF (since JHeadstart is at runtime 'just' one library on top of ADF).
    For alternative ways to find an answer to your question, please take a look at [this post|http://forums.oracle.com/forums/ann.jspa?annID=1072]
    Regards
    Evert-Jan de Bruin
    JHeadstart Team

  • Setting Dialog, Tree Node and Menu Font in JDeveloper 11.1.1.4/11.1.1.5

    Hi,
    I'm near sighted and thus dependent on being able to choose larger fonts. For the code editor, this poses no problem. For the widgets in the views surrounding the editor (containing tree nodes) and dialogs (with the Preferences dialog being one example), the font is very small at high screen resolutions (I don't want to resort to a lower resolution since I would like the fonts to appear as detailed as possible).
    Is there any way to override the menu, tree node, and dialog font via command line switches and/or property/config files during JDeveloper startup in a platform independent way?
    If it can't be done platform independently, what are the necessary steps on Linux (probably for the GTK lib) and Windows?
    Thanks in advance!
    Kind regards,
    Holger

    I previously developed under full screen option and my PC resolution was 1600x1200. But when the application was ran on other screens it was displaying with some page contents being cut out. It was due to other machines running on lower resoultion. I will need now redesign the pages to run on user defined lower resolution of 1280x1024. How do I setup Jdeveloper design tab to show for 1280x1024.
    Thanks
    Edited by: user5108636 on Feb 14, 2011 5:23 PM

  • JDeveloper IDE fonts unreadable

    Hi all,
    The menu and dialog fonts in JDeveloper IDE are unreadable. They are correct but un-continuous, they are showed as a draft. This error happens with JDK 1.3.1_02 & JDK 1.3.1_08.
    Curiously, the problem is solved with JDK 1.4.1_02. But JDeveloper is unstable with this JDK version.
    Any solution or suggestion?

    Hi,
    have a look at
    C:\Documents and Settings\<user>\Application Data\JDeveloper\system11.1.1.0.18.<version>\o.jdeveloper\ide.properties
    Change the default settings and the font will change in the IDE
    Frank

  • Jheadstart 11g upgrade tp1 to tp2 with jdeveloper build 5205

    Hi
    I use JDeveloper 11.1.1.0.2 (build 5205) and JHeadstart TP1.
    Can we upgrade to JHeadstart TP2 with this version, because this buildnr is not in the blog?
    I try to upgrade but after installing the war-file of the ViewController-project, I get an error java.lang.LinkageError, and I don't know if this is because of our JDeveloper/JHeadstart-combination or if this has another reason.
    Regards,
    LvL

    The linkage error is a deployment issue.
    Upgrading to new JHeadstart preview release is simply a matter of re-enabling and regenerating the app. (and re-applying any custom templates you might have).
    Did you upgrade the ADF runtime libs as well on the server you deploy to?
    Steven Davelaar,
    JHeadstart Team.

  • Font problems with RH 7.1 and JDK 1.3.1

    Hi there,
    I've read all post about this and looked at sun docs on how to add fonts. I've even replaced the fonts.properties with a new one I got from sun's page, but I can't make jdk 1.3.1 load the correct fonts for JDeveloper.
    Could anyone post here the steps to do it?
    I've also tried JDK 1.4.1 and for the moment everything works but some wizards, which I must run reverting to 1.3.1 JDK.
    Thanks,
    Ignacio

    To be honest, I managed to solve de problem getting the missing font from a Windows system (Ufffffff!!!!!). Now I don't get any font problems with JDK 1.3.1 but I find it very much slower than 1.4.1, and the problem is that JDeveloper wizards get weird in 1.4.1 and work OK in 1.3.1 ... let's hope Oracle releases a 1.4.1 ready JDeveloper soon.
    Thanks for your message.

  • JAG errors by Default Application

    Hello,
    I'm traying to create the Default Application:
    Create Application Workspace (JSF, ADFBC) in JDev
    Create default business components for all HR tables (except for JOB_HISTORY) in Model project.
    Edit the Application Module, add nested view object usages to get 5-level deep nesting of region-country-location-department-employee.
    Go to ViewControlller project, right-mouse-click and choose “Enable JHeadstart in this project”.
    Create default Application Definition (right-mouse-click on ViewController project).
    Create lookups as LOV checkbox does not work yet.
    Save all
    Go to Project Properties -> Project Content -> Resources and check the checkbox “Include Content From Subfolders” for the “Templates” and “Properties” resource paths. The Application Definition file, and all Generator Templates should now appear under the Resources node.
    Right-mouse-click ViewController project, choose Edit Application Definition, and see how app module structure has been carried forward: 5 level-deep nesting of regions etc.
    Run the JAG, by right-mouse-clicking on the file itself, or by pressing the generate button in the editor
    Runing the JAG a got these Errors:
    [RegionsTable.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Regions.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Regions.jspx, default/button/newButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Regions.jspx, default/button/deleteButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Countries2Table.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [LocationsTable.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Locations.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Locations.jspx, default/button/newButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Locations.jspx, default/button/deleteButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Departments2Table.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [EmployeesTable.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    etc.
    Why?! Can anybody tell me?
    Regards
    Boris

    Steven,
    because my JDeveloper with JHeadstart was obvious not O.K.
    Loading JHeadstart Addins
    Addin | Version | Status
    JHeadstart Shared Components | 10.1.3.0.65| Loaded
    JHeadstart Development Environment | 10.1.3.0.65| Loaded
    JHeadstart Application Generator | 10.1.3.0.65| Loaded
    Missing property ajc.nonStandardOptions
    Missing property ajc.nonStandardOptions
    Cannot find script : nulljava.lang.UnsatisfiedLinkError: no kernelinterface in j
    ava.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at edu.stanford.suif.keepresident.KernelInterface.<clinit>(KernelInterface.java:24)
    at uk.org.damselfly.jdev.keepResident.KeepResidentAddin$KernelClass.initialize(KeepResidentAddin.java:203)
    at uk.org.damselfly.jdev.keepResident.KeepResidentAddin.mainWindowOpened(KeepResidentAddin.java:166)
    at oracle.ide.IdeCore.fireIdeEvent(IdeCore.java:725)
    at oracle.ide.IdeCore.mav$fireIdeEvent(IdeCore.java)
    at oracle.ide.IdeCore$5.run(IdeCore.java:689)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    I am trying now with a "New" JDeveloper &JHeadstart and I'm getting these errors:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    500 Internal Server Error
    javax.servlet.jsp.JspException: setActionListener must be inside of a UIComponent tag.     at oracle.adfinternal.view.faces.taglib.RegionDefTag.doStartTag(RegionDefTag.java:44)     at common.regions._menuGlobal_jspx._jspService(_menuGlobal_jspx.java:48)     [common/regions/menuGlobal.jspx]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Regards
    Boris

  • How to Capture the Variables Value into the

    Using JSLT part of the Jdeveloper/Jheadstart, ADF/Struts Framework.
    I'm capturing the value fine using the following,
    <c:set var="CvInformationFirstName" scope="request" value="${bindings.CvInformationFirstName.attributeValue}"/>I can even show the value without any problem,
    <%-- Show the saved values --%>
    <c:out value='${requestScope.CvInformationFirstName}' />Right here, we I try assigning the value of the firstname to a field, I can't accomplish this since I just don't know how to do it,
    <html:text name="CvInformationBean" property="CvInformationFirstName" size="10" maxlength="10"/>
    Any help will be greatly appreciate it.
    Oracle Group

    I am not sure what it is you are trying to accomplish. What do you mean with "assigning"? It is a business rule where the FirstName and LastName fields of the master need to be equal to the FirstName and LastName of the details, or is it the other way around? Anyway, it seems you are trying to get this business rule implemented by playing around with <html:text> elements in the JSP. You can't do it that way. Those <html:text> elemens are "two way". When the page is shown they determine which values get shown. Then, when the user enters new values and submits, they determine where those values are stored. If I understand what you are trying to accomplish correctly, you are trying to show values from one place, but submit them to another place. That can't be done strictly at the JSP level (not unless you use JavaScript anyway).
    But then again, I may be misinterpreting what you are trying to do. Could you provide some more details about what the desired functionality is?
    Finally, may I remark that this is the JHeadstart Forum, where you can communicate with other JHeadstart users all over the world. Also you may have noticed that the JHeadstart Team monitors this forum, and as such it is used as a means of providing some support for JHeadstart users that run into bugs or problems with the JHeadstart Tool (JHeadstart is a Consulting product that does not come with official "Metalink" support). But your problem is obviously not a bug in JHeadstart, you are just wondering how to implement some additional functionality that our Generator does not generate. So I hope you understand that if you get any assistance on this forum with your problem, either from the JHeadstart Team or from other JHeadstart users, it is not because you have a right to it, but because we're a bunch of friendly people out here that like to help out where we can. Demanding a reply like you did with your last two posts (an hour apart!) is really not done.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • Master page is not refreshing

    Hi,
    We are using JDeveloper/JHeadStart - 10.1.3.5.0/10.1.3.3.88
    On master page, we have the following - Text input fields and one drop-down list.
    On LOV page, we have the following Search values - Two text input fields and one drop-down list.
    We have used ADF LOV in our project. We have used the Advance Search method to find.
    As per the requirement, we have to disable the master page till user didn't find the value on LOV page.
    To achieve above, we have set the value in SessionScope on Find Button of LOV page and checking the value on master page.
    When we are opening the LOV from master page and after Find if we are clicking the Add New button(custom button) on LOV, it is not refreshing the master page and master page remains in the read-only mode due to this we are not able to update the value. After refreshing the master page it is coming in editable-mode.
    Expected result - The master page should come in editable-mode after clicking the Add New button(custom button) on LOV page.
    Actual result - The master page is coming in read-only mode after clicking the Add New button(custom button) on LOV page.
    Thanks for your support.

    Hi,
    Thanks for your reply.
    Master page means the page from which the LOV page is opening. Master page means the parent page from which we are opening the LOV(popup) page.
    On LOV(popup) page, we have a command button(FIND), on which we have set the setActionListener tag.
    Eg. <af:setActionListener from="#{'Y'}" to="#{sessionScope.find}"/>
    Depending on this value, on parent page we are enabling/disabling the fields.
    On LOV page, when we are pressing the "Add New" button(custom button), it is closing the LOV page but on parent page it is not updating the fields(i.e. editable mode). If we refresh the page, then the parent page appears in editale mode.

  • Work with SEQUENCE, Help me, I'm a NeewbY!

    Hi to all, I've a problem,
    I want to create a form based on db that uses sequence (auto-number) for the primary key.
    I'm working with Jdeveloper+ jheadstart (to build Model & view controller)
    I don't want to insert the PK, i want that ID is inserted automatically in the form (in the master and also in detail form)....there are a way like p_session (of Portal) or where can I insert an simple PL/SQL (or sql) code??
    Thabk you, I'm a very very beginner!
    (Note the Master have a PK_1 with sequence but not a trigger, the detail have a form composed by a PK_2 (with sequence and trigger), FK_1 (linked to PK_1), and another FK_2)

    Hi,
    Why you didn't create a trigger? With trigger you can create entry with ID=null, then trrigger calls the sequence automatically to populate the ID.
    If needed:
    CREATE OR REPLACE
    TRIGGER ASSIGN_MYTABLE_ID BEFORE INSERT ON MYTABLE
    FOR EACH ROW
    BEGIN
    IF :NEW.MYTABLE_ID IS NULL OR :NEW.MYTABLE_ID < 0 THEN
    SELECT MYTABLE_SEQ.NEXTVAL
    INTO :NEW.MYTABLE_ID
    FROM DUAL;
    END IF;
    END;
    Regards,
    Tif

  • Can i make more than one faces-config.xml file ?

    Can i make more than one faces-config.xml file under one project or application, if yes than how it will link.

    Just that you know,
    In the second week of july I was taking the Jdeveloper/Jheadstart course at Oracle Netherlands. During that course we were asked to split the faces-config. After splitting it, we were not able to find the navigation rules that were defined in the first faces-config in the web.xml. The Jdeveloper IDE was confused........
    However, we were able to use the navigation rules (type in manualy) and that worked in the application.
    I talked about it with Steven Davelaar and he thought it might be a bug. I don't know if it's reported, and I don't know if it's fixed.
    So, if you get confused.... it works, but Jdeveloper might have some problems with it.
    Luc Bors

  • Is it possible to define a boolean as a checkbox at Model layer of JDev?

    We are very new to JDeveloper and are using JHeadstart. We are a 'forte' shop and are converting our applications over to JDeveloper/JHeadstart. Our current system has a number of Boolean columns in our Oracle tables that are defined as Number(1) but are used as Booleans and displayed as checkboxes.
    For example the column "discontinued" is in every edit table we have and keeps historical reference to values that are no longer used. I am wondering if it is possible at the Model layer to define all of these so that they are generated through JHeadstart to display as checkboxes. This is done at the BusinessModel layer in forte and allows us to define this in one spot and everything generated is based on that definition.
    In JDeveloper, this is currently being done at the JHeadstart Application Definition each and every time one of these tables is used, but I was wondering if it can be done through the Control Hints level in the Model Layer so that it is done once (similar to forte) and have been looking at editting the formatinfo.xml file as a possible solution. Has anyone else done this? I have searched this forum and found a couple of things wrt title bindings, but not this specifically. Can this be done?
    Thanks very much in advance.
    Mary B
    University of Windsor

    I did some poking around and I believe I found what you were looking for. It can most easily be illustrated in the form of a screen capture - as a picture can save my fingers a thousand words...
    http://cs.uwindsor.ca/~ruston7/checkboxdefn.png
    This should be all the information anyone needs to know in order to implement the same set up in their own ADF Business Components.
    Notes:
    - 'DOMAIN' refers to the static domain I have defined throughout my JHeadstart applications to properly map the check box to yes/no (ref: JHeadstart Dev Guide for details).
    - I am not sure what READ_ONLY_IN_TABLE is referring too. I am quite positive that this field is editable pretty much anywhere for this specific ViewObject.

  • Query: Setting date format after generation & deployment..

    Howdy.. read a few threads on this issue but can't find a solution that works for me.. would be great if someone could help clarify this for me.
    Our application is up and running but i've sinced noticed the date is in american month/day/year format, we need it in day/month/year format (dd/mmm/yyyy). If we can avoid re-generating or re-deploying just for this issue it would be a great benefit.
    One suggestion I read claimed:
    "You can set the format in dateformat.properties, which is located in the root of the classpath."
    Which sounds great, but i've searched the entire drive that both jdeveloper/jheadstart and the oracle application deployment are on and not found any file named "dateformat.properties". What does it mean if it's not there..?
    Another solution I was looking into involved this code:
    <af:outputFormatted value="#{row.Weekenddate}">
    <af:convertDateTime pattern="dd/MMM/yyy"/>
    </af:outputFormatted>
    but i'm not sure where to insert this code to get the desired effect, is it possible to edit some xml file to add this code into an already generated & deployed application? Or would this need to be added prior to deployment..
    Thanks in adv. for any suggestions..

    Thanks again, i've checked the code and it mostly appears to be in accordance with the samples you supplied.. included below for reference.
    I'm not sure if this affects the formatting process or not but I thinks it's relevent to mention that I previously altered the tables properties and set this particular column/field (weekenddate) to custom -> af:outputText, to make it uneditable by the user at run time. Could this have affected the convertDateTime pattern pickup since it is specified inside an af:selectInputDate tag ?
    <af:column id="Tasks2WeekenddateColumn" sortable="true" noWrap="true" sortProperty="Weekenddate" >
    <f:facet name="header">
    <af:outputLabel value="Weekenddate" showRequired="#{bindings.Tasks2Weekenddate.mandatory}" styleClass="af_column_header-text"/>
    </f:facet>
    <af:selectInputDate id="Tasks2Weekenddate" value="#{row.Weekenddate}"
    required="#{(bindings.Tasks2Weekenddate.mandatory) and (!Tasks2CollectionModel.newRow)}" >
    <af:convertDateTime pattern="#{nls.datepattern}"/>
    </af:selectInputDate>
    <managed-bean>
    <managed-bean-name>nls</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.util.MessageFactoryMap</managed-bean-class>
    <managed-bean-scope>application</managed-bean-scope>
    <managed-property>
    <property-name>messageFactory</property-name>
    <value>#{jhsMessageFactory}</value>
    </managed-property>
    </managed-bean>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/JhsCommon-beans.xml,/WEB-INF/AppModule-Breadcrumb-beans.xml,/WEB-INF/Tsusers-beans.xml,/WEB-INF/Tasks2-beans.xml,/WEB-INF/Tasks-beans.xml,/WEB-INF/Users-beans.xml</param-value>
    </context-param>

  • How to search on a transient attribute in a VO ?

    Hi,
    I want to search on a field, on my page, that's not in the database. So I created a transient attribute, in the view object, that is queriable so it appears on the find page.(with JDeveloper/JHeadstart) But when I use the attribute in the where clause of the View Object I get the following error: "SQL Query Error Message: ORA-00904 "STATUSGROEP": invalid identifier".
    I also tried to use a bind variable (:1) instead of the attribute name in the where clause but then I get the runtime error: "java.sql.SQLException: ORA-01008: not all variables bound".
    What am I doing wrong ?
    Regards,
    Chris van Dijk

    Michiel / Chris
    Based on the find attributes, JHeadstart automatically adds a SQL WHERE CLAUSE to the ViewObject. Since transient attribute do not map to a valid column name, this will not work.
    I built a little testcase with a transient attribute, and it was simply ignored, I did not get the ORA-904. From your description, it looks like you added some bind variables to the ViewObject as well. That is not supported in combination with find pages, unless you overwrite method
    DataObjectSet getDataObjectSet(String queryType, HashMap arguments, Object sessionId, int startRange , int rangeSize)
    on the handler.
    Anyway, if you really want to filter on a transient attribute, you will have to do that in java code, overriding the aforementioned method:
    - remove the transient attribute from the arguments HashMap
    - call super to execute the query without the transient attribute
    - loop over the result set and remove the rows that do not match with the transient attribute value.
    This might be quite slow, depending on the size of the result set returned by the query. Can't you somehow translate the transient attribute value to some SQL column values so all filtering can be done using SQL?
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for

  • Problem with variable offset

    Hi, I am using BI 7.0. I have a query with 0calmonth in rows, I need the last 12 months, so I did 0calmonth from variable -1 to -11. I have the 12 rows with the month description correctly. I have 8 columns with formulas and  filter. I can see the ro

  • Crystal reports hierarchy issue

    Hello Experts, I am working on crystal reports 2008 on top of BW queries, I have product hierearchy untill 5levels. But in crystal i cannot see all the detail attributes of hierarchy, meaning,  i cannot see product key and medium name for level3,leve

  • JSplitPane always jumps to center

    I have a JSplitPane, which is split vertically. On the right i display textboxes and tables, which could be dragged to a new position by the user. Therefore i'm not using a layout manager and setting location and size for each component with setLocat

  • Itunes hangs during radio streaming and has to be forced quit

    Itunes plays radio streams ok for a while, but eventually the music stops. Pressing stop to restart the url doesnt work, the whole of itunes becomes frozen and unresponsive and needs to be force quit everytime. Its very frustrating as when you restar

  • 2 database

    i have two databases. A and B. i only can display either data from database A or database B but i can't combine data from two database. all table and field in every database are same. so what should i do to make me can display all search result..