JSFF CSS not loading first time
Hi everyone,
My JSFF refers to a CSS when the jsff starts the first time it doesn't show any styles but when I press F5 the styles are shown
this is my jsff
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<af:resource type="css" source="/recursos/css/utiles.css"/>
...etc...QUESTION 2:
Is there a way to set a hint for an <af:inputtext> ??
just like there is in amx for web mobile? HINT TEXT ?
THANKS!!!
Sorry for the late response,
Yes is inside the public_html, because I have my css and js inside a folder in the webcontent
when my jsff loads no styles or js behavior loaded, then I press F5 and the styles are shown and what the javascript does also y noted
here is my code.
<?xml version='1.0' encoding='UTF-8'?>
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:adfsilat="/webapp/untitled1.taglib">
<af:resource type="css" source="/recursos/css/utiles.css"/>
<af:resource type="javascript" source="/recursos/js/tagscript.js"/>
...
Similar Messages
-
Flash file not loading first time but loads on refresh
I have a problem where a flash program is not loading when
the webpage is first visited, it will get stuck on the loading
screen. Now for this file to finish loading, it needs to load in
another file. Once that file is done loading then the program will
continue. But like I said the first time the program gets stuck on
the loading screen and never continues. If you hit refresh in the
browser then the program will continue past the loading screen.
I've checked the code and everything seems fine there. Could
this be a security issue? The two files are on the same domain. Or
if anyone has any insight into this problem, it would be
appreciated."Dusarn" <[email protected]> wrote in
message news:e3b9i7$qup$[email protected]..
>I have a problem where a flash program is not loading
when the webpage is first
> visited, it will get stuck on the loading screen. Now
for this file to finish
> loading, it needs to load in another file. Once that
file is done loading then
> the program will continue. But like I said the first
time the program gets
> stuck on the loading screen and never continues. If you
hit refresh in the
> browser then the program will continue past the loading
screen.
>
> I've checked the code and everything seems fine there.
Could this be a
> security issue? The two files are on the same domain. Or
if anyone has any
> insight into this problem, it would be appreciated.
That is almost always caused by a faulty preloader code. Post
your preloader code or a link to the website so it can be checked.
tralfaz -
UI configuration not loaded first time when view is enhanced
Hi,
I did enhancement on the view BP_SALES/CorpAccountShippingEF in component BP_SALES
There are UI configuration to be loaded based on the condition (life cycle stage) and for which enhancement has been done in spot CRM_UIU_BP_ENHANCEMENT.
All works fine untill I simply create a enhancement for the above mentioned view. Once I do the enhancement, without making any further changes, the UI config that should get loaded doesn't load and is loaded with the default one.
However on pressing enter, the desired config get loaded and all the mandatory fields show up.
If I delete the enhancement for this view, then it works fine.However I need to enhance the view to default some values.
Does anyone know why this is happening?
Many thanks in advance for your help.
Cheers,
RakeshHi,
Probably,when you enhance,some particular field ,which decides the runtime configuration to be loaded,is not getting its proper value.
You can test this by putting a brkpoint in the method DO_CONFIG_DETERMINATION of your class.
Do this wihout the enhancement first.
So when you test,you would be able to see which configuration is loading for the 1st time,and also why.
After this test it with the enhancement.This will help you to differentiate between the 2 scenarios,and probably also help you to identify the issue.
Suvidha -
HTML view does not load first time?
All,
I have two HTML views on my Visual Composer model which both have 'Start' connectors going into them with the URL's defined (and correct), but when the page first loads the HTML views just show as gray boxes.
To get the HTML views to display the user needs to refresh the page then they appear!?
Has anyone also experienced this? If so how did you resolve this problem, because this is unacceptable to the user?
Thanks
ConradHi Antonio,
thanks for your reply.
The problem that we seem to be having now is that 90% of the time the html views load but some times they don't, they just remain as gray boxes.
I tried the simple demo that you suggested and it worked for me also, but as i said the problem only sometimes occurs.
It maybe as you said a problem because i have lots of epcm events flying about and JavaScripts.
I will try and get a consistent failure, take it from there and keep you posted.
Thanks
Conrad -
Mac mini restart because of a problem. Not the first time!
Hi everyone!
This morning, while I was simply listening to iTunes, browsing with Safari and a Time Machine Backup was going on I had the Grey Screen Of Death!
This is not the first time it happens, I'm really worried about a real hardware problem.
Here are the infos about the restart, I really don't know how to read them.... Please if someone could help me I will really appreciate!
Thanks in advance for your help.
A.A.R.
Fri Aug 29 09:45:28 2014
panic(cpu 0 caller 0xffffff80248bc6bc): "complete() while dma active"@/SourceCache/xnu/xnu-2422.110.17/iokit/Kernel/IOMemoryDescriptor.cpp:26 20
Backtrace (CPU 0), Frame : Return Address
0xffffff820eccb970 : 0xffffff8024422f79
0xffffff820eccb9f0 : 0xffffff80248bc6bc
0xffffff820eccba30 : 0xffffff7fa49f9b06
0xffffff820eccba70 : 0xffffff7fa49efab2
0xffffff820eccbac0 : 0xffffff7fa509c2ca
0xffffff820eccbb10 : 0xffffff7fa509fc3a
0xffffff820eccbb60 : 0xffffff7fa4a870d4
0xffffff820eccbbb0 : 0xffffff7fa4a8114e
0xffffff820eccbc00 : 0xffffff7fa4a8121c
0xffffff820eccbc30 : 0xffffff7fa4d6a7cd
0xffffff820eccbd30 : 0xffffff7fa515d126
0xffffff820eccbde0 : 0xffffff7fa515df11
0xffffff820eccbe20 : 0xffffff7fa516b82e
0xffffff820eccbed0 : 0xffffff7fa5173469
0xffffff820eccbef0 : 0xffffff80248b07f0
0xffffff820eccbf30 : 0xffffff80248af292
0xffffff820eccbf80 : 0xffffff80248af367
0xffffff820eccbfb0 : 0xffffff80244d7417
Kernel Extensions in backtrace:
com.apple.iokit.IOStorageFamily(1.9)[9B09B065-7F11-3241-B194-B72E5C23548B]@0xff ffff7fa49ec000->0xffffff7fa4a10fff
com.apple.iokit.IOUSBFamily(683.4)[7595281D-D047-3715-9044-98F46B62F845]@0xffff ff7fa4d67000->0xffffff7fa4dc7fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7fa4abe000
com.apple.driver.AppleUSBXHCI(683.4)[4C9A2D47-0723-387A-9C4B-6199093960A9]@0xff ffff7fa515c000->0xffffff7fa5178fff
dependency: com.apple.iokit.IOUSBFamily(683.4.0)[7595281D-D047-3715-9044-98F46B62F845]@0xff ffff7fa4d67000
dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7fa4abe000
com.apple.iokit.IOSCSIArchitectureModelFamily(3.6.6)[C7B04E3E-37FF-3DC4-A0ED-92 DDCE6FCB98]@0xffffff7fa4a7c000->0xffffff7fa4aa6fff
com.apple.iokit.IOSCSIBlockCommandsDevice(3.6.6)[160F02BC-97C1-3119-BD28-4B2ED1 21C501]@0xffffff7fa509b000->0xffffff7fa50affff
dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(3.6.6)[C7B04E3E-37FF-3DC4-A0ED-92 DDCE6FCB98]@0xffffff7fa4a7c000
dependency: com.apple.iokit.IOStorageFamily(1.9)[9B09B065-7F11-3241-B194-B72E5C23548B]@0xff ffff7fa49ec000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
13E28
Kernel version:
Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64
Kernel UUID:
Kernel slide: 0x0000000024200000
Kernel text base: 0xffffff8024400000
System model name: Macmini6,2 (Mac-F65AE981FFA204ED)
System uptime in nanoseconds: 1057344563610
last loaded kext at 419151165914: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fa63b7000, size 49152)
last unloaded kext at 542203040150: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fa63b7000, size 32768)
loaded kexts:
com.motu.driver.FireWireAudio 1.6 60625
com.apple.filesystems.autofs 3.0
com.apple.driver.AudioAUUC 1.60
com.apple.iokit.IOBluetoothSerialManager 4.2.6f1
com.apple.driver.AGPM 100.14.28
com.apple.driver.ApplePlatformEnabler 2.0.9d6
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleHDA 2.6.3f4
com.apple.driver.AppleUpstreamUserClient 3.5.13
com.apple.driver.AppleMCCSControl 1.2.5
com.apple.driver.AppleMikeyDriver 2.6.3f4
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleIntelHD4000Graphics 8.2.8
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.6f1
com.apple.driver.AppleHWAccess 1
com.apple.driver.AppleLPC 1.7.0
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleIntelFramebufferCapri 8.2.8
com.apple.driver.AppleThunderboltIP 1.1.2
com.apple.iokit.IOUSBAttachedSCSI 1.0.5
com.apple.driver.AppleIRController 325.7
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.6.0
com.apple.driver.AppleUSBHub 683.4.0
com.apple.driver.AppleSDXC 1.5.2
com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
com.apple.driver.AirPort.Brcm4331 700.20.22
com.apple.driver.AppleFWOHCI 5.0.2
com.apple.driver.AppleAHCIPort 3.0.5
com.apple.driver.AppleUSBEHCI 660.4.0
com.apple.driver.AppleUSBXHCI 683.4.0
com.apple.driver.AppleACPIButtons 2.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 2.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 217.92.1
com.apple.nke.applicationfirewall 153
com.apple.security.quarantine 3
com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.7
com.apple.driver.DspFuncLib 2.6.3f4
com.apple.vecLib.kext 1.0.0
com.apple.iokit.IOAudioFamily 1.9.7fc2
com.apple.kext.OSvKernDSPLib 1.14
com.apple.iokit.IOBluetoothFamily 4.2.6f1
com.apple.iokit.IOSurface 91.1
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.6f1
com.apple.driver.AppleSMBusController 1.0.12d1
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleHDAController 2.6.3f4
com.apple.iokit.IOHDAFamily 2.6.3f4
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.iokit.IOAcceleratorFamily2 98.22
com.apple.AppleGraphicsDeviceControl 3.6.22
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.AppleSMC 3.1.8
com.apple.driver.IOPlatformPluginFamily 5.7.1d6
com.apple.driver.AppleUSBHIDKeyboard 170.15
com.apple.driver.AppleHIDKeyboard 170.15
com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.6
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
com.apple.driver.AppleUSBMergeNub 650.4.0
com.apple.driver.AppleThunderboltDPInAdapter 3.1.7
com.apple.driver.AppleThunderboltDPAdapterFamily 3.1.7
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
com.apple.iokit.IOUSBHIDDriver 660.4.0
com.apple.driver.AppleUSBComposite 656.4.1
com.apple.driver.AppleThunderboltNHI 2.0.1
com.apple.iokit.IOThunderboltFamily 3.3.1
com.apple.iokit.IOEthernetAVBController 1.0.3b4
com.apple.driver.mDNSOffloadUserClient 1.0.1b5
com.apple.iokit.IO80211Family 640.36
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOUSBUserClient 660.4.2
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.6.5
com.apple.iokit.IOUSBFamily 683.4.0
com.apple.driver.AppleEFINVRAM 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 278.11.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.AppleKeyStore 2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily 23
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 2.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.pthread 1
Model: Macmini6,2, BootROM MM61.0106.B03, 4 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC 2.8f0
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.6f1 14216, 3 services, 23 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
Serial ATA Device: KINGSTON SH103S3240G, 240,06 GB
USB Device: Porsche Desktop
USB Device: Hub
USB Device: Keyboard Hub
USB Device: USB Receiver
USB Device: Apple Keyboard
USB Device: Hub
USB Device: Hub
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
FireWire Device: Vendor 0x1F2 Device 0x106800, 0x1F2, Up to 400 Mb/sec
Thunderbolt Bus: Mac mini, Apple Inc., 23.4I'll do... but it sounds strange to me... this LaCie is brand new (I've bought it a month ago) and it seems to be a good brand for drives, especially for Mac OS X, isn't it?
All this problems started after a Mavericks fresh install...
I hope to solve this problem quickly. -
I have contacted EA about this and can find no help. I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically customers delete the Ap then download it again to reinstall it. During the process you sign in and approve the purchase KNOWING that another window will open saying that you have previously purchased it and that there is no charge. So what happened this time? It will not connect and all of my saved and current games are wiped out. I want my money back, this game interface is pretty junk and operates like some ancient DOS program,,bug,bug,buggy. I want my money back.
Go here:
http://www.apple.com/support/itunes/contact/
and follow the instructions to report the issue to the iTunes Store.
Regards. -
the most recent update resulted in a loss of ALL of my bookmarks. This is not the first time this has happened and it is very disruptive. I tried the steps suggested to find the bookmarks but that failed.
A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
* http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox -
I look at this page in IE and it seems to load ok. Looking at
it in FF 2.0.0.11 the css seems to not be loading but if I click
Edit CSS in my webdeveloper tool bar it loads the css. When I view
the site on my development server it works fine in all browsers.
Can anyone offer an explanation.
Live Server (CSS not loading in FF)
http://tinyurl.com/2amrjj
Development Server (seems to be working in all browsers)
http://tinyurl.com/25syal
Thanks,
JSounds like a problem with mime type...
bigj9901 skrev:
> I look at this page in IE and it seems to load ok.
Looking at it in FF 2.0.0.11
> the css seems to not be loading but if I click Edit CSS
in my webdeveloper tool
> bar it loads the css. When I view the site on my
development server it works
> fine in all browsers. Can anyone offer an explanation.
>
> Live Server (CSS not loading in FF)
>
http://tinyurl.com/2amrjj
>
> Development Server (seems to be working in all browsers)
>
http://tinyurl.com/25syal
>
> Thanks,
> J
>
>
Kim
http://www.geekministry.com -
I recently updated itunes to the latest version and now the programme will not open.
I have tried all suggestions such as reinstalling the programme, rebooting you name it, nothing.
This most frustrating and completely unacceptable, especially when a company such as Apple touts itself being the leader in music technology yet does not respond directly to questions about faults in their system, but prefers to leave to disgruntled customers to try and sort it out amongst themselves
This not the first time I have had frustrating problems with the Apple system. Perhaps someone could suggest a more reliable system to switch to. Someone with a better troubleshooting system.Going all the way back to Firefox 3.0.5 is shear foolishness, it is 14 security versions behind the last 3.0.19 release. And that version is missing at least a dozen security updates that were applied to the 3.5 and 3.6 versions after support for 3.0.x ended.
If you are not happy with Firefox 4, you should have installed Firefox 3.6.17. That is very similar to the 3.0 and has all the security fixes that have been released since support for Firefox 3.0.x ended last year. -
I was almost done my project. I hadn't published it anywhere. Then, the next day, the clips from my timeline went all grey and there was an "out of date" icon. My project was lost. What happened? It's not the first time it's done that!
You can undo your permission changes. Probably the most relevant one is cookies. Try one or both of these methods:
(1) Page Info > Permissions tab
While viewing a page on the site:
* right-click and choose View Page Info > Permissions
* Alt+t (open the classic Tools menu) > Page Info > Permissions
(2) about:permissions
In a new tab, type or paste '''about:permissions''' and press Enter. Allow a few moments for the list on the left to populate, as this information needs to be extracted from a database.
Then type or paste ''rcn''' in the search box above the list to filter it to the most relevant domains. When you highlight a domain, you can adjust its permissions in the right pane.
Any luck? -
Audio is not playing first time in Flex app with 11.2 Flash player.
Hi,
I am playing an audio fle as flv in a flex application with flash player 11.2 but it is not playing first time and it is playing afetr pause/play and page refresh. Loacally it is playing fine. Please help and guide me.
thanks in Advance
Rangrajan.Taha,
Not sure that I understand your workflow there. For editing, the 48KHz 16-bit is the "standard." The 32KHz is not.
Now, what is the Sample-Rate of your original material?
What is the CODEC used in that muxed (multiplexed, i.e. combined Audio & Video) file?
Did you allow Conforming complete 100%? This ARTICLE will give you some background.
Do you see the Waveform Display for that Clip? Alt+click on the Audio portion of the Clip, and then Dbl-click on it to get it into the Source Monitor. Do you see the Waveform Display there?
Have you added any Keyframes, or Effects to that Audio? Toggle the Keyframe Display in the Track Header, to see if there are any Clip, or Track Keyframes there.
Have you accidentally Muted that Track? Look at the Visibility (eyeball) icon in the Track Header. Then, look in Audio Mixer to see if that Track is Muted.
Good luck,
Hunt -
Hi,
Am using 11.1.1.5 adf jdev.
I got unique issue , i have couple of jsff seach pages . In jsff , i have user enterable inputtext box ,Issue is when user enters data for first time . the component refreshes and the entered data is vanishes .
But it happen for the first time when page loads, There is no partial triggers on dat input text box.Hi John,
My page is not a part of a task flow. The whole app is an Admin app comprising of multiple individual pages navigated using Menu.
I have tried to run this page individually on my local machine as well as when deployed on the WLS server. The behavior is the same.
Kindly advice,
Thanks,
Ram -
Oracle 9i Trigger not updating first time through
Hi,
I have read a lot of postings but this one seems to be unique. I am trying to update using from Access to Oracle backend database with a Trigger. When I put the code from the update in a test window in the PL/SQL, I step through the code and it doesn't update the first time through. The values from my :old and :new fields are null the first time through. When I change either proj_part_ppv_adj, incorp_date or end_date in the test window and step through the code again, it updates my table.
update statement:
-- Created on 10/17/2005
declare
-- Local variables here
i integer;
begin
-- Test statements here
update pcrit.tpcrit_proj_part
set proj_no = 'TestChris',
mat = '1080373',
plant = 'COR1',
vndr_code = '0000000564',
it_cat = '0',
incorp_date = '15-OCT-2005',
end_date = '31-DEC-2005',
unit_prce_chg = null,
proj_part_ppv_adj = 32500,
edit_id = 'XXXXXX',
edit_dt = to_date('17-OCT-2005 08:10:32 AM',
'DD-MON-YYYY HH:MI:SS AM')
where proj_no = 'TestChris'
and mat = '1080373'
and plant = 'COR1'
and vndr_code = '0000000564'
and it_cat = '0';
commit;
end;
Trigger:
create or replace trigger tpcrit_proj_part_trg_ubr
before update on tpcrit_proj_part
for each row
/* This trigger stores the key values of TPCRIT_PROJ_PART records for
later use by the after-update trigger.
The trigger must be disabled when running the loader or it will
interfere with loading documents from SAP/ODM.
declare
rowParts pcrit_mod_proj_part.typProjPartRowKey;
begin
if :new.proj_no <> :old.proj_no or :new.mat <> :old.mat or
:new.plant <> :old.plant or :new.vndr_code <> :old.vndr_code or
:new.it_cat <> :old.it_cat or :new.incorp_date <> :old.incorp_date or
:new.end_date <> :old.end_date or
:new.proj_part_ppv_adj <> :old.proj_part_ppv_adj then
-- Only perform the task if something other than the comment has changed.
-- Initialize the rowParts record to be added to the list.
rowParts.proj_no := :new.proj_no;
rowParts.mat := :new.mat;
rowParts.plant := :new.plant;
rowParts.vndr_code := :new.vndr_code;
rowParts.it_cat := :new.it_cat;
rowParts.incorp_date := :new.incorp_date;
rowParts.end_date := :new.end_date;
rowParts.proj_part_ppv_adj := :new.proj_part_ppv_adj;
-- Get the project type for this project.
begin
select proj_type
into rowParts.proj_type
from tpcrit_proj
where proj_no = :new.proj_no;
exception
when no_data_found then
rowParts.proj_type := null;
end;
-- Add this part row to the list for after-statement processing.
pcrit_mod_proj_part.add_to_list(rowParts);
end if;
end tpcrit_proj_part_trg_ubr;Are you lookng at tpcrit_proj_part to see if the update happend, or are you looking for the results of the after update trigger?
I believe that this is exactly what you are doing, except I have left out the after update trigger.
SQL> CREATE TABLE t (id number, id_dt DATE,
2 descr varchar2(10), desc2 varchar2(10));
Table created.
SQL> CREATE TRIGGER t_bu
2 BEFORE UPDATE ON t
3 FOR EACH ROW
4 BEGIN
5 IF :new.id <> :old.id or
6 :new.id_dt <> :old.id_dt or
7 :new.descr <> :old.descr or
8 :new.desc2 <> :old.desc2 THEN
9 DBMS_OUTPUT.Put_Line('This is all your proceesing');
10 END IF;
11 END;
12 /
Trigger created.
SQL> INSERT INTO t (id, id_dt) VALUES(1, TRUNC(sysdate));
1 row created.
SQL> COMMIT;
Commit complete.
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005
SQL> UPDATE t
2 SET descr = 'Descr',
3 desc2 = 'Desc2'
4 WHERE id = 1 and
5 id_dt = TRUNC(sysdate);
1 row updated.So your processing never happened but the update certainly did:
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005 Descr Desc2Now, even without a commit:
SQL> UPDATE t
2 SET descr = 'CHANGED'
3 WHERE id = 1 and
4 id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.Now, fix the trigger to take NULL into account:
SQL> ROLLBACK;
Rollback complete.
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005
SQL> CREATE OR REPLACE TRIGGER t_bu
2 BEFORE UPDATE ON t
3 FOR EACH ROW
4 BEGIN
5 IF (:new.id <> :old.id or
6 (:new.id IS NULL and :old.id IS NOT NULL) or
7 (:new.id IS NOT NULL and :old.id IS NULL)) or
8 (:new.id_dt <> :old.id_dt or
9 (:new.id_dt IS NULL and :old.id_dt IS NOT NULL) or
10 (:new.id_dt IS NOT NULL and :old.id_dt IS NULL)) or
11 (:new.descr <> :old.descr or
12 (:new.descr IS NULL and :old.descr IS NOT NULL) or
13 (:new.descr IS NOT NULL and :old.descr IS NULL)) or
14 (:new.desc2 <> :old.desc2 or
15 (:new.desc2 IS NULL and :old.desc2 IS NOT NULL) or
16 (:new.desc2 IS NOT NULL and :old.desc2 IS NULL)) THEN
17 DBMS_OUTPUT.Put_Line('This is all your proceesing');
18 END IF;
19 END;
20 /
Trigger created.
SQL> UPDATE t
2 SET descr = 'Descr',
3 desc2 = 'Desc2'
4 WHERE id = 1 and
5 id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.Now, all your processing happens on the first update, and all others:
SQL> SELECT * FROM t;
ID ID_DT DESCR DESC2
1 09-NOV-2005 Descr Desc2
SQL> UPDATE t
2 SET descr = 'CHANGED'
3 WHERE id = 1 and
4 id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.But only when something changes:
SQL> UPDATE t
2 SET descr = 'CHANGED'
3 WHERE id = 1 and
4 id_dt = TRUNC(sysdate);
1 row updated.If you really see something different, then post a cut and paste of a sqlplus session as I did showing the behaviour you are getting.
TTFN
John -
Applet is not loading second time with Jre7 u9
Hi,
I have found serious problem with Jre7 update 9, Java Applet is not loading in 2nd time, it loads properly first time but in 2nd time it hangs for infinite time.
Interesting part is same applet works perfectly with Jre7 which have stability & security issues.
Is this is cache problem or I have to do some configuration changes?
I have to delete everytime cache resources from Java Control Panel to run applet.
See logs for more details:
cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@966905
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@920ee7
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1e74d83
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache entry found [url: http://subdomain.domain.com/application/applet/myapplet.jar, version: null] prevalidated=true/0
cache: Resource http://subdomain.domain.com/application/applet/myapplet.jar has expired.
network: Connecting http://subdomain.domain.com/application/applet/myapplet.jar.pack.gz with proxy=DIRECT
network: Connecting http://subdomain.domain.com:80/ with proxy=DIRECT
network: Connecting http://subdomain.domain.com/application/applet/myapplet.jar.pack.gz with cookie "JSESSIONID=C45ABD26D27224F74EA675A2CB7B08A4; JSESSIONID=54898DDD281CFF281956381DE51C07B6"
network: CleanupThread used 445274 us
network: Connecting http://subdomain.domain.com/application/applet/myapplet.jar with proxy=DIRECT
network: Connecting http://subdomain.domain.com:80/ with proxy=DIRECT
network: Connecting http://subdomain.domain.com/application/applet/myapplet.jar with cookie "JSESSIONID=C45ABD26D27224F74EA675A2CB7B08A4; JSESSIONID=54898DDD281CFF281956381DE51C07B6"
network: ResponseCode for http://subdomain.domain.com/application/applet/myapplet.jar : 304
network: Encoding for http://subdomain.domain.com/application/applet/myapplet.jar : null
network: Disconnect connection to http://subdomain.domain.com/application/applet/myapplet.jar
Regards,
Deepak GargHi RogerL,
Jre7 update10 is working fine, currently I am doing testing my applet with Jre7 update10.
Very Strange behaviour same applet working fine with Jre7 & Jre7 update10 but it is not working with Jre7 update9 official release.
I am very keen to know the exact reason or what's new in update 9 & update 10.
Thanks a lot.
Deepak Garg -
Gnome 2.28 won't load first time
hi,
I'm experiencing a strange problem as I investigate trying to have a working Gnome on my Arch.
I boot in gdm through inittab, and when i login for first time, desktop seem to load but gnome-panel not, and top shows activity of dbus and gvfs (maybe looping as I reported in older posts).
Then I kill gnome-session, back to gdm, login again and voila, it works.
Any idea? I'm stuck on this since weeks...
Last edited by lafayette (2010-05-14 18:54:04)Sorry, I got badly confused, I'm using Gnome 2.30 (with 2.28 I hadn't any problems). I just ran a "pacman -Syu", just in case.
$ cat /etc/inittab
# /etc/inittab
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
It's getting even harder to log into Gnome, as system often freezes while in gdm login screen. I'd tend to exclude hw problems, livecds of other distros and memory tests did not report any problem.
MODs: title of topic can be updated to Gnome 2.30?
Maybe you are looking for
-
BAPI - Problem in Sales order creation
Hi Friends, I have problem in Sales order creation using BAPI ,I am getting a messsage - Error in creating document ,I have sent the code along with this mail ,can you help it out. Code: SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 2(20)
-
Uninstalling Leopard on my 2nd Hard Drive
I own a Power PC dual G5 with 2 250GB hard drives installed. When I installed Leopard, somehow it got installed on my HD2 instead of HD1 where Tiger was primarily installed. The problem is HD2 was just being used as storage and none of my softwares o
-
Trouble upgrading to 7.5
I am trying to upgrade iTunes to 7.5 and I keep getting the same error message: "This software does not contain support for the system language" and I cannot install. I have tried updating software and it says that I am up to date. Does anybody know
-
Export Apple Mail Emails & Sub Folders to Outlook 2011 for Mac
Hello, Could somebody please tell me how I go about exporting emails and the subfolders I have created from Apple Mail over to Microsoft Outlook 2011. Can you also please advise if I am able to add these emails into an existing Main Identity? Any hel
-
Restore a Time Machine backup on a newer version of the OS
My MacBook running Leopard (10.5.5) was recently stolen, but fortunately I have a Time Machine backup. I'll make do with an old iBook running Tiger for now, but when I 've saved up a bit, and when Snow Leopard is released (and preferably a new versio