How to get the parameter in Custom_panel 2, which went from custom_panel 1?
Hello
I have 2 custom panels, Custom_panel 1 & 2 Custom_panel.
I call 'CSInterface.prototype.requestOpenExtension = function (Custom_panel 2, params)' now works, I want to get "params" on the load event of Custom_panel 2. How can I get it?
Concerning
Chirag.
Hello
In my previous answer, it's just two examples on how to post/get messages. This does not mean that you need simply copy the code and it can work. You need to change the id of the message to your own ID message. If your message id is "Votre_message", you must post "Votre_message" in Panel1 while not 'com.adobe.host.notification.TransferRequest'and you must listen to "Votre_message" in Panel2 while not 'com.adobe.host.notification.SelectedAssetInfo'.
Lei
Tags: Adobe Prelude
Similar Questions
-
I use lv 8.5 and teststand 4.0.
I did a step type custom and recorded at the MyTypes.ini in pallets of type.
I specified a default module by opening the properties of the custom step of *.ini type window, then I put some values of the parameters.
T1) when I open teststand and I add the custom step type manaully in seq file, the labview module parameter values are represented.
But, if to use file (create and add support prototype stage), the labview module parameter values has the default value.
Using joint file, how to get the setting custom step type values I put in *.ini?
Q2) each type of step are automatically by name through the use of LoadTypePaletteFilesEx. When I open teststand and I add the custom step type manaully in seq file, the module is loaded automatically. Inside the attachment, I use a prototype of charge and a fixed path where the module labview is to load the labview module.
Can I load module automatically without using a prototype of charge or how can I get a dynamic path of type step?
I solved Q1 for myself by using the mapping tab of the parameter within the configuration to the default module window.
Everyone knows Q2?
Thank you.
-
Hi all
Greetings!
I have a requirement in which I need to get the parameter which is recorded in jsp SSWA function.
for example
I have a page
OA.jsp?page=/oracle/apps/conc/webui/ConcPG & Type = XX_DAIL
Now, I want to use the parameter "LookupType" in my Page CO. processRequest
I'm trying to get the value of this parameter in processRequest of my CO as
String l_type1 = pageContext.getParameter ("Type");
but the string returns NULL when I try to run the jDev page. I'm ideally looking for value "XX_DAIL" in the l_type1 string.
I have only a single page.
Please notify.
Thank youI think that since you run it from JDev, you must include the parameter in the configuration of your project (right click on *.jpr--> project settings--> Oracle Applications--> DURATION connection--> the URL parameters in option
From there, you can specify as: & Type = XX_DAIL
The co code you must return a value now. Hope it will be useful.
Kind regards
LC -
How to get the parameter ITResource to itResourceName using java?
Hi all
I need to get itResourceParameters as the server address, port, login, administrator etc. from itResourceName in java.
I had checked the api and found the interface
tcITResourceInstanceOperationsIntf Intf = (tcITResourceInstanceOperationsIntf) tcUtilityFactory.getUtility ("Thor.API.Operations.tcITResourceInstanceOperationsIntf");
But I have problems to use it. It always throws errors. I'm not good at java coding to help you please.
Is thank youpublic Hashtable getITResourceParameters (String, tcDataProvider ioDatabase resource) throws Exception {}
Config ConfigurationClient.ComplexSetting = ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
final Hashtable env = config.getAllSettings ();
tcSignatureMessage moSignature = tcCryptoUtil.sign ("xelsysadm", "PrivateKey");
tcUtilityFactory tcUtilityFactory = new tcUtilityFactory (env, moSignature);
Hashtable resourceHash = com.thortech.xl.util.adapters.tcUtilXellerateOperations.getITAssetProperties (ioDatabase, resources);
log. Debug ("resourceHash size:"+ resourceHash.size () ');
Return resourceHash;
}After that, you can use Hashtable operations to retrieve the hash values.
-
Reinstalling Windows, how to get the disk recovery or a license Windows from Dell?
I'm fixing an Alienware M17x R4 for my client.
I talked with support before X mas 3 times. They said that they send the restore CD TOMORROW. I have the actual recorded call. Then they called 2 DAYS later and said that they could not confirm address, which is apparently derived from the record of initial purchase (?). Then they say that they send CD TOMORROW again. I'm about to give up Dell and buy a freaking OEM license. In fact, who suggested what Dell support! But then I have to load the Windows license to the client and tell them that Dell is hopeless.
I would use a product key sticker to install since the OEM disc, but Dell has no more than 10 Windows.
My QUESTION is; All the difficulty in getting the Dell Windows CD, I mean, it's really worth?
Technically Dell sold a windows license but have not given one for the client, so it's a fraud.
The key to the COA is incorporated in starting UEFI by Windows 8 moving forward, as such, as long that you install the correct version of Windows came with the computer, you should not put in any key.
-
How to get the sticky notes gadget that has disappeared from my desktop (Windows 7)
There was information about sticky notes that disappeared. How can I get it back?
Hey! Click Start, and then click Notepad. I don't know if you can find the info you had on this subject. I just tested it, and I typed in her salvation... then clicked on the desktop, then click the X button in the note and I opened it again to the top and he wasn't there... You can pin the sticky notes to the taskbar, typing sticky notes in the start menu by dragging and dropping on the taskbar. Hope this helps
-
XML: How to get the value of the node when the node of pasing as a parameter name
Hello
I've got some xml:
var xmlData:XML = <1stNode> <buttonID>first child node value</buttonID> <imageID>second child node value</imageID> <labelID>third child node value</labelID> </1stNode>
So, I want to read the value of specific node based on a value passed to a function. .
var buttonID = new Button; var imageID = new Image; var labelID = new Label; getNodeValue(buttonID); //the value here is set dynamically private function getNodeValue (nodeName:String):void { trace (xmlData.nodeName) //doesn't work var str:String = "xmlData." + nodeName; var xml:XMLList = str as XMLList //doesn't work }
I don't know how to get the value when the name of the node is changed dynamically.
use:
getNodeValue(buttonID); //the value here is set dynamically private function getNodeValue (nodeName:String):void { trace (xmlData[nodeName]) }
-
How to get the IP address of the client when TCP connect on the server
How to get the IP address of the client when TCP connect on the server.
The only parameter obtained the login is the login ID.
I assume you are using "Wait of TCP on the listening port" on the server. This returns the remote address and port (like out in option).
-
using PostDelayedCall how to get the value passed through void * callbackData?
Can someone tell me how to get the data passed through void * callbackData?
The following code, panel_ptr has the right address but still contains zero.
void CVICALLBACK value_changed (void * callbackData)
{
int * panel_ptr;
panel_ptr = callbackData;
calculate_new_value (* panel_ptr);
}int sign;
Panel = 2;
PostDelayedCall (value_changed & Panel, 0.2);
The problem is using the callbackData parameter if it is a pointer, it must be a pointer to something which is still topical at the moment that the callback executes. That is to say, you cannot pass the pointer to a local variable in callbackData as when the callback executes the pointer is no longer valid. You can switch from its value, instead, in this way:
... SomeFunction)
{
int sign;
...
Panel = 2;
PostDelayedCall (value_changed, (void *) Panel, 0.2);
...
}
void CVICALLBACK value_changed (void * callbackData)
{
int panel_ptr;
panel_ptr = (int) callbackData;calculate_new_value (panel_ptr);
return;
}There are many discussions on the forums on callbackData parameter that you might want to read.
-
How to get the bar display of title in pixels text length?
Hello
Does anyone know how to get the length of the title bar text (in pixels) display? Just to clarify, that's what I'm looking for:
I don't see a CVI function for this. The attribute ATTR_TITLE_FONT for GetPanelAttribute (...) is only valid for the panels of the child which prevents me from using the GetTextDisplaySize (...) to get the size. Dive into the Windows SDK I can not even find an answer here. Any ideas? Thank you.
Figured out how to do this. Go to the SDK to get the font properties - is kind of nonobviousness. But once you have the font properties, you can create a font of meta in CVI, with properties, and once you have the meta font you can use GetTextDisplaySize (...) to get the size. For any future reference:
//define a NONCLIENTMETRICS structureNONCLIENTMETRICS ncmtest;//We have to set the cbSize parameter to the size of the passed structure before retrieving it ncmtest.cbSize = sizeof(NONCLIENTMETRICS); //Get NONCLIENTMETRICS structure result = SystemParametersInfo(SPI_GETNONCLIENTMETRICS, 0, &ncmtest, 0); //copy the title font name to a c-string while(ncmtest.lfCaptionFont.lfFaceName[i] != 0) { thefont[i] = (char)ncmtest.lfCaptionFont.lfFaceName[i]; ++i; } //null terminate thefont[i] = '\0'; //create meta font with title font properties. lfWeight & 0x700 indicates bold. CreateMetaFontWithCharacterSet() doesn't recognize DEFAULT_CHARSET so we replace it with VAL_NATIVE_CHARSET(?). uir_status = CreateMetaFontWithCharacterSet ("TheTitleFont", thefont, abs(ncmtest.lfCaptionFont.lfHeight), ncmtest.lfCaptionFont.lfWeight & 0x700 ? 1 : 0, ncmtest.lfCaptionFont.lfItalic, ncmtest.lfCaptionFont.lfUnderline, ncmtest.lfCaptionFont.lfStrikeOut, 0, ncmtest.lfCaptionFont.lfCharSet == DEFAULT_CHARSET ? VAL_NATIVE_CHARSET : ncmtest.lfCaptionFont.lfCharSet); //get titlebar text uir_status = GetPanelAttribute (panelhandle, ATTR_TITLE, thetext); //get title bar length uir_status = GetTextDisplaySize (thetext, "TheTitleFont", &height, &width);
I have a 79 for the duration of the screenshot above.
-
How to call the parameter of the 101 on page 1 page
Greetings,
I wanted to call the parameter on the page "P101_USERNAME" to connect to page 1.
Cust_user is a table where I m authticating my username and password, Authtication is doing well, but I want the client code in the table cust_user of the specific client to display after the connection on page 1. that i wrote query on page 1 "cust_id SELECT FROM cust_user WHERE UPPER (USER name) = UPPER(:P101_USERNAME), but it shows nothing, if I'm harcore specific username instead of: p101_username it works very well for example"cust_id SELECT FROM cust_user WHERE (USERNAME) = UPPER ('test'), '
Please drivers me how to get the value of the text field (p101_username-login page) to page 1, it is the first page after login.Like I said earlier, use APP_USER.
Go Page 1 now.See you soon,.
-
How to get the content of the shape layer settings in the CEAP?
Hi all
I don't know when I want to export the settings from the contents of the shape layer.
Now I add Polystar Path1, zig - zag 1 and Repeater1, three material layer shaper.
Content does not seem to be equal to effect. I used AEGP_GetNewEffectStreamByIndex can get the parameter of the effect of the shape layer. But none of the content information.
Does anyone know how to get this content settings?
Thank you.
ha ha, silly me.
I missed your intention completely.
It's actually very simple.
It was recently discussed here:
http://forums.Adobe.com/thread/741968?TSTART=0
I hope I got it this time.
:-)
-
How to get the parameters of the effect in the CEAP?
Hi all
I have a problem when I want to export the settings of the effect.
(I checked the sample project "ProjDumper").
Yellow: layer
Red: one of the effect (text)
Green: the parameters of the effect (I want to export these values).
Here is my code:
// 1. use a loop to find the "Text" effect // 2. get all the params from this effect A_long iL = 0; A_long jL = 0; A_long num_effectsL; A_long num_paramsL; A_char effect_nameC[30] = {'\0'}; AEGP_StreamRefH streamH = NULL; AEGP_EffectRefH effectH = NULL; PF_ParamType param_type; PF_ParamDefUnion param_union; // Get number of effects on this layer ERR(Suites.EffectSuite2()->AEGP_GetLayerNumEffects(pLayerHandle, &num_effectsL)); for (iL = 0; iL < num_effectsL; iL++) { ERR(Suites.EffectSuite2()->AEGP_GetLayerEffectByIndex(g_PluginID, pLayerHandle, iL, &effectH)); if (effectH) { AEGP_InstalledEffectKey key; ERR(Suites.EffectSuite2()->AEGP_GetInstalledKeyFromLayerEffect(effectH, &key)); ERR(Suites.EffectSuite2()->AEGP_GetEffectName(key, effect_nameC)); if (!strcmp(effect_nameC, "Text")) { // Get number of effect parameters from Text effect ERR(Suites.StreamSuite2()->AEGP_GetEffectNumParamStreams(effectH, &num_paramsL)); for (jL = 1; jL < num_paramsL; ++jL) // start at 1 to skip initial layer param { ERR(Suites.EffectSuite3()->AEGP_GetEffectParamUnionByIndex(g_PluginID, effectH, jL, ¶m_type, ¶m_union)); switch (param_type) { case PF_Param_POPUP: break; case PF_Param_SLIDER: break; case PF_Param_COLOR: break; case PF_Param_CHECKBOX: break; default: break; } } ERR2(Suites.EffectSuite2()->AEGP_DisposeEffect(effectH)); break; } } }
In the SDK document, it indicates the value of PF_ParamDefUnion should not be used.
So, how can I get these params in the effect, I put (the green line on the photo)?
And, if there is any harm in my logic, please let me know.
Thank you.
> How do I know what setting is pop-menu, checkbox, or difficulty slider? (You can see the green line in the picture).
I now just how to get the stream parameter type (type of AEGP_StreamVal: AEGP_OneDVal, AEGP_ColorVal etc.). Pop-up menu, checkbox or fix cursor parameter streams have the same type of workflow: AEGP_OneDVal.
How to control parameter type you already posted in your code).
> Shouldn't use a loop to get all the params?
I also use this loop...
> Could you please tell more in detail how to use it?
I don't know what you want to do... I can't say more as written in the SDK.
-
How to get the return in this example
Hi all,
In this simple example, is there an exception caused by the business logic. However, I would like to get the return value of 'p_dt' which will be stored in a table of newspaper, but when the exception occurs that the value is eliminated. How can I solve this? Thank you for your help.
SQL> select * from v$version where rownum = 1; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
Kind regardscreate table test as(select 1 id, to_date('01/01/2009','dd/mm/yyyy') dt from dual) / Create OR Replace Package Pkg_Test Is Procedure Prc_Call_Test; End Pkg_Test; / CREATE OR REPLACE Package Body Pkg_Test Is Procedure Prc_Test( p_id In Pls_Integer , p_dt OUT Date ) Is Begin SELECT DT INTO p_dt FROM TEST WHERE ID = p_id; If p_dt < Sysdate Then Raise_Application_Error(-20000, 'Anything'); End if; End Prc_Test; Procedure Prc_Call_Test Is v_dt Date; Begin Prc_Test(1, v_dt); Dbms_Output.put_line(v_dt); -- the return is null End Prc_Call_Test; End Pkg_Test; /
If you use NOCOPY in the parameter, then the value will be applied directly to the variable of output as it get set to so it will not be lost when the exception occurs. So, of course, to capture the exception or anything to access your dbms_output statement, but it is trivial...
SQL> ed Wrote file afiedt.buf 1 CREATE OR REPLACE Package Body Pkg_Test Is 2 Procedure Prc_Test( p_id In Pls_Integer 3 , p_dt OUT NOCOPY Date ) Is -- Note the use of NOCOPY on the parameter 4 Begin 5 SELECT DT 6 INTO p_dt 7 FROM TEST 8 WHERE ID = p_id; 9 If p_dt < Sysdate Then 10 Raise_Application_Error(-20000, 'Anything'); 11 End if; 12 End Prc_Test; 13 Procedure Prc_Call_Test 14 Is 15 v_dt Date; 16 Begin 17 BEGIN 18 Prc_Test(1, v_dt); 19 EXCEPTION 20 WHEN OTHERS THEN -- Capture the correct error here rather than OTHERS 21 dbms_output.put_line('Error occurred in prc_test'); 22 END; 23 Dbms_Output.put_line(v_dt); -- the return is null 24 End Prc_Call_Test; 25* End Pkg_Test; SQL> / Package body created. SQL> exec pkg_test.prc_call_test; Error occurred in prc_test 01/01/2009 00:00:00 PL/SQL procedure successfully completed. SQL>
-
Dear all,
How to copy the parameter FDM (import format, mapping of dimension, table of control) of application to another application.
I found that one dimension mapping can be imported. Is it possible to copy the FDM application quickly?
Thank you for your helpIf you get a chance try the following script, it is so simple and easy to extract all the map as XML data and help to import via import script.
---------------
Void MapExtractor()
'------------------------------------------------------------------
"Script custom upstream Internet link:
'
"Created by: SatyaK"
"Creation date: 08/12/09.
'
' Object: this Script will produce a file of account mapping for
"the current location.
'
'------------------------------------------------------------------'Run the export '.
strFilePath = API. IntBlockMgr.InterfaceMgr.fExportMapToXML ("File Path", PPOVPeriod)End Sub
-------------
Maybe you are looking for
-
Hello. The bottom of half of the words, which represents the orders, are cut.I signed into the mobile version of Yahoo mail Web page, accessed by edge browser. I opened an email. There are words for various commands, as well as at the bottom of the e
-
Screen on Satellite C series is black with white writing
Hello I need help, I've only had the phone for a few weeks so still to get used to it. (first computer).It was working fine but now I have a black screen and all the writing is white and yellow. Either I or my children have touched something we shoul
-
ProBook 4540S: it requires the activation of Windows! Why?
He bought a laptop with Windows 8 Professional on board.The Downgrade, I activated Windows 7 Pro.Ability to do some time ago was put in a certified HP laptop repair center.On his return from repair - I changed the video card chip, Windows unexpectedl
-
app missing picture after the update?
Hi all. Well I've just updated my Tablet twice and went to use the camera, but when I click the icon, it says application is not installed. The Lenovo app store is empty as if it no longer exists. Where can I get this fixed app? Thank you.
-
Edition! Asking needing a power on password password-halt code:86899813