Component binding property problem

following problem:
I have a form where I built a dataTable with a dynamic number of columns. To achieve this, I used a component binding (backing bean) to dynamically add columns.
The form is used for different kind of queries and every query has it's own number of columns. The query-identification is submitted via a request parameter.
All the data in the query-form are o.k. (bean values) but the backing bean will not be called in case of a new request (same jsf-form, but other request-parameter).
example:
http://host/url.faces?id=1
http://host/url.faces?id=2
<h:dataTable id="test"
             value="#{test.values}"
             var="i"
             rendered="true"
             binding="#{test.table}">
</h:dataTable>whereas test is a bean which is created in a servlet listener and also updated with the corresponding id from the request.
The table-property depends on the id given in the request.
why ?

ok, I found out, that using the <h:commandLink> with a param-tag solves this issue.
Now the backing-bean's method to build the table is all-time called.
And it works even after an expired session.
But unfortunately I do not really know, why it works this way and the other it doesn't...

Similar Messages

  • Binding property of a Panel header in Declarative Component

    Hi,
    I created a Custom Declarative component, which has a panel header, i wanted to expose the binding property of the panel header so that the users can add partial triggers to it programaticaly,
    so i added a attribute of type RichPanelHeader, and used it in bindings of the panel header, but i am getting following error,
    Unserializable value:RichPanelHeader[UIXFacesBeanImpl, id=dc_cnt_ph1] for key:PropertyKey[phBinding] in console,
    and the value in bean is null.
    the code used in Panel Header of Declarative component,
    <af:panelHeader text="#{attrs.phScreenHdrTxt}" id="dc_cnt_ph1"
                          helpTopicId="#{attrs.phScreenHdrHelpTopicId}"
                          rendered="#{attrs.phScreenHdrRendered}"
                          inlineStyle="#{attrs.phScreenHdrInlineStyle}"
                          partialTriggers="#{attrs.phScreenHdrPartialTrigger}"
                          binding="#{attrs.phBinding}">
          <attribute>
              <attribute-name>phBinding</attribute-name>
              <attribute-class>oracle.adf.view.rich.component.rich.layout.RichPanelHeader</attribute-class>
            </attribute>   code used in the consumer app.
    <app:Container id="c2" phScreenHdrTxt="tab1" phBinding="#{TestBean.panelHeader}">
        <f:facet name="body">
          <af:group id="g1">
            <af:outputText value="Tab1" id="ot1"/>
            <af:commandButton text="Refresh Panel Header" id="cb1"
                              actionListener="#{TestBean.refreshPh}"/>
          </af:group>
        </f:facet>
      </app:Container>
    public class TestBean  implements Serializable{
      private RichPanelHeader panelHeader;
      public void refreshPh(ActionEvent actionEvent) {
        panelHeader.setText("Changed");
        AdfFacesContext.getCurrentInstance().addPartialTarget(panelHeader);
      public void setPanelHeader(RichPanelHeader panelHeader) {
        this.panelHeader = panelHeader;
      public RichPanelHeader getPanelHeader() {
        return panelHeader;
    }is there any solution or way to expose the binding property of any component in a custom declarative component?

    Hi,
    as a last resort, try javax.faces.component.UIComponent as the component class. It seems that none of the UI components implements serializable. javax.faces.component.UIComponent is the JSF base class that they all use.
    Let me know if this works. If not, I think I have another option that mayl do
    Frank

  • ADFPhaseListener prepareRender and component binding problem

    I´m Using ADF Faces and using the ADFPhaseListener. My BackingBean extends from the PageController class
    and so can use prepareModel(LifecycleContext context) or prepareRender(LifecycleContext context). This works fine so far. The
    event handler methods are called as expected (in my example prepareRender). But I have one question.
    I´m using Component binding in my JSF-Page:
    <af:inputText binding="#{backing_untitled1.inputText1}" id="inputText1">
    Code snippet from my ControllerClass
    public class Untitled1 extends PageController{
    CoreInputText inputText1;
    public void setInputText1(CoreInputText inputText1) {   
    System.out.println("setInputText1");
    this.inputText1 = inputText1;
    public void prepareRender(LifecycleContext context) {
    super.prepareRender(context);
    System.out.println("inside prepareRender");
    I´ve written a second PhaseListener that just print´s out the JSF lifecycle phase numbers for better tracing.
    The first time I call my JSF-Page the following output is generated:
    07/01/03 08:32:38 Before Phase: 1 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:32:38 After Phase: 1
    07/01/03 08:32:38 inside prepareRender
    07/01/03 08:32:38 Before Phase: 6 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:32:39 setInputText1
    07/01/03 08:32:40 After Phase: 6
    I can see that the prepareRender is called before phase 6. The component binding is done in phase 6. What I would like to
    do is access the component binding in my prepareRender method. But this is not possible as it is null before phase 6.
    Is there a way to create event handling code after the component binding has taken place?
    When I do a postback (second call to the same JSF page) this thing changes
    07/01/03 08:37:23 Before Phase: 1 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 setInputText1
    07/01/03 08:37:24 After Phase: 1
    07/01/03 08:37:24 Before Phase: 2 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 2
    07/01/03 08:37:24 Before Phase: 3 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 3
    07/01/03 08:37:24 Before Phase: 4 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 4
    07/01/03 08:37:24 Before Phase: 5 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 5
    07/01/03 08:37:24 inside prepareRender
    07/01/03 08:37:24 Before Phase: 6 Source:com.sun.faces.lifecycle.LifecycleImpl@163
    07/01/03 08:37:24 After Phase: 6
    Here in my prepareRender method I could access the component binding as it has been initialized in phase 1.
    Thanks in advance
    Rainer

    hi, you can use this way to initially a value:
    public void setInputText1(CoreInputText inputText1) {
    this.inputText1 = inputText1;
    if( !AdfFacesContext.getCurrentInstance().isPostback() ){
    this.inputText1.setValue("somevalue");
    in the RenderModel phase is not possible set value to a component because this one is null, as you have said.. by this way you can do this too:
    public void setInputText1(CoreInputText inputText1) {
    this.inputText1 = inputText1;
    if( !AdfFacesContext.getCurrentInstance().isPostback() ){
    DCIteratorBinding ib = (DCIteratorBinding)Utilidades.resolveExpression("#{bindings.BanksView1Iterator}");
    RowIterator iter = ib.getRowSetIterator();
    Row row = iter.first();
    if (row != null){
    this.inputText1.setValue(row.getAttribute(BanksViewRowImpl.COD));}
    }

  • Extending af:convertDateTime (and binding property)

    Hello,
    I have an <af:convertDateTime> in the page:
    <af:inputDate id="IDATE" value="#{row.bindings.Date.inputValue}">
        <af:convertDateTime pattern="#{bindings.TABLE.hints.Date.format}"/>
    </af:inputDate>I want to customize the converter, but there is no "binding" property as with other components.
    From our tests, the method "format" in the bean pointed by "pattern" seems to return a null String.
    By googling we discovered that the class behind the converter is oracle.adf.rich.DateTime.
    My question are:
    1. Is it true that, in the case of a null String returned by "format", the converter acts internally by checking the current locale and providing a coherent format for the locale?
    2. Why is not oracle.adf.rich.DateTime availble publicly and why is there no binding property?
    3. What is the best approach to extend the converter?
    Thanks.

    Thanks for your answer, but I'll try to be more precise about my problem.
    What we would really like to know is how that af:convertDateTime works internally and extend it's behaviour by custom providing a bean to "pattern" which behaves the following way, depending on the situation:
    1. either return the same pattern String the converter would use internally by default
    2. or return a custom String
    but again, why isn't oracle.adf.rich.Date available?

  • JClient Component Binding Demo

    Hi,
    I've a question about the JClient Component Binding Demo.
    If I look at the JUNavbar/JUStatusBar binding demo, and the Panel Binding pane,
    I see NO way how to add a new Line Item if the Order doesn't have already one.
    I understand that the problem is because no one of the Line Item entry fields gets the focus.
    What was your intention on how to add a row in an emty table?
    Thanks

    One way folks on OTN reported they've worked around this issue is to add an combo implementing iterator picker on the NavBar. Then when they end up in this situation, the users can select the right iterator and add rows to it by binding the navbar to that iterator (which is not focus-able due to no rows in it in a table display).
    Another way I would suggest is to trap a mouse-click event on the table and if clicked upon, make the navbar focus on the iterator that the table was bound to.

  • Component binding table

    Hi,
    can someone give me an example of component binding with dataTable?
    In my app i must use this, because i don't know number of columns - so i must make table in my java code. Each column consists of checkbox and inputText and under the table is submit button which submits entire table. Values of checkbox and inputText in one column are bind to BackBean (this bean has selected value and price value).
    In my jsp, i use something like this:
    <h:dataTable var="table" binding="#{model.table}" value="#{model.data}" />
    I'm working on this for a week and I stil don't know how to do it.
    Thanks in advance,
    jarin

    Hi,
    yes U understand my problem. I have in my jsp only:
    <h:dataTable binding="#{model.table}"/>
    <h:commandButton action="#{model.set} value="submit"/>
    I use client state saving,
    model is managed bean ModelBean in request scope
    my two classes, which do all work - they should work if you get them into any app, I removed any unnecessary pieces of code:
    /* class ModelBean -------------------------------*/
    package backing.divadlo;
    import backing.divadlo.SedadloBack;
    import javax.faces.component.html.*;
    import java.util.*;
    import javax.faces.el.ValueBinding;
    import javax.faces.context.FacesContext;
    import javax.faces.component.*;
    public class ModelBean  {
      private UIData table;
      private ArrayList data;
      private int colNumber, rowNumber;
      public ModelBean() {
        table = new UIData();
        data = new ArrayList();
        colNumber = 0;
        rowNumber = 0;
      public void setData(ArrayList d) {
        this.data = d;
      public ArrayList getData() {
        return this.data;
      public void setTable(UIData tbl) {
        this.table = tbl;
      public UIData getTable() {
        init(); // normaly I call init() in another bean, if I select which auditorium will be shown
        return this.table;
      public void pripravData() {
        data.clear();
        // prepair of auditorium - get rows and number of cols
        rowNumber = 2;  // after all works, here will be rows of auditorium
        colNumber = 20; // seats in row, each row can have another number of seats
        // loop trough rows of auditorium
        for (int i = 0; i < rowNumber; i++) {
          ArrayList novaRada = new ArrayList();  // new row with seats
          // insert seats (SedadloBack) into new row
          for (int k = 0; k < colNumber; k++) {
            SedadloBack sedB = new SedadloBack(); // new seat
            sedB.setRada(k);      // set number of row
            sedB.setSedadlo(k);   // set number of seat
            sedB.setProdej(true); // is free or not
            sedB.setPrice(k);     // set price
            // insert seat into new row
            novaRada.add(sedB);
          // insert new row into auditorium
          data.add(novaRada);
      public void init() {
        FacesContext context = FacesContext.getCurrentInstance();
        List list = table.getChildren();
        list.clear();
        pripravData();
        if(data != null) {
          table.setValue(data);
          table.setRows(data.size());
          table.setRowIndex(0);
          table.setVar("dTable");
          UIColumn column;
          HtmlInputText priceText;
          HtmlSelectBooleanCheckbox checkbox;
          HtmlOutputText br1,br2,cislo;
          for (int i = 0; i < colNumber; i++) {
            column = new UIColumn();                    // new column
            priceText = new HtmlInputText();            // input for price
            checkbox = new HtmlSelectBooleanCheckbox(); // is free or not
            br1 = new HtmlOutputText();                 // <br>
            br2 = new HtmlOutputText();                 // <br>
            cislo = new HtmlOutputText();               // position of seat in row
            br1.setValue(new String("<br />"));
            br2.setValue(new String("<br />"));
            br2.setEscape(false);
            br1.setEscape(false);
            // prepare outText of position in row
            String cisloExp = "#{"+table.getVar()+"["+i+"].sedadlo}";
            ValueBinding vbCislo = context.getApplication().createValueBinding(cisloExp);
            cislo.setValueBinding("value",vbCislo);
            // prepare checkbox - if seat is free or not
            String expCheckbox = "#{"+table.getVar()+"["+i+"].prodej}";
            ValueBinding vbCheckbox = context.getApplication().createValueBinding(expCheckbox);
            checkbox.setValueBinding("value",vbCheckbox);
            // prepare inputText - price of seat
            priceText.setTitle("Cena");
            priceText.setStyleClass("cenaInput");
            String vbSIn = "#{"+table.getVar()+"["+i+"].price}";
            ValueBinding vbI = context.getApplication().createValueBinding(vbSIn);
            priceText.setValueBinding("value", vbI);
            // prepare column
            column.getChildren().add(cislo);
            column.getChildren().add(br1);
            column.getChildren().add(priceText);
            column.getChildren().add(br2);
            column.getChildren().add(checkbox);
            list.add(column);
      public String set() {
        // for now just print out price with position of seat
        for(int j=0; j < table.getRowCount(); j++) {
          table.setRowIndex(j);
          if(table.isRowAvailable()) {
            ArrayList data = (ArrayList)table.getRowData();
            for(int i=0; i < data.size(); i++) {
              SedadloBack sedadlo = (SedadloBack)data.get(i);
              System.out.println(sedadlo.getRada()+"/"+sedadlo.getSedadlo()
                                 +" - "+sedadlo.getPrice());
        return "null";
    /* class SedadloBack -------------------------------*/
    package backing.divadlo;
    import java.io.Serializable;
    public class SedadloBack implements Serializable {
      private int id;
      private int rada;
      private int sedadlo;
      private int price;
      private boolean prodej;
      public void setId(int id) {
        this.id = id;
      public int getId() {
        return this.id;
      public void setRada(int rada) {
        this.rada = rada;
      public int getRada() {
        return this.rada;
      public void setSedadlo(int sedadlo) {
        this.sedadlo = sedadlo;
      public int getSedadlo() {
        return this.sedadlo;
      public void setProdej(boolean pr) {
        this.prodej = pr;
      public boolean getProdej() {
        return this.prodej;
      public void setPrice(int price) {
        this.price = price;
      public int getPrice() {
        return this.price;
    } I realy appreciate your help, this is my first app in jsf - i make it as my dissertation and I am starting be little late.
    If you need more info or code i give you what you want. Preparing war is little complicated - I use postgres and hibernate and i doubt if you want install this db only to test my case.
    jarin

  • If I consider heap size, should I follow component binding or Value binding

    Hi,
    I have an Web application my pages gets change rapidly in run time(components get disable and invisible at run-time depends on user input), So in that case which kind of binding approach I have to follow if I consider Heap memory of run time.

    navaneeth.j wrote:
    I am getting more grip on the component means, in ValueChange event I can get the updated value in the backing bean, That means on the updated values of the rest of the components are not available only we can get evt.getNewValue for event produced component. Example there are 5 components in the page if the event got generated from the 3rd component so in that valuechange event method needs the first two components values also. In value binding I can't get those value but in the component binding every component's updated value I can get.That's why I mentioned AJAX enabling the view in the previous post.
    I can accept for 3rd party libraries if we use value binding it would be very easy to detach and use another one but for basic components I am not able to visualize the need to use the other >API, If my guess is right, for look and feel purpose means we can change the renderkit na.
    Please suggest me am I thinking in the right direction or notRichfaces, Tomahawk and many others have lots of components that solve common problems that you are going to meet when using plain JSF components.
    Yes people try to stick to standard JSF as much as possible but it is not always possible nor always beneficial.
    Like I said it's not hard and fast. As long as you understand the advantages and disadvantages of each technique so that you can chose the correct approach according to requirements.
    The memory differences are unlikely to impact in a major way.

  • Doubt about Component binding....

    I have a doubt about component binding because I am also using component binding in my application, in my application each page has more than 20 components and each page is session scope, at one point I am getting message like perm space(this is because of lack of memory, actually I have 4gb ram). So my is
    "does the jsf creates new object for every reload, because of that my jvm filling with all the objects?".
    Another question is "what is the difference between value binding and component bindings?, and drawbacks of each other" please tell me the differences between them up to the very low level(up to memory usage for each approach).
    Please clarify this doubt...........

    JNaveen wrote:
    I have a doubt about component binding because I am also using component binding in my application, in my application each page has more than 20 components and each page is session scope, at one point I am getting message like perm space(this is because of lack of memory, actually I have 4gb ram). So my is
    "does the jsf creates new object for every reload, because of that my jvm filling with all the objects?".This is regardless of the component binding. JSF creates a component tree and stores it in the session. With component binding you can link between the backing bean and the component without the need for UIViewRoot#findComponent().
    Think your problem lies somewhere else. Use a profiler.
    Another question is "what is the difference between value binding and component bindings?, and drawbacks of each other" please tell me the differences between them up to the very low level(up to memory usage for each approach).With the component binding you can get hold of the whole component from the tree in the backing bean. Useful if you want to do a bit more than only holding the component's value, with which you usually do with the value binding.

  • Component binding and state saving

    Hello,
    I have a few questions in regards to component binding and state saving (specifically in regards to the reference implementation) when the saving method is client and backing-beans are in the request scope rather than in the session scope:
    1) if a component instance is bound to a backing-bean property then does the state of that component get saved when the view state is saved?
    2) for UIData component, if the component value is bound to a list, does the actual list (after being wrapped) serve as the local data for the component? If this is the case, when the state is saved and then subsequently restored, does the list get re-created with the original number of items?
    Regards,
    Len Takeuchi

    Thanks for the quick response.
    (2) The actual list is not saved; the list will be
    re-queried on subsequent requests.The list composition may have changed by the time the list is re-queried. If the table being displayed is updatable then transfer of information from request back to the list (during Apply Request Values) may not happen properly. So does that pretty much mean that the original list has to be kept around (in the session)? If the state saving method is server then does the saved state maintain a reference to the original list across requests?
    Len Takeuchi

  • Can't use binding property of a commanButton inside a datatable

    I have commandButtons inside a datatable.
    The datatable is iterated over ArrayList containing custom PageSnippets objects, which look like this :
    public class PageSnippet {
              private int index = 0;
              private String name = null;
              private String id      = null;
              private UICommand upBtn = new UICommand();
              private UICommand downBtn = new UICommand();
              public PageSnippet (int index, String name, long id, int snippetCount) {
                   this.index = index;
                   this.name = name;
                   this.id = String.valueOf(id);
                   setBtnsVisibility(snippetCount);
               * getters
              public String getId() {
                   return id;
              public int getIndex() {
                   return index;
              public String getName() {
                   return name;
              public UICommand getUpBtn() {
                   return upBtn;
              public UICommand getDownBtn() {
                   return downBtn;
               * Sets button visibility.
              public void setBtnsVisibility (int snippetCount) {
                   upBtn.setRendered(index > 1);
                   downBtn.setRendered(index < snippetCount);
         }The two buttons are binded to the the pageSnippet's upBtn and downBtn objects in order to set their rendered status:
    <h:commandButton
    actionListener="#{pageEditBean.moveSnippet}" type="submit"
    image="../images/btn_up.png"
    binding="#{snippet.upBtn}"/>I got null nuinter exception, datable variable snippet is reported null
    and getter method of the backing bean getPageSnipets is not called at all.
    I got null nuinter exception even when rendered property of the datatable is false.
    When I remove binding property of the buttons everything works fine.
    When instead of binding property I use rendered property of the commandButton and in the getter metthods I return boolean:
    public boolean getUpBtn() {
                   return downBtn.isRendered();
              } Everything is OK as well.
    MyFaces 1.1.5
    JSDK 1.4.2_08
    Tomcat 4.1.3
    Have anybody encountered such problem?
    Is there any workaround?
    Or can anybody confirm that binding a commandButton to a backing UICommand object inside a datatable works for him?
    thanks in advance

    Thanks a lot.
    You're right, the backing bean has request scope.
    I found out (the hard way) that there's a bug in JSF that prevents a commandButton from working, when the button's rendered property is binded to a backing bean's property.
    But this solution works.
    But I got another problem:
    When I click the button, I got java.lang.NoSuchMethodError
    Even clicking the button outside the datatable returns the exception.
    Again, when I set the bean's scope to session it works.
    I don't understand that, except for the datatable business, commandButtons with other request scope beans work well.
    Thanks

  • Component binding inside h:dataTable fails

    Hi,
    I'd like to create a component binding for each commandLink to a distinct child bean inside an h:dataTable like so:
    <h:dataTable value="#{parent.children}" var="child">
        <h:column>
            <h:commandLink binding="#{child.command1}" value="do it to it for #{child}" action="#{child.action}"/>
        </h:column>
    </h:dataTable>But whenever I try to render this page I get an exception stating that "child is null" and binding cannot be performed. If I remove 'binding="#{child.command1}"', however, everything works fine. I guess this is happening because 'var="child"' in h:dataTable gets evaluated after bindings are created. How can I get around that - I really need to be able to refer distinctly refer to UIComponents in each row.
    Confused...
    thanks
    -nikita

    I created a seperate class to handle the requests ActivationRequestBuilder and put the code in there .
    if you want to refer to each row in the backing bean .
    create a variable of type HtmlDataTable .
    private HtmlDataTable tenantDataTable;
    set up accessor and mutator methods for this variable.
    In your jsp in the DataTable
    <h:dataTable binding="#{activationRequestBuilder.tenantDataTable}"
    <h:commandLink title="Delete Tenant section"
    immediate="true" action="#{activationRequestBuilder.deleteTenantLocationSection}">
    public String deleteTenantLocationSection(){
    (TenantLocationRecordBean) this.getTenantDataTable().getRowData();
    This is just snippets of code but you should get the idea of what I have done here .I had multiple sections in a page so each row was a TenantLocationRecordBean .

  • h:dataTable with component binding not rendering

    Hello,
    I am developing an application with several ad-hoc queries that need to be displayed in data table elements. The number and label values of the columns are not known until runtime. I am attempting to use a component binding mechanism to intercept the UIData and add columns to it at runtime, depending on the data currently held in a backing bean instance (such as an ad-hoc query result).
    I'm not sure where I can actually intercept the table and add the columns. I've got the following code example to compile and run without error, but nothing gets rendered properly - I get an opening <table> tag in the HTML source and nothing else follows.
    I have compared the structure of the table created with the following binding method to a table created with simple <h:dataTable> tags, and I see only one difference. The datatable created with tags has a single attribute in its attribute map called "javax.faces.webapp.COMPONENT_IDS" that maps to an ArrayList of the component IDs of the h:column elements I specify on the JSF page. The datatable I attempt to create in the binding method does not have this attribute in its map, and I can't seem to manually add it in without creating further havoc. (the child count, types of children, etc all seem to be equivalent).
    From the JSF perspective this is how I've defined the h:dataTable tag instance...
    <h:dataTable id="categoryTable" rendered="true"
            binding="#{backingBeanInstance.table}"
                value="#{backingBeanInstance.rows}"
                    var="row"  border="2" />This is basically the code in the backingBeanInstance....
        private UIData table;
        public void setTable(UIData table){
            this.table = table;
           //initTable();   //tried this but seems not to work either?
        public UIData getTable(){
            if(table!=null){
                initTable(); //build the columns and add to the table
            return table
        private void initTable(int categoryIndex){
                //This block is just a way to calculate the number of columns
                int colCount = <depends on data held in bean>
                //Resolve the var string for the data table
                String item = table.getVar();
                System.out.println("item: " + item);  //this is always null the 1st time through?? why?
                UIColumn col;
                UIOutput out;
                FacesContext context = FacesContext.getCurrentInstance();
                Application app = context.getApplication();
                //For each column in the data, create a UIColumn as child of the
                //data table.  Create a UIOutput as child of the UIColumn and bind
                //the value of the UIOutput to the data with an EL expression
                for (int j = 0; j < colCount; j++) {
                    //create an instance of UIOutput to display the value for this cell
                    out = new UIOutput();
                    out.setRendererType("Text");
                    //create an instance of UIColumn
                    col = new UIColumn();
                    //construct the value binding string as an EL expression
                    String valueBindingString = "#{" + item + "[" + j + "]}";
                    //create the value binding
                    ValueBinding vb = app.createValueBinding(valueBindingString);
                    //set the value binding on the UIOutput object
                    out.setValueBinding("value", vb);
                    //add the UIOutput component to the UIColumn as a child
                    col.getChildren().add(out);
                    //add the UIColumn to the data table as a child
                    table.getChildren().add(col);
        }

    <bump>

  • How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    Here you go: http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod
    Good luck!

  • Bad Bind Variable Problem

    Hi
    I am trying to create a trigger and facing Bad Bind Variable problem.
    Plz let me know, what's the problem in this trigger.
    CREATE OR REPLACE TRIGGER Tender_tax_update AFTER
    INSERT
    OR UPDATE
    OR DELETE OF ITEM_QTY,ITEM_RATE,TENDER_ACC_QTY ON TENDER_ENQUIRY_ITEM_D REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW
    Declare
         v_amt TENDER_VENDOR_TAX_D.TAX_AMOUNT%TYPE;
         v_tax_ty TENDER_VENDOR_TAX_D.TAX_TYPE%TYPE;
         v_tax_cd TENDER_VENDOR_TAX_D.TAX_CODE%TYPE;
         v_ven_cd TENDER_VENDOR_TAX_D.VENDOR_CODE%TYPE;     
         v_item_cd TENDER_VENDOR_TAX_D.item_cd%TYPE;     
         v_tenno TENDER_VENDOR_TAX_D.tender_enquiry_no%TYPE;
    Begin
         if inserting then
              v_tax_ty:=:new.TAX_TYPE;
              v_tax_cd:=:new.TAX_CODE;
              v_ven_cd:=:new.vendor_code;
              v_item_cd:=:new.item_cd;
              v_tenno:=:new.tender_enquiry_no;
    select TAX_AMOUNT into v_amt from TENDER_TAX_DETAILS where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
    update TENDER_VENDOR_TAX_D set TAX_AMOUNT=v_amt where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
         end if;
    End Tender_tax_update;
    Database deails are as follows:
    TENDER_VENDOR_TAX_D
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE NOT NULL VARCHAR2(4)
    TAX_CODE NOT NULL VARCHAR2(4)
    PERCENTAGE NUMBER(5,2)
    TAX_AMOUNT NUMBER(15,2)
    ITEM_CD NOT NULL VARCHAR2(10)
    TAX_FLAG VARCHAR2(1)
    TAX_TYPE CHAR(3)
    TENDER_TAX_DETAILS
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE VARCHAR2(4)
    ITEM_CD VARCHAR2(10)
    TAX_CODE NOT NULL VARCHAR2(4)
    TAX_TYPE CHAR(3)
    TAX_AMOUNT NUMBER
    Message was edited by:
    user648065

    facing Band Bind Variable problem.Doesn't the error message tell you which bind variable is the problem?

  • COMPONENT binding

    Folks,
    does anybody know about detailed descriptions (with samples) of the Component binding feature in JSF? I would like to get my hands on a more detailed example than the one in the J2EE tutorial. The books I've seen so far put their focus on value and method binding but rarely anybody talks about component binding.
    Every (meaningful) response gets a DD!
    Thanks.

    http://jsftutorials.com/components/step5.html
    Probably, it is not very detailed, but with the example :-)
    You can assign the variable with the type of the component in the backing bean. This allows you to manipulate with all bunch on the component attributes.

Maybe you are looking for

  • Syncing with Day-Timer

    I've been using Day-Timer Organizer as my address book/calendar for many years. Under Windows XP, it syncs perfectly with my Tungsten T5 over the cable. I have needed to replace my XP machine with a Windows 7 computer, and have run into an obstacle.

  • Messages not in my sent box

    I sent a message from my wife's iPad using my bt account . When I look on my laptop the message does not appear in my sent folder. Same happens when I use apple mail to send an e mail. What is wrong?

  • How to set buffer size mac?

    Video streaming is intermittent, BBC iPlayer. Cannot get info about router but have latest Apple Extreme modem in MacBook Air.

  • Are you inviting us to discuss BT's challenge to t...

    Kerry G wrote: http://community.bt.com/t5/Announcements/The-buzz-around-BT-and-The-Digital-Economy-Act/m-p/27335#M3... The buzz around BT and The Digital Economy Act  Hi everyone Perhaps if you've read the news, you'll know that BT is legally challen

  • Does anyone ever successful deploying the example portlet with wlcs3.2

    I followed the instructions in the document, and was able to bring up the portal, however, the nothing showed in the tutorial portlet but the title bar. There are no error message and I don't know how to find out what's wrong. I added debug message i