Setting the usesGetMethod in PortletDescription
Hi!
I'm trying out WSRP with the following setup:
Box 1: WLPortal 10.2 hosting a JSF-portlet acting as a WSRP producer.
Box 2: JBoss portal 2.7, WSRP consumer of the JSF-portlet on Box 1.
My problem is that JBoss refuses dealing with producers that have the "usesMethodGet=true" set, which portlets deployed on WLPortal have by default (even though the WSRP spec states the opposite).
How can I alter the usesMethodGet parameter? I've found the parameter in the IPortletDescription interface where it is only possible to read the value.
/Staffan
In WEB-INF/wsrp-producer-config.xml, in the service-description element (under the service-config element), you can set the supports-method-get attribute to "false".
<service-config>
<service-description secure="false" supports-method-get="false"/>
</service-config>
George
Similar Messages
-
How do I replace someone else's Mac ID with my own?
Bought iPhone second hand on TradeMe.
Previous owner re-set the phone but his ICloud account stayed on now my phone. He uses his AppleID on his new iPhone now and, understandably, does not want to give me his password. Any ideas?? Please.
This issue is blocking my access to iTunes and any other file from my home computer. It keeps on telling me that I have to autorise my computer to pass on files, yet, it seems, for all this to happen, I need to get logged in through the phone's Apple ID. This of course is different to my one on my computer - and I have no password for it.
This phone is not stolen!! I payed still a fair bit for it. Am still in contact with the previous owner. He doesn't know how to fix the problem either.
Would appreciate any suggestion ????
Thanks
SamSingsSettings>general>resets>erase all content and settings.
That will put it back to its out of the box state. Set it up with your own apple Id. -
Set the cursor busy steered by supanel vi
I let run a vi and there is a subpanel. Is there a way that I can set the cursor busy steered by the subpanel vi. I pass the reference of the mainvi over a global variable into subvi. Without success there is no error message but the busy cursor does not appear. Just setting the cursor in subvi creates a null window error. Is there a easy way to implement it. Or do I have to use user events in main vi called by suvi an then se it busy. Would be not so nice to understand it later.
kind regards retoI attach my test VI (LV 8.0). You can try it.
Attachments:
test sub.vi 17 KB
test.vi 22 KB
test global.vi 4 KB -
In an Excel template file, can I set the Folder Path in the SaveAs Dialog box?
I have an Excel template file (xltm) and, with help from the forum, I now have a Workbook_BeforeSave subroutine to save the template as a macro enabled file (xlsm). I’m so thankful for that help from Edward in the forum.
I also want to set the default folder location to save the file. I really only need it when the template is saved as a new xlsm file, because if they open the xlsm file, it’s usually opened from the default folder path so any save would normally go back
to where the file was opened. However, with a template (even if the template is in the default folder) the Saved template reverts back to the user’s documents folder.
Is there a good way to do this?
I tried to modify the Workbook_BeforeSave code like this:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Dim FolderDir As String
Dim FileNameVal As String
FolderDir = "Z:\save\data\place\"
If SaveAsUI Then
If Dir(WorkBookFolder, vbDirectory) <> "" Then
Application.DefaultFilePath = WorkBookFolder
End If
FileNameVal = Application.GetSaveAsFilename(, "Excel Macro-Enabled Workbook (*.xlsm), *.xlsm")
Cancel = True
If FileNameVal = "False" Then 'User pressed cancel
Exit Sub
End If
ThisWorkbook.SaveAs Filename:=FileNameVal & ".xlsm", FileFormat:=xlOpenXMLWorkbookMacroEnabled
Application.EnableEvents = True
End If
End Sub
But there are a lot of checks that would need to be done.
I'm not sure how to only default the folder saved only when they open the template, but not change it when they just open an already saved Excel file created by the template (with all the active content, macros, etc.).
Alan EdwardsHi Alan,
store the path\filename in the 1st argument:
FileNameVal = Application.GetSaveAsFilename("C:\*.xlsm", "Excel Macro-Enabled Workbook (*.xlsm), *.xlsm")
Andreas. -
Setting the JMS Header from Payload
Hi Experts,
My requirement is to send the payment data coming from ECC to non sap system.Sender adapter is proxy and receiver is JMS.ECC will be sending the filename in one field and payload content as a string in another field.PI has to set the filename coming from ECC in JMS header property.What configuration changes should i need to make in JMS adapter to achieve it?
Converting the XML to string is possible in PI.But my question is converting the string XML data into XML fields is possible in SAP PI?If so how to do that?
Please provide your suggestion.
Regards,
KarthigaHi Karthiga,
The UDF is there in blog
DynamicConfiguration dynamicconfiguration = (DynamicConfiguration)param.get("DynamicConfiguration");
DynamicConfigurationKey dynamicconfigurationkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS", "DCJMSMessageProperty0");
String s = dynamicconfiguration.get(dynamicconfigurationkey);
CorrID.append(s);
Please let me know if you have any issue.
regards,
Harish -
Unable to set the Cursor focus on a particular field in OA Page
Hi,
I have a custom page with 3 controllers . Now when i delete a row from the Advance table, the focus of the cursor goes to the top of the page. My requirement is that, the focus should remain in the Advance table region itself.
I tried to set the focus using the below code. It dosent work. Could there be an issue since iam using more than one controller for the page?
OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
bodyBean.setInitialFocusId("item164"); // item164 is the messageTextInput field in the Advance table region.
I tried to get the Initialfocus value after its set. The value shows as 'item164'. However , it doesnt focus on that item.
Please help me out in fixing this issue.
Thanks
AGHi,
Thanks for the Info. Can you help me with this java script or if you can provide me any reference it would be hepful.
Basically the focus has to stay in that particular AdvanceTable region where the row is deleted. Not required that the focus has to point to the next row after the delete.
Thanks
AG
Edited by: 928445 on Apr 26, 2012 12:06 AM -
Unable to 'set the default source system' to Install Business Content
Hi,
Maars here. This is my first post hoping that in future ones I'll also be lending a helping hand.
I am trying to 'Install Business Content' under the BUSINESS CONTENT section in txn RSA1. I am doing this after 'Transfer Data Sources' in R/3 and I can now see all the data sources (under the application component hierarchy) for the source system. But I am not able to see the Info Objects in the Business Content.
When I try to set R/3 as the default source system (got this screen after clicking a icon in the standard tool bar), BW is not saving the settings ie., I set the R/3 as the default and then click on OK. If I go back to the same screen again, I find that my settings were NOT saved.
Could you please help me out?
Thank you.Hi,
It seems to be a bug in version 3.5.
Do like this:
After you open the screen to <i>choose the dafault source system</i>
Clcik on 3rd button(F6) available in the bottom of the scrreen.
And then select teh tick mark for required system.
And then click on Continue button
You have do this step before you drop the cube to right side of the cube.
Ok, even after all these steps , if you reopen the screen you would not see Tick mark u have done just before. DONOT WORRY ABT it.
Drag and drop required cube with dat flow before.
Now you can see the Transfer rules with selected Source system only in the collected Objects.
With rgds,
Anil Kumar Sharma .P -
How to set the table input in Query template?
Hi all.
I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS). But if i set the same xml structure in
query template, I didn't get the output. Table input parameter does not take that xml source. How to set the table input in Query template?
can anyone help me?
Regards,
HemalathaHema,
You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
Sam -
How to set the table I_ORG in 'BBP_EXTREQ_INBOUND'?
dear all,
Now I am using BAPI 'BBP_EXTREQ_INBOUND' to create a shopping card and have successed.
but in the table I_ORG, whatever I set the value of organization ID and group ID, it will not be changed in the SRM.
how can I set them?
t hank you!hi ,
you can use BADI --> BBP_PGRP_ASSIGN_BADI in your SRM system and make changes according to your own requirements.
if you make changes using the above BADI --> then changes should be updated in the newly created shopping cart.
this is because , the above BADI is called ---> in the
BAPI 'BBP_EXTREQ_INBOUND' .
check out the following sequence --->
BBP_EXTREQ_INBOUND ---> calls
FM BAPI_SCEC_CREATE ---> calls
{BAdI - BBP_PGRP_ASSIGN_BADI -
PERFORM sc_pgrp_assign_badi TABLES lt_i_items "XMZSP02AO
lt_i_account "XMZSP02AO
lt_i_partner "XMZSP02AO
USING ls_i_header "XMZSP02AO
CHANGING lt_i_orgdata[] "XMZSP02AO
return[]. "XMZSP02AO -
Unable to set the selected value for a ADF LOV
Hi,
I am developing an application using jdeveloper 10.1.3 and Struts.
I have created a ADF LOV on my JSP Page as given below:
<html:select property="lob" onchange="javascript:selectLOB(this.form)">
<html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
</html:select>
When i submit the form, i am able to get the value of the selected Value in the List.
JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
Row r = (Row) listBinding.getSelectedValue();
String SoLob = (String) r.getAttribute("LobLob");
But i am unable to set the selected value back in the list when i return to the form again.
I tried the following:
int x = listBinding.getSelectedIndex();
listBinding.setSelectedIndex(x);
It would be really helpful if some one could let me know what needs to be done.
Thanks,
SubashiniGyan,
I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
"Rendered" on the field so that based on search parameters we can hide result table column.
After searching online, I modified the controller code as follows
1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
3. Modified the controller code as follows :
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
OADBTransaction txn = am.getOADBTransaction();
if (testvo != null)
OARow row = (OARow)testvo.first();
if (a.equalsIgnoreCase("Approved"))
row.setAttribute("Testrender", Boolean.FALSE);
else
row.setAttribute("Testrender", Boolean.TRUE);
} But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
Its using only the value of one search parameter but not the second one .
The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
So can you please let me know how to proceed from here ? -
Setting the value of a single attribute for multiple line items
Hi all,
I am working on a Web Dynpro application, I have created this applicaion for an accounting document so it has header data and multiple line item data. As per the requirement I have to put the following logic:
1. When a user enters a value in the field KBLNR on the line item, all the other fields like cost centerm fund, functional area should populate from a database table based on the value of the KBLNR. to get this I have put the following code:
TYPES: BEGIN OF t_kblp,
fipos TYPE kblp-fipos,
kostl TYPE kostl,
END OF t_kblp.
DATA lv_kblnr TYPE wd_this->element_t_bseg-kblnr.
DATA: lt_kblp TYPE STANDARD TABLE OF t_kblp,
wa_kblp LIKE LINE OF lt_kblp,
lt_bseg TYPE STANDARD TABLE OF bseg,
wa_bseg TYPE bseg.
DATA lo_nd_t_bseg TYPE REF TO if_wd_context_node.
DATA lo_el_t_bseg TYPE REF TO if_wd_context_element.
DATA: ls_t_bseg TYPE wd_this->element_t_bseg,
lo_api_controller TYPE REF TO if_wd_controller,
lo_message_manager TYPE REF TO if_wd_message_manager,
lo_nd_tbseg TYPE REF TO if_wd_context_node,
lo_el_tbseg TYPE REF TO if_wd_context_element,
lt_el_tbseg TYPE wdr_context_element_set,
lv_bseg TYPE bseg.
lo_nd_t_bseg = wd_context->path_get_node( path = `ZDATA.CHANGING.T_BSEG` ).
lo_api_controller ?= wd_this->wd_get_api( ).
CALL METHOD lo_api_controller->get_message_manager
RECEIVING
message_manager = lo_message_manager.
lo_nd_tbseg = wd_context->path_get_node( path = `ZDATA.CHANGING.T_BSEG` ).
lt_el_tbseg = lo_nd_tbseg->get_elements( ).
LOOP AT lt_el_tbseg INTO lo_el_tbseg.
lo_el_tbseg->get_static_attributes(
IMPORTING static_attributes = lv_bseg ).
IF lv_bseg-kblnr NE ' '.
SELECT belnr
fipos
kostl
PSPNR
geber
saknr
fkber
grant_nbr
gsber
FROM kblp
inTO corresponding fields of wa_kblp
WHERE belnr = lv_bseg-kblnr and
saknr = lv_bseg-saknr.
ENDSELECT.
lo_nd_t_bseg = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG` ).
* get element via lead selection
lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
lo_el_tbseg->set_static_attributes(
EXPORTING static_attributes = wa_kblp ).
CLEAR: lv_bseg, wa_kblp.
ENDLOOP.
everything is working fine but now the problem is couple of fields that I have in wa_kblp are with different names in bseg table and hence they are not updating... I tried putting the following logic within the loop :
lo_el_t_bseg->set_attribute(
name = `PROJK`
value = wa_kblp-pspnr ).
but it's only setting the value of the first line item and not working for the multiple line items, can you please tell me how can do this?
Thanks,
Rajat Garg
Edited by: rajatg on Jun 24, 2011 5:09 PMHi Chris,
I tried your code and it worked fine but after I put this code I am getting another issue. within the loop I had a code to make the fields non modifiable on the screen and was working fine but now what's happening is it's making the all the lines uneditable except the one with data on it (which is completely opposite), this is what I have coded:
LOOP AT lt_el_tbseg INTO lo_el_tbseg.
lo_el_tbseg->get_static_attributes(
IMPORTING static_attributes = lv_bseg ).
IF lv_bseg-kblnr NE ' '.
SELECT belnr
fipos
kostl
PSPNR
geber
saknr
fkber
grant_nbr
gsber
FROM kblp
inTO corresponding fields of wa_kblp
WHERE belnr = lv_bseg-kblnr and
saknr = lv_bseg-saknr.
ENDSELECT.
move: wa_kblp-belnr to wa_bseg-kblnr,
wa_kblp-fipos to wa_bseg-fipos,
wa_kblp-kostl to wa_bseg-kostl,
wa_kblp-pspnr to wa_bseg-projk,
wa_kblp-geber to wa_bseg-geber,
wa_kblp-saknr to wa_bseg-saknr,
wa_kblp-fkber to wa_bseg-fkber,
wa_kblp-grant_nbr to wa_bseg-grant_nbr,
wa_kblp-gsber to wa_bseg-gsber,
lv_bseg-dmbtr to wa_bseg-dmbtr.
append wa_bseg to lt_bseg.
lo_nd_edit_property = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG.EDIT_PROPERTY` ).
get element via lead selection
lo_el_edit_property = lo_nd_edit_property->get_element( ).
lo_el_edit_property->set_attribute(
name = `EDIT_FIELD`
value = 'ABAP_TRUE' ).
lo_el_edit_property->set_attribute(
name = `EDIT_WBS`
value = 'ABAP_TRUE' ).
endif.
endloop.
o_nd_t_bseg = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG` ).
get element via lead selection
lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
CALL METHOD lo_nd_t_bseg->bind_table
EXPORTING
new_items = lt_bseg.
Can you please see what I am doing it wrong here.... -
How to set the User rights to use DAQ/IMAQ in WinXP as general(=limited) user
When I install Software, written in LabVIEW (build an executable/installer), as administrator it works fine. But when I switch over to a user account with limited rights (we are talking about WinXP) it will not run and gives error messages. It happend to me at two almost the same computers, one with a DAQ-board, and one with an IMAQ-board. (At the computer with IMAQ1411 -> I also checked MAX -> errors/no access.) What to do?
Attachments:
DAQ_example.JPG 9 KB
IMAQ_example.JPG 15 KBHello,
I investigated the issue further. To work around this problem you should add write permissions to the C:\Program Files\National Instruments folder. Be sure that all subfolders and files are awarded write permission. This should solve your problems. eventually you could break it up to one file which must be set to write permission but by setting the whole folder to write permission you solve this problem for many other drivers to so you would not run into this everytime you use different hardware.
Best regards,
RikP
Application Engineering
National Instruments
Rik Prins, CLD
Applications Engineering Specialist Northern Europe, National Instruments
Please tip your answer providers with kudos.
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense -
Set the Finder's Search Box default to current folder? How?
How do I set the the Finder's default Search Box parameters to be the current folder that I'm in, instead of searching the whole flamin' computer? (I have to quickly click on the folder name) And also instead of the default being 'Contents', how can I set it to be 'File Name'? It would speed up so many of my searches. I could still click on 'This Mac' to get that, and 'Contents' likewise.
Tks in advance
DrewI complitely agree and very very frustrated with that problem too just wrote this to feedback system:
The problem that many people find is that when you have a finder windows open and that you browse a file like "Appplication" then due to the large number of application you use the search bar by taping the application name.
That's where the problem come from.
Once you tape the application name it start searching in the all computer ! instated of in the file
The second problem is that he is searching the content and it will be better to have as default by file name.
If i wanted to do that kind of search i will use the spolight button next to the clock and people want that search bar in finder to be searching in the folder you are in not all computer.
Last problem is that we don't have a custom option in spotlight preference or finder preference.
I would recommend to have that default search in finder change to search in file ONLY and to add Spotlight option in the Finder Preference for people to be able of customizing it.
When you use that search bar everyday many times a day it becomes very very frustrating. -
I set the wrong language how do I change it to English?
I just got my iPod nano. I accidently set the language in something I cannot read. How can I change it to English?
Learn that language.
Just kidding... hit the menu button a few times to make sure you're at the top-level menu. Then scroll down to the sixth option (five clicks down... it's "Settings" in English). Select that, then scroll to the fifteenth option (fourteen clicks down, also the third from the last option... "Language" in English). Select this, then select the first option in this menu. That should be English. -
Set The Secured Files, Not allow printing and saving to another location
Dear Sir / Madam,
Please help...
Possible to set the security permission for share files, not allow end users to printing and saving a PDF to another location.
Thanks,
Alex TaiHi Alex,
Possible to set the security permission for share files, not allow end users to printing and saving a PDF to another location.
Based on my tests, users can save the document with only Read permission, which is by design. If you don’t want users to print files, please do not give the print permissions on printers.
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Maybe you are looking for
-
How to remove empty lines from xml files after removing nodes from document
<pre> Hi <b>i have xml document, which is shown below after removing some nodes from the document ,i am getting empty lines in place of removed nodes,how to resolve this and get the proper xml document without any errors</b> <?xml version="1.0" encod
-
Hi All, I am having a problem getting my MSE joined to my WCS. It was joined at one point, but we changed the IP address on the eth0 interface from one IP to another and now it's showing up in WCS as UNREACHABLE. I have run through the setup of my MS
-
How to communicate accross applications in different application domains using SWFBridge
Hi, I have a Flex portal application that loads two sub-applications as siblings as such: Different application domains but same Security Domain var loaderContext1:LoaderContext = new LoaderContext(); loaderContext1.applicationDomain = new Applicati
-
What channel do I set the box to, to watch a DVD?
-
MySQL Boken Pipe Exception...Plz Help Me Urgently
Hello Friends.... When I shifted my Java application which has MySQL(Linux has MySQL - 4.1.21-standard version. ) as a backend on Linux Platform I encountered following exception... com.mysql.jdbc.CommunicationsException: Communications link failure