How to enable/allow IPv6 ping requests
My IPV6 provider sixxs.net needs to ping my end of the IPV6 connection. It looks like the working AEBS tunnel that I have setup is not responding to pings. Strangely the public IPv4 address seems quite happy to respond.
How can I get the AEBS to respond to IPV6 ICMP requests?
This is urgent as sixxs.net will disable my tunnel if they cannot reliably test connectiivity.
Thanks,
Adrian
Thank you! I can't tell yet if that solved the problem.... I was able to click a few more facebook ads, but haven't seen the original one yet and don't know if there was something different about it. I did add the couple of websites I wanted to allow pop-ups for, and I'll test out the USPS one with my next shipment. I just updated yesterday to whatever the latest version of firefox is, and this time it seems like there are more changes than previous recent updates which I'm not used to yet. Since I visit new sites regularly, I'd like to be given the option with each one to allow the pop-up right on the spot, vs. having to go into the settings and add that particular website that I may or may not visit again. Unless I'm missing something, that seems kind of inconvenient.
Similar Messages
-
How to enable SSL for policy service?
Hi all,
My application is using SunONE's C API to communicate with the Identity Server.
In order to enable SSL, I have changed the following lines in amconfig.properties:
com.sun.am.namingURL = https://id01.core.development.net:443/amserver/namingservice
com.sun.am.policy.am.loginURL = https://id01.core.development.net:443/amserver/UI/Login
com.sun.am.policy.am.library.loginURL = https://id01.core.development.net:443/amserver/UI/Login
After operating these changes, everything continued to work fine...but then, I checked with a network sniffer what data is being sent to IS:
- The login and naming data were over SSL
- Policy and session items were plain HTTP
My questions are:
1. How to enable SSL for policy evaluation requests?
2. How to enable SSL for sessionservice requests?
3. What are the changes required on the server/client?
Many thanks,
DanThere might a better different forum for this question.
-
How to enable Operating Unit in concurrent program report request
I am using R12 and need to make user enable to choose an operating unit while submitting a concurrent program report request.
Example: Receipt Accural - Period End report is allowing to choose operating unit but other report are not.
My question is:
1) How to enable operating unit in concurrent program request?
2) How to replace CLIENT_INFO statement in reports query? How 'selected operating unit' info will be passed to report?
Thanks and regards,Hi,
I guess it will passed same way as other parameters in any concurrent program. The user will provide a value in the organization parameter, and the definition of the report will have a query similar to this:
SELECT *******
FROM *******
WHERE ******
AND org_id = &p_org_id
WHERE p_org_id would be the operating unit id provided by the user.
Hope it helps. -
How to Enable IPv6 Connection Permanently ?
How to Enable IPv6 Connection Permanently ?
I've searched Microsoft's websites for hours trying to enable IPv6 but no one seems to know.
I've enabled IPv6 from the registry but it disables after restart.
I think ESET Endpoint is disabling it.
I have got IPv6 enabled on the Router.
Please help.Hi,
Microsoft already provide a hotfix to enable IPV6, you can access to the link below to download it for test.
https://support.microsoft.com/en-us/kb/929852
Note: I made a test in Windows 8.1, these hotfix also works fine.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How to enable "Debug Option" in submit request
how to enable "Debug Option" in submit request
Hi,
Please see these docs.
(Pics) How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
Thanks,
Hussein -
How to enable ping service on java-stack only system
I have installed SAP NetWeaver 7.0 - Java Trial on local host.
How can you activate the ping service there?
It should work under "http://localhost:50000/sap/bc/ping"
(I know how to activate it with transaction SICF in an abap system, but I have java-stack only here, so I can't call transactions. I can only use the Visual Admin, right?, but there I could not detect a ping service so far)
More detailed:
I created system "SAP_WebDynpro_XSS". (this is necessary for connecting to ECC abap backend for ESS Packages) and set following parameter:
template:"SAP system using connection string"
category: Web Application Server
Web AS host name: chrisSAP:50000
Web AS path: /webdynpro/dispatcher/
Web AS protocol: http
But when I test the "SAP Web AS Connection" for this system, I got following error:
7. The Web AS ping service http://chrisSAP:50000/sap/bc/ping was not pinged successfully. If the ping service is not activated on the Web AS, you can try to call the ping service manually.
8. An HTTP/S connection to http://chrisSAP:50000/webdynpro/dispatcher/ was not
obtained successfully; this might be due to a closed port on the Firewall.
I guess step 8 did not pass because step 7 failed, and not because of a closed port or firewall (I made sure everything is open.)
The strange thing is that the connection test fails, but the connection seems to work fine!
I mean I can see the front ESS page in the portal when logging in with an ESS-user, and there are no errors in the log. If I change the SAP_WebDynpro_XSS parameters to some other made-up values, then the front ESS page does not come up and some errors appear with "SAP_WebDynpro_XSS" inside.
That proofs that the connection is working despite the failed connection test, right?. But what can I do that the connection test passes? It seems that somehow SAP has hardcoded the path "/sap/bc/ping" which usually exists on an abap system. But I have java-stack only, so how can I tell that the function that runs the test?
A system connection test fails, but the connection is working fine!
If someone could explain that to me...Dear Srini Nookala,
thank you for your answer. Unfortunately I don't understand the relation of my question to your answer.
>> check with OSS note 1019335 SAP NetWeaver AS Java 6.40 SP21
I have Version 7.0 SP14. I read the OSS note, but there are around 100 changes listed. I read them all, but couldn't figure out one that has to do with ping and system test. So which sentence inside the note are you referring to?
>> The problem is due to JCo parameters configuration not properly, Ask Basis team, they will do it.
I am basis team. I configured the JCo properly as described in manual and tested them afterwards. They run successful. Also all the links that you gave refer to JCO connections about how to set them up and test them. But what have JCO connections to do with System-connection tests? As far as I know JCO-connections are not used for system connectivity tests. You can set them up independent. I understand that JCO-connections are used for getting data from backend servers. But the system "SAP_WebDynpro_XSS" is defined for determing the webdynpros on localhost (frontend, not backend).
So please can you explain me what JCO-connections which refer to remote hosts have to do with a ping service on local host that cannot be reached? And which part would be not configured "properly"? Timeouts? user?
To define my question more properly:
Is it possible to make the connection test work on a java-stack only host for a system that refers to itself (localhost)? Or is it a known bug?
Some sub-questions
Am I using the right system template (I am using "SAP system using dedicated application server")
I have no abap on local host (chrisSAP). Only java stack. Usually path ..sap/bc/ping refers to an abap system, right? So in my opinion I have 3 possibilities:
- install abap-stack on local host (portal) and activate ping service.
- somehow install a ping service that runs under the given URL in Visual Admin (how?)
- somehow tell the connection test to skip pinging and continue test. (How?)
Any additional advice would be highly appreciated. -
How to block Ping requests in Solaris 10
Hello all,
Could you pls let me know how to block icmp packets (ping) on solaris 10.
thanks a lot
tpiranavare you familiar with ipf? it comes with solaris. check man ipf for some starter background if you are unfamiliar with it.
-
can anyone tell me how i can set my iphone4 so that i can't turn it off without first entering my PassCode? at the moment i need to enter it after it has been asleep for a while, but NOT if i turn it OFF. that's ok for everyday use but not so good for when it gets stolen, as my sister recently discovered because the 'Find my Iphone' facility doesn't work when the iphone is switched off. the thief may just turn off the phone and dump it in the next ditch, but there is no chance of recovering it if the phone can be turned off without having to enter the passcode first. (ever other phone i ever owned before needed to have the passcode entered, if it was enabled, before it could be switched off).
so, if anyone knows, could you please give me instructions on how to enable my iphone 4 so that it will ask for my passcode before switching off and if it isn't entered it will not turn off?
i would really appreciate your hNot all thieves are really intelligent, but still ...
Why would a thief steal your iPhone if the intent is simply to turn it off and toss it in a ditch? -
How to enable commenting into pdf files using java?
Hi All,
Is there any way available to enable comments into pdf files through java. I have a Adobe Reader 9 and also I want put some comments into pdf file, but the reader is not allowed to place a comment into pdf file before enabling the Comments into pdf. After enabling the comments in pdf file then only we can place the comments and we can the pdf file with comments.
Is there any way available to enable comments into pdf file to view acrobat reader.
Thanks in advance.The end user who uses the web application has Acrobat installed in their mahcine needs it only for the purpose of enabling comments in pdf. If this task of enabling comments in pdf is done through my application there is no need for acrobat in such user's machine which was requested as a cost cuttnig measure.
For this purpose, i need to know about how to enable comments in pdf through java api.
I have used itext java api for other pdf related manipulation in java. But it does not have feature as per the requirement posted above. Can any body suggest relevant java api to achieve the task requested?
Tahnks in Advance. -
How to enable a partner application for Single Sign-On?
Can someone please advise me on how to enable my existing J2EE web application for the Oracle Single Sign-On?
My requirement is i want to provide the single sign-on authentication service to my J2EE web application. For this, I would like to make my application as a partner application similar like the OracleAS Portal.
I am using Oracle 10g ( OralceAS, Oracle Infra, OID ...)
I found the following service/APIs which Oracle provides. I am not sure which one is suitable for me.
1. mod_osso ( Static)
--- In this case, I have to make a entry in mod_osso.config file to protect the URL. should I have to register the URL again through single sign on admin page ("Administer Partner Application") after make a entry in config file?
2. mod_osso ( Dynamic directive)
-- in this case, I have to modify the code by providing the directives like 401, 499.. etc. So i don't prefer this as i don't want to touch my app.
--If I go with this option, should i have to register the URL with Single sign on server through SSO admin page ( as mentioned in the above step#1) ?
3. SSO SDK
- Since it was deprecated and need java coding, i am prefer this option.
-- however, if i go with this option, i will develop code by using SDK. in this case i need to register the URL in SSO server through admin page.. am i right?
Note:- OSSO server integrated with Active Directory for the authentication.
Thanks,
-Senthilsharon38_74 wrote:
they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?Your application need to act like a proxy. You can invoke a HTTP request programmatically using java.net.URLConnection. You can set request headers using URLConnection#setRequestProperty(). Also see the API docs: [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html]. You only need to know the header field name where to set the Base64-encoded value in. You need to Base64-encode the value yourself. -
How to enable excel downloading in ALV grid report.
Hi all,
How to enable excal downing in ALV grid report?
Thanks in Advance.
Siva Sankar.hi
check the following code
Example of a Simple ALV Grid Report
REPORT ZTUFI091 .
*& Report ZDEMO_ALVGRID *
*& Example of a simple ALV Grid Report *
*& The basic requirement for this demo is to display a number of *
*& fields from the EKKO table. *
*REPORT zdemo_alvgrid .
TABLES: ekko.
type-pools: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp statu aedat matnr menge meins netpr peinh
up to 10 rows
from ekpo
into table it_ekko.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.
hope it will help you
regards
sreelatha gullapalli -
How can I allow other users on my macbook to view my iphoto library when th
How can I allow other users on my macbook to view my iphoto library when they are logged in. I do not have a network, and the users (my family) all log in seperately when they use the computer. Does anyone know? Thank you.
rdoss
Welcome to the Apple Discussions.
If you want others to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account(s). In the other account(s), enable 'Look For Shared Libraries'. Your Library will appear in their source pane.
Remember iPhoto must be running in both accounts for this to work.
Regards
TD -
How to enable the widgets in Indesign CC..?
Hi,
I am working on porting our Indesign CS6 plugin to Indesign CC plugin.I have completed the porting and the plugins has opened in Indesign CC,but i have one problem in design. Three of our Widgets has not opened in Indesign CC.
The code is the following,
.fr file
resource SampleDialogWidget (kSDKDefDialogResourceID + index_enUS)
__FILE__, __LINE__,
kSampleDialogWidgetID, // WidgetID
kPMRsrcID_None, // RsrcID
kBindNone, // Binding
0, 0, 700,400, // Frame (l,t,r,b)
kTrue, kTrue, // Visible, Enabled
kSampleDialogTitleKey, // Dialog name
//<FREDDYWIDGETDEFLISTUS>
SamplePrefListBox
SamplePreflistboxWidgetID,
kSysOwnerDrawListBoxPMRsrcId, // WidgetId, RsrcId
kBindAll, // Frame binding
Frame(15,15,170,360) // Frame
kTrue, kTrue, // Visible, Enabled
1,0, // List dimensions
19, // Cell height
1, // Border width
kFalse,kTrue, // Has scroll bar (h,v)
kTrue, // Multiselection
kTrue, // List items can be reordered
kTrue, // Draggable to new/delete buttons
kTrue, // Drag/Dropable to other windows
kTrue, // An item always has to be selected
kFalse, // Don't notify on reselect
kSamplePrefListElementRsrcID // Fill list box with widgets with this ID (default is 0)
CellPanelWidget
kCellPanelWidgetID, kPMRsrcID_None, // WidgetId, RsrcId
kBindAll, // Frame binding
Frame(-1,1,154,340) // Frame
kTrue, kTrue // Visible, Enabled
// ----- This is the CPanelControlData that holds the widgets
// that are items in the list box. They are not persistent
GenericPanelWithBorderWidget
SamplePrefGeneralTabWidgetID, kPMRsrcID_None,
kBindBottom |kBindRight,
Frame(175,10,695,360) // Frame
kTrue, kTrue,
StaticTextWidget
kInvalidWidgetID, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 15, 138, 35, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
kSamplePrefProjectPathStringKey, // Initial text.
kSamplePrefProjectPathTextEditBoxWidgetID // No associated widget
// TextEditBox Widget resource
TextEditBoxWidget
kSamplePrefProjectPathTextEditBoxWidgetID, // WidgetId
kSysEditBoxPMRsrcId, // RsrcId
kBindNone, // Frame binding
Frame(140, 15, 420, 35), // Frame (l,t,r,b)
kTrue, kTrue // Visible, Enabled
0, // Widget id of nudge button (0 so we dont get one)
0, 0,// small,large nudge amount
0, // max num chars(0 = no limit)
kFalse,// is read only
kFalse,// should notify each key stroke
kFalse,// range checking enabled
kFalse,// blank entry allowed
0, // Upper bounds
0, // Lower bounds
"", // Initial text
ButtonWidget
kSampleChooseProjectButtonWidgetID,
kSysButtonPMRsrcId,
kBindNone,
430, 15, 500, 35,
kTrue, kTrue,
kSampleChooseBtnStringKey,
GenericPanelWithBorderWidget
SamplePrefFittingTabWidgetID, kPMRsrcID_None,
kBindBottom |kBindRight,
Frame(175,10,695,360) // Frame
kTrue, kTrue,
StaticTextWidget
kInvalidWidgetID, // WidgetId
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
Frame( 10,15,300,35 ), // Frame (l,t,r,b)
kTrue, kTrue, kAlignLeft, // Visible, Enabled, Alignment
kDontEllipsize,kTrue, //**new element in InDesign 2.0: don't add any ellipses
"Drag/Drop Operation", // Text
0// WidgetId for associated control for shortcut focus
SeparatorWidget
0,
kPMRsrcID_None,
kBindNone,
Frame(10,37,450,38),
kTrue,kTrue,
StaticTextWidget
0, // WidgetId
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
Frame( 10, 40, 250, 60 ), // Frame (l,t,r,b)
kTrue, kTrue, kAlignLeft, // Visible, Enabled, Alignment
kDontEllipsize,kTrue, //**new element in InDesign 2.0: don't add any ellipses
kSampleTextOptionsTextKey, // Text
0 // WidgetId for associated control for shortcut focus
CheckBoxWidget
kSampleTextFitCheckBoxWidgetID, // WidgetId
kSysCheckBoxPMRsrcId, // RsrcId
kBindNone,
Frame(150, 40, 350, 60) // left, top, right, bottom
kTrue, // Visible
kTrue, // Enabled
kAlignLeft, // Alignment
kSampleTextFitChkBoxTextKey // Initial text
GenericPanelWithBorderWidget
SamplePrefScriptEventsTabWidgetID, kPMRsrcID_None,
kBindBottom |kBindRight,
Frame(175,10,695,360) // Frame
kTrue, kTrue,
StaticTextWidget
0, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 10, 200, 30, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
kSampleDropDownEventsTextKey, // Initial text.
0 // No associated widget
SamplePrefListBox
SamplePrefDragDropScriptlistboxWidgetID, kSysOwnerDrawListBoxPMRsrcId, // WidgetId, RsrcId
kBindAll, // Frame binding
Frame(10, 35, 200, 120) // Frame
kTrue, kTrue, // Visible, Enabled
1,0, // List dimensions
19, // Cell height
1, // Border width
kFalse,kTrue, // Has scroll bar (h,v)
kTrue, // Multiselection
kTrue, // List items can be reordered
kTrue, // Draggable to new/delete buttons
kFalse, // Drag/Dropable to other windows
kTrue, // An item always has to be selected
kFalse, // Don't notify on reselect
k SamplePrefListElementRsrcID // Fill list box with widgets with this ID (default is 0)
CellPanelWidget
kCellPanelWidgetID, kPMRsrcID_None, // WidgetId, RsrcId
kBindAll, // Frame binding
Frame(-1,1,187,243) // Frame
kTrue, kTrue // Visible, Enabled
// ----- This is the CPanelControlData that holds the widgets
// that are items in the list box. They are not persistent
ButtonWidget
SamplePrefDragDropScriptAddBtnWidgetID,
kSysButtonPMRsrcId,
kBindNone,
20, 125, 90, 145,
kTrue, kTrue,
kSampleAddScriptButtonTextKey,
ButtonWidget
SamplePrefDragDropScriptRemoveBtnWidgetID,
kSysButtonPMRsrcId,
kBindNone,
100, 125, 180, 145,
kTrue, kTrue,
kSampleRemoveScriptButtonTextKey,
Elements added:
void SampleDialogController::PopulatePrefListElement()
do
InterfacePtr<IPanelControlData> iPanelControlData(this, UseDefaultIID());
ASSERT(iPanelControlData);
if(!iPanelControlData) {CAlert::InformationAlert("IPanelControlData err");break;}
SDKListBoxHelper listHelper(iPanelControlData,kSamplePluginID, SamplePreflistboxWidgetID, kSampletDialogWidgetID);
IControlView * listBox = listHelper.FindCurrentListBox();
if(listBox == nil) {
CAlert::InformationAlert("listBox err");
break;
listHelper.EmptyCurrentListBox();
InterfacePtr<IListBoxController> listCntl(listBox,IID_ILISTBOXCONTROLLER); // useDefaultIID() not defined for this interface
ASSERT_MSG(listCntl != nil, "listCntl nil");
if(listCntl == nil) {
CAlert::InformationAlert("IListBoxController err");
break;
//Addin the string to the listbox
const int targetDisplayWidgetId =SamplePrefOptionTextWidgetID;
listHelper.AddElement("General", targetDisplayWidgetId);
listHelper.AddElement("Fitting", targetDisplayWidgetId);
listHelper.AddElement("Events and Scripts", targetDisplayWidgetId);
listCntl->DeselectAll();
}while(0);
I dont know how to enable these three widgets in Indesign CC.please refer this code and help me if anyone has idea regarding this problem.
Thanks in advance,
Vimala LHi,
As per ur suggestion,i have done the below changes
.fr file:
type SamplePrefListBox
(kViewRsrcType) : StdListBoxWidgetN
(ClassID = kStdListBoxWidgetNewBoss)
Class
kSamplePrefListBoxWidgetBoss,
kStdListBoxWidgetNewBoss,
IID_IOBSERVER,kSamplePrefListBoxObserverImpl,
resource SampleDialogWidget (kSDKDefDialogResourceID + index_enUS)
__FILE__, __LINE__,
kSampleDialogWidgetID, // WidgetID
kPMRsrcID_None, // RsrcID
kBindNone, // Binding
0, 0, 700,400, // Frame (l,t,r,b)
kTrue, kTrue, // Visible, Enabled
kSampleDialogTitleKey, // Dialog name
//<FREDDYWIDGETDEFLISTUS>
SamplePrefListBox
SamplePreflistboxWidgetID,
kSysOwnerDrawListBoxPMRsrcId, // WidgetId, RsrcId
kBindAll, // Frame binding
Frame(15,15,170,360) // Frame
kTrue, kTrue, // Visible, Enabled
kTrue, //Erase before draw
kInterfacePaletteFill, //Interface color
1,0, // List dimensions
19, // Cell height
1, // Border width
kFalse,kTrue, // Has scroll bar (h,v)
kTrue, // Multiselection
kTrue, // List items can be reordered
kTrue, // Draggable to new/delete buttons
kTrue, // Drag/Dropable to other windows
kTrue, // An item always has to be selected
kFalse, // Don't notify on reselect
0,
0,
kFalse, // Display root node
kFalse, // Use Horizontal scroll bar
kTrue, // Use vertical scroll bar
19, // Vertical scroll button increment
1, // Vertical thumb scroll increment
0, // Horizontal scroll button increment
0, // Horizontal thumb scroll increment
1, // Items selectable 1 = Single selection
kFalse, // Allow children from multibler parents to be selected
kTrue //, // Allow discontiguous selection
I got error...,error R32745: # Error: Expected ')'
SamplePrefListBoxObserver file:
void SamplePrefListBoxObserver::AutoAttach()
InterfacePtr<ISubject> subject(this, UseDefaultIID());
if (subject != nil)
subject->AttachObserver(this, IID_ILISTCONTROLDATA);
void SamplePrefListBoxObserver::AutoDetach()
InterfacePtr<ISubject> subject(this, UseDefaultIID());
if (subject != nil)
subject->DetachObserver(this, IID_ILISTCONTROLDATA);
void SamplePrefListBoxObserver::Update(const ClassID& theChange,ISubject* theSubject,const PMIID &protocol,void* changedBy)
do {
InterfacePtr<IPanelControlData> iPanelControlData(this, UseDefaultIID());
if(!iPanelControlData)
{CAlert::InformationAlert("iPanelControlData err");break;}
InterfacePtr<IWidgetParent> iWidgetParent(this, UseDefaultIID());
ASSERT(iWidgetParent);
if(!iWidgetParent)
{CAlert::InformationAlert("iWidgetParent err");break;}
InterfacePtr<IPanelControlData> iPanelControlDataDialog(
(IPanelControlData*)iWidgetParent->QueryParentFor(IID_IPANELCONTROLDATA) );
if(!iPanelControlDataDialog)
{CAlert::InformationAlert("iPanelControlDataDialog err");break;}
InterfacePtr<IControlView> view(theSubject, UseDefaultIID()) ;
if (view == nil)
{CAlert::InformationAlert("Can't find the panel control view");break;}
if (view->GetWidgetID() != SamplePreflistboxWidgetID)
if(view->GetWidgetID() == SamplePrefDragDropScriptlistboxWidgetID)
this->DeSelectList(iPanelControlDataDialog,SamplePrefUpdateScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefImportScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefAutoFlowScriptlistboxWidgetID);
else if(view->GetWidgetID() == SamplePrefUpdateScriptlistboxWidgetID)
this->DeSelectList(iPanelControlDataDialog,SamplePrefDragDropScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefImportScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefAutoFlowScriptlistboxWidgetID);
else if(view->GetWidgetID() == SamplePrefImportScriptlistboxWidgetID)
this->DeSelectList(iPanelControlDataDialog,SamplePrefDragDropScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefUpdateScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefAutoFlowScriptlistboxWidgetID);
else if(view->GetWidgetID() == SamplePrefAutoFlowScriptlistboxWidgetID)
this->DeSelectList(iPanelControlDataDialog,SamplePrefDragDropScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefUpdateScriptlistboxWidgetID);
this->DeSelectList(iPanelControlDataDialog,SamplePrefImportScriptlistboxWidgetID);
if ((protocol == IID_ILISTCONTROLDATA) && (theChange == kListSelectionChangedByUserMessage) )
if (view->GetWidgetID() ==SamplePreflistboxWidgetID)
IControlView* generaltab = iPanelControlDataDialog->FindWidget(SamplePrefGeneralTabWidgetID);
if(!generaltab)
{CAlert::InformationAlert("generaltab err");break;}
IControlView* fittingTab = iPanelControlDataDialog->FindWidget(SamplePrefFittingTabWidgetID);
if(!fittingTab)
{CAlert::InformationAlert("fittingTab err");break;}
IControlView* scriptEventTab = iPanelControlDataDialog->FindWidget(SamplePrefScriptEventsTabWidgetID);
SDKListBoxHelper listHelper(iPanelControlData,kSamplePluginID, SamplePreflistboxWidgetID, kSampleDialogWidgetID);
IControlView * listBox = listHelper.FindCurrentListBox();
if(listBox == nil){CAlert::InformationAlert("listBox err");break;}
InterfacePtr<IListBoxController> listCntl(listBox,IID_ILISTBOXCONTROLLER);
if(listCntl == nil) {break;}
int32 Selindex = listCntl->GetSelected();
if(Selindex!=-1){
InterfacePtr<IPanelControlData> panelControlData1(listBox, UseDefaultIID());
if(!panelControlData1) {break;}
IControlView* cellPanelview = panelControlData1->FindWidget(kCellPanelWidgetID);
InterfacePtr<IPanelControlData> panelControlData2(cellPanelview, UseDefaultIID());
if(!panelControlData2) {break;}
IControlView* cellView = panelControlData2->GetWidget(Selindex);
InterfacePtr<IPanelControlData> panelControlData3(cellView, UseDefaultIID());
if(!panelControlData2) {break;}
IControlView* textView = panelControlData3->FindWidget(SamplePrefOptionTextWidgetID);
InterfacePtr<ITextControlData> cellText (textView, UseDefaultIID());
PMString selectedItem = cellText->GetString();
if(selectedItem=="General")
generaltab->ShowView();
fittingTab->HideView();
scriptEventTab->HideView();
else if(selectedItem=="Fitting Options")
generaltab->HideView();
fittingTab->ShowView();
scriptEventTab->HideView();
else if(selectedItem=="Events and Scripts")
generaltab->HideView();
fittingTab->HideView();
scriptEventTab->ShowView();
} while(0);
void SamplePrefListBoxObserver::DeSelectList(IPanelControlData* iPanelControlData,WidgetID listBoxWidgetID)
do
SDKListBoxHelper listHelper(iPanelControlData,kSamplePluginID, listBoxWidgetID, kSamplePanelWidgetID);
IControlView * listBox = listHelper.FindCurrentListBox();
if(listBox == nil) {
CAlert::InformationAlert("listBox err");
break;
InterfacePtr<IListBoxController> listCntl(listBox,IID_ILISTBOXCONTROLLER); // useDefaultIID() not defined for this interface
ASSERT_MSG(listCntl != nil, "listCntl nil");
if(listCntl == nil) {
CAlert::InformationAlert("IListBoxController err");
break;
listCntl->DeselectAll(kTrue,kFalse);
}while(0);
please refer the above code and help me to develop the plugin.
We have used the SDKListBoxHelper file in our plugin.If it works in Indesign CC?
Thanks,
Vimala L -
How can I disable IPv6 EUI randomization with group policy?
I need to turn off IPv6 EUI address randomization. It can be done in netsh (a few commands) or powershell (Set-NetIPv6Protocol -RandomizeIdentifiers Disabled). How can I do this in group policy without scripting?
Hi Jordan,
Before going further, I hope that the suggestion provided by Martin can be helpful.
It seems that we can't configure this setting via native policy.To configure IPv6 settings,
we need to download ADMX files for IPv6. However, per the following article, the IPv6 settings that can be configured are:
Enable all IPv6 components
(Windows default)
Disable all IPv6
components (the setting you probably want)
Disable 6to4
Disable ISATAP
Disable Teredo
Disable Teredo and 6to4
Disable all tunnel
interfaces
Disable all LAN and PPP
interfaces
Disable all LAN, PPP and tunnel
interfaces
Prefer IPv4 over IPv6
How to Disable IPv6 through Group Policy
http://social.technet.microsoft.com/wiki/contents/articles/5927.how-to-disable-ipv6-through-group-policy.aspx
TechNetSubscriber Support
If you are TechNetSubscription user and have any feedback on our support quality, please
send your feedback here
Best regards,
Frank Shen
Please read the question before marking things as answers. -
How can i disable ipv6 in OL7?
Hi everybody,
how can i disable ipv6 on my OL7 box?
In /etc/sysctl.d i have test it with the file: ipv6.conf:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.<interface>.disable_ipv6 = 1
But this doesnt work.
Does anybody know how can i disable IPv6 in Oracle Linux 7?What I would recommend is not to set implicit or redundant parameters:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
There is no need to disable the "default" interface, since it is already included in the "all" statement.
I do not know, but there could be a possibility that such statements disable the network card in question, but in turn enable every other. In such case, your 2nd statement invalidates the first. Perhaps that was was part of the problem when using your other configuration.
Maybe you are looking for
-
Playing recorded loops (they stay greyed out)
When recording on a loop , it creates multiple recordings, and places it on a new track. I love this functionality! However only the last loop recorded lets me play it / hear it. How do I enable the other tracks so that i can hear them (ungrey them o
-
How to find a string from a set of records?
I am having a stored procedure which is used for creating a crystal report. When I run the stored procedure sometimes it gives more than one row of data. I want to check if a particular string exists in any row of a particular column. To make it clea
-
I am wondering what tools were used in the "Body Evolution" video
Hi, I am wondering what the names of the tools that were used in the "Body Evolution" video? I know somw of them, but I don't know what tools they used for the eyes, nose and to stretch the legs. Thank you!
-
the advanced healing brush will not remove an object from my photo in lightroom 5
-
Upgrade iPad iOS 5.1.1 to iOS 6
My iPad is the original first generation. The OS is iOS 5.1.1. How can I get it upgraded to iOS 6?