How to call a display object with the criteria of the different point of view in each line an ADF BC table (Urgent)

Hello world

I use 11.1.1.7 version of Jdeveloper. I have a table adf BC. I need to call another ADF BC table inside the table. I need get the questionId from each row in the main table and fix the questionId as a point of view of the criteria drop inside the main table. I use to execute with parameter but always get the id of the last row question and criteria of this id as a point of view to each row of the table. How can I do this? 

< af:table value = "#{bindings." AttachmentYesNoVO11.collectionModel}.

var = "row" rows = "#{bindings." AttachmentYesNoVO11.rangeSize}.

emptyText = "#{bindings." AttachmentYesNoVO11.viewable? "{'No data to display.': 'Access Denied.'}".

fetchSize = "#{bindings." AttachmentYesNoVO11.rangeSize}.

rowBandingInterval = "0" id = "t2".

"partialTriggers =": cb4: cb3 ".

styleClass = "AFStretchWidth" inlineStyle = "height: auto;"

width = "1250" >

< af:column sortProperty = "#{bindings." AttachmentYesNoVO11.hints.Question.name}.

sortable = "false".

headerText = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.

ID = "c10" width = "300" >

< af:inputText value = "#{row.bindings.Question.inputValue} '"

label = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.

required = "#{bindings." AttachmentYesNoVO11.hints.Question.mandatory}.

columns = "#{bindings." AttachmentYesNoVO11.hints.Question.displayWidth}.

maximumLength = "#{bindings." AttachmentYesNoVO11.hints.Question.precision}.

shortDesc = "#{bindings." AttachmentYesNoVO11.hints.Question.tooltip}.

ID = "it1" lines = '8' readOnly = "true" contentStyle = "width: 330px; "margin: 10px" >

< f: validator binding="#{row.bindings.Question.validator}"/ >

< / af:inputText >

< / af:column >

< af:column headerText = "#{bindings." AttachmentYesNoVO11.hints.ApplicationId.label}.

ID = "c1" width = "300" >

< af:table value = "#{bindings." AttachmentVO1.collectionModel}.

var = "row" rows = "#{bindings." AttachmentVO1.rangeSize}.

emptyText = "#{bindings." AttachmentVO1.viewable? "{'No data to display.': 'Access Denied.'}".

fetchSize = "#{bindings." AttachmentVO1.rangeSize}.

selectionListener = "#{bindings." AttachmentVO1.collectionModel.makeCurrent}.

rowSelection = 'single '.

Binding = "#{uploadDownloadBean.downloadTable} '"

rowBandingInterval = "0" id = "t1".

partialTriggers =': cb5: cb6: cb7: cb10 ">"

< af:column id = 'c12' width = '0 '.

headerText = "Download File" >

< af:commandButton text = "#{row.bindings.FileName.inputValue}" id = "cb23" > "

< af:fileDownloadActionListener

filename = "#{row." Bindings.FileName.inputValue}.

Method = "#{uploadDownloadBean.downloadFile} '"

contentType='"#{row.bindings.MimeType.inputValue}"'/ >

< / af:commandButton >

< / af:column >

< / af:table >

< / af:table >

User, because the two tables have a relationship, we call matter detail relationship, you can use a link view defining the relationship, and the framework will be the selection detail for you automatically.

The next thing is that you can not put a table in a column of a table. This is not supported by the table component. You can use a picture of the tree for this, or tables cascading as I show in JDeveloper 11.1.2.1: cascade Tables | JDev & ADF Goodies

Timo

Tags: Java

Similar Questions

Maybe you are looking for