Label to FEC Binding

Hi All
I ve a doubt regarding who will do the Label to FEC bindnig.. Is it done by LDP or by FEC...
I m in an assumption that LDP (or any signalling prtocol in that matter) will only distribute the labels for the prefixes in the routing table to its neighbor and Global MPLS process does the Label to FEC binding.. But i ve read in some documents the Binding for Labels to FEC is done by LDP..

Hi,
There is no relation between LDP and FEC as to how the binding occurs.
FEC as you might be knowing stands for Forwarding Equivalence Class which is nothing but a "group" of packets to be handled in a similar way, in most MPLS networks this is packets assigned to a particular destination or Destination based forwarding.
Once the routes are learnt by the routing table via an IGP, LDP will assign labels and create a binding between routes and label i.e. a label table showing which label is assigned to which route.
LDP also exchanges the labels between its Peers.
Cheers

Similar Messages

  • Label of attribute when used as View Criteria item with Bind Variable

    I've a VO attribute used in a named search with this requirement:
    The attribute provides has an optional View Criteria item that has a bind variable operand. The bind variable is in the WHERE clause. The attribute has an LOV. The choice list for the specified View Criteria item should display the label "Effective Release". However, in all other contexts, including the search results table and the dropdowns the user can optionally add in an advanced search, the label displayed for the attribute must say "Release".
    In other words, the default label for the attribute should be "Release" in all but one context - which is that when the dropdown list for the viewCriteria item using the bind variable is displayed, the label should say "Effective Release".
    Note that if the user moves to Advanced Search and selects adds the attribute as a search criteria, this latter usage should be labeled as "Release". (in this case, in other words, the dropdown that displays by default and has the bind variable operand is labelled "Effective Release", the one the user added in advance search is labelled "Release")
    here is the View Criteria item source xml:
          <ViewCriteriaItem
            Name="ReleaseId1"
            ViewAttribute="ReleaseId1"
            Operator="="
            Conjunction="AND"
            Value=":v_ReleaseId"
            GenerateIsNullClauseForBindVars="false"
            ValidateBindVars="true"
            IsBindVarValue="true"
            Required="Required"/>I've experimented by putting "Effective Release" as the label for the bind variable as below. However, ADF does not use that value to display, it defers to the attribute value:
    <Variable
        Name="v_ReleaseId"
        Kind="viewcriteria"
        Type="oracle.jbo.domain.Number">
        <Properties>
          <SchemaBasedProperties>
            <LABEL
              ResId="EFFECTIVE_RELEASE_LOV"/>
          </SchemaBasedProperties>
        </Properties>
      </Variable>The reason for the requirement, if it matters, is that the View Criteria item with the bind variable ("Effective Release" queries a range of values using the analytic function rank(); the bind variable is in the WHERE clause. Otherwise, the dropdown that can be added in advanced search ("Release") looks for exact matches on the attribute value. So since the search functionality is different, the label should be different.
    Am using 11g.
    Thanks for your help.

    Hi
    I have found that when using validation type Key Exists and the VO is in the local application, then the bind variable is available in the Create Validation wizard. When I try and create a validator on a VO that is core to all my applications, then I put that VO into an ADF library, the bind variable parameter is not available for mapping to my entity object attribute, even though I can select the VO to create a view accessor from the ADF library.
    Possible bug?

  • Hierarchical Viewer not showing Folder Label for Accessors

    Hi,
    I am using JDev 11.1.1.5.
    I am using Hierarchical Viewer component to show master detail relationships. My tree structure is as follows:
    Locations (Level 1)
    ----->Departments (Level 2)
    ----------->Employees (Level 3)
    ----------->Rooms (Level 3)
    Employees and Rooms are the accessors of Departments (they are same level). For these accessors, I already set the Folder Labels in Tree Binding. So, in the Hierarchical Viewer, under Departments Node, there are 2 nodes to group for Employees and Rooms. But these 2 nodes are empty. They should show the Folder Labels that I defined in the tree binding.
    I tested with the ADF Tree component. It is showing folder labels correctly.
    How do I customize (to show the labels) these nodes? Could you please help me with this issue? Thanks.
    Best Regards,
    cmoster

    Hi All,
    I achieved with the following code changes in jsff page. I put this code inside the Departments Node.
    <af:outputText value="*#{node=='EMPLOYEES' ? node:''}*" inlineStyle="font-family:tahoma;font-size:14px;color:blue;font-weight:bold;" id="ot8"/>
    <af:outputText value="*#{node=='ROOMS' ? node:''}*" inlineStyle="font-family:tahoma;font-size:14px;color:green;font-weight:bold;" id="ot82"/>
    The folder labels in the tree binding are "EMPLOYEES" (for Employees Accessor) and "ROOMS" (for Rooms Accessor). After that, these 2 nodes are showing EMPLOYEES and ROOMS respectively.
    Please suggest me if it can be done with the other ways.
    Best Regards,
    cmoster

  • CFGRID bind problem

    Hi, I have a problem with binding fields to a cfgrid.
    When I'm populating my grid using the query attribute the
    binding is not working. The problem is the accessing a row's cell;
    myGrid.selectedItem object exists but when I use
    myGrid.selectedItem.columnname nothing returns.
    Howerever when I use the same code and I populate the grid
    manually or via a loop in cfgridrow the code is working. (commented
    in code)
    Now the second option seems to be a solution but...
    when a db column is empty cf is not populating the column
    with an empty value but just takes the next data available from the
    list in the data attribute
    Anyone experienced this anoying problem before and could help
    me with a solution ?
    Thanks for your help!
    Here the code:
    [hi]
    <cfgrid query="query" name="myGrid" rowheaders="no"
    selectmode="row">
    <cfgridcolumn name="lname" header="Lastname" />
    <cfgridcolumn name="fname" header="Firstname" />
    <!--- <cfloop query="query">
    <cfgridrow data="#lname#,#fname#" />
    </cfloop> --->
    </cfgrid>
    <cfinput type="text" name="firstName" label="First Name:"
    bind="{myGrid.selectedItem.fname}" />
    [/hi]
    PS. forgot to mention that we're running on a CF 7.0.1

    This was a tricky one for me also, but it is a simple fix.
    When using a query, the myGrid.selecteItem.columnName is case
    sensitive, and it HAS to match the column name in your query SELECT
    statement.
    Look at the code below for an example.
    If you are using a SELECT * SQL statement, then your grid
    selectedItem column name HAS to match your DB spelling.
    <cfquery name="x"
    datasource="#application.datasource#">
    SELECT
    Orderid, CustomerID <!--- case of column names has to
    match your selectedItem column name --->
    FROM Orders
    </cfquery>
    <cfform name="y" format="flash">
    <cfgrid query="x" name="myGrid" rowheaders="no">
    <cfgridcolumn name="ORDERID" header="Order" /><!---
    notice all uppercase in name, matches --->
    <cfgridcolumn name="CUSTOMERID" header="Customer" />
    </cfgrid>
    <cfinput type="text" name="cID" label="Customer"
    bind="{myGrid.selectedItem.CustomerID}"/>
    <!--- notice the case matches SELECT statement
    Changing the case of any letter in the bind or in the select
    sql will cause your binding to not work.
    --->
    </cfform>

  • Reset hidden formfields with bind on?

    I have a form with grid and a form with fields that are bound
    to the grid. Two fields are cfinput=text and one, the ID value is
    cfinput=hidden:
    <cfinput type="Hidden" name="ID" bindonload="false"
    bind="{grid.ID}" />
    <cfinput type="text" name="Label" bindonload="false"
    bind="{grid.Label}"/>
    <cfinput type="text" name="Desc" bindonload="false" >
    <cfinput type="reset" name="reset" value="New">
    <cfinput type="submit" name="submit" value="Save">
    The reset button clears the text cfinputs but does not affect
    the hidden one. Is there a way to clear the hidden field, since I
    want to use the Save button to do both insert a new record or
    update existing one, based on ID passed through the hidden field:
    if it is empty, do this, otherwise do that.
    On a side note, somehow bindonload has no affect on the forms
    fields. The first value from the grin loads no matter if I use
    bindonload=false or not at all.
    Cyrill

    $ ls -ldO@ /private
    drwxr-xr-x 6 root wheel - 204 Dec 7 10:24 /private/
    Notice how my folder doesn't have extended attributes.
    There is another difference - compare your listing:
    ls -ldO@ /private
    drwxr-xr-x 6 root wheel - 204 Dec 7 10:24 /private/
    with the first line of mine:
    $ ls -ldO@ /private
    drwxr-xr-x@ 6 root wheel hidden 204 Nov 4 2009 /private
    com.apple.FinderInfo 32
    Note the word "hidden" after "wheel" in my listing. That is a file flag, which can be added or removed to an item with the Terminal command chflags. *Man chflags* includes the following in its list of flag keywords:
    hidden set the hidden flag \[Hide item from GUI]
    An item will be hidden from Finder if its name begins with a period, OR if it carries a "hidden" flag.
    I did some experimenting - I removed the hidden flag from my own /private folder with:
    sudo chflags nohidden /private
    Two things happened:
    1) The /private folder became visible in Finder
    2) Both the "hidden" flag and the "com.apple.FinderInfo" extended attribute disappeared from my listing, such that it was now the same as yours:
    $ ls -ldO@ /private
    drwxr-xr-x 6 root wheel - 204 Nov 4 2009 /private
    I then added back the hidden flag with
    sudo chflags hidden /private
    Two things happened:
    1) The /private folder became invisible again.
    2) Both the hidden flag and the extended attribute re-appeared.
    $ ls -ldO@ /private
    drwxr-xr-x@ 6 root wheel hidden 204 Nov 4 2009 /private
    com.apple.FinderInfo 32
    Bottom line: I would still try the command I gave you earlier:
    sudo chflags hidden /private

  • Issues in making label selectable when used with text area

    I have used the following code (which was given in the thread : Re: Making Labels and other controls with text selectable for copy&paste ]
    which shows how to make label selectable with text field. )
    public class TrialArea extends Application {
    >>public void start(final Stage stage) throws Exception {
    >>StackPane layout = new StackPane();
    >>layout.setStyle("-fx-background-color: cornsilk; -fx-padding:10; -fx-font-size: 20");
    >>
    >>Label label1 = (new Label("jqhrjhhhhhhdsfdsfdsfdfdsdsfsdfdsdsdsfsddsdsdfsdfsddsfsfsddsfdsdedsfssdfhhhhhhhhhhhhhhhhhhhhkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\njqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\njqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\njqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n jqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n jqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n jqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n "));
    >>
    >>label1.setWrapText(true);
    >> label1.setPrefWidth(480);
    >>label1.setMaxWidth(480);
    >>layout.getChildren().add(
    makeSelectable(label1)
    );>> Scene scene = new Scene(layout);
    >>stage.setScene(scene);
    stage.show();
    /** @return the passed in label made selectable. */
    private Label makeSelectable(Label label) {
    StackPane textStack = new StackPane();
    TextArea textField = new TextArea(label.getText());>>
    >> textField.setEditable(false);
    textField.setWrapText(true);
    textField.setStyle(
    " -fx-background-color: transparent; -fx-background-insets: 0; -fx-background-radius: 0;"
    );>>
    >>
    // the invisible label is a hack to get the textField to size like a label.
    Label invisibleLabel = new Label();
    invisibleLabel.textProperty().bind(label.textProperty());
    invisibleLabel.setVisible(false);
    >> textStack.getChildren().addAll(invisibleLabel, textField);
    label.textProperty().bindBidirectional(textField.textProperty());
    label.setGraphic(textStack);
    label.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);
    return label;
    public static void main(String[] args) {>> Application.launch(args);
    >> }
    }The issue I am facing is that with text area, the scroll bar is visible, which does not go with label. The label is being selected properly, but how to remove the scroll bar?
    Edited by: Amrita Dasgupta on Mar 11, 2012 11:38 PM

    DVD SP is not Flash or Director and it sounds like you using "hotpots" are thinking more along those lines. If someone puts the DVD in a DVD Player they may get rather frustrated having buttons that do not do anything and the navgation is strange
    Also take a look here for some more pitfalls and why another app may be better for you
    http://discussions.apple.com/thread.jspa?messageID=1085629

  • Relationship between LIB,FIB and LFIB

    Hi all
    I am having a little trouble understanding the relationship between the LIB, FIB and LFIB as part of the MPLS architecture. As far as I understand it, within the MPLS cloud at the ingress LSR, the FIB is a replica of the standard IP RIB and does not contain any label information.
    At this point, if the LSR in question has an interface as part of an MPLS network, label information is added to specific destination prefixes. This information is then used by the LFIB to forward the packet to the next LSR.
    Further reading tells me I must now worry about another table - the LIB. Can somebody clarify if my understanding above is accurate and if so, how does the LIB fit into the picture.
    Thanks!
    M

    Hello,
    Is the CEF table the same thing as the LIB?
    No, not at all. The CEF is an optimized routing table (in fact, a tree structure if implemented in software, or a hashing array if implemented in hardware). The LIB is more similar to an EIGRP topology table. The EIGRP topology table holds the list of all known networks and distances to these networks through individual neighbors that have advertised them. In a similar fashion, the LIB holds the list of networks and label mappings as advertised by individual neighbors. Recall that all your neighbors know the same set of networks and each of these neighbors assigns its own labels to these networks. The LIB holds the collection of all these mappings: a network and all labels as advertised by your individual neighbors.
    When you construct the LFIB entry for a particular network, you first look into your routing table and find the next hop towards that network (plain IP routing). Then you look into the LIB and find out the label this next hop assigned to this network. Then you can construct the LFIB entry - the incoming label will be your own label that you assigned to the network, the outgoing label will be the label the next hop assigned to it, found in the LIB.
    And where does the FEC come in all these?
    The FEC is an abstract term covering the set of all packets that are going to be forwarded in the exactly same way. Authors of MPLS needed to create this term because once a certain flow of packets gets the same label and is forwarded to the same neighboring router, they all are going to be forwarded through a single Label Switched Path and arrive at the same destination where they will be unlabeled. In the most basic MPLS, FECs are identical to individual destination networks. Each destination network would be a single FEC. However, because the sequence of labels defining an LSP through the MPLS network can be built using some other mechanisms that "detach" themselves from the plain routing tables, you suddenly get a whole new world in which not just the destination but also other policies define LSPs and resulting FECs. This is extensively used, for example, in MPLS Traffic Engineering where the LSP follows not just a path towards a particular destination but also goes through a path that guarantees a certain available bandwidth. The term "destination network" is no longer descriptive enough of the path here. Hence, the FEC term is born as a class of equivalently forwarded packets, and labels in fact bind to FECs.
    Best regards,
    Peter

  • Why CEF needed in MPLS Network??

    I have read the MPLS Fundamentals book by Luc De Ghein, So I understand from the from book that cef needs to enabled in edge routers to tag or untag labels (for Ip packets). I am eager to know why Mpls (Not a cisco proprietary) depends on a cisco proprietary CEF?? If I use Non-Cisco routers in the mpls edge how come the labels get tagged for ip packets??
    <<<<<<<<<Taken from Book>>>>>>>>>>>>>
    MPLS Fundamentals - Luc De Ghein
    Why Is CEF Needed in MPLS Networks?
    Concerning MPLS, CEF is special for a certain reason; otherwise, this book would not explicitly
    cover it. Labeled packets that enter the router are switched according to the label forwarding
    information base (LFIB) on the router. IP packets that enter the router are switched according to
    the CEF table on the router. Regardless of whether the packet is switched according to the LFIB
    or the CEF table, the outgoing packet can be a labeled packet or an IP packet
    <<<<<<<<>>>>>>>>>>

    Hello Bava,
    the key point is that LDP or RSVP TE are able to generate distribute labels for FECs but they do not create the FECs from stratch.
    FEC = Forwarding Equivalent Class
    a destination IP subnet is a typical FEC.
    cisco MPLS code takes advantage of the work done by CEF and uses as input data the FIB (Forwarding Information Base) mantained by CEF, to build the LFIB that is the table where for each FEC there is an association with a label taken from the local node label space.
    The work done by CEF is not so different from what is needed by MPLS: the biggest difference is that the CEF table is kept local and not exported to any other device. MPLS FEC/label bindings are advertised.
    In MPLS frame mode the labels are distributed in unsolicited downstream mode.
    Unsolicited means that the label/FEC association is buiilt based on the topology FIB instead  of waiting for some device to ask a label for the FEC.
    downstream means the labels are sent in the opposite direction of that used by traffic.
    Other attributes are:
    indipendent : means each LSR is free to create its own FEC/label association before receiving the label from the edge LSR that owns the prefix or from a device that is nerarest to the IP subnet (upstream)
    liberal retention: the device will keep note of labels advertised by neighbors even if they are currently not on the best path. This can be seen in the output of show mpls ldp binding and allows for faster recover in case of failure of the best path.
    The unsolicited and liberal retention in standard frame mode comes from the relatively big label space (roughly one milllion labels)
    This was not possible in MPLS cell mode where the label space was small. So MPLS cell mode used on demand downstream label binding and no retention.
    Also MPLS allows for label stacking = use of multiple levels of MPLS Label for services like L3 VPNs
    to be noted other implementations are different in some aspects and each vendor has its internal tecnique to build a table of FECs to be used as starting point for MPLS code.
    For example indipendent label/FEC mapping has its own drawbacks it may be better to wait for a label to be received from a device upstream = nearest to the IP prefix in order to ensure the path is end to end.
    Hope to help
    Giuseppe

  • Null Value in af:SelectOneChoice

    HI,
    I want to fetch value from a selectone choice,in backing bean.
    following is my binding.
    <af:selectOneChoice value="#{bindings.ExcelVOCode.inputValue}"
    label="#{bindings.ExcelVOCode.label}"
    validator="#{FileProcessor.selectOneChoice_validator}"
    id="excelTypeList" autoSubmit="true" valuePassThru="true"
    immediate="true"
    binding="#{FileProcessor.excelTypeList}">
    <f:selectItems value="#{bindings.ExcelVOCode.items}" id="selectItems1"
    binding="#{FileProcessor.selectItems1}"/>
    </af:selectOneChoice>
    And i have tried following method to get the values.
    1
    CoreSelectOneChoice exe=getexcelTypeList();
    System.out.println("Id"+exe.getValue().toString());
    2 FacesContext fc = FacesContext.getCurrentInstance();
    ValueBinding vb = fc.getApplication().createValueBinding("#{bindings.ExcelVOCode.inputValue}");
    System.out.println("Value"+vb.getValue(fc));
    But each of these method returns me null,
    Following is my page defination.
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.39.81" id="FileUploadPageDef"
    Package="xml.pageDefs">
    <parameters/>
    <executables>
    <iterator id="ExcelVOIterator" RangeSize="10" Binds="ExcelVO"
    DataControl="AppModuleDataControl"/>
    <iterator id="ExcelVO2Iterator" RangeSize="-1" Binds="ExcelVO2"
    DataControl="AppModuleDataControl"/>
    </executables>
    <bindings>
    <list id="ExcelVOCode" IterBinding="ExcelVOIterator" StaticList="false"
    ListOperMode="0" ListIter="ExcelVO2Iterator">
    <AttrNames>
    <Item Value="Code"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="Code"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="Name"/>
    </ListDisplayAttrNames>
    </list>
    </bindings>
    </pageDefinition>
    Please help me with it,
    Thanks

    Hi,
    Any how i was finally able to get the value by implementing somthing like this in the jsp
    <af:selectOneChoice value="#{bindings.ExcelVOCode.inputValue}"
    label="#{bindings.ExcelVOCode.label}"
    id="excelTypeList" autoSubmit="true" valuePassThru="true"
    immediate="false"
    binding="#{FileProcessor.excelTypeList}"
    simple="true" required="false"
    partialTriggers="excelTypeList">
    <af:forEach items="#{bindings.ExcelVO.rangeSet}" var="item">
    <af:selectItem value="#{item.Code}" label="#{item.Name}"
    binding="#{FileProcessor.selectItem}"/>
    </af:forEach>
    </af:selectOneChoice>
    and this in the backing bean.
    CoreSelectItem seq=getSelectItem();
    System.out.println("Item"+seq.getLabel());
    But the problem is when i attach a binding to Selectitem,it doesn't show me all the values in the drop down it only shows the last value in the table ,i.e the drop down have a single entry.
    Please provide some indicator.
    Thanks

  • InputRangeSlider is not working properly in Jdeveloper 11.1.1.6.0

    Hi,
    I am using jdeveloper 11.1.1.6.0.
    I have a requirement with InputRangeSlider in ADF.
    When ever i change the slider, i would like to invoke the managed bean method (ValueChangeListener).
    it's working for me.
    In the same page i have radio (SelectOneRadio) button (YES or NO).
    The valueChangeLitener is not firing, when ever i change the value of the radio button.
    its firing when i click some other links in the same page.
    If i remove the InputRangeSlider component from the page, the valueChangeListener is firing when ever i change the radio button value (YES or NO).
    Kindly give some solution.
    Thanks & Regards,
    Naveen.

    Hi Frank,
    Your mail is showing as (private). Please let me know how share the workspace.
    Any way, i am sharing the code below
    slider.jspx
    SliderBean.java
    adfc-config.xml
    JSFF:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelGroupLayout id="pgl0">
                  <af:spacer height="50" width="50" id="s3"/>
                  <af:panelGroupLayout id="pgl8">
                          <af:inputText label="Total plans count" id="it1" value="#{sliderBean1.selectedPlanCount}" autoSubmit="true"/>
                          <af:inputText label="Selected plans count" id="it2" value="#{sliderBean1.totalPlanCount}" autoSubmit="true"/>
                  </af:panelGroupLayout>
            </af:panelGroupLayout>
            <af:panelGroupLayout id="pgl6" inlineStyle="background-color:Fuchsia; width:100px;">
                <af:panelGroupLayout id="pgl5" styleClass="AFStretchWidth">
                    <af:spacer height="50" width="50" id="s4"/>
                    <af:panelGroupLayout id="pgl7" partialTriggers="it1 it2"
                                         inlineStyle="padding-right:#{sliderBean1.selectedPlanCount}%;background-color:rgb(35,50,255);">
                        <af:outputLabel
                                value="#{sliderBean1.selectedPlanCount}/#{sliderBean1.totalPlanCount}" id="ol1"
                                        />
                    </af:panelGroupLayout>
                </af:panelGroupLayout>
            </af:panelGroupLayout>
            <af:spacer height="100" id="s2"/>
            <af:panelGroupLayout id="pgl1">
              <af:inputRangeSlider label="Label 1" id="irs1" autoSubmit="true"
                                   minimum="0"
                                   maximum="100"
                                   minimumIncrement="10"
                                   minorIncrement="10"
                                   majorIncrement="10"                              
                                   binding="#{sliderBean1.slider}"
                                   value="#{sliderBean1.sliderVal}"
                                   valueChangeListener="#{sliderBean1.onSliderChange}"/>
            </af:panelGroupLayout>
            <af:panelGroupLayout id="pgl2">
              <af:outputText value="#{sliderBean1.resultVal}" id="ot1" partialTriggers="irs1"/>
            </af:panelGroupLayout>
            <af:spacer height="50" id="s1"/>
            <af:panelGroupLayout id="pgl3">
                <af:selectOneRadio id="sor1" label=" " autoSubmit="true"
                                   binding="#{sliderBean1.radioBinding}"
                                   value="#{sliderBean1.radioValue}"
                                   valueChangeListener="#{sliderBean1.onRadioValChange}">
                    <af:selectItem value="1" label="Yes" id="si1"/>
                    <af:selectItem value="2" label="No" id="si2"/>
                </af:selectOneRadio>
            </af:panelGroupLayout>
            <af:panelGroupLayout id="pgl4">
                <af:outputText value="#{sliderBean1.radioValue}" id="ot2" partialTriggers="sor1"/>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    Managed Bean (SliderBean.java) :
    package view;
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.view.rich.component.rich.input.RichInputRangeSlider;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneRadio;
    import oracle.adf.view.rich.model.NumberRange;
    public class SliderBean {
        private RichInputRangeSlider slider;
        private String resultVal;
        private NumberRange sliderVal =new NumberRange(0, 100);
        private RichSelectOneRadio radioBinding;
        private String radioValue;
        private String radioResultVal;
        private String totalPlanCount;
        private String selectedPlanCount;
        public SliderBean() {
        public void setSlider(RichInputRangeSlider slider) {
            this.slider = slider;
        public RichInputRangeSlider getSlider() {
            return slider;
        public void setResultVal(String resultVal) {
            this.resultVal = resultVal;
        public String getResultVal() {
            return resultVal;
        public void onSliderChange(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            System.out.println(valueChangeEvent.getNewValue());
            setResultVal(valueChangeEvent.getNewValue().toString());
            System.out.println("radioBinding value :: "+radioBinding.getValue());
            System.out.println("radio value :: " + getRadioValue());
        public void init(){
            setSliderVal(new NumberRange(10,100));
        public void setSliderVal(NumberRange sliderVal) {
            this.sliderVal = sliderVal;
        public NumberRange getSliderVal() {
            return sliderVal;
        public void setRadioBinding(RichSelectOneRadio radioBinding) {
            this.radioBinding = radioBinding;
        public RichSelectOneRadio getRadioBinding() {
            return radioBinding;
        public void setRadioValue(String radioValue) {
            this.radioValue = radioValue;
        public String getRadioValue() {
            return radioValue;
        public void setRadioResultVal(String radioResultVal) {
            this.radioResultVal = radioResultVal;
        public String getRadioResultVal() {
            return radioResultVal;
        public void onRadioValChange(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            System.out.println("onRadioValChange :: "+valueChangeEvent.getNewValue());
            System.out.println("onRadioValChange ::  slidervalue ::"+slider.getValue());
        public void setTotalPlanCount(String totalPlanCount) {
            this.totalPlanCount = totalPlanCount;
        public String getTotalPlanCount() {
            return totalPlanCount;
        public void setSelectedPlanCount(String selectedPlanCount) {
            this.selectedPlanCount = selectedPlanCount;
        public String getSelectedPlanCount() {
            return selectedPlanCount;
    adfc-config.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="slider">
        <page>/slider.jspx</page>
      </view>
      <managed-bean id="__4">
        <managed-bean-name id="__3">sliderBean1</managed-bean-name>
        <managed-bean-class id="__2">view.SliderBean</managed-bean-class>
        <managed-bean-scope id="__1">request</managed-bean-scope>
      </managed-bean>
    </adfc-config>
    Thanks & Regards,
    Naveen

  • How i can display data from backing bean from jsf adf page

    Hi all
    I am creating a adf bc jsf application i am referring hr schema employee table
    in my jsf page i have a inputtext with label employee number if i enter employee number and press tab i should get employee name and jobid and salary for this purpose i am doing like as follows
    my view object query is as follows
    SELECT EMPLOYEE_ID,FIRST_NAME,JOB_ID,SALARY
    FROM EMPLOYEES
    WHERE EMPLOYEE_ID=:EMP_NO
    and my backing bean for my jsf page is as follows
    package view.backing;
    import javax.faces.component.html.HtmlForm;
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.adf.view.faces.component.core.output.CoreOutputText;
    import oracle.adf.view.faces.component.html.HtmlBody;
    import oracle.adf.view.faces.component.html.HtmlHead;
    import oracle.adf.view.faces.component.html.HtmlHtml;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    public class BindTest3
    private HtmlHtml html1;
    private HtmlHead head1;
    private HtmlBody body1;
    private HtmlForm testForm;
    private CoreInputText employeeId;
    private CoreOutputText firstName;
    private CoreOutputText jobId;
    private CoreOutputText salary;
    public void setHtml1(HtmlHtml html1)
    this.html1 = html1;
    public HtmlHtml getHtml1()
    return html1;
    public void setHead1(HtmlHead head1)
    this.head1 = head1;
    public HtmlHead getHead1()
    return head1;
    public void setBody1(HtmlBody body1)
    this.body1 = body1;
    public HtmlBody getBody1()
    return body1;
    public void setTestForm(HtmlForm form1)
    this.testForm = form1;
    public HtmlForm getTestForm()
    return testForm;
    public void setEmployeeId(CoreInputText inputText1)
    this.employeeId = inputText1;
    public CoreInputText getEmployeeId()
    return employeeId;
    public void changeMethod(ValueChangeEvent event)
    String EmployeeId=(String)event.getNewValue();
    CheckForBind check=new CheckForBind();
    System.out.println(check.getEmployeeNo());
    String amDef = "model.AppModule";
    String config = "AppModuleLocal";
    ApplicationModule am =
    Configuration.createRootApplicationModule(amDef,config);
    ViewObject vo = am.findViewObject("EmployeeBindViewObj1");
    vo.setNamedWhereClauseParam("EMP_NO",EmployeeId);
    System.out.println("Query will return "+
    vo.getEstimatedRowCount()+" rows...");
    vo.executeQuery();
    while (vo.hasNext()) {
    Row curUser = vo.next();
    System.out.println(vo.getCurrentRowIndex()+" "+
    curUser.getAttribute("EmployeeId")+" "+
    curUser.getAttribute("FirstName")+" " curUser.getAttribute("JobId")" "+curUser.getAttribute("Salary"));
    //firstName =(String)curUser.getAttribute("EmployeeId");
    //setFirstName(curUser.getAttribute("EmployeeId"));
    firstName.setValue((String)curUser.getAttribute("FirstName"));
    //jobId.setValue((CoreOutputText) curUser.getAttribute("FirstName"));
    // salary.setValue((CoreOutputText)curUser.getAttribute("Salary"));
    // values.setJobId((CoreOutputText)curUser.getAttribute("JobId"));
    // values.setFirstName((CoreOutputText) curUser.getAttribute("FirstName"));
    //values.setSalary((CoreOutputText)curUser.getAttribute("Salary"));
    Configuration.releaseRootApplicationModule(am,true);
    public void setFirstName(CoreOutputText outputText1)
    this.firstName = outputText1;
    public CoreOutputText getFirstName()
    return firstName;
    public void setJobId(CoreOutputText outputText2)
    this.jobId = outputText2;
    public CoreOutputText getJobId()
    return jobId;
    public void setSalary(CoreOutputText outputText3)
    this.salary = outputText3;
    public CoreOutputText getSalary()
    return salary;
    and my jsf page is as follows
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html binding="#{backing_BindTest3.html1}" id="html1">
    <afh:head title="Home" binding="#{backing_BindTest2.head1}" id="head1">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #f7f7f7;
    </style>
    </afh:head>
    <afh:body binding="#{backing_BindTest3.body1}" id="body1">
    <h:form binding="#{backing_BindTest3.testForm}" id="testForm">
    <af:inputText label="Employee No" binding="#{backing_BindTest3.employeeId}"
    id="employeeId" valueChangeListener="#{backing_BindTest3.changeMethod}" autoSubmit="true"/>
    <af:outputText value="#{backing_BindTest3.firstName.value}"
    binding="#{backing_BindTest3.firstName}"
    id="firstName"/>
    <af:outputText value="outputText2"
    binding="#{backing_BindTest3.jobId}"
    id="jobId"/>
    <af:outputText value="outputText3"
    binding="#{backing_BindTest3.salary}"
    id="salary"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_BindTest2--%>
    but i am getting result in console but i cant get the value of firstname into my jsf page
    can any one can tell me for get the value to jsf page what i can do
    and what are the changes i can do in my jsf page

    hi,
    i tried to set value like as follows
    name=(CoreOutputText)curUser.getAttribute("FirstName");
    but that time i getting exception like as follows
    ec 22, 2007 2:17:27 PM com.sun.faces.lifecycle.ProcessValidationsPhase execute
    SEVERE: java.lang.ClassCastException: java.lang.String
    javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.String
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:363)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: java.lang.String
         at view.backing.ChangeValue.changeMethod(ChangeValue.java:49)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
    What will be the resion please help it is very critical for me

  • Page not rendering the values as expected...?

    i had a situation in which on click of each and every link a common pop up will be called and the field values in the page are changed depending on the link clicked....
    its working as expected for the first click when i click other link its showing the first link values.For any link pressed its showing only the first link data...Here is the code i`m using for calling pop up
    <h:outputLink
                             binding="#{booking.lnkSlot2}"
                             id="lnkSlot2"
                             value="javascript:popupWindow('/BookingWeb/pages/bookedDet.jsf?bookingData=#{bookingList.value['onDate']}$2')">
                                  <h:outputText      
                                id="otSlot2"
                                binding="#{booking.otSlot2}"
                                value ="#{bookingList.value['slot2']}">
                              </h:outputText>
                              </h:outputLink>
    popup page code snippet<tr>
              <td>
              <ui:label id="lblOnDate" binding="#{bookedDet.lblOnDate}" text="Booked Date "> </ui:label>
              </td>
              <td>
              <ui:textField id="tfOnDate" binding="#{bookedDet.tfOnDate}" readOnly="true"></ui:textField>
              </td>
              </tr>
              <tr>
              <td>
              <ui:label id="lblSlot" binding="#{bookedDet.lblSlot}" text="Slot "> </ui:label>
              </td>
              <td>
              <ui:textField id="tfSlot" binding="#{bookedDet.tfSlot}" readOnly="true"></ui:textField>
              </td>
              </tr>
              <tr>
              <td>
              <ui:label id="lblBookedBy" binding="#{bookedDet.lblBookedBy}" text="Booked By "> </ui:label>
              </td>
              <td>
              <ui:textField id="tfBookedBy" binding="#{bookedDet.tfBookedBy}" readOnly="true"></ui:textField>
              </td>
              </tr>
              <tr>
              <td>
              <ui:label id="lblProject" binding="#{bookedDet.lblProject}" text="Project "> </ui:label>
              </td>
              <td>
              <ui:textField id="tfProject" binding="#{bookedDet.tfProject}" readOnly="false"></ui:textField>
              </td>
              </tr>
    and mbean of pop up contains this code in init method which is called on each request(snnipet of code i`m providing to be more clear)
    System.out.println(bookedPersonDetList);
                    this.tfOnDate.setText(bookedPersonDetList.get(0));
                   // this.tfSlot = new TextField();
                    this.tfSlot.setText(bookedPersonDetList.get(1));
                    this.tfBookedBy.setText(bookedPersonDetList.get(2));
                    this.tfExtn.setText(bookedPersonDetList.get(4));
                    this.tfProject.setText(bookedPersonDetList.get(3));
                    this.taPurpose.setText(bookedPersonDetList.get(5));
                    this.cbRepeat.setSelected(Boolean.FALSE);
    //                this.repeatForDaysOptions = new Option[16] ;please help me
    Thanks & Regards,
    Shivaji Byrapaneni.

    you have cartesian product. check
    SELECT amd.brkr_nm,
           amd.brkr_sym,
           AMD.MINORITY_FLG,
           atdf.comm_brkr_dim_key,
           atdf.exec_brkr_dim_key,
           CASE
              WHEN atdf.COMM_BRKR_DIM_KEY = AMD.ACCESS_METHOD_DIM_KEY
              THEN
                 CASE
                    WHEN AMD.MINORITY_FLG = 'Y'
                    THEN
                       CASE
                          WHEN atdf.EXEC_BRKR_DIM_KEY = atdf.COMM_BRKR_DIM_KEY
                          THEN
                             'Directed'
                          ELSE
                             'InDirected'
                       END
                    ELSE
                       'NA'
                 END
              ELSE
                 '0'
           END
              AS Direction_Method
      FROM alloc_tran_det_fact atdf, ACCESS_METHOD_DIM AMD
    /* your join condition */
      where atdf.COMM_BRKR_DIM_KEY = AMD.ACCESS_METHOD_DIM_KEY(+) description on tables are helpful ...

  • Multiple submit buttons in flash form

    I need to make this page so that when the submit button is
    pressed, the action page will be based on the cfforgroup, not on an
    overall form action. Essentially I have 2 main tabs and multiple
    tabs underneath each one of those that need seperate action calls
    on submit:
    <cfquery name="modelinfo" datasource="inventory">
    SELECT cd_manufacturer.name + ' ' +
    model + ' ' +
    processor_type + ' ' +
    processor_speed AS system,
    cd_manufacturer.name + ',' +
    model + ',' +
    processor_type + ',' +
    processor_speed AS val_list
    FROM cd_manufacturer
    INNER JOIN cd_model ON
    cd_manufacturer.pk_manufacturer=cd_model.fk_manufacturer
    </cfquery>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title></title>
    </head>
    <cfquery name="modelinfo" datasource="inventory">
    SELECT cd_manufacturer.name + ' ' +
    model + ' ' +
    processor_type + ' ' +
    processor_speed AS system,
    cd_manufacturer.name + ',' +
    model + ',' +
    processor_type + ',' +
    processor_speed AS val_list
    FROM cd_manufacturer
    INNER JOIN cd_model ON
    cd_manufacturer.pk_manufacturer=cd_model.fk_manufacturer
    </cfquery>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>IT Asset Tracking System Main Menu</title>
    </head>
    <body>
    <cfform format="flash">
    <cfformgroup type="tabnavigator"><!--begin main
    navigation-->
    <cfformgroup type="page" label="Asset"><!-- Begin
    sub page ASSET---->
    <cfformgroup type="tabnavigator"><!-- Begin sub
    page ASSET navigator---->
    <!---ADD ASSET START (uses asset_processes/newAsset.cfm
    for processing)---------------------->
    <cfformgroup type="page" label="Add Asset"
    action="asset_processes/newAsset.cfm">
    <cfset vdate=DateFormat(Now(), "mm/dd/yyyy")>
    <cfinput type="datefield" name="cdate" width="150"
    label="Entry Date" validateat="onSubmit" validate="noblanks"
    required="yes">
    <cfselect
    label="System Type"
    name="modelinfo"
    query="modelinfo"
    required="yes"
    multiple="no"
    display="system"
    value="val_list"
    width="350">
    </cfselect>
    <cfinput type="text" name="location" width="150"
    label="location" validateat="onSubmit" validate="noblanks"
    required="yes">
    <cfinput type="text" name="user" width="150" label="user"
    validateat="onSubmit" validate="noblanks" required="yes">
    <cfinput type="submit" name="submit" value="Create New
    Asset" />
    </cfformgroup><!--end page Add Asset -->
    <!------------END PAGE ADD
    ASSET------------------------------------------------------>
    <!--------------- Assign LotID START (uses
    standard/assignLotID.cfm for processing)--->
    <cfformgroup type="page" label="Assign lotID">
    </cfformgroup><!--end page Assign LotID -->
    <!-----------------ASSIGN LOTID
    END------------------------------>
    <!----------------------Add to surplus
    START--------------------->
    <cfformgroup type="page" label="Add to Surplus">
    </cfformgroup><!--end page add to surplus -->
    <!------------------END ADD TO
    SUPLUS------------------------------>
    <!---------------------------ADD OTHER
    START----------------------->
    <cfformgroup type="page" label="View Inventory (not
    surplused)">
    </cfformgroup><!-- end page "View Inventory (not
    surplused)"-->
    <!---------------------------END
    OTHER---------------------------->
    </cfformgroup><!-- end sub page ASSET--------->
    </cfformgroup><!-- end sub page ASSET
    navigator---->
    <cfformgroup type="page"
    label="maintenance"><!--begin sub page maintenance-->
    </cfformgroup><!--end sub page maintenance-->
    </cfformgroup><!-- end main navigation -->
    </cfform>
    </body>
    </html>

    Here's my code and thanks for your help!
    <!--- begin form --->
    <cfform format="flash" width="850" height="750"
    action="insert.cfm" skin="haloblue">
    <!--- begin tab navigator --->
    <cfformgroup type="tabnavigator">
    <!--- Begin check out tab --->
    <cfformgroup label="Equipment Check-Out" type="page"
    width="600">
    <cfinput type="datefield"
    name="dueDate"
    label="Due Date:" message="Please Select a Valid Due Date"
    validate="date"
    required="yes"
    width="100">
    <!--- Equipment Information --->
    <cfselect enabled="yes" name="equipTag" size="1"
    label="Select Property Tag:" required="yes" multiple="no"
    width="100">
    <cfoutput query="allEquipTag">
    <option value="#equipTag#">#equipTag#</option>
    </cfoutput>
    </cfselect>
    <!--- Person Information --->
    <cfinput type="text"
    name="csulbID"
    label="CSULB ID:"
    message="A CSULB ID is required and must be 9 Digit!"
    mask="999999999"
    required="yes"
    size="10"
    maxlength="9" >
    <cfinput type="text"
    name="fName"
    label="First Name:"
    message="A First Name is required!"
    required="yes"
    size="10" >
    <cfinput type="text"
    name="lName"
    label="Last Name:"
    message="A Last Name is required!"
    required="yes"
    size="10" >
    <cfinput type="text"
    name="phone"
    label="Phone Number:"
    message="Phone Number is required!" mask="999-999-9999"
    required="yes"
    size="10" >
    <cfinput type="text"
    name="email"
    label="Email:"
    message="Email required! i.e. [email protected]"
    required="yes"
    validate="email"
    size="15" >
    <cftextarea name="notes"
    label="Additional Notes:"
    rows="5"
    width="300"/>
    <cfinput type="submit" name="btnSubmit" Label='checkOut'
    tooltip="Submit Check-Out Information" id="btnSubmit"
    value="Submit">
    <!--- end check-out tab--->
    </cfformgroup>
    <!--- start Check-In Tab --->
    <cfformgroup label="Equipment Check-In" type="page"
    width="850" height="700">
    <!--- start data grid--->
    <cfgrid name="equipCheckInGrid"
    query="equipCheckIn"
    selectmode="browse"
    griddataalign="left"
    height="300"
    width="800">
    <!--- Don't show all columns and change header
    name--->
    <cfgridcolumn name="dueDate" header="Due Date">
    <cfgridcolumn name="checkOut" header="Checked Out">
    <cfgridcolumn name="checkIn" header="Checked In">
    <cfgridcolumn name="csulbID" header="CSULB ID">
    <cfgridcolumn name="fName" header="First Name">
    <cfgridcolumn name="lName" header="Last Name">
    <cfgridcolumn name="phone" header="Phone">
    <cfgridcolumn name="email" header="Email">
    <cfgridcolumn name="notes" header="Additional Notes">
    <cfgridcolumn name="equipTag" header="Equip Tag">
    <!--- end data grid--->
    </cfgrid>
    <!--- start input fields--->
    <cfinput type="text"
    name="checkInEquipTag"
    label="Equipment Tag:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['equipTag']}"
    size="15">
    <cfinput type="text"
    name="checkInDueDate"
    label="Due Date:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['dueDate']}"
    size="15">
    <cfinput type="text"
    name="checkInCheckOut"
    label="Checked Out:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['checkOut']}"
    size="15">
    <cfinput type="text"
    name="checkInCheckedIn"
    label="Checked In:"
    width="150"
    value="#DateFormat(now(), "MM/DD/YYYY")#">
    <cfinput type="text"
    name="checkInCSULBID"
    label="CSULB ID:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['csulbID']}"
    size="15">
    <cfinput type="text"
    name="checkInFName"
    label="First name:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['fName']}"
    size="15">
    <cfinput type="text"
    name="checkInLName"
    label="Last Name:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['lName']}"
    size="15">
    <cfinput type="text"
    name="checkInPhone"
    label="Phone:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['phone']}"
    size="15">
    <cfinput type="text"
    name="checkIneEmail"
    label="Email:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['email']}"
    size="15">
    <cftextarea type="text"
    name="checkInNotes"
    label="Additional Notes:"
    bind="{equipCheckInGrid.dataProvider[equipCheckInGrid.selectedIndex]['notes']}"
    width="300"
    rows="5"/>
    <cfinput type="submit" name="btnUpdate" Label='update'
    tooltip="Submit Update Information" id="btnSubmit"
    value="Check-In">
    <!--- end Check-In Tab --->
    </cfformgroup>
    <!--- overdue tab --->
    <cfformgroup label="Equipment Over-Due" type="page"
    width="850" height="700">
    <cfgrid name="equipOverDueGrid"
    query="equipOverDue"
    selectmode="browse"
    griddataalign="left"
    height="300"
    width="800">
    <!--- Don't show all columns and change header
    name--->
    <cfgridcolumn name="dueDate" header="Due Date">
    <cfgridcolumn name="checkOut" header="Checked Out">
    <cfgridcolumn name="checkIn" header="Checked In">
    <cfgridcolumn name="csulbID" header="CSULB ID">
    <cfgridcolumn name="fName" header="First Name">
    <cfgridcolumn name="lName" header="Last Name">
    <cfgridcolumn name="phone" header="Phone">
    <cfgridcolumn name="email" header="Email">
    <cfgridcolumn name="notes" header="Additional Notes">
    <cfgridcolumn name="equipTag" header="Equip Tag">
    <!--- end data grid--->
    </cfgrid>
    </cfformgroup>
    <!--- end tab navigator--->
    </cfformgroup>
    </cfform>

  • OrcDocDomain File Download Link - (BC4J/ADF) - How to?

    I am able to produce an Upload File in my web application - it works really nicely - , but I am lost on how to produce a download link for those files, once they are stored in the database.
    I am creating an application that deals with document files for my company's intranet. I am using BC4J, ADF, the Oracle Database, and JDeveloper 10.1.3.2
    The files are stored in the oracle database as OrcDocDomain columns.
    As I mentioned at the beginning, I do am able to have my users to upload the files:
    I use the af:inputFile tag to upload the file into the desired jbo View Row. BC4J commits the file storage into the database the way I want it later:
    <af:inputFile value="#{bindings.WorkingDocumentsView1NewDocument.inputValue}"
    label="#{bindings.WorkingDocumentsView1NewDocument.label}"
    required="true"
    binding="#{backing_app_Working_Document.inputText3}"
    id="inputText3"
    inlineStyle="font-size:x-small;" />
    Sweet...
    However, my question now is that, I want my users to be able to download the same file...but I am lost trying to put together a solution for it.
    I have tried with <af:objectMedia source="#{bindings.DocOrd.Source}"/> but it does not work at all. (Please note that I can see that that there is a file in the binding variable DocOrd, because I can display it's mime type in the same web page).
    I have also seen a documentation reference to the class "DownloadFile" of JHeadStart. I think that this class does what I should pretend to do: to render a link/call to the Intermedia Servlet that would produce the download.
    However, I am not using JHeadStart to create my application.
    Does someone know how could I generate this link/call without JHeadStart?
    Thanks by anticipate.
    Rafael.

    Hi.
    I was wondering if anyone has any thoughts or suggestions on above issue please?

  • af:autoSuggestBehavior alignement  issue.

    Hi All,
    I am using <af:autoSuggestBehavior> to populate the searched list on basis of user input .
    <af:inputText label="Search Text"
    binding="#{BackingBean.it4}" id="it4"
    columns="20" wrap="off"
    autoSubmit="true"
    partialTriggers="cil2">
    <af:autoSuggestBehavior suggestedItems="#{ BackingBean.AutoSuggest}"/>
    <f:converter converterId="UpperCaseConverter"/>
    </af: inputText>
    The input Text is placed at right side of the web application. When trying to search elements it’s going outside viewable area(right alignment of the input Text ). How can the autosuggest behaviour is controlled so that the searched elements shown in left alignment of the input text.
    Edited by: RaviDw on Jun 14, 2011 2:08 PM

    Thanks for response.
    Have used the inline style for input Text but this is not working for the search results .still the auto suggest elements behavior is same.
    the populated elements are still coming in right alignment
    Please suggest can we change the auto suggest behavior .on serach the results are populated some time on right aligned and some time on left.
    Edited by: RaviDw on Jun 18, 2011 4:11 PM

Maybe you are looking for

  • Card Reader not working for HP 20 All-in-One

    I have an HP 20 All-in-One PC and have bought two All in one card readers that use the USB slots to connect with the PC. Neither work though which is very frustrating!   Nothing happens apart from the light comes on in the card reader.

  • Installing Windows 8

    How do I install Windows 8.1 on my 2009 MacBook Pro?

  • Converting C3D 2009 dwgs to PDF

    Greetings All,      A question in regards to using Adobe 8 Pro to convert AutoDesk C3D dwgs to pdfs, doesn't like it!  We have currently migrated to AutoDesk Civil 3D 2009 and the create file command/icons do not show up and do not seem available for

  • I have OS X 10.5.8 and I want to upgrade, but not to Mountain Lion.

    I have OS X 10.5.8 and I want to upgrade, but not to Mountain Lion. How do I upgrade to Leopard or snow leopard?

  • 1.5 plugin installer cannot continue because files unavailable

    My applet wants to use any 1.5 plugin with codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=1,5,0,0" . But after downloaded the 1.5 plugin successfully and install begins, I get this popup error (that I cannot cut an