Displaying images in ADF Table
I have a column in table of type blob. I created entity and view against it. In view type of attribute is blobdomain (by default). Now when i drop that view on form to create table, it places control inputText for blob. I want to ask how i can display images in ADF table column?
Check this post:
Re: multi-row block with many image-java-beans
How to display the content of a BLOB column in a ADF/BC pages ?
and this might be helpful too:
http://www.pascalalma.net/2008/04/22/oracle-adf-medior-rendering-images-based-on-blob-columns/
Regards,
~Krithika
Similar Messages
-
How to display images in a table column?
Hi,
In a VC model, I have to display images in a table column for each record found.
How can this be done?
Regards,
NitinHi Nitin,
It can be done by adding to the table the Image control (can be found under Advanced Controls in the Compose panel).
In the URL property (in the Configure panel of the Image control) you can define any expression that will return the image URL. For example:
="http://hosting.site.url/"&@ImageNameField
Regards,
Udi
Edited by: Udi Cohen on Jun 11, 2008 1:39 PM -
WD4A : Displaying images in ALV table
Hi,
Does anyone know how to display images in ALV tables in Webdynpro?Hello,
You can define an attribute in the context with the type CHAR 30 and define it value like an icon from WDA (like ~Icon/GreenLed). And then you need to create an method to define the attributes of the column that will have the image like follows:
METHOD display_alv .
DATA: lr_alv_usage TYPE REF TO if_wd_component_usage,
lr_config TYPE REF TO cl_salv_wd_config_table,
lr_col_header TYPE REF TO cl_salv_wd_column_header,
lr_function_wd TYPE REF TO cl_salv_wd_function,
lr_button TYPE REF TO cl_salv_wd_fe_button,
lr_image TYPE REF TO cl_salv_wd_uie_image,
lr_header TYPE REF TO cl_salv_wd_header,
lr_uie_link TYPE REF TO cl_salv_wd_uie_link_to_action,
lr_if_controller TYPE REF TO iwci_salv_wd_table,
lr_function_set TYPE REF TO if_salv_wd_function_settings,
lr_table_settings TYPE REF TO if_salv_wd_table_settings,
lr_column_settings TYPE REF TO if_salv_wd_column_settings.
DATA: lt_columns TYPE salv_wd_t_column_ref,
ls_column TYPE salv_wd_s_column_ref,
lv_text TYPE string.
* Instantiate ALV Component
lr_alv_usage = wd_this->wd_cpuse_all_alv( ).
IF lr_alv_usage->has_active_component( ) IS INITIAL.
lr_alv_usage->create_component( ).
ENDIF.
* get reference to model
lr_if_controller = wd_this->wd_cpifc_all_alv( ).
lr_config = lr_if_controller->get_model( ).
* modify visible rows
lr_config->if_salv_wd_table_settings~set_visible_row_count( iv_rows ).
lr_config->if_salv_wd_table_settings~set_selection_mode(
wd_assist->co_alv_selmode ).
* create function
lr_function_set ?= lr_config.
lr_function_wd = lr_function_set->create_function(
wd_assist->co_func_det_nfe ).
CREATE OBJECT lr_button.
*read text
lv_text = wd_assist->read_text( iv_key = '002' ).
lr_button->set_text( lv_text ).
lv_text = wd_assist->read_text( iv_key = '001' ).
lr_button->set_tooltip( lv_text ).
lr_button->set_image_source( wd_assist->co_icon_seldet ).
lr_function_wd->set_editor( lr_button ).
* set table header
lr_table_settings ?= lr_config.
lr_header = lr_table_settings->get_header( ).
lv_text = wd_assist->read_text( iv_key = '003' ).
lr_header->set_text( lv_text ).
lv_text = wd_assist->read_text( iv_key = '004' ).
lr_header->set_tooltip( lv_text ).
lr_header->set_image_source( wd_assist->co_icon_list ).
lr_column_settings ?= lr_config.
lt_columns = lr_column_settings->get_columns( ).
LOOP AT lt_columns INTO ls_column.
CASE ls_column-id.
WHEN 'ICON'.
CREATE OBJECT lr_image.
lr_image->set_source_fieldname( ls_column-id ).
lr_image->set_tooltip_fieldname( 'ICON_TOOLTIP' ).
ls_column-r_column->set_cell_editor( lr_image ).
WHEN 'ID'.
CREATE OBJECT lr_uie_link.
lr_uie_link->set_text_fieldname( ls_column-id ).
ls_column-r_column->set_cell_editor( lr_uie_link ).
WHEN 'ICON_TOOLTIP' or 'LOGSYS'.
ls_column-r_column->set_visible(
cl_wd_uielement=>e_visible-none ).
ENDCASE.
*set header binding of medium description, otherwise title
lr_col_header = ls_column-r_column->get_header( ).
lr_col_header->set_ddic_binding_field(
if_salv_wd_c_column_settings=>ddic_bind_medium ).
ENDLOOP.
ENDMETHOD.
Here will be showed an icon (column ICON) and an link (column ID).
Regards, -
Display data on ADF table using a VO binded to a message.properties file
Hi,
I want to display data in a JSPX page using ADF table which is based on a ViewObject. The attributes of the ViewObject should get it's value from a abc.properties file(static file).How can i achieve this.
thanks in advance.
regards,
Himanshu.Hi Himanshu,
When you create a VO based on static values, all of the records from your VO are generated into the MessageBundel.properties file like this
devguide.entity.ViewObj.SL_0_0=1
devguide.entity.ViewObj.SL_0_1=<val1>
devguide.entity.ViewObj.SL_0_2=<val2>
devguide.entity.ViewObj.SL_1_0=2
devguide.entity.ViewObj.SL_1_1=<val1>
devguide.entity.ViewObj.SL_1_2=<val2>
You could add more lines to the properties files maintaining the same pattern. Also noticed that you can read all the values from a CSV file as well.
The last resource is to programmatically read the file and start creating new rows on the VO, which won't use any of the declarative tools for VOs.
-Juan Camilo. -
Displaying image from database table.
Hi All,
I am very new to Web Dynpro ABAP.
I am developing an application to display an image in "Image" UI Element.
For this I have one table consisting of fields image id, image data and image name. here image id is primary key field.
Now i want to display an image from that table in "Image" UI Element. For this i am using "Filedown load" UI element.
But by using filedownload ui element i can diaplay image in another new page.
But my requirement is to display image in the same web page without creating a new one.
(I want to display the image in "Image" UI element without storing that image in MIME objects.)
Can anyone help me.
Thanks in Advance!
Regards,
Sreelakshmi.What you describe is completely possible. Since you have the image data (XSTRING) in the context you have everything you need. You don't need to store the content into the MIME Repository, but you do need to get it somewhere where it has an externally accessible URL. Remember you need to supply image UI element with a URL. This URL is processed on the client side by the web browser. Therefore just giving it a path to the context won't work as that isn't externally accessible.
I would suggest instead that you place the image content into the ICM cache temporarily. This lets you basically generate a temporary URL for the image that can be used by the Image UI element.
Here is some example code that pushes images into the ICM Cache:
****Create the cached response object that we will insert our content into
DATA: cached_response TYPE REF TO if_http_response.
CREATE OBJECT cached_response
TYPE
cl_http_response
EXPORTING
add_c_msg = 1.
try. " ignore, if compression can not be switched on
call method cached_response->set_compression
exporting
options = cached_response->co_compress_based_on_mime_type
exceptions
others = 1.
catch cx_root.
endtry.
****set the data and the headers
DATA: l_app_type TYPE string.
DATA: l_xstring TYPE xstring.
cached_response->set_data( me->gx_content ).
l_app_type = me->gx_mimetype
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = l_app_type ).
****Set the Response Status
cached_response->set_status( code = 200 reason = 'OK' ).
****Set the Cache Timeout - 60 seconds - we only need this in the cache
****long enough to build the page and allow the Image on the Client to request it.
cached_response->server_cache_expire_rel( expires_rel = I_CACHE_TIMEOUT ).
****Create a unique URL for the object
DATA: guid TYPE guid_32.
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE i_path '/' guid '.' i_format INTO r_url.
****Cache the URL
cl_http_server=>server_cache_upload( url = r_url
response = cached_response ). -
Displaying Image from ADF BC (BLOB Column) in ADF Mobile Application
I have made an ADF BC over a database. Now I want to use that ADF BC's data control in my ADF Mobile App to display image stored in a blob column in the database!
How should I got about it?
Regards,
Muhammad ZaheerSir,
I have exposed it through web services and I'm using the Web Service data control in my mobile application but the blob column is shown as output text in the data control. Now I don't know how to display the image from the blob column in my ADF mobile application.
Looking forward for your help.
Thank you. -
Display Images from HTMLDB_APPLICATION_FILES Table?
How do I display images from the HTMLDB_APPLICATION_FILES Table?
Are the contents full available potentially for display? Or only after I have written them to another display?
Please advise what I need to do or what corrections below is required:
The calling procedure is a item in a SELECT statement as part of a report query:
<P>
<(img src="#OWNER#.download_HAF_file?p_file= ' || nvl(ID,0) || ' height="50" width="50" )>, HAFimg<P>
The Procedure is a adaptation of the Chapter 8 Exercise of the 2 day developer guide:
CREATE OR REPLACE PROCEDURE "DOWNLOAD_HAF_FILE" (p_file IN NUMBER) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
INTO v_mime, lob_loc, v_file_name, v_length
FROM HTMLDB_APPLICATION_FILES
WHERE ID = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( NVL(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||SUBSTR(v_file_name,INSTR(v_file_name,'/')+1)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
END Download_HAF_File;
/Message was edited by:
luddite1812I believe you put HTML "pre" tags around your quote (with square brackets, I can't type them here because they'll be escaped).
If the example below looks formatted then using "pre" works, if not...then ignore me ;)
begin
select
count(*)
into
v_count
from big_table;
end; -
Columns from different tables displayed in an ADF table format
I have a many to one relationship between 2 tables (checklist -> subcontract). I would like to display columns from each table on a web page in an ADF Read Only Table format. I created a method that returns the data I need from the tables. When I drag that method over to my page JDev I'm only allowed to select columns from either the checklist table OR the subcontract table. I need one column from the subcontract table and several columns from the checklist table. I'm using JDev 10.1.3.2 and an Oracle 11g database. Thank you in advance.
-WadeThank you for your response. I ended up creating a new getter in the Checklist table which refers to the column in the Subcontract table. Then I was able to create a table column for that returned value.
Thanks again!
-W -
Displaying Images in ADF/JSF: Error Using Steve Muench's Example #69
Hi,
I've been able to load images into the database using Steve Muench's Example 69. However, I'm having issues displaying the images.
Jdeveloper: 10.1.3.3.0
Database: 10gR2 with ORDSYS active.
I'm getting the following error:
07/08/20 12:09:20.993 JSFOrdImageExample-ViewController-webapp: Servlet error
java.lang.NullPointerException
at oracle.ord.html.OrdPlayMediaServlet.renderContent(OrdPlayMediaServlet.java:403)
at oracle.ord.html.OrdPlayMediaServlet.deliver(OrdPlayMediaServlet.java:263)
at oracle.ord.html.OrdPlayMediaServlet.doGet(OrdPlayMediaServlet.java:204)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:613)I'm not sure why I'm getting a NullPointerException...
Previous to this, I had to include the bc4jhtml.jar file as a library in application.xml, and I've tried using the two bc4jhtml.jar files, but neither one seems to work.
I'm thinking that there must be something simple that I'm missing with the servlet setup...
Thanks!
KentonI tried the wayback machine, but unfortunately, it doesn't cache the SWF files either :( I do have a copy of some (ok one) of Steve's old videos (the one that shows how to do a dropdown list in an editable table, back before it was easy to do), but unfortunately, none of the search ones.
John -
How to display images in a table
Hi all,
I have to display five different images in five rows of a table.For this purpose i am trying to create a node element with value attribute.How can i set an image to the
node.If it is possible to set an image to the node then i can bind it dynamically to the table.Is it correct way?
Otherwise give me guidance to solve this problem.
Thanks&Regards
SatyamDesigntime:
Context:
Value node "Rows" (cardinality 0:N)
Attribute "ImageURL": string
UI elements:
Table.dataSource = "Rows".
TableColumn, table cell editor = Image
Image.source = "Rows.ImageURL"
Runtime:
for (int i = 0; i < 5; ++i)
IRowsElement row = wdContext.nodeRows().createRowsElement();
wdContext.nodeRows().addElement(row);
row.setImageURL(<URL of image at index i>);
If you put the image files inside folder src/mimes/components/<name-of-component>, you can use the filename as URL.
Armin -
How can I filter the rows displayed on an ADF Table ? pls help urgent..
Hi All,
I have a page with ADF readonly table, based on who is logging in I want to filter the rows to be displayed when the page is firstly loaded. This page is called from the main menu.
I have created a custom method in the Application Module Impl :
public void setInvoiceFilter () {
ViewObject vo = findViewObject("BrowseInvoice1");
ViewCriteria vc = vo.createViewCriteria();
ViewCriteriaRow vcr1 = vc.createViewCriteriaRow();
vcr1.setAttribute("Userid","xxxx");
vc.add(vcr1);
vo.applyViewCriteria(vc);
vo.executeQuery();
The question is : where and how should I call this method ?
is this a correct approach ?
Thank you very much for your help,
xtantoI assume you're talking about a JSF application.
I think you should be able to do this in the constructor of a backing bean.
1) Add an operation binding, bound to your service method, to the page's pageDefinition.
2) On the JSF page flow Overview tab, add a managed property to the backing bean. Call it, say, myMethod, give it type oracle.bindings.OperationBinding, and give it the value #{bindings.nameOfYourOperationBinding}
3) Add a myMethod field of type OperationBinding, with getter and setter, to your backing bean class.
4) In the backing bean class's constructor, add code like:
myMethod.execute();This will execute the method every time the page is loaded.
Now, if you want to execute the method only the first time the page is loaded, it's a bit trickier. You need to set, and use, a session variable:
Map sessionVars = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
if (sessionVars.get("hereBefore") == null)
myMethod.execute();
sessionVars.put("hereBefore", "true");
} -
I do not want to display header of adf table
Hi
I have one page with 2 tables - on one af the tables I do not want to display the Header but how do I do that.
I have tried to put it in the css file
af|column::column-header-cell
display:none;}
but then its both tables who lose the header (I cant figure out how to use an id for column-header-cell.
I think that maybee you can write something in the inline stye option on each column but nothing seeams to work.
Anyone who can help me??You should mark that answer as Correct and mark question as asnwered :)
I also suggest you to change your nick in your control panel. -
11G ADF java datacontrol and displaying new records in ADF table
Hi,
In 11g I have a java class which return a list of objects and I made a data control on it. I displayed this in a ADF Table based on a ADF tree binding.
When I fire the create operation on this java data control I see in the tree binding that the new entry is created and even the table has the correct
rowcount but the new records are not displayed in the adf table. I added PPR but this not work.
Empty new classes are displayed when they are added before the page is loaded.
the only difference between a class created by ADF and initial by the adf datacontrol is that mAtrrHintsMap hashmap of DCdataRow is null and the other has 2 entries
What can it be in 10.1.3 it works
here my test data
public class Data {
private String lovLabel;
private String lovValue;
public Data() {
public Data(String lovLabel, String lovValue) {
super();
this.lovLabel = lovLabel;
this.lovValue = lovValue;
public void setLovLabel(String lovLabel) {
this.lovLabel = lovLabel;
public String getLovLabel() {
return lovLabel;
public void setLovValue(String lovValue) {
this.lovValue = lovValue;
public String getLovValue() {
return lovValue;
here the data control class
public class LovData {
public LovData() {
public List<Data> getLovData() {
List<Data> data = new ArrayList<Data>(4);
data.add(new Data ("One","1"));
data.add(new Data ("Two","2"));
data.add(new Data ("Three","3"));
data.add(new Data ());
return data;
here is the pagedef
<executables>
<methodIterator id="getLovDataIter" Binds="getLovData.result"
DataControl="LovData" RangeSize="25"
BeanClass="nl.whitehorses.model.Data"/>
</executables>
<bindings>
<methodAction id="getLovData" InstanceName="LovData.dataProvider"
DataControl="LovData" RequiresUpdateModel="true"
Action="invokeMethod" MethodName="getLovData"
IsViewObjectMethod="false"
ReturnName="LovData.methodResults.getLovData_LovData_dataProvider_getLovData_result">
</methodAction>
<tree IterBinding="getLovDataIter" id="Data">
<nodeDefinition DefName="nl.whitehorses.model.Data">
<AttrNames>
<Item Value="lovLabel"/>
<Item Value="lovValue"/>
</AttrNames>
</nodeDefinition>
</tree>
<action IterBinding="getLovDataIter" id="Create" RequiresUpdateModel="true"
Action="createRow"/>
</bindings>
</pageDefinition>
here is the adf page
<af:panelCollection inlineStyle="width:309px; height:168px;" id="pc2">
<f:facet name="menus"/>
<f:facet name="toolbar">
<af:toolbar>
<af:commandToolbarButton actionListener="#{bindings.Create.execute}"
text="Create"
disabled="#{!bindings.Create.enabled}"
partialTriggers="table1 ::pc1:table2"/>
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table value="#{bindings.Data.collectionModel}" var="row"
rows="#{bindings.Data.rangeSize}"
emptyText="#{bindings.Data.viewable ? 'No rows yet.' : 'Access Denied.'}"
fetchSize="#{bindings.Data.rangeSize}" id="table1"
binding="#{UserPreferences.table1}">
<af:column sortProperty="lovLabel" sortable="false"
headerText="#{data.lovLabel}">
<af:outputText value="#{row.lovLabel}"/>
</af:column>
<af:column sortProperty="lovValue" sortable="false"
headerText="#{bindings.Data.hints.lovValue.label}">
<af:outputText value="#{row.lovValue}"/>
</af:column>
</af:table>
</af:panelCollection>
and here some backing bean code
DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
FacesCtrlHierBinding treeData = (FacesCtrlHierBinding)bc.getControlBinding("Data");
Row[] rows = treeData.getAllRowsInRange();
System.out.println("tree 1_1 "+rows.length+" "+table1.getRowCount());
treeData.refreshControl();
System.out.println("tree 1_2 "+rows.length+" "+table1.getRowCount());
AdfFacesContext.getCurrentInstance().addPartialTarget(table1) ;
hope this helps
thanks EdwinWhat if you place the create button in the same panelGroup as the table?
I did a quick try and it seemed to work fine for me.
jspx code:
<?xml version='1.0' encoding='windows-1252'?>
<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=windows-1252"/>
<f:view>
<af:document>
<af:messages/>
<af:form>
<af:panelGroupLayout>
<af:commandButton actionListener="#{bindings.Create.execute}"
text="Create"
disabled="#{!bindings.Create.enabled}"
partialTriggers="table1"/>
<af:table value="#{bindings.lovData.collectionModel}" var="row"
rows="#{bindings.lovData.rangeSize}"
emptyText="#{bindings.lovData.viewable ? 'No rows yet.' : 'Access Denied.'}"
fetchSize="#{bindings.lovData.rangeSize}" id="table1">
<af:column sortProperty="lovLabel" sortable="false"
headerText="#{bindings.lovData.hints.lovLabel.label}">
<af:outputText value="#{row.lovLabel}"/>
</af:column>
<af:column sortProperty="lovValue" sortable="false"
headerText="#{bindings.lovData.hints.lovValue.label}">
<af:outputText value="#{row.lovValue}"/>
</af:column>
</af:table>
</af:panelGroupLayout>
</af:form>
</af:document>
</f:view>
</jsp:root> -
How to get selected entity from ADF Table
I'm using EJB and ADF Faces.
I have an ADF Table, and when a row is selected I'd like to be able to get the EJB Entity that was selected, is this feasible?
The reason I would like to do it, is for a Dialog. I have a popup dialog, and in the popup the user can do a search. The results are displayed in the ADF table. When supplying the return value from the dialog:
AdfFacesContext.getCurrentInstance().returnFromDialog(?, null);
I would like ? to be the EJB entity representing the row, because I need to return the value of more than one of the columns. Is this not realistic, or should I just add then to a List and pass that back?
thanks
RThanks KUBA,
I hacked some code from the inbuilt JDeveloper Help. Are you saying there is an easier way than this, or did I state the question poorly and you gave an answer to something else? My english is not always perfect.
This is the code that works for me. (cmdSelect is the submit button on the table)
public String cmdSelect_action() {
//Access the tableSelectMany1 table. Note that the table name
//is taken from the id of the table in the JSF page.
CoreTable table = this.getUserResultsTable();
//Obtain a list of all selected rows from the table
Set rowSet = table.getSelectionState().getKeySet();
Iterator rowSetIter = rowSet.iterator();
//Use the declarative method to get the ADF bindings
BindingContainer bindings = getBindings();
//Get the object to delete. To do this, you must get the
//iterator binding for the Products in the page definition file,
//and cast it to DCIteratorBinding for further processing
DCIteratorBinding pr_dcib = (DCIteratorBinding)
bindings.get ("queryUserVFindByFullNameIter");
//Loop through the set of selected row numbers and delete the
//equivalent object from the Products collection.
UserV userV = null;
while (rowSetIter.hasNext()){
//get the table row
Key key = (Key) rowSetIter.next();
//set the current row in the ADF binding to the same row
pr_dcib.setCurrentRowWithKey(key.toStringFormat(true));
//Obtain the Products object to delete
RowImpl prRow = (RowImpl) pr_dcib.getCurrentRow();
//using the generated code to execute the declarative method
userV = (UserV)prRow.getDataProvider();
break;
AdfFacesContext.getCurrentInstance().returnFromDialog(userV, null);
return null;
} -
List Binding is Not Working Correctly for an ADF Table
I created an ADF Select One Choice for a field being displayed in an ADF Table - mutliple records.
The issue I'm seeing is that all the records in the ADF Table are showing the same value in the field defined as a "List", but the field values are not all the same.
It almost looks like the List is taking the value in the first record and assigning the value to all the other records in the ADF Table.
Please help.The solution is explained here:
http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/editabletabledropdown/dropdownlistineditabletable.html?_template=/ocom/technology/content/print
Maybe you are looking for
-
Error entering data in a data form using Smart View
One of my user is facing an issue while entering data in a data form through Excel, if she uses the same data form in workspace she is able to enter data. She is facing the issue while entering in a specific column, for all other columns she is able
-
I have an iphone 4, an ipad 2 & the new mini mac. Can I use the mini mac as an apple tv with my other apple devices or do I need to buy an apple tv? Thanks, Duncan
-
After I import an album, it appears in the music library. But then does not appear in the sync pane. Sometimes, other albums will not appear. Why and how do I fix this?
-
trying to sync current home imac with one elsewhere via icloud...latter is synced with iphone etc...on current machine, instructed to access icloud via system preferences but icloud is not an option there...how do I put it there?
-
/dev/sda for Arch but /dev/hda for custom kernel. Why?
My laptop does not have a scsi or sata hard drive. So why does Arch's kernel view the drive as /dev/sda1 while a custom kernel views it as /dev/hda like it should?