Error in Javascript:Not fetching value on Button click
Hi,
I am using APEX 4.1 to build the application.
I have 2 select list items in the page where one region consist of certain values.On calling a javascript function it is able to move the value from one select region to another. After this I click on the modify button where in the value move out of the first select list region to the second will be updated in the table.
Although I could see the values are not being updates.
On putting alerts after the value being fetched in the javascript function and clicking the Modify button I can see that no data is being reflected in the alert. Hence the data is not being passed from the second select list APEX item to the javascript function.
Please do let me know if you neeed any further information.
Thanks.
Hi,
I would be interested to see the way you pass the value of the select list item to the JS function and also, the way you invoke your javascript. BTW, is there a specific reason for calling the javascript function from the button? Can't you just have a simple after-submit process to update the database?
Thanks,
Rohit
Similar Messages
-
Error 1406.Could not write value Adobe ARM
Hi all,
I have tried to install the new version of Adobe Reader XI, but I keep getting the following error messages.
I have tried to follow suggestion by others on the web as to how to sort this problem out.
I have uninstalled adobe reader and restarted the computer.
tried to download again but still get the error message.
The full error message I got was,
Error 1406.Could not write value Adobe ARM to key \SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Verify that you have sufficient access to that key, or contact your support personnel.
I went to the registry HKEY_Local_Machine and then to the above location.
in the right hand side of the registry editor is listed ADOBE ARM "C:\Program Files\Common Files\Adobe\ARM\1.0\AdobeARM.exe"
I have tried to delete this entry but my system wont let me.
I am running Windows 7 ultimate 32 bit
I have 4 Gb RAM
I have an Intel core2 Quad Q6600 @2.40Ghz
I run Zone Alarm Extreme Security with virus protection.
I hope someone can help as I want to install Adobe Reader.Truthfully, I don¹t know the difference.
Okay here is what happened:
I purchased a new Mac because my old one was on the fritz. They put all of
my old programs on my new computer including my old Adobe Acrobat 7.0
Standard. Since I purchased a newer computer, I gave the old one to my
assistant. But the Apple people replaced the hard drive on the old one, so
none of the old programs were in the system. I purchased Adobe Acrobat XI
Standard for the new computer and figured I could just reload the old
acrobat on the old computer. But I had to buy new windows and parallels
programs in order to get the parallels program to work on the old computer.
Here¹s what it looks like:
New Computer:
Old Windows
New Acrobat
Old Parallels
Old computer
New Windows
New Parallels
Old Acrobat
How much more messy could this get?
Maybe I should put all of the old stuff on the old computer and all of the
new stuff on the new computer?
Or, maybe I should just update everything? Prior to this everything worked
fine. . .
But, what do you think?
Dionne L. Wade, Esq.
Law Office of Dionne Wade
1301 Main Avenue, 2nd Floor
Clifton, New Jersey 07011
Office 973.340.4662
Fax: 973.340.4775
INTERNET CONFIDENTIALITY NOTICE:
This transmission is intended only for the use of its indicated recipients
and may contain information that is privileged, confidential and exempt from
disclosure under applicable law. If the reader of this transmission is not
an intended recipient, you are hereby notified that any dissemination,
distribution or copying of the transmission is strictly prohibited. If you
have received this transmission in error, please immediately notify us by
telephone (collect call if long distance) and/or by e-mail, delete the
transmission from your system and destroy any printed copies which you may
have made of the transmission. -
Function Module does not fetch value
Hi All,
I am using the fm RV_PRICE_PRINT_HEAD to fetch condition records. When I run this fm in SE37 for a particular document(vbeln) number, the values are fetched correctly into the internal tables TKOMV and TKOMVD.
The same fm does not fetch values when I run for second time for the same document(vbeln). This means :
1) I will go to SE37, type RV_PRICE_PRINT_HEAD, supply the export parameters in COMM_HEAD_I, execute it and obtain the condition records (Till this time absolutely fine)
2) Now, press Back (F3), Let the export parameters in "COMM_HEAD_I" will remain same. Just press Execute (F8). Then condition values are not fetched.
Could any body help in this regard...
Thanks
Thimmappa HegdeHi
I have given you the other alternative bcoz there is a limitation while calling this FM: RV_PRICE_PRINT_HEAD.
If you see the comments and code of Include: LV61AA11, you can understand the problem.
<b>* mechanism to controll which conditions are already part of table TKOMV
Every time a pricing result is read from database the key is put into
TABGL. Also TABGL is updated if we've lines in TKOMV assigned to a
special key but entry in TABGL (case 2).
Originally TABGL was established to handle following pathological
case: condition successfully read from DB -> entry in TABGL. Then all
read conditions where deleted during processing (e.g. manually
deletion etc.). If we run into this routine again no records should
be redetermined from DB...</b>
read table tabgl with table key knumv = komk-knumv
transporting no fields.
Case 1:
conditions have been already read because there is a fitting entry in
TABGL. Exit immediately if caller doesn't want to force DB access.
if sy-subrc eq 0. ---><b> First time SY-SUBRC NE 0 so no problem</b>
if generell_lesen ne 'X'. <b>--> Later runs SY-SUBRC eq 0 and generell_lesen value is SPACE</b>.
exit.
endif.
else.
Hope this clarifies your doubt now.
Kind Regards
Eswar -
Error 1406.Could not write value to key
When I at almost done installing iTunes, I get this error message, everytime whether I do it from the CD that came with my iPod or if I download it from apple.com and try to install it. For the sufficient access part (In full error message below), I have the only account on this computer so I do have admin permissions.
Full error message...
Error 1406.Could not write value to key \Software\Classes\.cdda\OpenWithList\iTunes.exe. Verifu that you have sufficient access to that key, or contact your support personnel.Oh yeah, if I press ignore, it installs a little further then I get another error message:
Error 1402.Could not open key: HKEYLOCALMACHINE\Software\Classes\,cdda\OpenWithProdigids. Verify that you have sufficient access to that key or contact you support personel.
And then... I get another error message, but before I get the error message, the installer says "Rolling back action:" for a bit and makes some progress.
Error: -1603 Fatal error during installation.
Consult Windows Installer Help (Msi.chm) or MSDN for more information. -
Error 1406 : could not write value to key \software sql server installation
I've problems installins SQL Server with management studio
I tried different steps starting from
Changing permissions of the local user while running both registry editor and installer with adminstrator
i've checked most similar posts here in the forums and followed their steps but no progress ,
this is the error message
i couldn't resolve it till now , i'm in this problem for 4 days till now tried different suggestions but no progress , i'm in a hurry , so please help me
Regards,
OmarOverall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068052610
Start time: 2014-08-05 23:21:36
End time: 2014-08-05 23:29:12
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for Adv_SSMS: Use the following information to resolve the error, and then try the setup process again.
Next step for SSMS: Use the following information to resolve the error, and then try the setup process again.
Machine Properties:
Machine name: OMAR
Machine processor count: 8
OS version: Windows 8
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered Configured
SQL Server 2014 Client Tools Connectivity
1033 12.0.2000.8 No Yes
SQL Server 2014 Client Tools Backwards Compatibility
1033 12.0.2000.8 No Yes
SQL Server 2014 Client Tools SDK
1033 12.0.2000.8 No
Yes
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: E:\Sources\SQL Server with management studio\SQLManagementStudio_x64_ENU\x64\setup\
Installation edition: Express
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: <empty>
AGTSVCPASSWORD: <empty>
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: false
ENU: true
ERRORREPORTING: false
FEATURES: SSMS, ADV_SSMS
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: <empty>
INSTANCENAME: <empty>
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: <empty>
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: <empty>
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140805_232135\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Management Services
Component error code: 1406
Component log file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140805_232135\sql_ssms_Cpu64_1.log
Error description: Could not write value to key \SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=sql_ssms.msi%40WriteRegistryValues%401406
Feature: Management Tools - Basic
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Management Services
Component error code: 1406
Component log file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140805_232135\sql_ssms_Cpu64_1.log
Error description: Could not write value to key \SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=sql_ssms.msi%40WriteRegistryValues%401406
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140805_232135\SystemConfigurationCheck_Report.htm -
What do I do when I get an error message: Could not write value ManageLLRouting to key\SYSTEM\CurrentControlSet\Services\BonjourService\Parameters. Verify that you have sufficient access to that key, or contact your support personnel?
See Troubleshooting issues with iTunes for Windows updates for general advice.
For "Could not open key/write value" errors when reinstalling try b noir's user tip:
"Could not open key: UNKNOWN\Components\[LongStringOfLettersAndNumbers]\
[LongStringOfLettersAndNumbers]" error messages when installing iTunes for Windows but apply it to the branch in question.
In this thread the OP found their AV solution appeared to be blocking access to the registry.
tt2 -
Error 1603 - Could not write value to key \Skype.C...
Hi,
I'm running Windows 7 and have admin privileges on the computer. I just attempted to download and install the latest version of Skype. The Install failed with the error message: "Could not write value to key \Skype.Content\shell\open\command"..." I checked the community and saw the post about Error 1603 and running Microsoft FixIt. I downloaded and ran that. It did not list Skype in the list and did not find any problems. So... I cannot install Skype, and this error continues to occur.
How can I fix this problem and install Skype?
Thanks,
SoccerDudeTry this Lessmsi method:
http://community.skype.com/t5/Windows-desktop-client/Impossible-to-install-v6-13-0-104-Error-1603...
Be aware that if you want to install the currently latest 6.22.81.105 version, then you should use SkypeSetup_6.22.81.105.msi file in order to extract Skype.exe and Login.cab files.
SkypeSetup_6.22.81.105.msi file can be downloaded using this link:
http://download.skype.com/msi/SkypeSetup_6.22.81.105.msi -
ERROR: Error 1406.Could not write value to key \SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Verify that you have sufficient access to that key, or contact your support personnel.
ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
MSI Error message: Error 1406.Could not write value to key \SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Verify that you have sufficient access to that key, or contact your support personnel.Error 1402 | Error 1406 | Acrobat, Reader
Error 1603: A fatal error occurred during installation -
Error 1406.Could not write value NoExplorer to key
How do i fix this error? Anti virus real time scanning and firewall protection are already off but does not help.
Error 1406.Could not write value NoExplorer to key \SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{18DF081C-E8AD-4283-A596-FA578C2EBDC3}. Verify that you have sufficient access to that key, or contact your support personnel.Error 1406.Could not write value NoExplorer to keySee the following help document:
Acrobat Help/ Error 1402 | Error 1406 | Acrobat, Reader
http://helpx.adobe.com/acrobat/kb/error-1402-error-1406-acrobat.html -
Hi all,
I have a number of fileds on my page that are entered with user-input. Then, I have one hidden-protected field that is composed of 2 concatenated values from another field, so that I can use this field in the automatic row update process.
However, this composed field does not always (sometimes it does..) fetch the data from the user-input fields, so then month and year are left blank in the composed field and I get an ill formed date (01-- instead of 01-10-2008). A part of the debug shows that the user input fields are filled with data, but the composed field does not fetch the data (see bold parts):
Debug
0.01: A C C E P T: Request="CREATE"
0.01: Metadata: Fetch application definition and shortcuts
0.01: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=nl
0.01: alter session set nls_language="DUTCH"
0.01: alter session set nls_territory="THE NETHERLANDS"
0.01: NLS: CSV charset=WE8MSWIN1252
0.01: ...NLS: Set Decimal separator=","
0.01: ...NLS: Set NLS Group separator="."
0.01: ...NLS: Set date format="DD-MM-RR"
0.01: ...Setting session time_zone to -05:00
0.01: Fetch session state from database
0.02: ...Check session 4402719362367456 owner
0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
0.02: Session: Fetch session header information
0.02: ...Metadata: Fetch page attributes for application 21436, page 5
0.02: ...Validate item page affinity.
0.02: ...Validate hidden_protected items.
0.02: ...Check authorization security schemes
0.02: Session State: Save form items and p_arg_values
0.02: ...Session State: Save "P5_ID" - saving same value: ""
0.02: ...Session State: Save "P5_VS_ID" - saving same value: "10"
0.02: ...Session State: Save "P5_VERBRUIK" - saving same value: "370"
*0.02: ...Session State: Save "P5_MAAND" - saving same value: "10"*
*0.02: ...Session State: Save "P5_JAAR" - saving same value: "2008"*
0.02: ...Session State: Save "P5_USER_ID" - saving same value: "241"
_0.02: ...Session State: Save "P5_MAAND_OPNAME" - saving same value: "01--"_+
0.02: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.02: Branch point: BEFORE_COMPUTATION
0.02: Computation point: AFTER_SUBMIT
0.02: Tabs: Perform Branching for Tab Requests
0.02: Branch point: BEFORE_VALIDATION
0.02: Perform validations:
0.02: ...Item Not Null Validation: P5_VS_ID
0.03: ...Item Not Null Validation: P5_VERBRUIK
0.03: ...Item Not Null Validation: P5_MAAND
0.03: ...Item Not Null Validation: P5_JAAR
0.03: Branch point: BEFORE_PROCESSING
0.03: Processing point: AFTER_SUBMIT
0.03: ...Process "Process Row of MAANDVERBRUIK": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:MAANDVERBRUIK:P5_ID:ID|IUD
0.03: Show ERROR page...
0.03: Performing rollback...
/Debug
To compose the P5_MAAND_OPNAME field I do the following:
Source type: Database column
Source value or expression: MAAND_OPNAME (name of the db column)
Default value: '01-'||:P5_MAAND||'-'||:P5_JAAR
Defaukt value type: PL/SQL expression
Is this not the right approach? It should work and it does occasionaly, but more often it doesn't...Hi Voxie,
Your approach doesn't work, because you use the Default Property of your item which is evaluated on rendering the page. What you need is a computation which runs right before the insert-process.
Peter -
Not sure why this is an issue. Have run PC clean up, made sure to run everything by book. Download goes through to very last and then says Javascripts not enabled/working. I have already double checked settings. Javascripts IS selected to run, so where do you think my issue is?
Solved the problem.
-
Result handler not getting invoked on button click - URGENT
Hi Folks,
We are working on a form submit application where we populate the form and finally click on button to submit the completed form. We are using BlazeDs On button click I call java service and expect a response object back to flex UI. We are getting the java call invoked successfully and the log clearly shows that the appropriate objects are returned from java service, however, the result handler is not getting inviked to capture the result in flex mxml. I am in urgent need of your help on this
Code snippet:
<mx:Script>
<![CDATA[
protected
function Service_resultHandler(event:ResultEvent):void
Alert.show(
"event.result.troubleTicketId ::"+event.result.status);
var u:URLRequest = new URLRequest("http://www.adobe.com/flex");navigateToURL(u,
"_blank");
private function faultHandler_exitService(event:FaultEvent):void {Alert.show(event.fault.faultString +
'\n' + event.fault.faultDetail);
var u:URLRequest = new URLRequest("http://www.google.com");navigateToURL(u,
"_blank");
protected
function submit_clickHandler():void
//Alert.show("1");
createTicketForm.setCallDetails_callRegion(FlexUI_callDetails_callRegion);
//Alert.show("2"+FlexUI_callDetails_callRegion);
createTicketForm.setCallDetails_callRegion2(FlexUI_callDetails_callRegion2);
exitService.createTroubleTicket(createTicketForm);
]]>
</mx:Script>
<mx:RemoteObject id="exitService" destination="ExitService" fault="faultHandler_exitService(event)">
<mx:method name="createTroubleTicket" result="Service_resultHandler(event)"/>
</mx:RemoteObject>
<mx:Button
label="submit Ticket" width="65" height="22" textAlign="right" x="904" y="-10" click="submit_clickHandler()" />
My Java service:
public
class ExitService {
public CreateTmsTicketResponse createTroubleTicket(CreateTicketForm createTicketForm){
return
createTmsTicketResponse;}
remoting-config.xml:
<destination id="ExitService">
<properties>
<source>com.qwest.qportal.flex.createTicket.ExitService</source>
</properties>
</destination>Please refer to below link, hope it helps:
http://forums.asp.net/t/1927214.aspx?The+IListSource+does+not+contain+any+data+sources+
Please ensure that you mark a question as Answered once you receive a satisfactory response. -
Javascript not working unless user double clicks
I'm working on a redesign of a site. On the FAQ page, there is a javascript. You are supposed to click on the Q to reaveal the A. On the dev site you have to doubleclick. This is wrong.
Here is the page in development:
http://mayakaimal.com/mayakaimal2/about-faq.html
It works on the old site:
http://mayakaimal.com/faq.html
Any insight greatly appreciated.
mookieThe issue is because on the dev site the hidden answers have all been given a class Afaq which has css of display:none which hides all the answers on page load. Whereas the other site there is no class on the answers div, but all the answers have inline styling to hide them.
The javascript works by changing the inline styling of the answer div... the first time it is clicked on the dev site it doesn't find any inline styling so sets some to display none, so that on the second click it begings working again!
so the simplest solution would be either to alter the javascript to change the css class, or to remove the class and add inline styling like on the live site.
Compare the two sites with a tool like firebug for firefox and you should see the difference in HTML markup and the javascript changing the inline styling.
Jeff Logan Web Solutions
http://twitter.com/JeffLogan_WS -
Custom Report Not fetching values for parameter of report (Valueset not pop
Hi,
I am running custom report on Oracle application R12. This report parameters used standard value set for fetching purchase order number. The value set is not populating any values for the custom report. but for the standard report where this valuse set populating proper result.
It's bit Supprising ...the same valuset populating values for standard reports but not for custom report developed by me.
Value set query using table valueset and getting values from po_headers (View)
ThanksHi All,
Luckily I have been able to rectify the problem !
I tried retrieving the output using LISTCUBE to show the SID of the InfoObject also for which I was unable to get the data. After the report successfully gave the output for those I/O, I checked again I could see the data in the I/O maintain master data !
It worked like magic to me !
But I could guess that since it is a virtual I/O therefore it is not able to retrieve the data from the table directly and is able to do that only after the SID of this I/O is retrieved.
(If a characteristic does not have any master data, the values from the SID table are displayed for the "Values in Master Data Table" mode.)
Closing the thread !
Regards
Shalabh -
Problem setting a hidden item value when button clicked with dynamic action or pl/sql process
Apex 4.1
Oracle 11g
I have a page that consists of a main region and several sub regions. I have a pl/sql process in After Header SET_DISPLAY(:P400_DISPLAY :='MAIN';)
Three subregions have a contional display where P400_DISPLAY = STORE. This works in hiding the sub regions.
Now I want to change the P400_DISPLAY value to STORE to show the subregions when I hit a button.
I tried creating a dynamic action for on click of the add button but get the following error:
The selected button uses a 'Button Template' that does not contain the #BUTTON_ID# substitution string
I went to the templates and found:
Substitution Strings
Substitution strings are used within sub templates to reference component values. This report details substitution string usage for this template.
Substitution String
Referenced
From
Description
#LINK#
Yes
Template
To be used in an "href" attribute
#JAVASCRIPT#
No
To be used in an "onclick" attribute
#LABEL#
Yes
Template
Button Label
#BUTTON_ATTRIBUTES#
No
Button Attributes
#BUTTON_ID#
No
Generated button ID will be either the button's Static ID if defined, or if not will be an internally generated ID in the format 'B' || [Internal Button ID]
I then tried creating a page process, pl/sql, :P400_DISPLAY :='STORE'; when the appropriate button is pressed. The button action is submit page. However, it does not change the P400_DISPLAY value and the subregions stay hidden.
Suggestions please on how to fix the template or change the P400_DISPLAY value?The root issue is that, although you change the value of your page item, it isn't visible to other areas of the page until it is in the session. So, any other action based on the value of your page item; the visibility of a control, a report based on the item's value, etc. will all be unaffected by changing the value of the page item until it has been changed in the session. Even after this the items are stored in the session, you must thereafter do something to cause the value to be reevaluated. To see the effect of this, observe that your page loads and evaluates the value of your page item, it sees that is "MAIN" and hides the regions. However, it doesn't reevaluate them after this.
So; your choices to get this value set in the session are to either Submit the page, or use JavaScript to set the value in the session. If you use the latter of these, you'll have to do some further work to cause the visibility tests to be re-run, So, let's stick with with the submit method.
What you've done above sounds correct for this but, there are a lot of decisions you could have made that might have caused things not to happen in the correct sequence.
Firstly, let's confirm that what I describe above is your problem. From the development environment, load the page, click the button to change the value and submit. Now, click the link labelled Session. Is it still set to MAIN? If so; this is your issue.
Let's start with the your After Header computation. Did you set it to *only* run if the current value of your page item is NULL??? If not, that's your problem.
Load Page -> Item set to 'Main' by Computation -> Click Button -> Item set to STORE -> Submit -> Load Page -> Item set to 'Main' by Computation
See the problem?
Assuming this isn't the issue, you created a Branch to the same page, right? What is your process point for the Branch? Is it *After* Validation, Computation etc? Because if not, you aren't changing the value before the submit happens.
I bet it is the first issue but, take a look at these.
Cheers,
-Joe
Maybe you are looking for
-
My 27" late 2013 iMac crashes over and over again
My wife and I bought identical iMacs (3.5 GHz Intel Core i7, 32 GB 1600MHz DDR3, NVIDIA GeForce GTX 775M 2048 MB) in December. Both are up to date on OS X Mavericks. It crashes while I am using it, it crashes on its own if I leave it on overnight. S
-
Photo image size for letterpress card
I'm trying to create a simple card in iPhoto 11 and am having some difficulties. The various card themes have several layout options. Each option requires a certain size image (or sizes - some layouts are for more than one image). How am I supposed t
-
Windows 7 drive not showing up in start-up screen
So as you can see the picture on top, it's a picture of my bootcamp and I have installed windows 7 but the problem in here is that my drive of windows 7 in the start-up screen (when you press alt/option when the computer turns on) would not show and
-
Please help. New update now just freezes. Can't get any of my music or the store. I decided to just delete it from my machine and download it again. Had the 32bit but it is now saying I havew to download the 64bit. Did that and an error message
-
Viewing download clips, for some receive sound but no video
About six months ago, I began having the experience that when I download a video clip from a website I visit (cookies enabled), on some sites the clip's sound plays without video appearing on the dark screen. I am using Safari 4.0.4 on my iMac. Any h