Create LOVS in jsp with ViewObjects

Hello,
I want to create a jsp-page containing two LOV's (html-<selects>). The first LOV is based on a VO named COUNTRIES. The second LOV is based on a VO named COMPANIES. There's a View Link between the two VO's.
I am using the BC4j-Tags from the Component Palette. What I have to do to synchronize the both LOV's. For example, if I select a country, only specific companies have to appear in the COMPANY LOV.
Thanks for your help.
Peter

Within jsp pages it is not possible to have the comboboxes dynamically updated without intervention to either refresh the page with the new data or use java script.
I had a similar problem which i resolved with java script :
Interactive combo boxes on jsp
Have a look at this thread for more info.

Similar Messages

  • How create LOV(select List) with all LDAP users

    Hello,
    I am trying to create a selected list with all the users in my LDAP, note my LDAP is synchronized with my OID.
    Any suggestions, I'm searching the the pl/sql statment?
    Thanks
    Hussam

    Hi Hussam,
    Take a look at my comments in the following two threads -
    Re: LDAP
    Re: Cookie And LDAP
    The two different threads discuss the methods I use to do what you want to do (so you really need to 'combine' the two different threads).
    Hope this helps

  • Creating Lov based on dynamic viewobject

    Hi,
    I'm trying to create a lov page that is based on a viewobject whose query (and bindings) are set at runtime (like Steve Muench shows in one of his undocumented ADF samples).
    In the prepareModel() I do the following:
    -unbindRowsetIteratorFromDynamicQueryIteratorBinding(...)
    -changeDynamicViewObjectQuery(...)
    -recreateRangeBindingForDynamicQuery(...)
    -removeControlBinding(...)
    -addDynamicRangeBinding(...)
    So I remove the existing binding, change the query of the viewobejct and recreate the bindings.
    I have got most of the code running except for 2 issues:
    1. The first time I call my Lov I get the a stacktrace (included at the end of this post). If I close the window and click the Lov button again it is working fine.
    2. After I have selected a value in my Lov the value is set in my calling screen. If I commit the new value is commited to the database, but the value in the screen is set back to the original value! If I then refresh the iterator by clicking a tableheader the correct values are shown.
    I do not know if these two issues are related but if someone could give me a hint in which direction I have to look for a solution for one of the problems, I would be very glad.
    I'm using JHeadstart 10.1.2.2 (32) and generating JSP's.
    Here is the stacktrace I am getting:
    javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "value" with value "${bindings.OpmerkingenLookupIterator.rangeStart}": An error occurred while getting property "rangeStart" from an instance of class oracle.jbo.uicli.binding.JUIteratorBinding (java.lang.NullPointerException)
         at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:146)
         at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:166)
         at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:112)
         at org.apache.taglibs.standard.tag.el.core.ExpressionUtil.evalNotNull(ExpressionUtil.java:85)
         at org.apache.taglibs.standard.tag.el.core.SetTag.evaluateExpressions(SetTag.java:147)
         at org.apache.taglibs.standard.tag.el.core.SetTag.doStartTag(SetTag.java:95)
         at web2d_inf._page._referentie._LovOpmerkingenLookup._jspService(_LovOpmerkingenLookup.java:131)
         [SRC:/WEB-INF/page/referentie/LovOpmerkingenLookup.jsp:28]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at oracle.jheadstart.controller.strutsadf.JhsRequestProcessor.process(JhsRequestProcessor.java:385)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:130)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:176)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

    Pascal,
    This sounds like a JDeveloper/ADF issue that is not related to JHeadstart. To simplify the test case, you could create a simple drag-and-drop ADF application without JHeadstart and see if the same problem occurs there. Can you please log a TAR at MetaLink ( http://metalink.oracle.com/ ), or ask this question at the JDeveloper forum at http://otn.oracle.com/discussionforums/jdev.html ?
    Thanks.
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Dependant lovs in jsp with mysql data

    hi to all.
    here is my doubt
    How to create dependant dynamic list of values in jsp where the data comes from mysql tables.(I mean i am storing all the details in mysql tables using foreign keys etc..).
    Ex.:country--->state--->district--->city--->
    we will be having this in most of the sites in general.
    Hope u got what i am looking for
    Expecting a very quick and excellent answer.
    thank you

    Within jsp pages it is not possible to have the comboboxes dynamically updated without intervention to either refresh the page with the new data or use java script.
    I had a similar problem which i resolved with java script :
    Interactive combo boxes on jsp
    Have a look at this thread for more info.

  • Create dynamic table at runtime and bind it with ViewObject

    Hi everyone.
    I have the following task.
    I need to create a multiple ViewObjects at runtime (using different constructed sql queries) and then bind ViewObjects with created (also in runtime) tables.
    Tables are to be created on PanelTabbed component. Each tab contains one table.
    So the problem - is there a way to perform this task?
    A portion of code:
    ApplicationModule am = ADFUtils.getApplicationModule("AppModule");
    ViewObjectImpl vo = null;
    if (am.findViewObject("SQLVo") != null)
    am.findViewObject("SQLVo").remove();
    System.out.println("object removed!");
    vo = am.createViewObjectFromQueryStmt("vo", "select ...");
    RichTable newTable = new RichTable();
    newTable.setVar("row");
    newTable.setVarStatus("rowStat");
    RichShowDetailItem newDetItem = new RichShowDetailItem();
    newDetItem.setText("New Detail");
    newTable.setInlineStyle("width:100%;height:180px");
    newTable.setRowSelection("single");
    DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    String iterBindingName = vo.getName() + "Iterator";
    JUIteratorBinding iterBinding =
    (JUIteratorBinding)dcBindings.findIteratorBinding(iterBindingName);
    if (iterBinding != null) {
    dcBindings.removeIteratorBinding(iterBindingName);
    BindingContext bcc = (BindingContext)JSFUtils.resolveExpression("#{data}");
    iterBinding =
    new JUIteratorBinding(bcc.findDataControl("AppModuleDataControl"), vo);
    String ctrlBindingName = vo.getName() + "Binding";
    FacesCtrlHierBinding clonedHierBinding =
    (FacesCtrlHierBinding)dcBindings.findCtrlBinding(ctrlBindingName);
    if (clonedHierBinding != null) {
    dcBindings.removeControlBinding(ctrlBindingName);
    =======================================
    Please, look here!
    What's the best practices to create a new FacesCtrlHierBinding?
    What a parameter _nodeBindings (type JUCtrlHierTypeBinding[]) should be?
    =======================================
    clonedHierBinding =
    new FacesCtrlHierBinding(null,
    iterBinding,
    new String[]{
    "BUILDING_ID"
    // "BUILD_NAME",
    // "FUNCTIONALITY_NAME",
    // "CITY_NAME",
    // "STREET_NAME",
    // "FLOORS"
    _nodeBindings
    dcBindings.addControlBinding(ctrlBindingName, clonedHierBinding);
    newTable.setValue(clonedHierBinding.getCollectionModel());
    for (int g=0; g < vo.getAttributeCount(); g++){
    RichColumn col = new RichColumn();
    col.setId("c" + Integer.toString(g));
    col.setHeaderText(vo.getAttributeDef(g).getProperty(AttributeHints.ATTRIBUTE_LABEL).toString());
    ValueExpression valExp =
    facesContext.getApplication().getExpressionFactory().createValueExpression(facesContext.getELContext(),
    "#{row." + vo.getAttributeDef(g).getName() + "}",String.class);
    RichOutputText text = new RichOutputText();
    text.setId(vo.getAttributeDef(g).getName() + "txt");
    text.setValueExpression("value", valExp);
    col.getChildren().add(text);
    newTable.getChildren().add(col);
    newDetItem.getChildren().add(newTable);
    myBean.panelTabbed.getChildren().add(newDetItem);
    ...

    Shay, good day!
    You answer is good, but - it use only one dynamic view (and one table, iterator and FacesModel).
    I have task like topic started have - i need to create some unknows numbers of ViewObject (created by demad) and i must have a FacesModel for each created ViewObject.
    How can we do it?

  • Creating a databound JSP pop-list (with dependent values)

    I was able to create a databound JSP pop-list from the "How To Create a Databound Pop-list with Oracle JDeveloper 10g" article. Where would I have to modify the code so that I can define a WHERE clause to the DepartmentView object so that only a subset of values are displayed? My goal is to try to create pop-lists so that the values of pop-list #2 is dependent on the current value in pop-list #1.

    You can create both static values and also
    values based on record group .
    I think you know how to create static values.
    (for static just give the values in "Element List" property of list item)
    Using Record group. see this example.
    Declare
    Rg_Id RecordGroup;
    Rg_Name varchar2(20) := 'Type';
    List_Id Item;
    Temp Number;
    Rowcount Number;
    Begin
    Rg_Id := Find_Group('Type');
    If Not Id_Null(Rg_Id) Then
    Delete_Group(Rg_Id);
    End If;
    Rg_Id := Create_Group_From_Query('Type','select empno,'
    &#0124; &#0124;'empno'
    &#0124; &#0124;' from emp ');
    List_Id := Find_Item('CTRL_BLOCK.IT_LIST');
    Temp := populate_Group(Rg_Id);
    Populate_List(List_Id,Rg_Id);
    End;
    In the selection you must give two columns one for label and another one for value.
    Try this and let me know if you have any problem.
    Regards,
    viji.
    null

  • Can't create dynamic html elements with jsp????? important

    Hi All,
    I am having problem creating dynamic html elements with jsp tags, i have tried to use EL and java scriplet, both of them don't work.
    i am trying to create dynamic menu in my "rightMenu.jspf", based on, if user has logged in or not.
    some like this!
    <jsp:if test ="${validUser == null}">
    some simple text menu here
    </jsp:if>
    but it is not working. it simply loading all and images with in statement, regardless of whether user has logged in or not. i think some how if statement is not working properly.
    "validUser" is a session bean, which is not creating at this point, it will created when user will log in successfully. and also this session bean does not exist at the page, where i am trying to check that .
    Is there any way to create dynamic values in jsp. It is really important, is there any body who help me in this matter. i would be really grateful.
    zaman

    hi jaspre,
    thanks for replying me. you know what, is it not something wrong with web.xml file. i remember once, i deleted some from there, a property with "*.jsp". i can't remember what exactly was it though.
    all if statements works on files ending with extension ".jsp" but don't work only on with extension ".jspf". there must be to do with this.
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <servlet>
    <servlet-name>ValidateServlet</servlet-name>
    <servlet-class>ValidateServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ValidateServlet</servlet-name>
    <url-pattern>/ValidateServlet</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>dwr-invoker</servlet-name>
    <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>pollAndCometEnabled</param-name>
    <param-value>true</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>dwr-invoker</servlet-name>
    <url-pattern>/dwr/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
         <welcome-file>
    main.jsp
    </welcome-file>
    </welcome-file-list>
    </web-app>
    if any one can figure it out. i would be grateful.
    zaman

  • Create LOV with Header Items

    Hi,
    This might sound as a weird question, but is it possible to create an LOV in ADF with section headers? e.g. a select one choice of employees where the employees are separated into sections within the LOV based on their department. It's because we've got a requirement on our hands to this effect.
    Regards,
    Debojit

    Hi,
    Thanks for the quick reply. This helps us a lot. Just a query, for my personal information, would it be possible to acheive something similar if I were to use model-driven lists?
    Regards,
    Debojit

  • Error: Could not complete Create LOV Dialog Window...

    Using Jdeveloper 10.1.2 UIX to drop a MessageLovInput onto an Input Form I get the following error:
    Could not complete Create LOV Dialog Window because it would result in an invalid document.
    Clicking on details reveals the following:
    oracle.bali.xml.model.XmlInvalidOnCommitException: Errors
    Errors:
    Element text not defined in parent contents [node = text ]
    invalid subtree:
    <contents>
    <text text="Find the collection (which contains the legal values for the lovInput) in the Data Control Palette. Select the attribute (of the collection) that will be set by the lovInput and drop it into this space as a 'LOV Table'. " />
    </contents>
         at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:2646)
         at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:2583)
         at oracle.bali.xml.model.XmlModel.precommitTransaction(XmlModel.java:1467)
         at oracle.bali.xml.model.XmlModel._validateInCommit(XmlModel.java:2538)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:531)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:516)
         at oracle.cabo.ide.adf.LovModelXml._createLovPage(LovModelXml.java:125)
         at oracle.cabo.ide.adf.LovModelXml.createControl(LovModelXml.java:55)
         at oracle.cabo.ide.adf.UixModelXml.populateFragment(UixModelXml.java:165)
         at oracle.cabo.ide.adf.UixAdfDocumentFragmentProvider.preInitializeNode(UixAdfDocumentFragmentProvider.java:38)
         at oracle.bali.xml.model.datatransfer.XmlKeyDocumentFragmentProvider._createDomNodeFromKey(XmlKeyDocumentFragmentProvider.java:97)
         at oracle.bali.xml.model.datatransfer.XmlKeyDocumentFragmentProvider.createFragment(XmlKeyDocumentFragmentProvider.java:38)
         at oracle.bali.xml.model.XmlModel.getImportedDocumentFragment(XmlModel.java:1771)
         at oracle.bali.xml.model.XmlModel.getFragmentForImportIfPossible(XmlModel.java:1801)
         at oracle.bali.xml.model.XmlModel.importData(XmlModel.java:1078)
         at oracle.bali.xml.model.XmlView.importData(XmlView.java:773)
         at oracle.bali.xml.gui.swing.dnd.ModelDropHandler._transferData(ModelDropHandler.java:624)
         at oracle.bali.xml.gui.swing.dnd.ModelDropHandler.drop(ModelDropHandler.java:235)
         at java.awt.dnd.DropTarget.drop(DropTarget.java:398)
         at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:542)
         at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.java:52)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:805)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:743)
         at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
         at java.awt.Component.dispatchEventImpl(Component.java:3494)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:3269)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3123)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Opening the UIX page, the following code has been generated; not a <listOfValues> tag in sight!
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    I have checked Metalink but can't find this error there either. Based on examples on OTN I have tried to create the LOV window manually but it does not work as expected:
    1) The window is not empty when opened - i.e. data has been retrieved.
    2) The filtering does not work.
    3) The selected value does not update the Input Form.
    I have pasted the code below in case anyone can point me in the right direction to work around the Jdeveloper error. However, I think Jdeveloper should create the LOV window correctly.
    Thanks in advance for your help.
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <listOfValues title="Organization"
    searchText="Enter search string here">
    <contents>
    <!-- indexed children -->
    <table model="${bindings.OrganizationView1}" id="OrganizationView13">
    <contents>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Name')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Name}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Address')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Address}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Url')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Url}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Phone')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Phone}" columns="10" readOnly="true"/>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.OrganizationView1Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="OrganizationView13" source="OrganizationView13" event="select"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    <filterChoice>
    <choice name="filterBy">
    <contents>
    <option text="Name" value="name"/>
    <option text="Address" value="address"/>
    </contents>
    </choice>
    </filterChoice>
    <headerInstructions>
    </headerInstructions>
    <searchInstructions>
    </searchInstructions>
    </listOfValues>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="goto sort" source="OrganizationView13">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.OrganizationView1Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="OrganizationView13">
    <set target="${bindings.OrganizationView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'OrganizationView13')}"/>
    </event>
    <event name="lovFilter">
    <compound>
    <invoke method="setWhereClause" javaType="oracle.jbo.ViewObject" instance="${bindings.Name.viewObject}">
    <parameters>
    <parameter javaType="string" value="${empty param.filterBy ? 'NAME' : param.filterBy} LIKE '${param.searchText}'"/>
    </parameters>
    </invoke>
    <invoke method="executeQuery" javaType="oracle.jbo.ViewObject" instance="${bindings.Name.viewObject}"/>
    </compound>
    </event>
    </handlers>
    </page>

    Thanks for the response. OK... This is the first day I have been able to get back to the problem.
    My system I am running Photoshop on is a Power Mac G4, AGP Graphics ATY Rage 128Pro chip set 16MB VRAM LCD 1280x1024 32-bit color, 500MHz, 1.75GB of memory, 1 MB L2 Cache, 100 MHz Bus Speed. I had installed the latest security update and repaired the permissions the day the problem started.
    Now to day I started the system and went in and created a Guest Account. I logged into the guest account and started Photoshop. Low and behold it worked just fine. So I logged out of guest and logged into my main user account And started Photoshop. Wouldn't you know it.... It works just fine. I can open any file I want with now problems.
    I got to thinking after I had done all of this that I wished I had tried to open a file in Photoshop today prior to creating the guest account to see if it still had the problem in my main user account.
    I did not change anything else on the system and all seems to work fine now. So at his point I am really not sure what the problem was.
    Again thanks for taking the time to respond to this issue.

  • Love / Hate Relationship with Photoshop Elements

    I am having a love/hate relationship with Photoshop Elements!  Love the page design capabilities and hate the lack of capability on the print end.  Kodak does not give any choice in the book they will print from Elements.  All I can get is a #$%& die cut cover!  Is there anyway that I can order other options that I know Kodak has available when creating a book using Elements and their site.  I want to be able to choose a custom cover!  I have tried Kodak to get answers.  I have tried Adobe (impossible, unless maybe you pay).  Neither are very helpful!  The only answers I get are use the Elements designed pages and place them onto pages that you create in their software.  Problem is that one needs a jpeg file to do this.  No online program seems to recognize .PSD or .PSE file types.   HELP!
    Bob, Barbara you both seem to be very knowledgable...any ideas...
    Anyone with any help can answer here or [email protected]
    Terry

    Terry:
    Yeah, the photobook print options are limited. (Although, the built in Kodak and Shutterfly books are very nice)
    One thing to try differently is to use the Print At Home selection on that first screen after the clicking on the PhotoBook option (assuming you are using PSE8 here) (use Photo Collage with PSE7)
    Down that path, you will get a few more choices in page size. It will still create a multi-page document (a .pse) while your building your book, and when done, you can print the pages of the book out as a .pdf. Many book printing services will take in a PDF.
    Another option is to do a single page at a time and save them as .jpg's. A little more work in keeping your various files together and ordered properly, but it would give you ultimate flexibility.

  • Create unlimited folios today with InDesign CS5 and 5.5!

    Adobe's official statement
    http://blogs.adobe.com/digitalpublishing/2011/10/create-unlimited-folios-today-with-indesi gn-cs5-5.html
    Did you know…
    Customers with InDesign CS5 and CS5.5 can now create an unlimited number of .folio files for no additional charge.
    You already know that InDesign CS5 and CS5.5 integrate with Adobe Digital Publishing Suite to allow customers to publish apps to tablet devices such as the iPad, Xoom and PlayBook. But for InDesign CS5 and CS5.5 customers who are interested in creating content for tablet devices but are not yet customers, it is now easier than ever to try digital publishing before making the financial investment in the Digital Publishing Suite solution that meets your needs.
    InDesign CS5 and CS5.5 customers can now:
    Create an unlimited number of .folio files in InDesign
    Preview them on Adobe Content Viewer  – including interactivity – to see how they will render when published to a tablet device
    Share them with colleagues or clients on a 1:1 basis via the Adobe Content Viewer
    Further, customers can now access the Folio Producer Service in the Digital Publishing Suite with a valid Adobe ID to manage and edit their .folio files. All of this can be done before purchasing Digital Publishing Suite.
    If you are interested in learning how to create an App directly from InDesign CS5 or CS5.5, without writing code or depending on a developer, feel free to try it. You can pitch ideas to your client or your boss; or you can build a portfolio of your work and preview it on a tablet device. Practice makes perfect, and with an unlimited number of .folios, you can practice as much as you want! When you’re ready to publish to an app store, you can select the Digital Publishing Suite solution that is right for you.

    I'm sorry EvBurk, what you want is intended not to work.
    All Adobe's promotional material concerning InDesign and Digital Publishing (including the above "official statement") carefully uses verbs like "create" or "produce". But they never mention "distribute" or "spread", without explicitly referring to their exclusive hosting services. The whole Folio thing (in contrast to the former "issue" format) revolves around not giving you any chance of physically exporting, managing or owing the folio file itself. It's always somewhere on Adobe's or Apple's servers, or on your iPad, which is also as shut as a vault. So there's no way to export a folio file and toss it around like a pdf or jpeg. All you can do (without a paid distribution) is "share" your folio with some others, under the idea of "testing" and "reviewing". But this can be a cumbersome method. And even when paid (for the app), it's still difficult to distribute it outside Apple's or Android's market.
    More than a year ago (in the middle of the Flash-on-iOS debate) Adobe users, developers, bloggers, and evangelists heavily criticized Apple's "walled garden". Adobe literally stated "We Love Apple - What we don't love is anybody taking away your freedom to choose what you create, how you create it, and what you experience on the web." Well, you could say now: "I love Adobe, but what I don't love is Adobe taking away my freedom to own my files, and distribute them on my own terms." They let us create, but not spread our ideas. It's like giving you a typewriter and copier, that only works with Adobe stock paper. Like giving you a voice and an instrument, but only allowing you to sing and play in some walled gardens (dress code: Apple ID) or secluded shed (invitation only).
    I really wonder why they so fiercely protect 'their' Folio file. Why do they either have to be "under protection" or be turned into apps? I understand why Apple wants and needs to curate apps, but they don't mind me spreading my own ePubs, mp3 or jpegs. Why doesn't Adobe let me put my folio's on my own server, or send them off to someone with my own preferred service? The Content Viewer could easily be an Acrobat-like reader and let the iPad open folio's (by web links or mail enclosures) into it. If I see how many questions, worries, and problems creators and users have due to this whole closed technique and business, it would be easier to just let go and see what happens. Is it money? Of course it is. But my guess is that Adobe would eventually benefit more from it.
    So I hope Adobe declares the Folio as an "open" standard soon, but they're definitely not in that stage. Maybe the specification of the file format just isn't ready yet. Maybe some managers need to remember again how to "Spread the Love"...

  • How to create graphs on JSP page in JDeveloper 10.1.3

    Hi all,
    Is there an easy way to create graph objects with JDeveloper 10.1.3? I have taken a look to some tutorials, but it looks like they all use the "drag/drop graph from the data control palette" method.
    E.g. I got example 88 to work from http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html, but I have no idea how to get the BIGraphDef1.xml object and how to link it to a set of data.
    Are there some tutorials to show how graphs can be used in JDev 10.1.3?

    Frank,
    This is what I did to implement the graphic manual, but I think, I forgot something...
    1. create a new application with projects DataModel and UserInterface
    2. in the DataModel I created a similar master/detail view as the one of Steve, this is named:
    TestModuleDataControl
    \--DepView
    __\--Deptno
    __\--Dname
    __\--Loc
    __\--EmpView1
    ____\--Sal
    3. I created a new jspx page and added a graph tag:
    <f:verbatim>
    <graph:Graph data="${bindings.DepartmentsEmployeesInDepartmentGraph}"
    imageHeight="200" imageWidth="400"/>
    </f:verbatim>
    4. in the page definitions I added
    <graph id="DepartmentsEmployeesInDepartmentGraph"
    IterBinding="EmployeesInDepartmentIterator"
    ControlClass="oracle.dss.graph.Graph"
    SeriesLabel="Ename"
    GraphPropertiesFileName="userinterface.BIGrap1hDef1"
    SeriesType="SINGLE_SERIES">
    <AttrNames>
    <Item Value="Sal"/>
    </AttrNames>
    </graph>
    5. I added also the iterator:
    <iterator id="EmployeesInDepartmentIterator" Binds="EmpView1" RangeSize="10"
    DataControl="TestModuleDataControl"/>
    6. I copy/pasted the BIGraphDef1.xml from Steve's project into 'Application Sources'\userinterface.
    7. in the web.xml file in WEB-INF I added:
    <servlet>
    <servlet-name>GraphGeneratorServlet</servlet-name>
    <servlet-class>oracle.jbo.html.jsp.graph.GraphGeneratorServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>GraphGeneratorServlet</servlet-name>
    <url-pattern>/GraphGeneratorServlet</url-pattern>
    </servlet-mapping>
    8. when I run the page, I can't see the graph and there are also no errors. I think I mis a global setting somewhere...
    Is there anything I forgot to do?
    note: if I add a new jsp page into steve's application, I do can see the graph if I perform the steps mentioned above...
    I just found out that, If I create the graph on a page which is in the root directory, then it works. If I put it in a subdirectory, it doesn't:
    - create graph as mentioned above on a page: web content/myGraph.jspx --> works
    - create graph as mentioned above on a page: web content/app/myGraph.jspx --> doesn't work...
    Does somebody know where to put a setting/parameter to get the Graph visible in the subdirectory app?

  • Facing problem in integrating my custom jsp with the workflow engine

    Hi,
    I am using Jdeveloper 11.1.1.6.0 for BPM 11g implementation on my Application.I have Weblogic Server 10.3 Installed and configured the domain. Also the server is up and running.
    I am trying to create workflow and wants to integrate it with my custom jsp but i am facing problem in integrating my custom jsp with the workflow engine.Can you please answer the following questions:
    1)how to link BPM human task with my custom jsp (Requester jsp).
    2)how my custom jsp data(Requester data) will be stored in workflow engine and how the same data will be visible to the next custom jsp(Reviewer jsp).
    This is urgent .Any early reply will be great help.
    Thanks in advance.
    Edited by: 990133 on Mar 24, 2013 5:31 AM

    you forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
    Cheer,
    Appa

  • Deploy JSP with Tomcat

    I've been going through this painful process
    to deploy a simple JSP application on a
    Red Hat Linux 6.1 system with the latest
    Tomcat release. I got the Tomcat server
    running and all their sample JSP apps work.
    This system also contains the database,
    so I'm running it as local.
    I created a simple JSP application using
    just one table from the database. It
    works just fine from the JDeveloper
    environment. When I try to access the
    main.jsp file via the URL http://odb/ojsp/main.jsp, I get this:
    Error: 500
    Location: /ojsp/main.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSP/usr/local/jakarta-tomcat/work/localhost_8080/_0002fojsp_0002fmain_0002ejspmain_jsp_0.java:17: Package javax.naming not found in import.
    import javax.naming.*;
    ^
    1 error
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
    at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
    at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
    at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
    at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
    at java.lang.Thread.run(Thread.java:475)
    I would assume it's a classpath issue, but
    which one do I need to add?
    null

    I got the exactly same message by using JDeveloper3.1.1.2, NT, and Tomcat 3.1. I have posted the issue several time and not got any response yet.
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by abbaroo:
    Well, I figured out that I need the JNDI
    package to go along with JDK 1.2.2.
    So I downloaded and installed that, and
    now I get this message:
    Error: 500
    Location: /ojsp/ConstantJSP_html/main.jsp
    Internal Servlet Error:
    java.lang.IllegalStateException: Response has already been committed
    at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157)
    at org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:299)
    at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
    at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
    at java.lang.Thread.run(Thread.java:475)
    <HR></BLOCKQUOTE>
    null

  • Create a Java Object with Dynamic Variables

    Hi ,
    I am constructing a web based system which stores personal information on people. I have created a Person class with all the obvoius variables, forename, surname, address etc.. My problem is that some clients wish to make use of some of the variables, some want other variables and as i meet others they wish to add in some new variables eg
    Client 1 wishes to store; Forename, Surname and Address
    Client 2 wishes to store Forename, AltForename, Surname, AltSurname and Address ( AltForename - this is an alternative Forename in this case the Irish translation of their English name)
    Client 3 wishes to store Forename, Surname, Title, Address, Height, Weight, DOB, School, Occcupation.
    Each of the clients above need to submit these in an online form with each form looking different due to the fields they have to enter and also with different validation rules.
    At present i have a Person object handling all fields i can think of and different validation methods depending on the client, but there must be a better way of doing this as each time a new field is added by a new or existing client, i not only have to update the java and jsp but also the DB.
    This is all web based and i wish to use the same code base and data source for all clients. I also wish it to be all web based. So in theory if a client asked to add in a "middle name" field to their form and make it mandatory, i could go to an admin page which lists all the possible input element types and select the "field type" then set validation rules on it.
    All the web based and DB parts can be ignored - the main issue here is creating a Person class which can have any number of variables of varying types ( String, Int, etc)
    Regards,
    Cormac
    Edited by: cormacodonnell on Jun 27, 2008 6:33 AM

    cormacodonnell wrote:
    Hi ,
    I am constructing a web based system which stores personal information on people. I have created a Person class with all the obvoius variables, forename, surname, address etc.. My problem is that some clients wish to make use of some of the variables, some want other variables and as i meet others they wish to add in some new variables eg
    Client 1 wishes to store; Forename, Surname and Address
    Client 2 wishes to store Forename, AltForename, Surname, AltSurname and Address ( AltForename - this is an alternative Forename in this case the Irish translation of their English name)
    Client 3 wishes to store Forename, Surname, Title, Address, Height, Weight, DOB, School, Occcupation.You could extend the Person class with 3 sub classes, but that might be overkill just to store personal info.
    Each of the clients above need to submit these in an online form with each form looking different due to the fields they have to enter and also with different validation rules.
    At present i have a Person object handling all fields i can think of and different validation methods depending on the client, That's probably how I'd do it if it's not too much trouble. But to be OO you should probably go the inheritence route.
    but there must be a better way of doing this as each time a new field is added by a new or existing client, i not only have to update the java and jsp but also the DB. Welcome to software development. It's called "feature creep" or "scope creep". As soon as you get your code working right and deploy it and get ready to go on vacation, the customer always comes back with something else they "need" or "forgot". The app I'm building right now I've rewritten or changed 7 times in 3 months because nobody has a clue what they really need.

Maybe you are looking for

  • Need Help: I need a check box to auto fill a set value in separate text field.

    Hi, this is my first time with inserting scripts into a PDF Form. We have a form that requires the user to check a box regarding medical conditions they have (i.e. Asthma, Diabetes, Hypertension).  Later in the form, they have to type out the same co

  • Reduce file size makes documents much larger.

    In my new Acrobat 10.1.6, "reduce file size" and "optimize" keep making the document much, much larger. Reduce file size even took a document previously at 3.3 mb and turned it into 24 mb. So I took the same document and went back to my previous Acro

  • Property u201Czero allowedu201D must be identical for all Key Figures.

    I am having the following error message when trying to run a Statistical Forecast in the Background.  The job cancels out and I receive the error message:  Property u201Czero allowedu201D must be identical for all Key Figures.  When I look in RSA1 un

  • N85 FM Transmitter problem

    Hi my N85 doesn't have any FM Transmitter options on it.

  • How to sync iphone on a new computer

    My computer that i was using and syncing the iphone to died a while ago and since then i have been managing without syncing to itunes, but recently i got a new macbook and i was wondering if there was a way to sync it without losing all of my app dat