How do i choose not to display battery and time while watching a film?
It seems that on my iPhone i can watch a film and the time, battery, wifi etc. Disappear, but on my iPad they stay and it's quite distracting, how do i fix this?
Is this what you are constantly seeing? The grey bars at the top and the bottom with the controls?
BTW, I see autocorrect turned "volume" into "Blume" in my response to you, but I guess you figured it out.
I just don't understand why you are even seeing the battery icon. It doesn't make sense. Do you see it in portrait and in landscape and I just now though of this .... Are you seeing this behavior in the built in Videos App or some third party app? Do you see it while streaming a video or with downloaded videos ...or both?
But like I said, you shouldn't see it anywhere at all.
Similar Messages
-
How Can I have the MB display (1280X800) and a 1440 x 900 ext not in miror
How Can I have the MB display (1280X800) and a 1440 x 900 ext not in miror mode ???
I have a Lenovo external display :
H19-inch (483-mm) viewable image size
Optimum resolution: 1440 x 900
Tilt stand for viewing comfort adjustments
16 x 10 aspect ratio
Analog attachmentI just bought a wide screen display that also uses 1440 X900 resolution. In mirror mode mine also only allows a maximum of 1280 X ???. I think may be a limitation of the GMA 950 graphics chip set. I never use it in mirrow mode so it doesn't bother me. I prefer extended mode. That way I can keep more windows open and visible.
I use the question mars because on mine I can use 1280 X any of the resolutions that go with it. -
How do I transfer Notes from my iPhone4s and iPad to my new MacBook Pro?
How do I transfer Notes from my iPhone4s and iPad to my new 13" MacBook Pro with retina display?
Finally figured it out...
1) Open mail/compose notes on your macbook...
2) copy and paste every note from Outlook to a new note in Mail.
3) Open iTunes. In Info/Advanced tick Notes. This will replace / copy all Notes from Mail to your iPhone...
4) Voila! Notes are on iPhone...
I must say in spite of all the fabulous advantages of a Macbook and an iPhone, syncing really does suck...
Transferring data from another smartphone to a Mac or an iPhone is tough...
Features like "one way / two way" sync for Phone / computer or allowing us to select which whose, phone or computer, will be considered more important so that you can choose whose data will overwrite the other, are not there in iTunes... This is something which really needs to be there...
Anyways... problem solved for now...
ciao...
Jesal -
How can I get rid of the dates and time on my Notes
How do I get rid of the dates and times on my Notes that appeared when I updated to 8?
Yes, it's seems like a poor design decision.
By putting the date on the line below the Note title in the Notes Index, the app shows half the number of notes per page AND if you have a large number of notes, it takes twice as long to stroll down.
I doubt the designer actually uses the app.
TSAW -
How to display date and time on jsf page
Hi,
how to display date and time on jsf page
we are using 11.2.0.0 jdeveloper on windows.
thanks
Edited by: user12187801 on 26-Jul-2012 01:42Your question is certainly lacking some information.
If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
If you meant something else, then it's back to you to explain. -
I have checked the box "display date and time on the Menu Bar" and it does not work. Using OS X Yosemite 10.10.2 Anybody have a fix?
Please read this whole message before doing anything.
This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
Step 1
The purpose of this step is to determine whether the problem is localized to your user account.
Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
Test while logged in as Guest. Same problem?
After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
Step 2
The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Please take this step regardless of the results of Step 1.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2. -
Power Adapter Does Not Charge the Battery and Charge Light Is On?
Power Adapter Does Not Charge the Battery and Charge Light Is On?
My power adapter doesn't charge my computer anymore. however the charge light is on.
Please help my battery is draining fasSo, with your power adaptor connected not only does the battery not charge but the powerbook is not running on ac power. Then I guess the power adaptor is faulty. In as much as you've verified this with a known good one a new one is in order. Try yours in another powerbook to make sure.
-
My MBP mid 2010 display blackout and froze while working but my keyboard light will still light up. Won't be able to retrieve it and have to hard shutdown. Sometimes it happens a lot. Wether it connected to power or not, it will blackout on and off. Please advice what shall I do.
Do you have a 15" mid-2010? If so then your problem is surely...
Mid-2010 15" MacBook Pros - the bad NVIDIA GPU
If you're having frequent kernel panics with your 15" mid-2010, or intermittent screen problems, the problem is, more than likely, the faulty NVIDIA GPU found in a number of those machines.
Here's just a sample of a kernel panic log that points to the faulty NVIDIA card:
Kernel Extensions in backtrace (with dependencies):
com.apple.GeForce(6.4.0)@0x82ac4000->0x82b7afff
dependency: com.apple.NVDAResman(6.4.0)@0x834a0000
dependency: com.apple.iokit.IONDRVSupport(2.2.1)@0x82fd3000
dependency: com.apple.iokit.IOPCIFamily(2.6.5)@0x7a802000
dependency: com.apple.iokit.IOGraphicsFamily(2.2.1)@0x8301b000
com.apple.nvidia.nv50hal(6.4.0)@0x83c05000->0x84019fff
dependency: com.apple.NVDAResman(6.4.0)@0x834a0000
com.apple.NVDAResman(6.4.0)@0x834a0000->0x8378dfff
dependency: com.apple.iokit.IOPCIFamily(2.6.5)@0x7a802000
dependency: com.apple.iokit.IONDRVSupport(2.2.1)@0x82fd3000
dependency: com.apple.iokit.IOGraphicsFamily(2.2.1)@0x8301b000
Here's the "official" Apple take on the issue - but the very real kernel panics need not be preceded by 'Intermittent black screen or loss of video'... in fact, you might not experience any video problems at all. Although video problems can certainly be a portent of things to come…
So what can you do? Print out a copy of your kernel panic and a copy of the Knowledge Base article and take them, along with your machine, to your local Apple Store or an Apple Authorized Service Provider. The unfortunate thing is that many people have passed the “three years from date of purchase” now and Apple is not honoring the free logic board replacement for many users. Some dealers seem to be making some exceptions for those past the three year mark, but don’t count on it…
Good luck,
Clinton -
Displaying Date and Time in portal desktop
Hi
I have been looking around for any info or guideline to display the <b>date and time</b> in the portal desktop. I could not find anything very helpfull. In visual admin you can swap lastname and firtsname and vice versa. Thou there is nothing about displaying date and time.
Is it possible to display it and how?
Thank you for any information
NamiraWhere u need the time to be displayed.. If it has to be displayed in Masterhead you can programatically display it...
import the par file for Masterhead, change it and replace it..
Its a simple JSP page so that u can change it easliy..
cheers
gEorgE -
'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Hello Experts:
I am facing the following problem:
While uploading G/L master data with the BDC program, 'create' push button is not working even after executing following lines.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ACC_CRE'.
Create G/L account screen is not coming in BDC. Please suggest me what to do.
Thanks !!Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
Hi Glen Anthony
Thank you for the reply Glen Anthony please take a look at the following code.
REPORT ZFI_BDC_FS00
NO STANDARD PAGE HEADING LINE-SIZE 255.
*INCLUDE BDCRECX1.
TYPES : BEGIN OF STR,
BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS, "Company Code
SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR, "G/L Account Number
KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS, "G/L Account Group
XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT, "P&L statement account
XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK, "Indicator: Account is a balance sheet account?
TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML, "G/L account short text
TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML, "G/L account short text
WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS, "Account currency
XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH, "Indicator: Only Manage Balances in Local Currency
MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ, "Tax Category in Account Master Record
XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO, "Indicator: Tax code is not a required field
MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ, "Account is reconciliation account
XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW, "Indicator: Open item management?
XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES, "Indicator: Can Line Items Be Displayed by Account?
ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA, "Key for sorting according to assignment numbers
FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG, "Field status group
XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB, "Indicator: Is account only posted to automatically?
END OF STR.
DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
TXT(4096) TYPE C OCCURS 0,
MSG TYPE STRING,
COUNT(5) TYPE N.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
SELECTION-SCREEN : END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
* FIELD_NAME = ' '
IMPORTING
FILE_NAME = MY_FILE
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
* I_LINE_HEADER =
I_TAB_RAW_DATA = TXT
I_FILENAME = MY_FILE
TABLES
I_TAB_CONVERTED_DATA = ITAB[]
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* IMPLEMENT SUITABLE ERROR HANDLING HERE
ENDIF.
START-OF-SELECTION.
COUNT = 0.
LOOP AT ITAB.
*PERFORM OPEN_GROUP.
REFRESH IT_BDCDATA.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_KEY-BUKRS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ACC_CRE'.
*PERFORM BDC_FIELD USING 'BDC_CURSOR'
* 'GLACCOUNT_SCREEN_KEY-BUKRS'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
ITAB-SAKNR. "'5'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
ITAB-BUKRS. "'TATA'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=2102_GROUP'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-KTOKS'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
ITAB-XPLACCT. "'X'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=2102_BS_PL'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-XBILK'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
ITAB-XPLACCT. "''.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XBILK'
ITAB-XBILK. "'X'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=TAB02'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-KTOKS'
ITAB-KTOKS. "'GL'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-XBILK'
ITAB-XBILK. "'X'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_COA-TXT50_ML'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
ITAB-TXT20_ML. "'G/L ACCOUNT'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
ITAB-TXT50_ML. "'G/L ACCOUNT'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=TAB03'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
ITAB-WAERS. "'INR'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
ITAB-XSALH. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
ITAB-MWSKZ. "'*'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
ITAB-XMWNO. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
ITAB-MITKZ. "''.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
ITAB-XOPVW. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
ITAB-XKRES. "'X'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
ITAB-ZUAWA. "'1'.
PERFORM BDC_DYNPRO USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=SAVE'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'GLACCOUNT_SCREEN_CCODE-XINTB'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
ITAB-FSTAG. "'G019'.
PERFORM BDC_FIELD USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
ITAB-XINTB. "'X'.
*PERFORM BDC_TRANSACTION USING 'FS00'.
CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
COUNT = COUNT + 1.
*PERFORM CLOSE_GROUP.
ENDLOOP.
CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
MESSAGE MSG TYPE 'I'.
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR IT_BDCDATA.
IT_BDCDATA-PROGRAM = PROGRAM.
IT_BDCDATA-DYNPRO = DYNPRO.
IT_BDCDATA-DYNBEGIN = 'X'.
APPEND IT_BDCDATA.
ENDFORM.
* INSERT FIELD *
FORM BDC_FIELD USING FNAM FVAL.
* IF FVAL <> NODATA.
CLEAR IT_BDCDATA.
IT_BDCDATA-FNAM = FNAM.
IT_BDCDATA-FVAL = FVAL.
APPEND IT_BDCDATA.
* ENDIF.
ENDFORM. -
Can we display date and time in a movie
I am filming a production process and would love to be able to display time of day as the video is playing.
I can see this info while editing, but I don't know if iMovie'11 will let me display this info onto the movie itself? I need to pass these clips to someone who doesn't have any editing tools, but they will be interested to review the events on the tape relative to the time of day that they occurred.
It would be cool if iMovie had a title effect that 1) displays time and date info, 2) let's the user edit the format of the displayed date and time, and finally, 3) lets the user move this title information to a location in the tape that won't obstruct the critical elements of the movie.Thanks Appleman 1958!
This helps, but to your point, it doesn't show seconds, and it doesn't show frames (for the video purists out there).
Limited to no more detail than minute data, it is not too useful for me, but I could see this being fun in a fast motion shot.
Also nice for capturing day and time of day information for a vacation video.
For my application, all activity took place in 5 hours, and I would need to see down to the second (and ideally the frame) when specific actions took place.
It would be awesome if Apple would let us
1) edit displayed information (lets say for example turn off date, but show hours minutes seconds and frames)
2) edit the font & font size
3) allow flexible placement of the information window. The default location may be where major action is.
Again, thanks for pointing out this title! -
Displaying date and time in filename,
hai to all,
i need to take exp dump daily so i prefare to use scheduletask manager but i dont knew how to place the exp dump file name and its logs with their current sysdate and time while exp is taking part.
for example:
exp userid=........... file=d:/new_%date%.dmp log=d:/newlog_%date%.log .................................................
then export gets completed but the dumpfile shows the file name as new_tue.dmp.
it shows only the day but i need full date with its time.
so can anyone help me ,thanks in advance.
regards
ashikHope this may be useful.
make the relvent modification to the below content and save it as .bat file and execute
@echo off
set ORACLE_SID=<your DB SID>
date /T > abc.txt
for /F "tokens=2,3* delims= " %%x in (abc.txt) do echo %%x > abc.txt
for /F "tokens=1* delims=/" %%x in (abc.txt) do set DD=%%x
for /F "tokens=2* delims=/" %%x in (abc.txt) do set MM=%%x
for /F "tokens=3* delims=/" %%x in (abc.txt) do set YY=%%x
for /F "tokens=1* delims= " %%x in ("%YY%") do set ZZ=%%x
del abc.txt
echo FILE=c:\%DD%-%MM%-%ZZ%.dmp>exp.txt
exp <username>/<password> parfile=c:\exp.txt
# just moving the .smp file to another dir.
move %DD%-%MM%-%ZZ%.dmp c:\product\
~
Gidhin KJ
. -
HT204370 why does my video and sounds not play at the same time when watching movies
why does my video and sounds not play at the same time when watching movies
Welcome to the unity.
Upon which device are you watching your movies and are you using a home theatre system for your audio. -
How to force Portal not to display item content for a custom item
Hi,
I've read in several places questions about rendering an Item in a custom way, without letting portal
display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
display the content item.
As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
region, Portal does display it anyway, just after every other Attribute.
- Re: using an item type procedure
- Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
- Metalink Doc ID: Note:290534.1 Subject: Unable to Hide the "Item Content" Attribute for a Text Item
Mine scenario was the usual one:
-oracle portal 9.4.0.1
-a custom item based on custom text (so as to have the RTE to edit HTML).
-A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
-A plsql call associated to the custom item, with the flag "display inline" checked
-The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
-The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
In the stored procedure that displays the item, that I encolose, i just do:
1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
Here I try a little explanation:
An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
AND the item content is displayed.
WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
tells that inplace can be 0 or 1. But this works.
I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
if it is set to 1, it behave the usual way.
The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
I'd like to receive a feedback from Oracle regarding this behaviour.
Bye
Walter
--- This is the procedure ---
CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
styleclass in varchar2) IS
html CLOB;
idx1 number;
idx2 number := 0;
item portal.wwsbr_all_items%rowtype;
BEGIN
--retrieve item content
select * into item from portal.wwsbr_all_items where id=itemid;
html := item.text;
--check if text body contains "dirty" tags as put by Oracle RTE editor
--and strips text from <BODY> to </BODY>
idx1 := instr(html,'<BODY>');
if(idx1 > 0) then
--strip text of broken tags
idx2 := instr(html,'</BODY>');
html := substr(html,idx1+6,idx2-idx1-6);
end if;
--check if this is first time we enter this procedure
--or if text has changed
if(item.description is null or idx2 != 0) then
--update filename so next time we won't enter the IF branch
--update DIPLSAY OPTION to FUllSCREEN
--update text, if this was changed
idx1 := portal.wwsbr_api.modify_item(
p_master_item_id => item.masterid,
p_item_id => itemid,
p_caid => item.caid,
p_folder_id => item.folder_id,
p_display_name => item.display_name,
p_region_id => item.folder_region_id,
p_display_option => portal.WWSBR_API.FULL_SCREEN,
p_category_id => item.category_id,
p_category_caid => item.category_caid,
p_author => item.author,
--p_description => item.description ,
p_keywords => item.keywords ,
p_text => html ,
p_folderlink_id => item.folder_link_id ,
p_folderlink_caid => item.folder_link_caid ,
p_publish_date => item.publish_date ,
p_expire_mode => item.expiremode,
--p_file_filename => 'Changed!',
p_description=> 'changed!',
p_addnewversion => FALSE,
p_access_level => portal.wwsbr_api.FOLDER_ACCESS
-- process cache invalidation messages
portal.wwpro_api_invalidation.execute_cache_invalidation;
end if;
htp.prn('<div ');
if(styleclass is not null) then
htp.prn(' class="' || styleclass || '" ');
end if;
if(styleid is not null) then
htp.prn(' id="' || styleid || '" ');
end if;
htp.prn('>');
htp.p(html);
htp.p('</div>');
END show_item_mod;
/Hi,
I've read in several places questions about rendering an Item in a custom way, without letting portal
display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
display the content item.
As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
region, Portal does display it anyway, just after every other Attribute.
- Re: using an item type procedure
- Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
- Metalink Doc ID: Note:290534.1 Subject: Unable to Hide the "Item Content" Attribute for a Text Item
Mine scenario was the usual one:
-oracle portal 9.4.0.1
-a custom item based on custom text (so as to have the RTE to edit HTML).
-A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
-A plsql call associated to the custom item, with the flag "display inline" checked
-The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
-The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
In the stored procedure that displays the item, that I encolose, i just do:
1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
Here I try a little explanation:
An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
AND the item content is displayed.
WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
tells that inplace can be 0 or 1. But this works.
I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
if it is set to 1, it behave the usual way.
The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
I'd like to receive a feedback from Oracle regarding this behaviour.
Bye
Walter
--- This is the procedure ---
CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
styleclass in varchar2) IS
html CLOB;
idx1 number;
idx2 number := 0;
item portal.wwsbr_all_items%rowtype;
BEGIN
--retrieve item content
select * into item from portal.wwsbr_all_items where id=itemid;
html := item.text;
--check if text body contains "dirty" tags as put by Oracle RTE editor
--and strips text from <BODY> to </BODY>
idx1 := instr(html,'<BODY>');
if(idx1 > 0) then
--strip text of broken tags
idx2 := instr(html,'</BODY>');
html := substr(html,idx1+6,idx2-idx1-6);
end if;
--check if this is first time we enter this procedure
--or if text has changed
if(item.description is null or idx2 != 0) then
--update filename so next time we won't enter the IF branch
--update DIPLSAY OPTION to FUllSCREEN
--update text, if this was changed
idx1 := portal.wwsbr_api.modify_item(
p_master_item_id => item.masterid,
p_item_id => itemid,
p_caid => item.caid,
p_folder_id => item.folder_id,
p_display_name => item.display_name,
p_region_id => item.folder_region_id,
p_display_option => portal.WWSBR_API.FULL_SCREEN,
p_category_id => item.category_id,
p_category_caid => item.category_caid,
p_author => item.author,
--p_description => item.description ,
p_keywords => item.keywords ,
p_text => html ,
p_folderlink_id => item.folder_link_id ,
p_folderlink_caid => item.folder_link_caid ,
p_publish_date => item.publish_date ,
p_expire_mode => item.expiremode,
--p_file_filename => 'Changed!',
p_description=> 'changed!',
p_addnewversion => FALSE,
p_access_level => portal.wwsbr_api.FOLDER_ACCESS
-- process cache invalidation messages
portal.wwpro_api_invalidation.execute_cache_invalidation;
end if;
htp.prn('<div ');
if(styleclass is not null) then
htp.prn(' class="' || styleclass || '" ');
end if;
if(styleid is not null) then
htp.prn(' id="' || styleid || '" ');
end if;
htp.prn('>');
htp.p(html);
htp.p('</div>');
END show_item_mod;
/ -
How to export all distribution group display names and group notes
We would like to create a list of distribution groups that includes the "Notes" information and email address. I have found several option, but none of them reveal the Notes. Where is the "Notes" information for groups
and how can we report on it?You can run this command to get the name of all the DL's
Get-DistributionGroup | FL Name
I checked, and Group Information attribute doesn't have all the information.
Run Get-DistributionGroup -Identity "NameOfTheDL" |Fl
In the output of above command, check if you see anything Group Information and Notes.
Cheers,
Gulab Prasad
Technology Consultant
Blog:
http://www.exchangeranger.com Twitter:
LinkedIn:
Check out CodeTwo’s tools for Exchange admins
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
Maybe you are looking for
-
hi, how write this query in sap select timestamp,sum(compsubqty) from componentinfo where lotid ='U7084056.1' and Compsubqty>0 having sum(compsubqty)=25304 group by timestamp order by timestamp desc help me regards sivakumar
-
What brand of SSD should i buy for my macbook pro 13 early 2011
im interesting in upgrade my early 2011 macbook pro 13inch ... what brand of memory ram and ssd should i buy? having in consideration speed, and quality, issues free. thnak you sorry for my bad english ..
-
Hi Team, Do you know if it´s possible to pay payment order through transaction F-28? This transaction have 3 options o Document Number o Reference o Payment order I did a payment order by TRM module, the customer needs to use F-28 instead F111 , I
-
IPhoto '11 Library Loading Error
All, iPhoto '11, version 9.2.3--I think, I can not tell for sure from the error below--running on 10.6.8 OS, continually provides an error when trying to launch it. The error seems to be referencing Library for "iLifePageLayout" that it can not find
-
hi guys im getting really aggrevated...i dont like to post as i like to see the helpful info out there already, but blimey, i just cant get quicktime installed. i just bought my new ipod but had to upgrade to newer versions of itunes and quickplayer