This discussion is archived
7 Replies Latest reply: Jan 28, 2013 6:11 AM by Subramanian Meyyappan RSS

abnormal behaviour on my input,selectone,inputlov compoent in my af:table.

Subramanian Meyyappan Expert
Currently Being Moderated
hi jdev groups,

using 11.1.1.5.0-adfbc.

I developed and running 2 small projects in 11.1.1.5.0, I never seems this behaviour from my past experiences

i had af:table with master child relationship..

child is an af:apanel forma format.

master is an table format. like following componenets involved

input component || select one choice || input lov ||

i give some data on input component and choose select one choice and select input lov

all the fields data get's off/igonred. each and every time am fighting with this.in this projects.

what i did i just drag and drop the my datacontrol as af:table. what happeing? can anyone tell me.

why am asking ? like this format only am develeopd and run my existing projects.

this may sounds silly :) never faced like as such

thanks&&regards
adf7.
  • 1. Re: abnormal behaviour on my input,selectone,inputlov compoent in my af:table.
    Timo Hahn Oracle ACE
    Currently Being Moderated
    ADF7,
    I read this post three times and still get your question.
    Please rephrase it as it's not clear to me what your problem is.

    Timo
  • 2. Re: abnormal behaviour on my input,selectone,inputlov compoent in my af:table.
    Subramanian Meyyappan Expert
    Currently Being Moderated
    simple.

    i h've a af:table like this format.
             column1                                    column2                                                         column3                            column4
    row1   location name //inpuot text       location type //select one choice                        city field    //input lov           city desc //input text
    if i open city lov icon and choose the any of the data, while value sitting the revalent fields means that is city and city desc means.

    row1 data's location name, location type, value which are entered already are get lost.

    what is this hidden reason.
  • 3. Re: abnormal behaviour on my input,selectone,inputlov compoent in my af:table.
    Timo Hahn Oracle ACE
    Currently Being Moderated
    Can you post some code?
    Do you have a sample using the HR schema?

    Timo
  • 4. Re: abnormal behaviour on my input,selectone,inputlov compoent in my af:table.
    Subramanian Meyyappan Expert
    Currently Being Moderated
    i need little bit time.

    i will do it. before that in that mean time you can see that my project pics.

    well you can understand.


    Pic1: normal tabage with af:table of child vo
    http://imageshack.us/photo/my-images/822/valueoff1.png/

    Pic2: ready for insertion.
    http://imageshack.us/photo/my-images/850/valueoff2.png/

    Pic3: entering the revalent data's
    http://imageshack.us/photo/my-images/201/valueoff3.png/

    Pic4: while choosing lov. problem occured
    http://imageshack.us/photo/my-images/689/valueoff4.png/
    <af:showDetailItem text="Notes" id="sdi5" immediate="true">
              <af:panelBox id="pb6" showDisclosure="false"
                           inlineStyle="height:233px;">
                <f:facet name="toolbar">
                  <af:toolbar id="t9">
                    <af:commandToolbarButton actionListener="#{bindings.CreateInsert2.execute}"
                                             text="Insert"
                                             disabled="#{!bindings.CreateInsert2.enabled}"
                                             id="ctb26" icon="/Images/add.png"/>
                    <af:commandToolbarButton text="Save"
                                             disabled="#{!bindings.Commit.enabled}"
                                             id="ctb27"
                                             actionListener="#{bindings.Commit.execute}"
                                             icon="/Images/Save icon.GIF"
                                             rendered="false"/>
                    <af:commandToolbarButton text="Clear"
                                             id="ctb29" icon="/Images/clear.png"/>
                    <af:commandToolbarButton actionListener="#{bindings.Delete2.execute}"
                                             text="Delete"
                                             disabled="#{!bindings.Delete2.enabled}"
                                             id="ctb28"
                                             icon="/Images/delete_ena.png"/>
                    <af:commandToolbarButton text="Rollback"
                                             id="ctb30"
                                             icon="/Images/rollback.png"/>
                  </af:toolbar>
                </f:facet>
                <af:panelCollection id="pc4" styleClass="AFStretchWidth"
                                    inlineStyle="height:167px;">
                  <f:facet name="menus"/>
                  <f:facet name="toolbar">
                    <af:toolbar id="t8">
                      <af:commandToolbarButton actionListener="#{bindings.First2.execute}"
                                               text="First"
                                               disabled="#{!bindings.First2.enabled}"
                                               partialSubmit="true" id="ctb22"
                                               icon="/Images/page-first.gif"
                                               disabledIcon="/Images/page-first-disable.gif"
                                               rendered="false"/>
                      <af:commandToolbarButton actionListener="#{bindings.Previous2.execute}"
                                               text="Previous"
                                               disabled="#{!bindings.Previous2.enabled}"
                                               partialSubmit="true" id="ctb23"
                                               icon="/Images/page-prev.gif"
                                               disabledIcon="/Images/page-prev-disable.gif"
                                               rendered="false"/>
                      <af:commandToolbarButton actionListener="#{bindings.Next2.execute}"
                                               text="Next"
                                               disabled="#{!bindings.Next2.enabled}"
                                               partialSubmit="true" id="ctb24"
                                               icon="/Images/page-next.gif"
                                               disabledIcon="/Images/page-next-disable.gif"
                                               rendered="false"/>
                      <af:commandToolbarButton actionListener="#{bindings.Last2.execute}"
                                               text="Last"
                                               disabled="#{!bindings.Last2.enabled}"
                                               partialSubmit="true" id="ctb25"
                                               icon="/Images/page-last.gif"
                                               disabledIcon="/Images/page-last-disable.gif"
                                               rendered="false"/>
                    </af:toolbar>
                  </f:facet>
                  <f:facet name="statusbar"/>
                  <af:table value="#{bindings.ProspNotes3.collectionModel}"
                            var="row" rows="#{bindings.ProspNotes3.rangeSize}"
                            emptyText="#{bindings.ProspNotes3.viewable ? 'No data to display.' : 'Access Denied.'}"
                            fetchSize="#{bindings.ProspNotes3.rangeSize}"
                            rowBandingInterval="0"
                            filterModel="#{bindings.ProspNotes3Query.queryDescriptor}"
                            queryListener="#{bindings.ProspNotes3Query.processQuery}"
                            filterVisible="true" varStatus="vs"
                            selectedRowKeys="#{bindings.ProspNotes3.collectionModel.selectedRow}"
                            selectionListener="#{bindings.ProspNotes3.collectionModel.makeCurrent}"
                            rowSelection="single" id="t7"
                            partialTriggers="::ctb22 ::ctb23 ::ctb24 ::ctb25 :::ctb26 :::ctb28"
                            styleClass="AFStretchWidth">
                    <af:column sortProperty="PnSeqNo" filterable="true"
                               sortable="true"
                               headerText="Seq. No"
                               id="c6">
                      <af:inputText value="#{row.bindings.PnSeqNo.inputValue}"
                                    label="#{bindings.ProspNotes3.hints.PnSeqNo.label}"
                                    required="#{bindings.ProspNotes3.hints.PnSeqNo.mandatory}"
                                    columns="#{bindings.ProspNotes3.hints.PnSeqNo.displayWidth}"
                                    maximumLength="#{bindings.ProspNotes3.hints.PnSeqNo.precision}"
                                    shortDesc="#{bindings.ProspNotes3.hints.PnSeqNo.tooltip}"
                                    id="it49" >
                        <f:validator binding="#{row.bindings.PnSeqNo.validator}"/>
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.ProspNotes3.hints.PnSeqNo.format}"/>
                      </af:inputText>
                    </af:column>
                    <af:column sortProperty="PnEmpId" filterable="true"
                               sortable="true"
                               headerText="Employees"
                               id="c13" width="150">
                      <af:inputListOfValues id="pnEmpIdId"
                                            popupTitle="Search and Select: #{bindings.ProspNotes3.hints.PnEmpId.label}"
                                            value="#{row.bindings.PnEmpId.inputValue}"
                                            model="#{row.bindings.PnEmpId.listOfValuesModel}"
                                            required="#{bindings.ProspNotes3.hints.PnEmpId.mandatory}"
                                            columns="#{bindings.ProspNotes3.hints.PnEmpId.displayWidth}"
                                            shortDesc="#{bindings.ProspNotes3.hints.PnEmpId.tooltip}"
                                            >
                        <f:validator binding="#{row.bindings.PnEmpId.validator}"/>
                      </af:inputListOfValues>
                    </af:column>
                    <af:column sortProperty="ProspEmpDesc" filterable="true"
                               sortable="true"
                               headerText="Name"
                               id="c16" width="150">
                      <af:inputText value="#{row.bindings.ProspEmpDesc.inputValue}"
                                    label="#{bindings.ProspNotes3.hints.ProspEmpDesc.label}"
                                    required="#{bindings.ProspNotes3.hints.ProspEmpDesc.mandatory}"
                                    columns="#{bindings.ProspNotes3.hints.ProspEmpDesc.displayWidth}"
                                    maximumLength="#{bindings.ProspNotes3.hints.ProspEmpDesc.precision}"
                                    shortDesc="#{bindings.ProspNotes3.hints.ProspEmpDesc.tooltip}"
                                    id="it44" autoSubmit="true">
                        <f:validator binding="#{row.bindings.ProspEmpDesc.validator}"/>
                      </af:inputText>
                    </af:column>
                    <af:column sortProperty="PnNotes" filterable="true"
                               sortable="true"
                               headerText="Notes"
                               id="c36" width="535" displayIndex="-1">
                      <af:inputText value="#{row.bindings.PnNotes.inputValue}"
                                    label="#{bindings.ProspNotes3.hints.PnNotes.label}"
                                    required="#{bindings.ProspNotes3.hints.PnNotes.mandatory}"
                                    columns="50"
                                    maximumLength="#{bindings.ProspNotes3.hints.PnNotes.precision}"
                                    shortDesc="#{bindings.ProspNotes3.hints.PnNotes.tooltip}"
                                    id="it39" rows="2" >
                        <f:validator binding="#{row.bindings.PnNotes.validator}"/>
                      </af:inputText>
                    </af:column>
                  </af:table>
                </af:panelCollection>
              </af:panelBox>
            </af:showDetailItem>
    this is my code of which is shown in pics.

    Edited by: ADF7 on Apr 16, 2012 8:28 AM
  • 5. Re: abnormal behaviour on my input,selectone,inputlov compoent in my af:table.
    Frank Nimphius Employee ACE
    Currently Being Moderated
    Hi,

    can you take out
    <div class="jive-quote"> </div>
    from the LOV definition and confirm the behavior remains the same ?

    Frabnk

    Edited by: Frank Nimphius on Apr 17, 2012 8:20 AM
  • 6. Re: abnormal behaviour on my input,selectone,inputlov compoent in my af:table.
    Subramanian Meyyappan Expert
    Currently Being Moderated
    thanks frank.

    while pasting the code it make's some arrow(typing mistake). so only showing like that in my post.

    in my jsff code not like that....

    .
  • 7. Re: abnormal behaviour on my input,selectone,inputlov compoent in my af:table.
    Subramanian Meyyappan Expert
    Currently Being Moderated
    thanks for helping.

    sorry for the delay in updating the status of my problem.

    by with the help of blog post. i get ride of the problem which i had.
    http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points