OAF: *PG.xml is read-only. Unable to extend the LOVRN to add lovmappings
Hello All,
I am trying to extend the PG.xml to add additional lovmappings using JDev. But the PG.xml is readonly. Unable to create new items on lovmappings!
I have imported all the server.xml for the VO extension. That worked fine. ( I tried to add the new lovmappings using Personalization but with NO LUCK! ).
So, now I am trying to add the lovmappings using JDev and am unable to create new lovmappings! The whole PG.xml is readonly (except the Privacy and others on the footer! ).
So I opened only the PG.xml and the concerned LovRN.xml from myprojects/oracle/apps directory! along with all the myclasses/oracle/apps xml files.
So Do I need to bring in anything else into my project to make the lovmapping to create new items ???
Please help...
Thanks,
Francis
Ramkumar,
This is what I am trying to do!
I extended the LovVO and deployed it successfully to application. I could see and use the newly added fields in the LOV region. That works fine.
The requirement is:
I want to populate the newly added field values from Lov region to the base page. This is what I did.
1. Added the 2 new "Message Styled Text" items (from the extended VO) in the LOV region ( But not rendedred! )
2. Added 2 new "Message Styled Text" items on the base page to populate the values from the LOV region.
3. On the base page, personalizing the LOV (lovMappings) to inherit the values from the LOV region.
>> Created 2 new lovmappings to inherit the 2 new values from the LOV region extended VO. ( Here the "LOV Region Item" {the itemID from the LOV region that I want to bring back and populate} and "Return Item" {the itemID on the base page that I want the value to get populated} are the only fields I entered other than the ID column! )
5. Bounced the apache.
-- After doing this, logged back in and tried the LOV, it doesn't populate the inherited values to the newly created items on the base page.
Thanks for all the help.
FR
Similar Messages
-
How can I have both functions "Read Only" & "Write" mode on the same form?
Dear all,
How can I have both functions "Read Only" & "Write" mode on the same form? Is it possibile for this?
Please advice,
AmyThis is what I use in some dialogs:
PROCEDURE SET_QUERY_ONLY IS
-- Procedure Set_query_only
-- Rend les blocks non modifiables --
-- Disable menus Insert/Delete/Clear --
-- Entree :
-- Sortie :
-- Ent/Sortie :
-- Creation : FD 10/2003
-- Modification :
LC$Block Varchar2(30) ;
BEGIN
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
LC$Block := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
-- Tous les blocs en Query only --
While LC$Block is not null Loop
Enable_Block( LC$Block, FALSE ) ;
LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ;
End loop ;
END;
PROCEDURE ENABLE_BLOCK
PC$Block in Varchar2,
PB$Enable in Boolean Default TRUE
) IS
-- Procedure Enable_block
-- Rend le bloc Enable / Disable --
-- Entree : PC$Block (nom du bloc Forms)
-- : PB$Enable (TRUE ou FALSE)
-- Sortie :
-- Ent/Sortie :
-- Creation : FD 10/2003
-- Modification :
BEGIN
If PB$Enable Then
Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_TRUE ) ;
Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_TRUE ) ;
Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_TRUE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_TRUE ) ;
Else
Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_FALSE ) ;
Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_FALSE ) ;
Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
End if ;
END;Francois -
Exception: non-read-only mapping defined for the primary key field
Hello.
I'm new to Oracle and I created Java EE Web Project.
And I created entities from tableA, tableB, tableC from my database.
tableA has foreign key to tableB and has unidirectional Many-to-One relationship. tableC has two primary keys and one of these is foreign key to primary key in tableA. tableC also has unidirection Many-to-One relationship to tableA.
Then I created session bean and data control from it, in design window, created read-only table from tableA.
And I selected columns in tableA and also in tableB.
I ran the application and saw the following exception in log window.
Local Exception Stack:
Exception [EclipseLink-46] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: There should be one non-read-only mapping defined for the primary key field [tableC.tableA_ID].
Descriptor: RelationalDescriptor(mypack.tableC --> [DatabaseTable(tableC)])
tableA_ID is a primary key in tableA.
How can I solve this error?
Please help me.
Edited by: 900471 on 2011. 12. 3 오전 5:32
Edited by: 900471 on 2011. 12. 3 오전 5:33
Edited by: 900471 on 2011. 12. 3 오전 5:33
Edited by: 900471 on 2011. 12. 3 오전 5:34There are not enough details to be sure since you have not provided the mappings. From just the error, it looks like you are using the tableC.tableA_ID field as the foreign key in the ManyToOne relationship to A, but have marked it as insertable=false, writeable=false, meaning that it cannot be updated or used for inserts.
Either make it writable (set the settings to true), or add another basic mapping/attribute in the entity for TableC that maps to the field which you can use to set when you insert a new tableC entity. A simple example is available at
http://wiki.eclipse.org/EclipseLink/Examples/JPA/2.0/DerivedIdentifiers
Best Regards,
Chris -
Unable to extend the VO ConsInvTableVO in the iReceivables page
Hi All,
I am getting the error message "Each row in the Query Result Columns must be mapped to a unique Attribute in the Mapped Entity columns" when I am trying to extend view object ConsInvTableVO in iReceivables page. Though there were many posts available for the error, I have tried the solutions like
1. modifying the option in step1 of wizard from Read-Only to Updatable, but still error exists.
My requirement is to add an new column, but even without modifying the SQL query in the extended VO, I am facing this error at step4 in VO wizard.
There are some transient attributes in the standard VO like TransactionDetailsRegionCode, AmountDueRemainingFormatted, AmountDueOriginalFormatted, IrSalesOrder, TransactionDetailsClass, LkpCodeStatusMeaningModified which I think were causing the issue.
Please let me know whether any workaround/solution is available.
Regards,
Ramakrishnan
Edited by: 877977 on Sep 1, 2011 3:51 AMHi Pratap,
Thanks a lot for your reply. The problem is I am unable to extend the standard view object in Jdev itself. I think there is an view link exists in the VO. When I uploaded the java files and xml file of the VO "oracle.apps.ar.irec.accountDetails.server.ConsInvTableVO" in my local JDev, I got an error msg that "Could not find the following referenced objects oracle.apps.ar.irec.accountDetails.server.InvoiceDetailsVO".
Later I uploaded the files of that referenced VO also in the JDev. Let me know how to extend the View object which is having view link.
Regards,
Ramakrishnan -
This AirPort base station was unable to extend the wireless network.
I have an AirPort Extreme in the lounge connected to BT infinity.
I also have an airport express in the kitchen connected to a stereo system.
I have had this set up for around 12 months.
The airport express will not extend the wireless network.
I reset it, restart, factory reset etc and it will work fine for around 3 days, then I get the same error message saying
This AirPort base station was unable to extend the wireless network. Make sure the wireless network you’re trying to extend was set up and is working correctly, that you entered a matching wireless network password into this device, and that this device is in range of the wireless network.
The express is situated easily within range of the extreme. And the airplay between those two, my iMac and two apple tv's works pretty much as it should.
Can someone please shed some light on this?
Maybe I have it in a wrong setting or summut....G Beach wrote:
I am also experiencing a recent failure in my Airport devices no longer extending my wireless network.
My Aiport Express and second Airport Extreme were extending my wireless network for more than a year
The only change that has taken place lately is that the firmware for both devices was upgraded to 7.6.4, however the upgrade was only in response to trying to resolve this problem. Needless to say, the firmware upgrade did not resolve anything.
If I didn't know better, I'd have thought I wrote the above.
I have a TC from a few years ago (last one before the tower, I think), plus the older AEBS that it replaced extending the network, plus a 1-year-old Express also extending. I had upgraded them all to 7.6.3/4 when it came out, but reverted them all to 7.6.1 when everything went crapways (others having the same issues of the LAN regularly croaking), and didn't bother upgrading again since.
Today I just tried 7.6.4 on all of them, and it seemed OK at first with green lights all around in Airport Utility. Then I made one change, which was to enable 5Ghz on the main AEBS/TC only (the express doesn't need it, and the older AEBS can't do it).
The latter two started flasing amber and giving the "unable to extend wireless network" error message.
So I'm wondering if you are similarly using 5Ghz? -
Unable to extend the standard datasource 2LIS_13_VDKON
Hi
we are unable to extend the standard datasource 2LIS_13_VDKON on the
SAP by the following fields: MCKOMV-KNUMA_BO, MCKOMV-KNUMH and MCKOMV-KNUMV. We allways get the error message "End phase 002 - D0322".
best regardHi farchid,
i checked that one, but you can ignore that one.
please check the data source status is green that's it. after including that fields in the data source the status change to red. then go to data source maintenance screenselect the field selection check boxand then save it.
now the status changes to yellow.
now select inactive link against your data source in job control--status will turn as green.
now you can do the set up table fill up for that data source.
before doing the transport please make sure the following conditions. this will be displayed when your enhancing the data source.
Extract structure MC13VD0KON generated successfully, see long text
Notifications MCEX 027
Diagnosis
The extract structure was generated successfully.
Procedure
Now choose the maintenance screen of the DataSource. After that, the
status display (traffic light) jumps from red to yellow.
Please make note of the following before you transport the changed
structure MC13VD0KON into another system:
o Run the transport when the target system is not being booked.
Otherwise you will need to initialize it because documents are lost
during this time.
o None of the clients in the target system in the V3 update for the
application 13 should contain data. If you are unsure, start the V3
update of the application 13 in all clients.
o If there is still data in the central delta management of the target
system, it must be retrieved by BW before the transport takes place.
o If you have already reconstructed within this target system, it may
be that the data still exists in the reconstruction tables. After
the transport, you can no longer transfer these entries into BW. You
must delete the contents of the reconstruction tables of the
application 13 in the target system and run another reconstruction
if need be.
o If there is an update log in the target system, you cannot read the
log data of the application 13 after the transport has been run. You
can only read it again once data is booked and the last log entry
overwritten.
Use the report RMCSBWCC to display a log for the changed extract
structure in the target system, to see if any of the above problems
exist. An additional switch deletes all update logs for the application
of the selected extractor.
Please also note that you must reactivate the transfer structures when
you change the extract structure after replicating a DataSource.
hope this help you
regards
harikrishna N -
Oracle Alert - ORA-1652 Unable to extend the Temp Segment
Hi Team,
During our DB Reorg we have received the Oracle Alert - ORA-1652 Unable to extend the Temp Segment by 15485 in tablespace :PSAPBTABI.
Our DBReorg got cancelled..
We would like to know how we can resolve the above error so that we can reschedule the DB Reorg activity..
Regds,
Satyanarayana NHi,
If you are using UNIX OS, the temp files are created as sparse file due to the OS functionality.
Altough you have assigned 49 GB the actual size will be very very less.
You can check the actula file size with du or df command. To remove these sparse condition you will need to perform certain steps.
Read this note and execute the steps given and then see the file size difference.
548221 - Temporary Files are created as sparse files
Do update the message if the OS is different.
Regards,
Nilesh -
Unable to extend the table space
Hi Experts
When i am extending the table space i am getting this error
BR1059E Not enough free space in /oracle/SHD/sapdata3/sr3700_20 for maximum size
of file /oracle/SHD/sapdata3/sr3700_20/sr3700.data20, missing at least 491.556
MB
but when i checked the space, space is available
/dev/vg01/lvol16 41943040 34863437 6637129 84% /oracle/SHD/sapdata4
/dev/vg01/lvol15 41943040 37013805 4621160 89% /oracle/SHD/sapdata3
/dev/vg01/lvol14 41943040 31803117 9506180 77% /oracle/SHD/sapdata2
/dev/vg01/lvol13 31457280 28486427 2785176 91% /oracle/SHD/sapdata1
i am unable to extend the table space. Please help me
Thanks & Regards
VenkatHi Venkat,
Please try to disable the autoextend, in the brspace screen first you make off for autoextend then you try to extend the space.
Definetly it will work. I have faced same problem earlier.
Please let me know still if you have any problem for extending.
Thanks
Kishore -
Unable to Extend the Tablespace in BW Production Server
Hello Gurus,
I am unable to extend the tablespace - PSAPODSD in our BW production server.
While extending it throws this error
BR1052E File odsd.data53 is already used by the database - this can cause problems in backups
I am attaching the log for your reference
Options for extension of tablespace PSAPODSD (1. file)
1 * Last added file name (lastfile) ....... [/oracle/PBW/sapdata3/odsd_52/odsd.data52]
2 * Last added file size in MB (lastsize) . [2000]
3 - New file to be added (file) ........... [/oracle/PBW/sapdata2/odsd_53/odsd.data53]
4 ~ Raw disk / link target (rawlink) ...... []
5 - Size of the new file in MB (size) ..... [2000]
6 - File autoextend mode (autoextend) ..... [no]
7 # Maximum file size in MB (maxsize) ..... []
8 # File increment size in MB (incrsize) .. []
9 - SQL command (command) ................. [alter tablespace PSAPODSD add datafile '/oracle/PBW/sapdata2/odsd_53/odsd.data53' size 2000M autoextend off]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
BR0280I BRSPACE time stamp: 2009-05-04 07.32.04
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR1052E File odsd.data53 is already used by the database - this can cause problems in backups
BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
BR0280I BRSPACE time stamp: 2009-05-04 07.32.04
BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
BR0280I BRSPACE time stamp: 2009-05-04 07.32.10
BR0257I Your reply: 'b'
BR0673I Going back to the previous menu...
Please guide us to resolve this issue .
Imp - backup is completed successfully, I checked through sqlplus V$backup there is no active files
Thanks & Regards
ShishirHi,
login as ora<SID> and run this
sqlplus "/as sysdba"
sql> select FILE_NAME from dba_data_files where TABLESPACE_NAME='PSAPODSD';
This will show the list of the files located at os level and check whether the "odsd.data53" is present in which sapdata*. If this exist then add a new datafile.
Thanks
Arun -
Unable to extend the temp segment by 2560 in table space TEMP
Hi,
I am running the procedure, it aggregate the data, it's taking minimum 1 hour to complete. B4 complete it throw an error:
ORA-01652 - Unable to extend the temp segment by 2560 in table space TEMP.
Note: Tround 5GB disk space is there.
Please help and give me your suggestions.
Thanks
SathyaWell, I'll go out on a limb and suggest that the problem is that the procedure ran out of TEMP space. It's relatively easy to generate 5 GB of intermediate results to sort in the space of an hour. If other sessions were using TEMP space at the same time, that would obviously reduce the amount available to this procedure.
Your two options would be to decrease the amount of sorting that the procedure needs to do or to allocate more TEMP space for it.
Justin -
I have a MB Pro that is running Lion; I also have two external DVI monitors and a DVI splitter in hopes that I could run the two monitors with my MB Pro. This actually works fine, but I am unable to "extend" the desktop. Any insights?
You cannot have a extended desktop using a splitter. All that does is mirror the pair attached to the splitter.
You can do this however using a Matrox DualHead2Go.
Other solution would be to attach one monitor to your video out as you do the splitter and attach the other via USB (assuming the adapter supports the monitor's resolution).
Newer Technology USB to DVI / HDMI / VGA HD Video Display Adapter -
IExplorer open xml as read only
Hi!
We have two problem...
When we save an excel file, as an XML file...
it doesn't save
<?xml version="1.0" encoding="windows-1250" ?>
to the first line..
So we get error when we provide UTF-8..
Second.. (the worst problem)
When we open xml files from WebDav as a link..it opens only as read only file (because the file goes to temporary internet files)
u,
When we open xml files.. from File menu..open..
it could be opened as read/write...
and can be saved back to repository....
Any clue?
ViktorHi!
A found some vbscript.. to open excel... but
it's always asking for username and password... even if i use
http://xxx@xxx:domain:8080/home/thisis.xml
And.. we can't upgrade to 10g.. it's too urgent...
Viktor
<HTML>
<BODY>
<INPUT id=button1 name=button1 type=button value=Button>
<SCRIPT LANGUAGE="VBScript">
<!--
dim app
dim wb
sub button1_onclick()
Set objXLApp = CreateObject("Excel.Application")
objXLApp.Visible = True
Set objxlBook = objXLApp.Workbooks.Open" webDav's xml file..")
end sub
//-->
</script>
</BODY>
</HTML> -
Windows 7 reads only 2.3 of the 4 gb ram
Dear Sirs
I have 4 GB ram and 2 vga cards
Intel 288 hd graphics
Geforce gt 330m 512 mb
when i installed windows 7 on my macbook pro it only reads 1 graphic which is geforce and only 2.3 of the 4 GB Ram can you help me and tell me what can i doDid you install the 32bit or the 64 bit version of Windows 7?
The 64bit can address more RAM.
Windows just accessing your dedicated video card is fine, the Intel HD graphics is junky anyway. -
Help reg. read only CMP bean in the examples!!
Hi,
I have been working with examples of EJB in WLS 6.1
I used the Access database with CMP.
The basic entity beans, both CMP and BMP worked well.
However when I tried the read-only Stock Bean and write StockWriter Beans... I received the following error... I am not sure what does it say...
==============================================
Beginning readMostly.Client...
Creating a StockWriter for BEAS
There was an exception while creating and using the Beans.
This indicates that there was a problem communicating with the server: java.rmi.RemoteException: EJB Exception:; nested exception is:
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
Start server side stack trace:
java.rmi.RemoteException: EJB Exception:; nested exception is:
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6026)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6183)
at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterFloat(JdbcOdbc.java:852)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setLong(JdbcOdbcPreparedStatement.java:575)
at weblogic.jdbc.pool.Statement.setLong(Statement.java:369)
at weblogic.jdbc.rmi.internal.PreparedStatementImpl.setLong(PreparedStatementImpl.java:114)
at weblogic.jdbc.rmi.SerialPreparedStatement.setLong(SerialPreparedStatement.java:147)
at ejb.readMostly.StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.__WL_create(StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.java:589)
at ejb.readMostly.StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.ejbCreate(StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.java:518)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:519)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:489)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at ejb.readMostly.StockWriterBean_u4qwd5_HomeImpl.create(StockWriterBean_u4qwd5_HomeImpl.java:78)
at ejb.readMostly.StockWriterBean_u4qwd5_HomeImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
; nested exception is:
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
Start server side stack trace:
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6026)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6183)
at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterFloat(JdbcOdbc.java:852)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setLong(JdbcOdbcPreparedStatement.java:575)
at weblogic.jdbc.pool.Statement.setLong(Statement.java:369)
at weblogic.jdbc.rmi.internal.PreparedStatementImpl.setLong(PreparedStatementImpl.java:114)
at weblogic.jdbc.rmi.SerialPreparedStatement.setLong(SerialPreparedStatement.java:147)
at ejb.readMostly.StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.__WL_create(StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.java:589)
at ejb.readMostly.StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.ejbCreate(StockWriterBean_u4qwd5__WebLogic_CMP_RDBMS.java:518)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:519)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:489)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at ejb.readMostly.StockWriterBean_u4qwd5_HomeImpl.create(StockWriterBean_u4qwd5_HomeImpl.java:78)
at ejb.readMostly.StockWriterBean_u4qwd5_HomeImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
End readMostly.Client...
==========================================
please help
SP
[att1.html]<entity-cache>
<max-beans-in-cache>...</max-beans-in-cache>
<read-timeout-seconds>...</read-timeout-seconds>
<concurrency-strategy>ReadOnly</concurrency-strategy>
</entity-cache>
I believe this is what you are looking for and this is part of entity-descriptor.
-- Prasad
Aruna wrote:
> Hi
> I am trying to develop few entity beans which is for only reading the
> data from the data base, As Read only entity beans are treated like stateless
> session beans(ie lead balancing at method calls as well auto failover) in the
> cluster. I want to know how to specify an entity bean as read only entity bean???
> ie in deployment descriptor so that ejb container treats it as a read only entity
> bean.
>
> Any help on this highly appreciated
>
> Thanks and Regards
> Aruna
-
Read only text Items uses the maximum width
Folks,
I have a form with 3 regions and each region has 6 or more text items each with a different width (40, 30 24, 2...). I am using a Read Only Condition Type on all these items to disable them. I am setting the background color as bgcolor="#DCDCDC" in the Read Only Element Table Cell Attributes.
All my elements are disabled (Gray color) but with the maximum width of 40 bytes. I don't want a 2 byte text item 40 bytes long and grayed out. How can I set a specific width for individual items in Read only Condition? Please help
Thanks
Raje.Try this alternative by disabling the HTML Form Item at the required process point.
I added this JavaScript to the HTML Header of the page which will allow me to disable the required item, plus set its background and color:-
<script language="JavaScript1.1" type="text/javascript">
function disableFormItem(p_item, p_background, p_color){
disItem = document.getElementById(p_item);
disItem.style.background = p_background;
disItem.disabled = true;
disItem.style.color = p_color;
</script>In the Region Footer of the Region where my items are located I added this JavaScript code:-
<script language="JavaScript" type="text/javascript">
** Only disable the required Form Items if the Primary Key value is present,
** in this case it is P12_UEI. (Won't be present for new records as populated
** by on-insert db trigger and sequence.)
if (html_GetElement('P12_UEI').value > 0)
disableFormItem('P12_URESI', 'lightyellow', 'black');
disableFormItem('P12_UZI', 'lightgray', 'black');
disableFormItem('P12_UBI', 'lightgray', 'black');
</script> The resulting page is a lot better looking than using the APEX read only text item.
Regards,
Phil
Maybe you are looking for
-
Logs de XML não processado no NF-e incoming
Olá pessoal, Estou precisando saber alguma forma de descobrir o que aconteceu com um xml enviado pelo fornecedor e que não aparece no monitor "NF-e centro de trabalho fiscal". Hoje quando um xml não aparece eu fico sem saber se tem algum serviço para
-
Display Connector: Status: No Display Connected
Display Connector: Status: No Display Connected
-
I purchased a barbie movie for my daughter, she watched it a few times, and now where we used to press play is a circle with a square in the middle and it won't play. Any suggestions?
-
Why wont quicktime install?
i try to install quicktime, but it always has an error. i have cleaned out my temp folder, deleted all of itunes and quicktime, and it still wont install.
-
I would like to disable the small window that has started coming in with incoming Mail
Hi, I would like to disable a small window that has started arriving whwn I get incoming mail. That is, when I open the message, it displays on the right screen, but also there is a small page/window that appears with the message to the left. Than