Help!! UIX Editable Table and RowID
I Have UIX with Editable Table:
<switcher childName="${uix.current.PatrRowID.inputValue == bindings.PatrRowID.inputValue ? 'selected' : 'notselected'}">
<case name="selected">
<textInput model="${bindings.PatrCode}" columns="10" readOnly="false"/>
</case>
<case name="notselected">
<textInput model="${uix.current.PatrCode}" columns="10" readOnly="true"/>
</case>
</switcher>
whenn i update colum , i have error
ORA-00904: "PATR_ROW_ID"
i have EO with RowID column..
The new "Create" has also another issues - I am not able to use getCurrentRow in ViewObject. Workaround is to use old 40 behaviour but I think that such big change should be much more documented and because developer sometimes needs to use the 40 behaviour it should be shown in the DataControl. Any comments?
Similar Messages
-
Keynote and Pages show unknown error editing tables and charts
It is about 2 weeks that I am unable to edit charts and tables in both Keynote '09 and Pages '09 via the information panel. Adding a table or chart causes an unkown error without crashing the entire program but restricting editing both object types with the implemented attributes covered at the bottom of the application's task bar.
I am running the lastest versions and OS. Deleting the plist files or font repair doesn't change anything to the situation.
Someone else experiencing this phenomenon and may found a solution?Hi Kyn,
By right click i assume you refer to ctrl key and click.
The option Show Package Contents does NOT show.
Duplicating the file and making a zip does not reveal more either.
And yes, i saved the docs and copy them to a pen drive to copy in other mac.
hv done that almost weekly since iwork came out. There were no problems before.
Are the pndrives in fault?
Thanks for your help.
Rgds
lorenzo -
UIX Editable Table: Unselected Textinput Empty
I created a editable Table like described in the How-To (I did this in Jdev 9.0.5.2). Now after Converting to 10.1.2 I had to add a new coloumn to the table.
In this coloumn theres a choice on select and a readonly textinput on unselect.
The choice works fine, but the Textinput is always empty.
There are two bindings in the UI-model. one for the choice and one for the textinput.
Has anybody got an idea?
Thanks for your help,
SebastianThe new "Create" has also another issues - I am not able to use getCurrentRow in ViewObject. Workaround is to use old 40 behaviour but I think that such big change should be much more documented and because developer sometimes needs to use the 40 behaviour it should be shown in the DataControl. Any comments?
-
Help needed in Table and field
Hi all,
can any one tell me the table and field to get basic unit of measure and unit of issue.
I guess both are different.
ThanksFor base unit of measure, uom, T006 is the main table.But whereever you have a quantity yu will find UOM in that table. The field is MEINS.
when you say unit of issue, you mean actual unit of measure right?
In that case it again depends on what you are looking at. Example
in table LIPS there is base UOM and Actual UOM.
base is always "MEINS" and actual is "LFIMG" in this case.
So get the table in your functional area and check for the actual uom field in SE11.
Regards
Message was edited by:
Sandeep Bhavsar -
Unable to uncheck checkbox in UIX editable table
It seams that in editable table is unable to uncheck checked checkbox. After submit checkbox is stays checked. To check it works fine. To uncheck it in imput form also works fine. Problem is only in editable table. version jdev10.1.2. Thank you. Jara
this is the UIX code
<switcher childName="${uix.current.Iid.inputValue == bindings.Iid.inputValue ? 'edit' : 'noEdit'}">
<case name="edit">
<checkBox model="${bindings.IsDefault}" readOnly="false"/>
</case>
<case name="noEdit">
<checkBox model="${uix.current.IsDefault}" readOnly="true"/>
</case>
</switcher> -
In the example rows become editable when you click on the radio select at begining of the row, But how can I make the row to be editable as soon as I move my cursor on the textinput fields.
Thanks
regards
JOThere are two threads with the same question, so i'll close this one and point to the original:
ADF UIX Editable Table -
Edit table and write changes back to DB
Hi All,
I created a test program that uses AbstractTableModel to display the results of an SQL select statement in a JTable. I want to proceed to the next step which to edit cells and then write the changes back to the DB.
I imagine making a number of edits, then clicking a "save" buton and then looping through the table and checking for updated rows and then sending the sql update statements to the db.
I've spent most of this afternoon researching JTables, but am still uncertain as to where to go from here, so now I'm asking for someone to point me in the right direction.
This is where I'm at:
* I've implemented the getRowCount, getColumnCount, isCellEditable and getValueAt methods.
* My model doesn't use any vectors, or other array storage for the data, it just uses the JDBC ResultSet methods absolute(rowNumber) and getObject( colNumber)
* Whenever I edit a cell, the value reverts back to it's original. I assume this is because I havn't implemented setValueAt() yet.
In my current setup, I'm not sure how I should implement setValueAt() since all I have is the JDBC result set. Should I be implementing some kind of sparse array to hold modified data, and use that to hold updated rows? Presumably, non updated rows could still be obtained from the JDBC result set.
Anyway, I'd like to hear your advice on this.
Thanks
IainOK, here's the plan:
I already have very basic Data Access Objects (DAOs) for all of the tables in my system. Apart from encoding the most common SQL, the DAO has instance variables for each column in the table, thus implementing a record structure.
So, in my AbstractTableModel, I 'll create a Vector of the DAO, which should give me a sparse array (Vector implements a sparse array, right?) of database records that will be used to hold the rows that have been edited.
The Abstract Data Model's getValueAt( ) method would then be modified to check the cache of edited rows and get the data to display from there for updated rows, and from the ResultSet for non-edited rows.
When it's time to write updates to the database, all I have to do is process the Vector, and destroy it afterwards.
If checking the Vector each time getValueAt( ) is invoked is too expensive, then I could just implement a standard array of booleans. I'll need to keep track of rows to be inserted and deleted too, so an array of ints might be better.
This seems like a good idea to me, but I have no idea if it's gonna work.... -
Hi,
I have created a Master-Detail-Detail page using UIX. I want to make the last detail table editable. I have tried the tip mentioned in the following page to make the table editable.
http://www.oracle.com/technology/products/jdev/tips/jacobi/edittable/tip_adfuixtable_edit.html
But, the condition in switcher ${uix.current.EmployeeId.inputValue == bindings.EmployeeId.inputValue is always returning false. This is because, the ${bindings.xxxxx} is returning null for all columns.
Could anyone help me in resolve this issue Please?
Here is the uix file I am using:
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0">
<contents>
<pageLayout>
<about/>
<copyright/>
<corporateBranding/>
<end/>
<globalButtons/>
<pageButtons/>
<pageHeader/>
<privacy/>
<productBranding/>
<start/>
<tabs/>
<contents>
<stackLayout>
<contents>
<header text="Master">
<contents>
<table model="${bindings.SyPohdrAckView1}" id="SyPohdrAckView17" partialRenderMode="multiple" partialTargets="_uixState">
<contents>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'OfdaFileId')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.OfdaFileId}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgmentNumber')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgmentNumber}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PoNumber')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.PoNumber}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnFormat cellNoWrapFormat="true"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PlannedDeliveryDate')}"/>
</columnHeader>
<contents>
<dateField model="${uix.current.PlannedDeliveryDate}" readOnly="true">
<onSubmitValidater>
<date pattern="yyyy-MM-dd"/>
</onSubmitValidater>
</dateField>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PoOrdTotal')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.PoOrdTotal}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeStatus')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgeStatus}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeInfo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgeInfo}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnFormat cellNoWrapFormat="true"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeDate')}"/>
</columnHeader>
<contents>
<dateField model="${uix.current.AcknowledgeDate}" readOnly="true">
<onSubmitValidater>
<date pattern="yyyy-MM-dd"/>
</onSubmitValidater>
</dateField>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeByCtIdNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgeByCtIdNo}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
</contents>
<tableSelection>
<singleSelection model="${bindings.SyPohdrAckView1Iterator}" text="Select and ">
<primaryClientAction>
<firePartialAction targets="detail6 detail12 _uixState" source="SyPohdrAckView17" event="select"/>
</primaryClientAction>
</singleSelection>
</tableSelection>
</table>
</contents>
</header>
<header text="Detail" id="detail6">
<contents>
<table model="${bindings.SyPolineAckView2}" id="SyPolineAckView28" partialRenderMode="multiple" partialTargets="_uixState">
<contents>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'OfdaFileId')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.OfdaFileId}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgmentNumber')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgmentNumber}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'PoNumber')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.PoNumber}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'LineItemNumber')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.LineItemNumber}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'SpecItemNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.SpecItemNo}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'Quantity')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.Quantity}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'Cost')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.Cost}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnFormat cellNoWrapFormat="true"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'PlannedDeliveryDate')}"/>
</columnHeader>
<contents>
<dateField model="${uix.current.PlannedDeliveryDate}" readOnly="true">
<onSubmitValidater>
<date pattern="yyyy-MM-dd"/>
</onSubmitValidater>
</dateField>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeStatus')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgeStatus}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeInfo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgeInfo}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnFormat cellNoWrapFormat="true"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeDate')}"/>
</columnHeader>
<contents>
<dateField model="${uix.current.AcknowledgeDate}" readOnly="true">
<onSubmitValidater>
<date pattern="yyyy-MM-dd"/>
</onSubmitValidater>
</dateField>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeByCtIdNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.AcknowledgeByCtIdNo}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'RowID')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.RowID}" columns="10" readOnly="true"/>
</contents>
</column>
</contents>
<tableSelection>
<singleSelection model="${bindings.SyPolineAckView2Iterator}" text="Select and ">
<primaryClientAction>
<firePartialAction targets="detail12 _uixState" source="SyPolineAckView28" event="select"/>
</primaryClientAction>
</singleSelection>
</tableSelection>
</table>
</contents>
</header>
</contents>
</stackLayout>
<stackLayout>
<contents>
<header text="Detail" id="detail12">
<contents>
<table nameTransformed="false" model="${bindings.PoLineView2}" id="PoLineView214" partialRenderMode="multiple" partialTargets="_uixState" formSubmitted="true">
<contents>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'PoNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.PoNo}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'LineNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.LineNo}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'ItemNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.ItemNo}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'ItemStyle')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.ItemStyle}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'VendorNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.VendorNo}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'VendorItemNo')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.VendorItemNo}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'QtyOrd')}"/>
</columnHeader>
<contents>
<switcher childName="${uix.current.PoNo.inputValue == bindings.PoNo.inputValue ? 'selected' : 'notselected'}">
<case name="selected">
<textInput model="${bindings.QtyOrd}" columns="10" readOnly="false">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</case>
<case name="notselected">
<textInput model="${uix.current.QtyOrd}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</case>
</switcher>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'UnitPrice')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.UnitPrice}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnFormat columnDataFormat="numberFormat"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'LineAmt')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.LineAmt}" columns="10" readOnly="true">
<onSubmitValidater>
<decimal/>
</onSubmitValidater>
</textInput>
</contents>
</column>
<column>
<columnFormat cellNoWrapFormat="true"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'DateCreated')}"/>
</columnHeader>
<contents>
<dateField model="${uix.current.DateCreated}" readOnly="true">
<onSubmitValidater>
<date pattern="yyyy-MM-dd"/>
</onSubmitValidater>
</dateField>
</contents>
</column>
<column>
<columnFormat cellNoWrapFormat="true"/>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'DueDate')}"/>
</columnHeader>
<contents>
<dateField model="${uix.current.DueDate}" readOnly="true">
<onSubmitValidater>
<date pattern="yyyy-MM-dd"/>
</onSubmitValidater>
</dateField>
</contents>
</column>
<column>
<contents>
<submitButton text="Commit" model="${bindings.Commit}" id="Commit15" event="action" disabled="false"/>
</contents>
</column>
</contents>
<tableSelection>
<singleSelection model="${bindings.PoLineView2Iterator}" text="Select and ">
<primaryClientAction>
<firePartialAction targets="_uixState PoLineView214" source="PoLineView214" event="select" formSubmitted="true"/>
</primaryClientAction>
</singleSelection>
</tableSelection>
</table>
</contents>
</header>
</contents>
</stackLayout>
</contents>
</pageLayout>
<formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
</contents>
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
<event name="goto sort" source="SyPohdrAckView17">
<invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
<parameters>
<parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPohdrAckView1Iterator}"/>
<parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
</parameters>
</invoke>
</event>
<event name="select" source="SyPohdrAckView17">
<set target="${bindings.SyPohdrAckView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPohdrAckView17')}"/>
</event>
<event name="goto sort" source="SyPolineAckView28">
<invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
<parameters>
<parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPolineAckView2Iterator}"/>
<parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
</parameters>
</invoke>
</event>
<event name="select" source="SyPolineAckView28">
<set target="${bindings.SyPolineAckView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPolineAckView28')}"/>
</event>
<event name="goto sort" source="SyPolineAckView213">
<invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
<parameters>
<parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPolineAckView2Iterator}"/>
<parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
</parameters>
</invoke>
</event>
<event name="select" source="SyPolineAckView213">
<set target="${bindings.SyPolineAckView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPolineAckView213')}"/>
</event>
<event name="goto sort" source="PoLineView214">
<invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
<parameters>
<parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.PoLineView2Iterator}"/>
<parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
</parameters>
</invoke>
</event>
<event name="select" source="PoLineView214">
<set target="${bindings.PoLineView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'PoLineView214')}"/>
</event>
<event name="action" source="Commit15">
<invoke method="doIt" javaType="oracle.jbo.uicli.binding.JUCtrlActionBinding" instance="${bindings.Commit}"/>
</event>
</handlers>
</page>hi all,
it looks this where clause not filter with 'N' data ,Please help me ,how to solve this or help me on this -
Pages '08 crashes while trying to edit tables and charts
Pages '08 crashes if I try to edit the contents of a cell in a table or if I try to edit charts. It only happens while editing not copy-pasting data.
I had the same problem on Ipad Pages. I copied the entire document and pasted it into a newly created Ipad Pages doc and so far it is working again. Good luck.
-
Please help - Joining three tables and get row values into Column. Please help!
Hi,
There is a SourceTable1 (Employee) with Columns like EmployeeID,Name,DOB.
There is a sourcetable2 (EmployeeCode) with columns like EmployeeID,Code,Order.
There is a source table 3 #EmployeeRegioncode and its columns are (EmployeeID , RegionCode , [Order]
The target table 'EmployeeDetails' has the following details. EmployeeID,Name,DOB,Code1,Code2,Code3,Code4,regioncode1
regioncode2 ,regioncode3 ,regioncode4
The requirement is , the value of the target table columns the Code1,code2,code3 ,code4,code5 values should
be column 'Code' from Sourcetable2 where its 'Order' column is accordingly. ie) Code1 value should be the 'Code' value where [Order] column =1, and Code2 value should be the 'Code' value where [Order] =2, and so on.
Same is the case for Source table 3- 'Region code' column also for the columns regioncode1
regioncode2 ,regioncode3 ,regioncode4
Here is the DDL and Sample date for your ref.
IF OBJECT_ID('TEMPDB..#Employee') IS NOT NULL DROP TABLE #Employee;
IF OBJECT_ID('TEMPDB..#EmployeeCode') IS NOT NULL DROP TABLE #EmployeeCode;
IF OBJECT_ID('TEMPDB..#EmployeeDetails') IS NOT NULL DROP TABLE #EmployeeDetails;
---Source1
CREATE table #Employee
(EmployeeID int, Empname varchar(20), DOB date )
insert into #Employee VALUES (1000,'Sachin','1975-12-12')
insert into #Employee VALUES (1001,'Sara','1996-12-10')
insert into #Employee VALUES (1002,'Arjun','2000-12-12')
---Source2
CREATE table #EmployeeCode
(EmployeeID int, Code varchar(10), [Order] int)
insert into #EmployeeCode VALUES (1000,'AA',1)
insert into #EmployeeCode VALUES (1000,'BB',2)
insert into #EmployeeCode VALUES (1000,'CC',3)
insert into #EmployeeCode VALUES (1001,'AAA',1)
insert into #EmployeeCode VALUES (1001,'BBB',2)
insert into #EmployeeCode VALUES (1001,'CCC',3)
insert into #EmployeeCode VALUES (1001,'DDD',4)
insert into #EmployeeCode VALUES (1002,'AAAA',1)
insert into #EmployeeCode VALUES (1002,'BBBB',2)
insert into #EmployeeCode VALUES (1002,'CCCC',3)
insert into #EmployeeCode VALUES (1002,'DDDD',4)
insert into #EmployeeCode VALUES (1002,'EEEE',5)
---Source tbl 3
CREATE table #EmployeeRegioncode
(EmployeeID int, RegionCode varchar(10), [Order] int)
insert into #EmployeeRegioncode VALUES (1000,'xx',1)
insert into #EmployeeRegioncode VALUES (1000,'yy',2)
insert into #EmployeeRegioncode VALUES (1000,'zz',3)
insert into #EmployeeRegioncode VALUES (1001,'xx',1)
insert into #EmployeeRegioncode VALUES (1001,'yy',2)
insert into #EmployeeRegioncode VALUES (1001,'zz',3)
insert into #EmployeeRegioncode VALUES (1001,'xy',4)
insert into #EmployeeRegioncode VALUES (1002,'qq',1)
insert into #EmployeeRegioncode VALUES (1002,'rr',2)
insert into #EmployeeRegioncode VALUES (1002,'ss',3)
---Target
Create table #EmployeeDetails
(EmployeeID int, Code1 varchar(10), Code2 varchar(10),Code3 varchar(10),Code4 varchar(10),Code5 varchar(10) , regioncode1 varchar(10),
regioncode2 varchar(10),regioncode3 varchar(10),regioncode4 varchar(10))
insert into #EmployeeDetails VALUES (1000,'AA','BB','CC','','','xx','yy','zz','')
insert into #EmployeeDetails VALUES (1001,'AAA','BBB','CCC','DDD','','xx','yy','zz','xy')
insert into #EmployeeDetails VALUES (1002,'AAAA','BBBB','CCCC','DDDD','EEEE','qq','rr','ss','')
SELECT * FROM #Employee
SELECT * FROM #EmployeeCode
SELECT * FROM #EmployeeRegioncode
SELECT * FROM #EmployeeDetails
Can you please help me to get the desired /targetoutput? I have sql server 2008.
Your help is greatly appreciated.select a.EmployeeID,b.code1,b.code2,b.code3,b.code4,b.code5,c.Reg1,c.Reg2,c.Reg3,c.Reg4 from
#Employee a
left outer join
(select EmployeeID,max(case when [Order] =1 then Code else '' end) code1,
max(case when [Order] =2 then Code else '' end)code2,
max(case when [Order] =3 then Code else '' end)code3,
max(case when [Order] =4 then Code else '' end)code4,
max(case when [Order] =5 then Code else '' end)code5 from #EmployeeCode group by EmployeeID) b
on a.EmployeeID=b.EmployeeID
left outer join
(select EmployeeID,max(case when [Order] =1 then RegionCode else '' end) Reg1,
max(case when [Order] =2 then RegionCode else '' end)Reg2,
max(case when [Order] =3 then RegionCode else '' end)Reg3,
max(case when [Order] =4 then RegionCode else '' end)Reg4 from #EmployeeRegioncode group by EmployeeID) c
on a.EmployeeID=c.EmployeeID
Thanks
Saravana Kumar C -
Help to edit width and height of menu?
http://www.ivoog.com/link4
How can I edit the width and height of this menu so the
background image fits? Please explain and give code if you can.
Thanks!
Here's the pictures for the menu:
http://www.pics.ivoog.com/boxs1.gif
http://www.pics.ivoog.com/boxs2.gifYour approach simply isn't going to work.
The background image is a fixed width. It will not shrink or
grow like the
text in front of it.
The background image is wider than the word "pie" but not as
wide as the
word "sigh".
So, if you add padding to the left and right of the link to
make the whole
background show behind "pie", the same padding is added to
"sigh". Now the
"sigh" link is much wider than the background image. Because
your
background image repeats, you see the left edge of the next
repeating one
behind sigh.
If you remove the padding to make it so you see just one
image behind
"sigh", now the padding around "pie" is too narrow to see the
whole
background.
You could try giving each link a class and having a separate
padding for
each word, but all that is pretty useless because different
people have
different text size settings in their browsers.
In some browsers, the words will be bigger than the
background image.
In others, the words will be small and you'll only see part
of the
background.
The free tutorial I sent you is just that, a tutorial.
You do the work, you have the copyright.
If you are not interested in that one, here's another idea.
You can use borders and simple background , like a gradient,
to make a tab
that looks just like your tab images and sizes along with
your text...no
matter how long the word is and no matter what size the text
is.
Here's the free tutorial.
You don't even have to do the whole thing, just the first
part where it
shows you how to make links that look like image buttons.
http://projectseven.com/tutorials/css/uberlinks/index.htm
Good luck,
Tim
"hahahaadobeman" <[email protected]> wrote
in message
news:[email protected]...
> Thanks for answering and sorry for the confusion. The
only problem with
> purchasing and doing this is copyright. I want to make
my own code for the
> menus so it is not copyrighted by anyone.
>
> Can you help edit the width and height of this menu so
the background
> image
> fits? See how my link4 where it says pie sigh and all
that the background
> of
> that doesn't fit with the image? Can you help with this
problem? Thats all
> I
> really needed but thanks for all the links!
> -
Help me find tables and the relation at CRM_DNO_MONITOR
hi...
Could anyone help me finding transparent tables of CRM_DNO_MONITOR (transaction code at solution manager)?
So far i've found
>CRMD_ORDERADM_H
>DNOD_NOTIF
>DNOD_NOTIF_S
>BUT000
is there any other tables?
what i really want to find is the relations between those tables.
i've already found relation between the three top, but i couldn't find relation the three top with BUT000.
i think there is (are) other table(s) that related them.
Could anyone help me?
Thanks..Thanks Ram for answering my question...
I've tried to check using SE36, i still don't get what i want.
Actualy what i want to do is, determine the business partner for a certain GUID(or OBJECT ID).
I've searched in this forum, some said that i had to connect it through CRMD_ORDER_INDEX.
It didn't work. Although CRMD_ORDERADM_H and CRMD_ORDER_INDEX both had GUID field, i can't find same data at those field.
Some also said that i had to use FM 'COM_PARTNER_CONVERT_GUID_TO_NO'.
Aparently i can only found that this FM just for converting PARTNER to PARTNER_GUID (or PARTNER_GUID to PARTNER) that both are on the same table, that is BUT000.
I've tried to match BUT000-PARTNER_GUID with CRMD_ORDERADM_H-GUID or BUT000-PARTNER_GUID with CRMD_ORDER_INDEX-GUID, the result is the same, there aren't match data.
Did i miss some step here?
My next question is, i want to find which field and table that stores message status (New, In Process, Customer Action, Sent to SAP, Solution Proposed, and Confirmed) and how to connect those table to CRMD_ORDERADM_H.
Thanks... -
Help with UPDATE table and database RELATIONSHIPS
HI there, I have been trying to create an update table for
weeks now and keep getting error messages.
The database has a table named:
"books" in the table cells are "idbook" and "book".
"suppliers" in the table cells are "idsupplier" and
"supplierName".
"category" in the table cells are "idcategory" and
categoryName"
They all have a relationships with this table:
"results" in the cells are "idbook", "idsupplier" and
"idcategory".
This "results" table brings all of the above tables together.
When I try to do an update, i am doing one to the results
table. Is this correct?
The updates have problems because when drawing the text to
the update table to view it comes in text form.
When trying to update, it wont becuase all of the cells in
the results table are numeric. This is because of the
relationships.
Can anyone suggest where i may be going wrong.
Ask anything you need to.
TAMM_editCmd.CommandText = MM_editQuery
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
If (MM_editRedirectUrl <> "") Then
Response.Redirect(MM_editRedirectUrl)
End If
End If
End If
%>
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Session("MM_UserName") <> "") Then
Recordset1__MMColParam = Session("MM_UserName")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_connSeek_STRING
Recordset1.Source = "SELECT * FROM Query1 WHERE UserName = '"
+ Replace(Recordset1__MMColParam, "'", "''") + "'"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim rsUpdate
Dim rsUpdate_numRows
Set rsUpdate = Server.CreateObject("ADODB.Recordset")
rsUpdate.ActiveConnection = MM_connSeek_STRING
rsUpdate.Source = "SELECT * FROM tblSpecies"
rsUpdate.CursorType = 0
rsUpdate.CursorLocation = 2
rsUpdate.LockType = 1
rsUpdate.Open()
rsUpdate_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>
<html>
<head>
<link href="css%20files/paragraph.css" rel="stylesheet"
type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a
.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0"
onLoad="MM_preloadImages('images/Publicationb.gif','images/Factsheetsb.gif')">
<table width="100%" height="100%" border="1"
cellpadding="0" cellspacing="0" bordercolor="#5D5D5D">
<tr>
<td colspan="2">
<div align="right"></div>
<div align="left"></div>
</td>
</tr>
<tr>
<td colspan="2"><table width="100%" height="100%"
border="0" cellpadding="0" cellspacing="0"
bordercolor="#5D5D5D">
<tr>
<td valign="top"><form
ACTION="<%=MM_editAction%>" METHOD="POST" name="form1">
<table width="90%" border="0" align="center"
cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><div
align="center"></div> <table border="1" align="center"
cellpadding="2" cellspacing="0" bordercolor="#FFFFFF">
<tr bgcolor="ECECD7">
<td colspan="2"><div align="center">
<p><strong><font size="3">Update Key Word
& Category</font></strong></p>
</div>
</td>
</tr>
<tr>
<td><div align="center">
<p><font size="1">Enter Up to 10 Species /
Product
Name</font></p>
</div>
</td>
<td><div align="center">
<p><font size="1">Select a
Category</font></p>
</div>
</td>
</tr>
<tr>
<td colspan="2" bordercolor="#D0D09D">
<%
While ((Repeat1__numRows <> 0) AND (NOT
Recordset1.EOF))
%>
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr><td width="50%"><div align="center">
<input name="f1" type="text" id="f13"
value="<%=(Recordset1.Fields.Item("TimberSpecies").Value)%>"
size="33">
</div></td>
<td width="45%"><div
align="center"></div></td></tr></table>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend %>
<div align="center"> </div> <div
align="center">
</div></td></tr><tr>td
colspan="2"> </td></tr><tr><td
colspan="2"><div align="right"><p><font
size="1">To Finalise Your Changes Please Press the Update
Button
<input name="update2" type="submit" id="update"
value="Update">
<input type="hidden" name="MM_update" value="form1">
<input type="hidden" name="MM_recordId" value="<%=
rsUpdate.Fields.Item("TimberSpecies").Value %>"> -
Help with Editable Regions and Image Swap
I need some assistance for a project I am working on, and I don't know a short way to describe. Hang with me, here it goes....
I am working with the sites 'Navigation' links. I want to use a MouseOver behavior so that the image swaps when moused over. I want the MousedOver image to remain when you are on that page. I can manually make this happen, but I am running into difficulty because I want the Navigation to be located in an un-editable region so when I add new pages, the entire site will update as I make changes to the template.
I don't know how to create this effect without manually swapping all the images via behaviors on each and every page, and when I need to do these edits, the region needs to be in an UnEditable region so that the template will update all the pages.
I guess the question is, how can I customize images from page to page in an Un-Editable region in a Template driven page?
Thanks.Image swaps are clumsy for navigation because you have to re-craft your menus every time you edit your site. This gets very old in a hurry.
CSS styled menus are not only easier to maintain in DW they are web friendly for all devices -- especially Smartphones who may have images disabled to save on bandwidth charges.
DW comes with Spry Menus which you can customize with CSS
http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html
Additionally, there are some excellent DW extensions you can use to build professional looking CSS menus in seconds.
http://www.projectseven.com/products/menusystems/pmm2/index.htm
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
UIX/XML: tables and rowHeaders
I'm trying to add a deletebutton in the rowHeader of a table. In order to transmit the rowIndex of the selected item, I need to dataBind the onClick attribute. Is there any way to dataBind a roHeader to the same dataObject as the tableContents?
Thanks,
GuidoThe simplest thing to do is just use the same databinding for
rowHeaderData and tableData:
<table data:tableData="foo@somewhere" data:rowHeaderData="foo@somewhere">
</table>
Maybe you are looking for
-
Why is it taking so long to process my order?
Hey, I ordered CS6 Production Premium from the Education store on the 13th of September and my order staus is still pending. I also uploaded my college ID on the Customer Support Portal on the 16th and it says "Pending Adobe Response". Could anyone h
-
Oracle Report6i - Report and Spreadsheet in one rdf file
Hi ALL, My user wants to have an Oracle report with header, titles etc. and also a CSV file in the same Report or rdf file. I am thinking of using a parameter to select either the Report or the CSV file or both. I know I can do this in 2 different rd
-
HI, A newbie here and on Flash, Sorry for my poor englih too, I'm French. My pb : I the attach file you will find forfaits.fla which is connected to xml/forfaits.xml. The pb is the UI Component SROLL BAR for the textarea for the img description doesn
-
Hi All, I am using BI XI 3.1when i am trying to to generate a report the following error is occurring Process ID: 26489 Session ID: 378 Serial number: 41103 . (WIS 10901) It is throwing an error:: The database error text is: ORA-03113. Thanks, Ravi.
-
All of my users cannot open attachments receiving through outlook. The attachments are showing corrupted when try to open or save. I have windows server 2008 r2 serving as the domain server. I am not sure where the problem resides. I also have Symant