Seeburger ZIP question
Hello experts,
I'm using a receiver file adapter to zip (gzip) my message using Seeburger zip module.
When I open it on a Windows environment, I see the file within the zip file does not have any extension.
I want to have a .edi file within the .gz file. is that possible?
I was told to use the SeeburgerAttribMapper module, but I'm not familiar with it.
Thanks a lot
Dimitri
hi Dimitri,
you would have to use zip instead of gzip.
Then you can use the AttribMapper to specify the filename and use this DynamicAttribute to create the filename which is inside the zipFile.
An example is:
Module1: attribMapper
Parameter: http://yourNamespace/yourFileName
ParameterValue: "UTILMD_123.edi" (you can also add a timestamp, etc..)
Module2: bic
destSourceMsg= MainDocument
destTargetMsg=@http://yourNamespace/yourFilename
Module3: zip
mode=zip
sourceDest0=@http://yourNamespace/yourFilename
targetDest=MainDocument
zipFormat=zip
This will create a zip File where you can specify the name with the Fileadapter Parameters itself,
and the file inside the ZipFile will be what you have specified in the attribMapper as "http://yourNamespace/yourFileName"
For Exmaple:
zipFile= 20100316-152713-048.zip (Filename generated by the FileAdapter)
File inside the zip: UTILMD_123.edi (Filename generated by the AttribMapper)
Similar Messages
-
Seeburger Installation Question
Hi Experts,
We are currently doing an SAP PI 7.1 project where for an implmenetation using Seeburger Adapter (FTP/VAN) and other modules e.g. BIC
However while trying to do implementation have come across quite a few issues which seem to be installation related. e.g. libraries missing, sca files missing etc.
What we are wondering is what are the pro's and con's of doing a fresh install? We don't have any development in their which could be affected. However we didn't do the original install so just as a precaution wondering what could be a side affect.
So any one who has done it any views or pitfalls to watch out for?
regardsHi,
Go thru these threads.....
Re: step by step Seeburger installation
Re: Abount Seeburger adapter installation
Regds,
Pinangshuk. -
Command line Zip question....
I'm new to Tiger and it seems that the zip that's included with Tiger is not aware of resource forks, but that's kind of contradicted by the man page. The man page says you can use "-df" to include only the data fork of the files.
But this command:zip -df twcpages twcpagesgives this result:zip error: Invalid command arguments (specify just one action)Is this just a bug in the documentation?
I'm cool with it not being aware of the resource forks, by the way, as that's the result I'm after. I'm just a bit confused by the man page is all.
charlieHi Jun--
I've looked into the source code of zip (can be
downloaded from here), and my impression is that the
[MacOS] in the manpage means MacOS9. It seems there
was a veriosn of zip for OS9 which ran in a "command
window" ("Sioux" implemented Metroworks, I guess) and
did have an option -df.
That makes sense now that I look at the source code. I see the references to the "Sioux" stuff, and even recognize some of the "More Files" stuff in the MacOS parts of the code. So I bet you're right, it's probably for the MacOS 9 port...
best,
charlie -
Hello experts,
I'm facing a nasty Seeburger BIC problem in my receiver adapter when converting from XML to EDI.
The error is:
- SEEBURGER BICXIADAPTER.MODULE Message could not be forwarded from the Module (CallBicXIRa) to the JCA adapter.
Adapter Framework caught exception: BICMODULE:Adapter call failed. Reason:
- Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error in BICMODULE-module:Adapter call failed. Reason: .
As you can see, the reason is not mentioned.
When I look into the message monitoring, I see the message does not have a payload. On the SOAP ducument is provided with this content:
authorization:Basic UElJU1VTRVI6SUQzaW5zdGFsbA== accept-encoding:gzip
sap-xi-messageid:4BA11A89186666D8E1000000C0A8A310 content-
length:2916349 host:id3-ma-dwh1.mrco.be:51300 user-agent:SAP NetWeaver Application Server (1.0;711) content-
type:multipart/related;boundary=SAP_001E0BFD21001DEF8CBF15AFFC885B07_END;type="text/xml";start="" soapaction:"http://sap.com/xi/XI/Message/30"ApplicationMessageasynchronous4ba11a89-1866-66d8-e100-0000c0a8a3102010-
03-17T19:07:56ZID2CLNT001SteriaVANBC_UTILMDToSteriaVANMDSnapShot_In_AExactlyOnceInformationOffID2CLNT001XI4ba11a89-1866-66d8-e100-0000c0a8a3103.0is.13.id3-ma-dwh1XI4ba11a89-1866-66d8-e100-0000c0a8a3103.0af.id3.id3-ma-dwh1XIRA4ba11a89-1866-66d8-e100-0000c0a8a310MainDocumentApplication
The Seeburger modules used in my receiver adapter:
1. localejbs/CallBicXIRaBean -- BIC
2. localejbs/Seeburger/Zip -- ZIP
The Module Configuration:
BIC - destEncoding - ISO8859_1
BIC - destSourceMsg - MainDocument
BIC - destTargetMsg - MainDocument
BIC - mappingName - X2E_....
BIC - srcEncoding - ISO8859_1
ZIP - mode - zip
ZIP - sourceDest - MainDocument
ZIP - targetDest - MainDocument
ZIP - zipFormat - gzip
Messages fail at random. ABAP mapping and data are ok.
I think there is a problem with capacity or memory or something.
Anyone any idea?
Thanks a lot!
Dimitri>
Dimitri Sannen wrote:
> Hello experts,
>
> I'm facing a nasty Seeburger BIC problem in my receiver adapter when converting from XML to EDI.
>
> The error is:
>
> - SEEBURGER BICXIADAPTER.MODULE Message could not be forwarded from the Module (CallBicXIRa) to the JCA adapter.
>
> The Seeburger modules used in my receiver adapter:
>
> 1. localejbs/CallBicXIRaBean -- BIC
> 2. localejbs/Seeburger/Zip -- ZIP
>
Dimitri,
The reason that you are getting this error is because you are missing the exit module bean. add this module after the zip module
Processing sequence
3. localejbs/ModuleProcessorExitBean Local Enterprise Bean Exit
Module configuration
exit JNDIName deployedAdapters/SeeXIAS2/Shareable/SeeXIAS2
There is an exit entry missing which actually is used to pass the bic data to PI box.
Regards,
Pavan -
ADF BC : Ant and XSLT to modify bc4j.xcfg and DataBindings.cpx
hi
Before I deploy my ADF BC / ADF Swing application I would like to use Ant to make some changes to bc4j.xcfg and DataBindings.cpx
(see also "Defining ADF Business Components Runtime Properties for ADF Swing Applications" in the JDeveloper documentation)
I would like DataBindings.cpx to point to the correct configuration and bc4j.xcfg to only contain the configuration information that is required.
I created some XSLT transformation stylesheets to help me with that, see this example application:
http://verveja.footsteps.be/~verveja/files/oracle/AntXsltConnectionSwitchStuff-v0.02.zip
question
Does JDeveloper itself provide any features to automatically make changes to DataBindings.cpx (and bc4j.xcfg) before deployment?
many thanks
Jan Verveckenrepost
-
Post jDev 903 cleanup: Classpath and Path.
Having installed the new [complete set] 9.0.3 and having decided NOT use 9.0.2 or other developer suite tools, it's time to clean up my path and classpath settings.
Please help me sort it all out. Thanks.
Per instructions I did not install the new 9.0.3 into any existing oracle_home. The home_dir for the 9.0.2 and complete suite is: E:\Programs\OraDevSuite.
My Classpath has three entries: (formatted for easy reading on the forum.)
CLASSPATH=
E:\Programs\OraDevSuite\jlib\bigraphbean.jar;
E:\Programs\OraDevSuite\jlib\LW_PfjBean.jar;
E:\Programs\OraDevSuite\jlib\bigraphbean-nls.zip
Questions: 1. Can (Should) I throw these out? 2. Do I need anything else in the classpath? (The java command line uses the -classpath parameter anyhow.)
Here are the PATH settings (in the order maintained by the os). This really needs to be cleaned up. I have added my question on each line. Sounds like alot of questions but many are the same type.
Path=
E:\Programs\OraDevSuite\bin; (Old suite: Good-bye?)
E:\Programs\OraDevSuite\jdk\jre\bin; (Old suite: Good-bye?)
E:\Programs\OraDevSuite\jdk\jre\bin\classic; (Old suite: Good-bye?)
E:\Programs\OraDevSuite\jdk\jre\bin\classic; (Old suite: Good-bye?)
E:\Programs\OraDevSuite\jlib; (Old suite: Good-bye?)
E:\Programs\OraDevSuite\bin; (Old suite: Good-bye?)
E:\ORACLE\bin; ( How do I verify if this is needed by 9iDB or OEM?)
C:\Program Files\Oracle\jre\1.3.1\bin; ( Since 9.0.3 comes with its own can I REMOVE this FROM THE DISK? )
C:\Program Files\Oracle\jre\1.1.8\bin; ( Can I remove this from the disk? )
C:\WINDOWS\system32;
C:\WINDOWS;
C:\My Programs\Java\sdk1_3\bin; ( Can I remove this from my disk? )
**********THANK YOU!**************
-NatIf you downloaded the full version of 9.0.3 Dev Preview (the 160MB sized-one), then it's completely self-contained. Just unzip it and go. Anything else can be removed.
If you downloaded the "base" version, then you'll need to keep a JDK 1.3 around and edit your .\jdev\bin\jdev.conf file to SetJavaHome to point at your JDK home location. -
ADF BC : using UI Locale to translate data (Steve M. example 95)
hi
In his example 95, Steve Muench suggests an approach to "Change Preferred UI Locale with a Button in the Page".
I have made some minor modifications to this example, using JDeveloper 10.1.3.3.0, in an attempt to make it work with "translated data".
(1) I added a bind variable "LanguageBVar" and an attribute "CalculatedTranslatedDnameAttribute" to "DeptView" with this expression:
nvl(decode(:LanguageBVar, 'en', dname || ' (en)', 'it', dname || ' (it)'), dname || ' (language not supported)')(2) I added this new attribute to the table and the form on TestPage.jspx
(3) I implemented the executeQuery() method in DeptViewImpl.java like this:
public class DeptViewImpl extends ViewObjectImpl
public void executeQuery()
Locale vLocale = getApplicationModule().getSession().getLocale();
System.out.println("DeptViewImpl.executeQuery()"
+ " : getName() = " + getName() + ", vLocale = " + vLocale);
setLanguageBVar(vLocale.getLanguage());
super.executeQuery();
}(4) If I run TestPage.jspx in JDeveloper, my "translated Dname" column shows "translated data" with suffix "(en)".
(5) If I click on "Italian", all the labels change, but my "translated Dname" column still shows "translated data" with suffix "(en)".
(6) After that I added a button to execute "DepartmentListIterator" using an "Execute" binding.
(7) Again, as in (4), I run the page and see the same behaviour and this output on the console:
DeptViewImpl.executeQuery() : getName() = DeptView, vLocale = en
DeptViewImpl.executeQuery() : getName() = DepartmentList, vLocale = en(8) Again, as in (5), I click on "Italian" and see the same behaviour (no extra output on the console in this step).
(9) If I click on the "ExecuteDepartmentListIterator" button, no "translated data" changes on the page, although this line is added on the console:
DeptViewImpl.executeQuery() : getName() = DepartmentList, vLocale = itThe modified version of this application, as described here, is available at (check README.txt):
http://verveja.footsteps.be/~verveja/files/oracle/ChangeLanguageInTheUIForData-v0.01.zip
question:
How can I make this application show "translated data" when changing the UI Locale, as in step (5).
However it is important that a solution for this would be as "non-intrusive" as possible because I would like to be able to use it in an application that has lots of translated data and where the user should be able to change his preferred language on each page.
many thanks
Jan VerveckenThanks for your reply Steve.
In your updated testbindlocale.zip example, the buttons "Italian" and "Inglese" behave as expected. The "TranslatedDname" column has the correct translated data.
So, I modified the example in ChangeLanguageInTheUIForData-v0.04.zip, in a similar way an moved up the call to "super.prepareRender(lfContext)" before the check on the Iterator Bindings in the current Binding Container, like this:
public void prepareRender(LifecycleContext lfContext) {
App app = (App)ELHelper.get("#{App}");
Locale preferredLocale = app.getPreferredLocale();
UIViewRoot uiViewRoot = FacesContext.getCurrentInstance().getViewRoot();
System.out.println("CustomFacesPageLifecycle.prepareRender()"
+ " : preferredLocale = " + preferredLocale
+ ", uiViewRoot.getLocale() = " + uiViewRoot.getLocale());
boolean changedLocale = false;
if (preferredLocale == null) {
app.setPreferredLocale(uiViewRoot.getLocale());
} else {
if (preferredLocale != uiViewRoot.getLocale()) {
// if (!preferredLocale.equals(uiViewRoot.getLocale())) {
System.out.println("CustomFacesPageLifecycle.prepareRender()"
+ " : preferredLocale = " + preferredLocale
+ ", uiViewRoot.getLocale() = " + uiViewRoot.getLocale()
+ " : different so the Locale has changed");
uiViewRoot.setLocale(preferredLocale);
changedLocale = true;
super.prepareRender(lfContext);
if (changedLocale)
DCBindingContainer vDCBindingContainer =
(DCBindingContainer)lfContext.getBindingContainer();
ArrayList vIterBindingList = vDCBindingContainer.getIterBindingList();
for (Object vIterObject : vIterBindingList)
JUIteratorBinding vJUIteratorBinding =
(JUIteratorBinding)vIterObject;
ViewObject vViewObject = vJUIteratorBinding.getViewObject();
// if (vViewObject.getVariableManager().findVariable("LanguageBVar") != null)
if (vViewObject instanceof SessionLocaleBasedVO)
System.out.println("CustomFacesPageLifecycle.prepareRender()"
+ " : calling executeQuery()"
+ " : preferredLocale = " + preferredLocale
+ ", uiViewRoot.getLocale() = " + uiViewRoot.getLocale());
vViewObject.executeQuery();
}(h1) If I run TestPage.jspx, my "translated Dname" column shows "translated data" with suffix "(en)" and I see this output on the console:
DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en : different so the Locale has changed
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = en(h2) If I click on "Italian", my "translated Dname" column shows "translated data" with suffix "(it)" and I see this output added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en : different so the Locale has changed
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = it, uiViewRoot.getLocale() = it
DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = it
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = it, uiViewRoot.getLocale() = it
DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = it(h3) If I click on "Inglese", my "translated Dname" column shows "translated data" with suffix "(en)" and I see this output added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = it
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = it : different so the Locale has changed
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = enSo, this seems to behave similar to your updated testbindlocale.zip example.
about determining whether the Locale has changed
Consider this scenario ...
(i1) Run TestPage.jspx and the "translated Dname" column shows "translated data" with suffix "(en)", the same as in (h1).
(i2) Select a different row in the table, and click the "Edit Number on AnotherPage" button. This output is added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en : different so the Locale has changed
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = en, uiViewRoot.getLocale() = en
DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en(i3) Without entering an "Example Number ...", just click the "Update and Back to TestPage" button. This output is added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNING: JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[20 ] ... and the "JBO-35007: Row currency ..." message also shows up on the page.
(i4) Click the "Update and Back to TestPage" button again to return to the "start page".
If I try a scenario similar to "i1 to i4" where I do provide an "Example Number ..." in step (i3), the first row gets updated instead of the one I selected in step (i2).
To imporve this behaviour I replaced this line ...
if (preferredLocale != uiViewRoot.getLocale()) {... with this line ...
if (!preferredLocale.equals(uiViewRoot.getLocale())) {And after that, a scenario like "i1 to i4" behaves like this:
(j1) Run TestPage.jspx and the "translated Dname" column shows "translated data" with suffix "(en)", the same as in (h1) and (i1). But only this output is added on the console:
DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = en
DeptViewImpl.executeQueryForCollection() : getName() = DepartmentList, vParamNV[0] = LanguageBVar, vParamNV[1] = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en(j2) Select a different row in the table, and click the "Edit Number on AnotherPage" button. This output is added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en(j3) Without entering an "Example Number ...", just click the "Update and Back to TestPage" button. This output is added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = en, uiViewRoot.getLocale() = en ... and no message on the page, just returning to the "start page".
If I try a scenario similar to "j1 to j3" where I do provide an "Example Number ..." in step (j3), the correct row is updated.
But, if I precede a scenario like "j1 to j3" with an explicit language change, things go wrong again.
(k1) Run TestPage.jspx and the "translated Dname" column shows "translated data" with suffix "(en)", the same as in (h1), (i1) and (j1).
(k2) Click on "Italian", the "translated Dname" column shows "translated data" with suffix "(it)", similar to step (h2).
(k3) Select a different row in the table, and click the "Aggiorna Numero con AnotherPage" button. This output is added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = it
CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en
CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = en : different so the Locale has changed
CustomFacesPageLifecycle.prepareRender() : calling executeQuery() : preferredLocale = it, uiViewRoot.getLocale() = it
DeptViewImpl.executeQueryForCollection() : getName() = DeptView, vParamNV[0] = LanguageBVar, vParamNV[1] = it(k4) Without entering an "Campo Numerico ...", just click the "Aggiorna e Ritorna a TestPage" button. This output is added on the console:
CustomFacesPageLifecycle.prepareRender() : preferredLocale = it, uiViewRoot.getLocale() = it
oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNING: JBO-35007: La valuta della riga è cambiata da quando è stata visualizzata linterfaccia utente. La chiave di riga prevista era {0}. ... and the "JBO-35007: La valuta della riga ..." message also shows up on the page.
(k5) Click the "Aggiorna e Ritorna a TestPage" button again to return to the "start page".
see http://verveja.footsteps.be/~verveja/files/oracle/ChangeLanguageInTheUIForData-v0.05.zip (check README.txt)
So, ...
It looks like some "row currency issues" remain with this approach.
regards
Jan -
ESS/XSS Web Dynpro SCA import in CMS to view/modify Web Dynpro Source Code
I am having problems importing ESS/XSS Web Dynpro related SCA's into CMS.
Following steps were followed
1. Download following files from SAP service marketplace.
BPERP4ESS0_0-10003146.sca
ESS09_0-10002965.zip ( This file shows as SCA in the download page but download as with .zip)
PCUIGP009_0-20000568.zip ( This file shows as SCA in the download page but download as with .zip)
Question: Is this correct, did I get all I need? Do I need to download any more files?
2. Deployed above files using SDM.
3. Created a product in SLD and defined software component dependencies(SAP_BUILDT, SAP_JTECHS, SAP-JEE) I could define any of the above files(BPERP4ESS0_0-10003146, ESS09_0-10002965,PCUIGP009_0-20000568) as software dependencies as I could find in the software catlog.
Question: Should this files show up in the software catlog? If yes what should I do?
4. Created a track in CMS.
5. Added software components for development defined in the SLD. Above files doesn't show up under sap.com to be added as development component. I already copied BPERP4ESS0_0-10003146.sca, ESS09_0-10002965.zip,PCUIGP009_0-20000568.zip to D:\usr\sap\JTrans\CMS\inbox.
Question: How do I add this files to development components??
5. All other required Software Components(SAP_BUILDT, SAP_JTECHS) were automatically added when I added the development component.
What should I do so ESS09_0-10002965.zip,PCUIGP009_0-20000568 would show up under sap.com vendor component list??
Any help on this is greatly appericated.
Thanks!!Hi,
Did you receive a response to this question? We are having the same problems whilst following some instructions we received from SAP's OSS titled the JDI cookbook for ESS.
When defining a track in the CMS the software components SAP_ESS and SAP_MSS are not in the list for vendor sap.com. Yet we use the standard ESS and MSS portal content delivered by SAP.
How do we get these components in the list so that we can select them?
Thanks in advance. -
Af:convertNumber : currency format is incorrect
hi
Using JDeveloper 11.1.1.2.0 I created this example application to illustrate some behaviour of the af:convertNumber component:
http://www.consideringred.com/files/oracle/2010/CurrencyCodeApp-v0.01.zip
The browseEmpSal.jspx has af:convertNumber component for currency like this:
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Sal.format}"
type="currency" currencyCode="#{backing_browseEmpSal.currencyCodeToUse}"/>Please consider this scenario:
- (sc1-a) in JDeveloper stop the IntegratedWeblogicServer (if it is running)
- (sc1-b) run the browseEmpSal.jspx
- (sc1-c) on the page, notice the value "user.language = nl, user.region = BE"
- (sc1-d) click the Next button, which navigates to the next row without a problem, see also CurrencyCodeApp-nl-BE.png
- (sc1-e) in JDeveloper stop the IntegratedWeblogicServer
- (sc1-f) in the Default Run Configuration of the ViewController project change the Java options from "-Duser.language=nl -Duser.region=BE" to "-Duser.language=en -Duser.region=US" to simulate running this application in a different environment (on a different server)
- (sc1-g) run the browseEmpSal.jspx again
- (sc1-h) on the page, notice the value "user.language = en, user.region = US"
- (sc1-i) click the Next button, which results in an Error dialog that says "The currency format is incorrect" and suggesting to use a dollar sign, see also CurrencyCodeApp-en-US.png
question
- (q1) How can the example application in CurrencyCodeApp-v0.01.zip be modified to behave consistently, regardless the server system properties user.language and user.region ?
many thanks
Jan Verveckenhi
About question (q1), it looks like configuring the locale property on the af:convertNumber component already makes a difference:
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Sal.format}"
type="currency" currencyCode="#{backing_browseEmpSal.currencyCodeToUse}"
locale="#{backing_browseEmpSal.localeToUse}"/>See the modified application at http://www.consideringred.com/files/oracle/2010/CurrencyCodeApp-v0.02.zip
question
- (q2) Is it required to configure both the currencyCode and locale properties on an af:convertNumber component to have consistent behaviour, regardless the server system properties user.language and user.region ?
regards
Jan Vervecken -
Af:commandButton text EL expression evaluated twice
hi
For a button like this ...
<af:commandButton text="#{backing_SomePage.myCButtonText}" id="myCButton"/>... that gets its text property value from a backing bean method like this ...
public class SomePage
public String getMyCButtonText()
System.out.println("SomePage.getMyCButtonText() : begin");
return "myCButton text";
}... results in output like this ...
SomePage.getMyCButtonText() : begin
SomePage.getMyCButtonText() : beginSo, the backing bean method is called twice.
See also this example application,
at http://verveja.footsteps.be/~verveja/files/oracle/ButtonTextExpressionIssue-v0.02.zip
questions
Why is the EL expression for the text property of a af:commandButton evaluated twice?
Is there a way to avoid this behaviour and have the the backing bean method called only once?
many thanks
Jan VerveckenHmm,
then it must have been me creating it when investigating the issue, so I tricked myself.
I can avoid the double printing by
package buttontextexpressionissue.view.backing;
public class SomePage
String myCButtonText = null;
boolean called = false;
public String getMyCButtonText()
if (!called) {
System.out.println("SomePage.getMyCButtonText() : begin");
called=true;
myCButtonText= "myCButton text";
return myCButtonText;
public void setMyCButtonText(String myCButtonText) {
this.myCButtonText = myCButtonText;
}Frank -
Af:commandImageLink property expressions evaluated more than once
hi
An image link like this ...
<af:commandImageLink text="commandImageLink 1" id="cil1"
rendered="#{r_tryCommandImageLink.myCImageLinkRendered}"/>... that gets its rendered property value from a managed-bean method like this ...
public class TryCommandImageLink
protected int fIsMyCImageLinkRenderedCallCount = 0;
public boolean isMyCImageLinkRendered()
System.out.println("TryCommandImageLink.isMyCImageLinkRendered() : begin"
+ " : count = " + (++fIsMyCImageLinkRenderedCallCount));
return true;
}... results in output like this ...
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 1
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 2
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 3
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 4
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 5So, the managed-bean method is called 5 times.
See also this example application created using JDeveloper 11.1.1.5.0,
at http://www.consideringred.com/files/oracle/2011/EvaluatedMoreThanOnceApp-v0.01.zip
question
- (q1) Why is the EL expression for the rendered property of a af:commandImageLink evaluated 5 times?
(A similar issue (Re: af:commandButton text EL expression evaluated twice) in forum thread "af:commandButton text EL expression evaluated twice" seems to be resolved (e.g. in tryCommandButton.jspx in EvaluatedMoreThanOnceApp-v0.01.zip).)
many thanks
Jan VerveckenThanks for your reply John.
John Stegeman wrote:
... 1). Do you know during which phases it's being called (you could put a phase listener that just logs so that you can see)Please consider the modified example application
at http://www.consideringred.com/files/oracle/2012/EvaluatedMoreThanOnceApp-v0.02.zip
It shows that the isMyCImageLinkRendered() method is called during the jsfRenderResponse phase:
MyLogPagePhaseListener.beforePhase() : ( 9) jsfRestoreView : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 9) jsfRestoreView
MyLogPagePhaseListener.beforePhase() : ( 9) jsfRestoreView : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 9) jsfRestoreView
MyLogPagePhaseListener.beforePhase() : ( 0) initContext : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 0) initContext
MyLogPagePhaseListener.beforePhase() : ( 1) prepareModel : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 1) prepareModel
MyLogPagePhaseListener.beforePhase() : (14) jsfRenderResponse : /faces : /tryCommandImageLink
MyLogPagePhaseListener.beforePhase() : ( 8) prepareRender : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 8) prepareRender
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 1
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 2
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 3
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 4
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 5
MyLogPagePhaseListener.afterPhase() : (14) jsfRenderResponseIf the link is clicked, it also seems to be called during the phases jsfApplyRequestValues, jsfProcessValidations and jsfUpdateModelValues, resulting 8 calls:
MyLogPagePhaseListener.beforePhase() : ( 0) initContext : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 0) initContext
MyLogPagePhaseListener.beforePhase() : ( 1) prepareModel : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 1) prepareModel
MyLogPagePhaseListener.beforePhase() : (10) jsfApplyRequestValues : /faces : /tryCommandImageLink
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 1
MyLogPagePhaseListener.afterPhase() : (10) jsfApplyRequestValues
MyLogPagePhaseListener.beforePhase() : (11) jsfProcessValidations : /faces : /tryCommandImageLink
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 2
MyLogPagePhaseListener.afterPhase() : (11) jsfProcessValidations
MyLogPagePhaseListener.beforePhase() : (12) jsfUpdateModelValues : /faces : /tryCommandImageLink
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 3
MyLogPagePhaseListener.afterPhase() : (12) jsfUpdateModelValues
MyLogPagePhaseListener.beforePhase() : ( 5) validateModelUpdates : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 5) validateModelUpdates
MyLogPagePhaseListener.beforePhase() : (13) jsfInvokeApplication : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : (13) jsfInvokeApplication
MyLogPagePhaseListener.beforePhase() : ( 7) metadataCommit : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 7) metadataCommit
MyLogPagePhaseListener.beforePhase() : (14) jsfRenderResponse : /faces : /tryCommandImageLink
MyLogPagePhaseListener.beforePhase() : ( 8) prepareRender : /faces : /tryCommandImageLink
MyLogPagePhaseListener.afterPhase() : ( 8) prepareRender
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 4
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 5
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 6
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 7
TryCommandImageLink.isMyCImageLinkRendered() : begin : count = 8
MyLogPagePhaseListener.afterPhase() : (14) jsfRenderResponse
John Stegeman wrote:... 2). Does the same behaviour occur with the visible property?In a similar way I tried:
<af:commandImageLink text="commandImageLink to try visible" id="cil1"
visible="#{r_tryCImageLinkVisible.myCImageLinkVisible}"/>This results in 2 calls during the jsfRenderResponse phase:
MyLogPagePhaseListener.beforePhase() : ( 9) jsfRestoreView : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 9) jsfRestoreView
MyLogPagePhaseListener.beforePhase() : ( 9) jsfRestoreView : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 9) jsfRestoreView
MyLogPagePhaseListener.beforePhase() : ( 0) initContext : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 0) initContext
MyLogPagePhaseListener.beforePhase() : ( 1) prepareModel : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 1) prepareModel
MyLogPagePhaseListener.beforePhase() : (14) jsfRenderResponse : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.beforePhase() : ( 8) prepareRender : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 8) prepareRender
TryCImageLinkVisible.isMyCImageLinkVisible() : begin : count = 1
TryCImageLinkVisible.isMyCImageLinkVisible() : begin : count = 2
MyLogPagePhaseListener.afterPhase() : (14) jsfRenderResponseIf the link is clicked, still 2 calls during the jsfRenderResponse phase:
MyLogPagePhaseListener.beforePhase() : ( 0) initContext : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 0) initContext
MyLogPagePhaseListener.beforePhase() : ( 1) prepareModel : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 1) prepareModel
MyLogPagePhaseListener.beforePhase() : (10) jsfApplyRequestValues : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : (10) jsfApplyRequestValues
MyLogPagePhaseListener.beforePhase() : (11) jsfProcessValidations : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : (11) jsfProcessValidations
MyLogPagePhaseListener.beforePhase() : (12) jsfUpdateModelValues : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : (12) jsfUpdateModelValues
MyLogPagePhaseListener.beforePhase() : ( 5) validateModelUpdates : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 5) validateModelUpdates
MyLogPagePhaseListener.beforePhase() : (13) jsfInvokeApplication : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : (13) jsfInvokeApplication
MyLogPagePhaseListener.beforePhase() : ( 7) metadataCommit : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 7) metadataCommit
MyLogPagePhaseListener.beforePhase() : (14) jsfRenderResponse : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.beforePhase() : ( 8) prepareRender : /faces : /tryCImageLinkVisible
MyLogPagePhaseListener.afterPhase() : ( 8) prepareRender
TryCImageLinkVisible.isMyCImageLinkVisible() : begin : count = 1
TryCImageLinkVisible.isMyCImageLinkVisible() : begin : count = 2
MyLogPagePhaseListener.afterPhase() : (14) jsfRenderResponseQuestion (q1) remains.
regards
Jan -
Question on Seeburger High Tech Adapter Message Mappings
We are currently using Seeburger 17 SP20 High Tech Adapter
It has the following X12 Message Mappings (items bolded do not have mapping documentation)
A_810_V4010_to_INVOIC02
A_850_V4010_to_I_ORDERS05
A_855_V4010_to_I_ORDERS05
A_856_V4010_to_I_DELVRY03
FunctionalAcknowledgement_to_A_997_ALL
I_INVOIC02_to_A_810_V4010
I_ORDERS05_to_A_850_V4010
I_ORDERS05_to_A_855_V4010
But only has documentation for a subset
A_850_V4010_IN_INDUSTRY.xls
A_855_V4010_OUT_INDUSTRY.xls
A_856_V4010_IN_INDUSTRY.xls
A_856_V4010_OUT_INDUSTRY.xls
I have the following questions
1) Does documentation for the other mappings exist
2) Do mappings exist for the following message types, we have requirements to use these mapping for integration with a third party logistics provider
A_8561_V4010_to_I_MBGMCR03
I_DLVRY03_to_A_850_V4010
3) Are there any mappings for A_861_V4010
Thanks in advance for your help,
Regards,
JohnHi,
1) Does documentation for the other mappings exist.
A) I dont see any mapping or documents related to that mapping in my BIC.
2) Do mappings exist for the following message types, we have requirements to use these mapping for integration with a third party logistics provider
A_8561_V4010_to_I_MBGMCR03
I_DLVRY03_to_A_850_V4010
A) I dont see that mapping exists in my BIC.
3) Are there any mappings for A_861_V4010
A) No.
I thinnk you need yo approach seeburger for the same and get the required mapping from them.
Thnx
Chirag -
Questions about the content of download meeting recording .zip file
I tried posting this on the resurrected Connect forum, but my Adobe ID wasn't recognized there....
Concerning the files that are included in the .zip file of the meeting recording that can be downloaded:
1) Is there any documentation describing the files and their contents (i.e. what each file represents, what each XML element and attribute in those files represent)
2) Are there any files that capture mouse movement on a shared desktop?
Thank you!Hi Sean,
Regarding your first post:
Thanks Jorma! I don't have access to an FMS build at the moment but I'm quite certain it's there. As for contacting Jaydeep, I am 90% sure he authorized us to broadcast his email on here if folks had questions about the tool, but, in the case that I'm wrong and he didn't - I'm going to double-check first.
Regarding your most recent post..
"To be clear, the most critical goal I'm trying to accomplish is to create an automated process that will download the recording meeting at its highest quality in a consistent and reliable manner".
I personally believe this is possible; unfortunately, I haven't seen it done yet. If your recording contains:
- audio
- a camera feed
- screensharing
Then I think you might be able to get this going. If it contains shared content, like a shared PPT, this gets trickier.
"To do this, of course, I have to reproduce some of the functionality that Connect provides, starting and combining video and audio streams according to the instructions in the control files."
Exactly right. If your recording didn't contain shared content, then all you've got on your hands are a bunch of audio/video files that you could edit together as you wanted with your favourite video editing tool. If it contains shared content, here's (at a high level) what's happening.
For shared PPTs or FTContent files:
First (for version 9 recordings only), Connect reads the information on the Shared Content's location and SCO within mainstream and indexstream and validates it before loading it. I don't recall this happening to the same extent with version 8 or earlier, but maybe it was. Now, if the content is validated (ie. Connect can find it) the share pod will display as black, if it doesn't, you get an empty pod with an message like "No content is being shared" or something like that.
Connect then looks at the actual FTContent file, and loads the content that is to be shared using the file path and sco ID listed in here. It's important to note that the SCO ID and file path in here will likely not be the same as the original file you uploaded to your room, it's a new SCO id (I believe SCOs of this type are called referenced scos) and new path.
Now...if I was going to build some sort of player which would play all these files in one screen to make a recording...I might not want to use Connect's code here. If you know the file path to the shared content (from FTContent), you could easily view it with the content URL (conveniently also in FtContent). I'm not a coder, but I'm envisioning something like Presenter's GUI where you've got the presentation's content in the main area, and a video file (if there is one) playing back on the side.
Anyways, food for thought if you want to try to go about this. Connect recordings are incredibly complex and they come with a big learning curve, but if you can make sense of them the knowledge is quite valuable. -
how do I unzip a zip file? is it safe to download a zip file from apple website?
Thank you David. The file has a "zip" icon but I did try your solution. Double clicking the file did create a folder with several items. Double clicking on the items opened OmniOutliner which could not open any of the files. Excel could not open any either. Below are the items listed in the newly created folder described above:
One file: [Content_Types]
Three folders:
_rels
(empty)
docProps
app.xml
core.xml
xl
_rels (another folder)
wookbook.xml.rels
calcChain.xml
printerSettings (folder)
printerSettngs1.bin (this file has the 'zip' icon)
sharedStrings.xml
styles.xml
theme (folder)
theme1.xml
workbook.xml
worksheets(folder)
_rels (folder)
sheet1.xml
sheet2.xml
sheet3.xml -
Seeburger message tracking archiving / deleting question
Hello,
We are using Seeburger 1.7 with XI 7.0 for our EDI translations..We store information in Seeburger Message Tracking for our business requirements.I would like to know how these entries could be archived(Compressed) and stored or deleted after certain days so that we wont max up our storage..?
Any suggestions are appreciated.
Thanks in advance!
LarryPrateek,
Thanks for your response.Yes,I could find the "Archive Configuration" option..when I click that it shows me a screen saying show master data with two items with check boxes (Document Types & Archiving Systems)..On clicking the details of them I see set of parameters which shows the profile and the document type..not sure how to proceed from here to set up any archiving / deletion..any help is appreciated..
Regards,
Larry.
Maybe you are looking for
-
I just updated my Mac Book Pro to leopard 10.6.8, and now Power Point from my office suite angs, and when I start up or re boot the laptop Power Point automatically opens and then just hangs, the only way to close is to force close. Does any one know
-
Cant get my apps onto my itunes
I recently upgraded my computer to windows 7 from windows XP. on the XP OS i could transfer my apps into itunes with no problem, just click "transfer purchases" and boom. done. The upgrade to 7 was done with a complete hard drive format, no windows.o
-
Change form in existing KE30 report
Hello Gurus. I would like to know if there is a way to assign a different form to the existing KE30 report. Any feedback would be helpful. Thank you.
-
Import AfterEffects Project dialoge randomly appears?
I exported an XML from CS6 which a director then opened in CS5.5 and then sent back as an XML. I opened it in CS6 and ever since then whenever I open the project the AE project import dialoge randomly appears. This happens when I... - First start up
-
Upgrade SAP 4.6C to 4.6D R3up procedure
Dear All, Can anyone advice for a precise detailed procedure on how to Upgrade SAP 4.6C to SAP 4.6D using the R3up procedure? Thanks in advance. Simoun