'id' attribute is not rendered for h:column tag in datatable
Hello Everyone,
There is a problem with rendering 'id' attribute for <h:column> tag. I'm using jsf 1.2_07.
Here is source code:
<h:dataTable id="reportList" var="item" cellpadding="1" cellspacing="0" border="0" value="#{myBean.reportList}">
<h:column id="column1">
<f:facet name="header">
<h:outputText value="#{textProps.selected}" style="white-space:nowrap;"/> </f:facet>
<h:selectOneRadio id="radio" onclick="javascript:setselected(this);">
<f:selectItem itemValue="#{item.id}"/>
</h:selectOneRadio>
</h:column>
<h:column id="column2">
<f:facet name="header">
<h:outputText value="#{textProps.name}" style="white-space:nowrap;"/>
</f:facet>
<h:outputText value="#{item.name}" style="white-space:nowrap;"/>
</h:column>
</h:dataTable>
Thanks for your help,
Sergei
The attribute "id" is set properly but isn't shown in html
because there is no html-element corresponding to UIColumn.
Similar Messages
-
Hi every one,
I migrate a project in version 11.1.1.6.0 of jDeveloper to 11.1.1.7.0 and after deploy, the application throws the exception "oracle.jbo.NoDefException: JBO-35011: Attribute: x not found for value binding: y". Rarely in the web or forum, i can't find anything about the code error JBO-35011.
Someone knows something about this?
Regards!Don't know much about this error but it looks like you have an attribute binding which isn't connected to an vo attribute. Check all bindings pigthe page and pagedef if the are correctly setup. If you access attribute bindings from a bean you have to check them too.
Timo -
Missing comments and notes fields for view columns
Hello,
I am missing the comments and notes fields for view columns in the relational model of DM. For the table columns these fields are present, so it would be nice to make this available for views too. The Designer import should be adapted too to import those fields.
JoopHi Joop,
My question is about the import of Designer for those fields. This is still not solved, even not in rel 4.0
In fact even DM 3.3 imports comments, notes and comments in RDBMS from Designer repository. Though comments and notes are not accessible through UI they are there and you can include them in custom report.
Comments and notes are accessible through UI in DM 4.0
Philip -
BOOLEAN DEFAULT FALSE NOT NULL for key-column
Hello,
These statements show an unexpected behavior when a column is added to a table as 'BOOLEAN DEFAULT FALSE NOT NULL' and added afterward to the table's primary key column set:
create table test_1 (a char(1))
insert into test_1 values('A')
alter table test_1 add b boolean default false not null
alter table test_1 add primary key (a,b)
create table test_2 (a char(1), b boolean default false not null)
insert into test_2 (a) values('A')
alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
-> [350]: Referential integrity violated
update test_1 set b=false
alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
-> success
delete from test_2
delete from test_1
insert into test_1 (a,b) values('A',false)
insert into test_2 (a) values('A')
-> success
I think the error message '[350] Referential integrity violated' should not happen because the column 'b' really contains 'false'. But there obviously seem to be a difference before and after setting the column 'b' explicitly to 'false'. I can imagine that this depends on the way how the index for the primary key is updated. Probably the index is not properly updated in this context(?)
GabrielHi Gabriel,
you're right, this is a bug and indeed seems to caused by the way the DEFAULT boolean is stored in the page.
(There is no separate index for the primary key in MaxDB as all data is stored in B*trees - basically the table is the primary key).
This is how the record looks like when column b is 'false' only due to the change of the DEFAULT value:
ROOT/LEAF 460 perm entries : 1 [block 0]
bottom : 93 filevers: 14888 convvers: 83
writecnt: 1
1: (pos 00081)
00001 recLen : 12 recKeyLen : 4
00005 recVarcolOff: 0 recVarcolCnt: 0
record
1 2 3 4 5 6 7 8 9 10 11 12
81 82 83 84 85 86 87 88 89 90 91 92
dec: 12 0 4 0 0 0 0 0 32 65 0 0
hex: 0C 00 04 00 00 00 00 00 20 41 00 00
chr: A
And this is how it looks like after the explicit UPDATE:
ROOT/LEAF 460 perm entries : 1 [block 0]
bottom : 93 filevers: 14888 convvers: 84
writecnt: 2
1: (pos 00081)
00001 recLen : 11 recKeyLen : 3
00005 recVarcolOff: 0 recVarcolCnt: 0
record
1 2 3 4 5 6 7 8 9 10 11
81 82 83 84 85 86 87 88 89 90 91
dec: 11 0 3 0 0 0 0 0 32 65 0
hex: 0B 00 03 00 00 00 00 00 20 41 00
chr: A
Little difference but this leads to the problems during the foreign key validation.
I'll inform the developers next week about this.
As a workaround you'll have to explicitly update the columns for which you change the default setting.
regards,
Lars -
User attributes are not available for not root organizations
Hello,
my scenario: I have following organizations in IDM: Top; Top:Economy; etc...
I created Admin role "Economy director" with this settings:
Controlled Organizations - "Top:Economy"
Capabilities - "Account Administrator" and "Waveset administrator"
Now I assign this role to user A. This user A is in organization "Top:Economy" and he tried to edit user B in "Top:Economy". When I log in as user A I see in admin interface "Accounts->List Accounts" only Economy organization. In this organization I click on user B and select tab "Attributes". But here is no global attributes to change.
When I change "Economy director" role - Controlled Organizations to "Top" then user A can change global attributes of user B. But now user A can change everybody attributes in whole organization tree.
It's correct? I need to set user A to change attributes only for users in organization "Top:Economy".
Thanks for advice.
PetrThis sounds like a question for forum: Sun Java System Identity Manager
But anyways... the "Attributes" tab is a collection of all the unreferenced attributes of all the resources assigned, it has some special behaviors.
You should have been able to change fname, lname, email of User B as User A (UserA is assigned AdminRole with Org & Capabilities assigned as described, without Top assigned). If not, something basic is not wired between User A and the AdminRole. Possibly it's the version in use?? But, if attempted against Oracle Waveset 8.1.1, this should be functionally straightforward to get working...
The Attributes Tab would only have attributes listed if there were roles or resources assigned with attributes the admin was able to see "in-scope". A resource with attributes (e.g. LDAP resource with a groups attribute) must be scoped for the administrators in the AdminRole to see/manage them per assigned capabilities.
In the example, a resource with attribute "country" scoped into Top:Economy would allow UserA to edit UserB, update the "Attributes" Tab "country" attribute.
Edited by: gregoatwaveset on Oct 13, 2010 8:09 PM -
ALV grid display the subtotal not getting for one column at the output
Hi,
I am working one report ALV grid display and subtotal is not getting for one paricular coulumn.
Eventhough that column has some values.
So can anyone give the proper solution.
Waiting quick response.
Best Regards,
BansiHi
see this link .
https://wiki.sdn.sap.com/wiki/display/ABAP/SUBTOTALinALV
or try this program.
REPORT zalv.
DATA:
t_sflight TYPE TABLE OF sflight,
fs_sflight TYPE sflight.
DATA:
r_container TYPE REF TO cl_gui_custom_container,
r_grid TYPE REF TO cl_gui_alv_grid.
*FIELD CATALOG
DATA:
t_fcat TYPE lvc_t_fcat,
fs_fcat TYPE lvc_s_fcat.
*SORTING THE BASIC LIST
DATA:
t_sort TYPE lvc_t_sort,
fs_sort TYPE lvc_s_sort.
fs_fcat-fieldname = 'PRICE'.
fs_fcat-do_sum = 'X'.
APPEND fs_fcat TO t_fcat.
fs_sort-spos ='1'.
fs_sort-fieldname = 'CARRID'.
fs_sort-down = 'X'.
fs_sort-group = '*'.
fs_sort-subtot = 'X'.
APPEND fs_sort TO t_sort.
SELECT * FROM sflight INTO TABLE t_sflight.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN1'.
SET TITLEBAR 'TITLE1'.ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
**& Module HANDLER OUTPUT
MODULE list OUTPUT.
CREATE OBJECT r_container
EXPORTING
container_name = 'CONTAINER'.
CREATE OBJECT r_grid
EXPORTING
i_parent = r_container.
CALL METHOD r_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'SFLIGHT'
CHANGING
it_fieldcatalog = t_fcat
it_outtab = t_sflight
it_sort = t_sort.
ENDMODULE. "list OUTPUT
Regards
Hareesh Menon -
Edit Renderer for Date columns
I tried to use EditRenderer for a column that is a Date. BC4J automatically renders this as DateField, but I don't want this, so I set the EditRenderer to something else. But it seems BC4J ignores this and renders it as DateField (for Varchar fields it works well).
I use JDev 9.0.3.3 and UIX+JSP.I found it out: on the Control Hints tab change the Control type from "default" to "edit" and the EditRenderer works
-
Why is "onLoad" not allowed for the div tag in the behaviors effects?!
I have a js menu positioned relatively over a Flash intro in hybrid fashion; I'd like for it to appear gradually on Load so that it appears at the end of the intro, but you can't use onLoad for the div tag apparently. Is there any other way to do this? I do NOT want to have to create a navigation menu in Flash...
As David says onLoad does exactly what it says, triggers the event on page load.
A simpler solution would be to attach a JavaScript behavior to the onLoad event or separately it would not matter, to gradually fade-in your menu.
There are many utilities to do this and all are dhtml, Try searching for one and adding it to your webpage.
See the spry fade-in/out for an example of a simple effect, (you would have to adapt it to your requirements as with most special effect behaviors).
Link to spry:
http://labs.adobe.com/technologies/spry/home.html
PZ -
Multi-Use Item Renderer for DataGrid Column
I have a dataGrid where the first column of the grid displays
an icon for the 'type' of item in the row. I created a custom
itemRenderer component which I reference in its own namespace, and
everything works great. Since this is a pretty common concept, I'd
thought that I'd be able to re-use that itemRenderer throughout the
application, but everytime I try to call the itemRenderer in
another dataGrid, I get 2 errors saying "the inlineComponent could
not be found" and then because of that "Access of undefined
property".
It doesn't make sense for an itemRenderer to be only good for
one use, so I'm obviously missing some fundamental issue. Can
someone enlighten me?Hah, found it. It is an mxml example, and implements
IDropInListItemRenderer. It for an image renderer, but you will be
able to see what to do.
Tracy
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
horizontalAlign="center" verticalAlign="middle"
width="16" height="16"
implements="mx.controls.listClasses.IDropInListItemRenderer"
>
<mx:Script><![CDATA[
import mx.controls.listClasses.IDropInListItemRenderer;
import mx.controls.listClasses.BaseListData;
import mx.controls.dataGridClasses.DataGridListData;
import mx.controls.DataGrid;
[Bindable]
private var source:String;
private var _listData:BaseListData;
public function get listData():BaseListData
return _listData;
public function set listData(value:BaseListData):void
_listData = value;
invalidateProperties();
override protected function commitProperties():void
super.commitProperties();
if (_listData is DataGridListData)
var dgld:DataGridListData = _listData as DataGridListData;
source =
data[DataGrid(dgld.owner).columns[dgld.columnIndex].dataField];
]]></mx:Script>
<mx:Image source="{source}"/>
</mx:VBox> -
Visible attribute does not work for af:showDetailItem using EL
I cannot get the visible attribute to work using EL and ppr.
Here is a simple test. I have a jspx with a button (cb1) that toggles a boolean (tab1visible) in a Backing Bean. The af:panelTabbed and af:showDetailItem have partialTriggers="cb1".
The af:showDetailItem has visible="#{TabTestBk.tab1visible}" and the EL is also set in the title so that I can see how it's set.
When I press the button (cb1) the visibility of the tab does not change but the title does.
Any help would be greatly appreciated!
Here is the code:
------------------------- JSPX -----------------------------------------------------
<?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>
<af:form>
<af:spacer height="10"/>
<af:commandButton text="Toggle Tab 1 - visible = #{TabTestBk.tab1visible}" binding="#{TabTestBk.cb1}"
id="cb1"
actionListener="#{TabTestBk.toggleTab1AL}"/>
<af:spacer height="20"/>
<af:panelTabbed id="detailNavPane" partialTriggers="cb1">
<af:showDetailItem id="tab1" visible="#{TabTestBk.tab1visible}" text="Tab 1 visible = #{TabTestBk.tab1visible}" partialTriggers="cb1">
<af:outputText value="Tab 1 Content"/>
</af:showDetailItem>
<af:showDetailItem id="tab2" text="Tab 2">
<af:outputText value="Tab 2 Content"/>
</af:showDetailItem>
<af:showDetailItem id="tab3" text="Tab 3">
<af:outputText value="Tab 3 Content"/>
</af:showDetailItem>
</af:panelTabbed>
</af:form>
</af:document>
</f:view>
</jsp:root>
------------------------- BACKING BEAN -----------------------------------------------------
package com.riscs.ui.backing.jsp.claim;
import javax.faces.event.ActionEvent;
import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
public class TabTestBk {
private RichCommandButton cb1;
private boolean tab1visible = true;
public void toggleTab1AL(ActionEvent event) {
setTab1visible(!tab1visible);
public void setTab1visible(boolean tab1visible) {
this.tab1visible = tab1visible;
public boolean isTab1visible() {
return tab1visible;
public void setCb1(RichCommandButton cb1) {
this.cb1 = cb1;
public RichCommandButton getCb1() {
return cb1;
Thanks!
Matt
Edited by: Matt Cannon IBI on Apr 3, 2010 2:45 PM
Edited by: Matt Cannon IBI on Apr 5, 2010 12:20 AMHi Frank,
Thanks for the reply! When providing the simple example I left partialSubmit="true" off by mistake... I put it on and still does not work...
Thanks,
Matt -
Fixed values of dynamic attributes are not displayed for bid response
Hi
I have created a bid with dynamic attributes and have weighted the options with fixed values. I publish the Rfx (bid) and all is ok. The problem is that the fixed values are not displaying when doing a bid response.
We are using SRM 7.0
Can anyone help?No. Not yet. I think it is a bug. You should create an OSS message to SAP and ask them to pay special attention to the following code block:
Class: /SAPSRM/CL_CH_WD_DODM_DYNATTR
Method: /SAPSRM/IF_CLL_MAPPER~REFRESH
At the end of the method, look for code context:
IF lv_object_type = c_qte.
*Set the Fixed Values Table to Invisible
lv_visible = abap_false. -
Responsive Design not rendering for smartphone
Can anyone take a look and tell me why my code isn't rendering on a smartphone?
http://donrobertosmicheladamix.businesscatalyst.com/
I use Protofluid and the css is rendering fine on that ... but not on my actual phone:) I'm driving myself crazy here.
Thanks!Hi
There is not a great deal of difference between the iPhone 4 and the iPhone 5, as far as the Safari iOS browser is concerned.
Are both phones updated to iOS 6 OS?
AP Elements, are not the best solution for responsive designs, (or any design for that matter) but they should still render. They may make it necessary to scroll the browser in order to view the page.
I was going to suggest that you also try the BC forum but on checking I see that you have already done so.
If you have Edge Inspect installed, can I suggest that you take screenshots of what you are seeing on both phones. and post these on this forum and the BC forum, as it may help us if we can see the exact difference between the two phones.
PZ -
Extension Point not working for extending Columns in sap.m.Table
Hi Colleagues,
We are recently developing a UI5 application and we tried to extend the Fragments and views as per wiki.
Below is the code :
<core:View xmlns:l="sap.ui.layout" xmlns:core="sap.ui.core"
xmlns="sap.m" controllerName="ui.s2p.srm.sourcingcockpit.view.S1">
<Page id="page" class="marginBoxContent" showNavButton="true"
navButtonTap="_navBack">
<content>
<l:Grid class="" defaultSpan="L12 M12 S12">
<Table id="demandsTable" mode="MultiSelect" growing="true"
updateFinished="handleUpdateFinished" growingFinished="onListLoad"
growingThreshold="20" items="{/UnsourcedDemandCollection}">
<columns>
<Column id="col_sos" minScreenWidth="tablet" demandPopin="true">
<Text text="{i18n>col_sos}" />
</Column>
<core:ExtensionPoint id="extDemandColumn">
<Column id="col_attach" minScreenWidth="tablet"
demandPopin="false" width="4%">
<Text text="{i18n>col_attach}" visible="false" />
</columns>
<items>
<ColumnListItem>
<cells>
<Link
text="{parts:[{path:'ObjectID'}, {path:'NUMBER_INT'}],formatter:'.formatObjectIdNumberInt'}"
wrapping="true" />
<core:ExtensionPoint name='extDemandList' />
<l:HorizontalLayout>
<l:content>
<core:Icon src="sap-icon://attachment">
</core:Icon>
<Text text="({AttachmentCount})" class="paddingRightLeft" />
</l:content>
</l:HorizontalLayout>
</cells>
</ColumnListItem>
</items>
</Table>
</l:Grid>
</content>
</Page>
</core:View>
In the above code we have specified two extension points. While extending it through Component.js, extDemandList works fine, but extDemandColumn does not work.
Please let me know the way through which we can extend the columns in table and similarly formelements in FormContainer control.
Thanks in advance.
Best Regards,
Ankit JainI think you have defined 'id' instead of 'name' for the extDemandColumn
<core:ExtensionPoint id="extDemandColumn">
Regards,
Jason -
Report Column Attributes Does Not Display All the Column Names
Good Morning,
I have an interactive query Select * from table_name. I have to select * since my query returns well over 32k. I have 162 columns in the query. On the screen, all the columns are displayed; however, on the report tab, only about half of the columns are displayed. The rest are cut off. I need to be able to go into these field's attributes. Is this an APEX bug, or am I just missing something.
Regards,
KellyHello Tony,
I can't break them out because APEX is limited to one interactive report per page. There is need to be able to do computations on the data, which interactive reports allows. The data is all statistical.
Regards,
Kelly -
LookUpSet is Not working for multiple columns in SSRS 2008 R2
Hi Friends,
I have a problem when i use more than one LookUpSet in SSRS to display more than one value based on Day Number & other fields..Please find the below details and please suggest me a solution for this.
Crystal :
Day1 Day2
Period 4 Arts,Maths Arts,Maths
For this in SSRS i am using LookUpSet as below based on StaffID,PeriodNumber & DayNumber like this:
= (IIF(Fields!DayNumber.Value=1,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
, Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
, Fields!ClassCode.Value
, "TIMSTF5"), "," ),""))
which is displaying correct in SSRS,But when i use the same expression to display Day 2 classes it is returning empty even though i have values on Day 2.Please have a look at the SSRS output below:
Day1 Day2
Period 4 Arts,Maths
Day 2 Expression is :
= (IIF(Fields!DayNumber.Value=2,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
, Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
, Fields!ClassCode.Value
, "TIMSTF5"), "," ),""))
I am not sure why it is not liking to use more than LookUpSet in the same report,Please suggest me with a work around for this.
Thanks in advance,
Sam.Hi Guys,
I have sorted out the problem.Solution for the above problem is use Max before the expression like below, since it has multiple days and periods in the Dataset.
= Max((IIF(Fields!DayNumber.Value=2,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value & ields!DayNumber.Value
, Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
, Fields!ClassCode.Value
, "TIMSTF5"), "," + vbcrlf),"")))
Thanks,
Sam
Maybe you are looking for
-
JDB crashes while lodading core dump or throws errors
I'm having here RHEL 5.1 system and some core dumps generated by our 32 bit java application. This application uses JNI and for some reason (that I'm still trying to figure out) is crashing while executing JNI calls. I can load the core dumps inside
-
I have a Hyper v setup in which the VMs are not listed in the Hyper v manager console. If I right click the server and start service it lists all the servers. ( this issue happens very frequently.) I can see the start up type of Hyper V Virtual machi
-
Sudden read-only on RAID array.
I don't know if this was caused by an update but suddently my /raid is mounted read-only. It doesn't happen right after the mount but suddently after 1 day of uptime or a few hours and the /raid partition is locked again. [dezza@dezza ~]$ cd /raid/ [
-
How can i improve this 2min countdown timer?
Hello I'm trying to see if anyone has any ideas on how to improve this simple 2 minute countdown timer. All suggestions are welcome! Thanks in advance! -noviceLabVIEWuser Solved! Go to Solution. Attachments: 2min Countdown Timer.vi 38 KB
-
actally i drag files to trash but mac said you can not do this action ??????