How to disable design time data binding?
I am using Studio Creator IDE for the presentation layer and bringing the project into eclipse and from there moving on to creating daos,adding business objects etc.
However, when re-importing my files from eclipse to the Studio Creator to make layout changes, on the design view, i keep getting all these SQL exceptions.
Here's my current fix:
For eg, if on a page i had a Data Table component, i comment out my dao methods that populate the cachedrowset for the table data provider and i add for eg:
personRowSet.setDataSourceName("java:comp/env/jdbc/Travel");
personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
personRowSet.setTableName("PERSON");
and only then, i am able to see my table component in the design view.
Is there an option somewhere to tell the IDE not to check data bindings at design time???
That would be very very helpful.
Thanks!
Hi,
There is no option, ASAIK, to turn off the data bindings at design time. As you have mentioned the option that comes to my mind is to comment out the code for data binding till the design work is over.
Cheers
Girish
Similar Messages
-
Run time data binding via FormCalc/JavaScript+wrong text formating
Hello Everybody
I need to print a text block with company details depending on company code (different details for different codes). I tried to use this code for event "calculate":
if ($record.LS_HEADER.BUKRS == "1000") then
$ = $record.COMP_DETAILS_1000
elseif ($record.LS_HEADER.BUKRS == "1000") then
$ = $record.COMP_DETAILS_2000
endif
$record.COMP_DETAILS_1000, $record.COMP_DETAILS_2000 are elements from the form context which are linked to textmodules.
This code works and it prints correct textmodules for different company codes. But the printed text is not formated like text in the textmodules. The most important thing here is that these texts are always printed as a single long string and I need paragraphs like in the textmodules. It's a problem... If I use a statical binding (without FormCalc programming) the text modules will be printed with correct formating.
Using of checkbox "Allow Multiline Lines" hasn't helped here...
Have you any idea how should I do the run time data binding?
Thank you very much in advance!Hello,
the important part is "If I use a statical binding (without FormCalc programming) the text modules will be printed with correct formating." That means you can get the text in the shape you want. Just do that. Get all the texts. Next use the JS/FC scripting to hide all but one text. You get only one text to display and you use static binding to get the proper text format.
Hope this helps, Otto -
I am working on my first project in flash catalyst and have run in to problems with the data list I am creating. I have made the data list but my data list componets do not show up in the design-time data window. Has anyone else ran into this problem or knows how to fix it?
I read, your article titled Creating a comboBox in Flash Catalyst Beta 2 and thought I had gone through the steps correctly. I will run through the tutorial again and make sure that I did it correctly.
-
How can I set the data binding between Web Dynpro & Database table
Dear friend,
I am a beginner of Web Dynpro. I want to develop my simple project like these:
1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
1. How can I set the data binding between Web Dynpro and Database table ?
2. Are there any nescessary steps that I will concern for this case?
Sorry if my question is simple, I had try to find solution myself, but it not found
Thanks in advances,
SeMsHi,
You can write your own connection class for establishing the connection with DB.
Ex:
public class ConnectionClass {
static Connection con = null;
public static Connection getConnection() {
try{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
con = ds.getConnection();
return con;
}catch(Exception e){
return null;
You can place the above class file in src folder and you can use this class in webdynpro.
You can have another UserInfo class for reading and writing the data into the DB .
Regards, Anilkumar
PS : Refer
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
Message was edited by: Anilkumar Vippagunta -
How to Integrate real time data between 2 database servers
How to Integrate real time data between 2 database servers
May 31, 2006 2:45 AM
I have a scenario where the data base (DB2 400) is maintained by AS 400 application and my new website application based on j2ee platform access the same database also but the performance is very low. So we have thought of introducing new oracle data base which will be accessed by j2ee application and all the data from db 400 database will be replicate to oracle data base. In that scenario the only problem is of real time data exchange between 2 databases. How do we achieve that considering both the application As400 and j2ee website application are running in parallel and accessing the same information lying on DB2 400 database. We have to look at transaction management also.
Thanks
Panky
DrClap
Posts:25,835
Registered: 4/30/99 Re: How to Integrate real time data between 2 database servers
May 31, 2006 11:16 AM (reply 1 of 2)
You certainly wouldn't use XML for this.
The process you're looking for is called "replication". Ask your database experts about it.
I predict that after you spend all the money to install Oracle and hire consultants to make it replicate the DB2/400 database, your performance problem will be worse.
panks
Posts:1
Registered: 5/31/06 Re: How to Integrate real time data between 2 database servers
May 31, 2006 11:55 PM (reply 2 of 2)
Yeajh I now that its not a XML solution.
Replication is one of the option but AS400 application which uses DB2/400 DB is highly loaded and proposed website also uses the same database for retrieval and updation purpose.All the inventory is maintained in the DB2/400 database so I have thought of introducing new oracle database which will be accessed by new website and it will have all the relevant tables structure along with data from DB2/400 application. Now whenever there is a order placement from new website then first it should update the oracle database and then this data shuold also migrate to db2/400 application at real time so that the main inventory which is lying on db2/400 should be updated on real time basis because order placement is aslo possible from As400 application. So the user from As400 application should not get the wrong data.
Is it possible to use MQ products??
-PankyHi,
the answer to your question is not easy. Synchronization or integration or replication data between 2 (or more) database servers is very complicated task, even though it doesn't look like.
Firstly I would recommend to create good analysis regarding data flow.
Important things are:
1) what is primary side for data creation. In other words on which side - DB2 or Oracle - are primary data (they are created here) and on which side are secondary data (just copies)
2) on which side are data changed - only in DB2 side or only on Oracle side or on both sides
3) Are there data which are changed on both side concurrently? If so how should be conflicts solved?
4) What does it mean "real time"? Is it up to 1 ms or 1s or 1 min or 1 hour?
5) What should be done when replication will not work? I mean replication crash etc.
BTW. The word "change" above means INSERT, UPDATE, DELETE commands.
Analysis should be done for every column in every table. When analysis is ready you can select the best system for your solution (Oracle replication, Sybase replication server, MQ, EJB or your proprietary solution). Without analysis it will be IMHO gunshot into the dark. -
How to delete design time & configuration time objects permanently
Hi All,
how to delete the design time objects & configuration objects permanently, because i have created some objects repeatedly in different scenarios. there was some confliction, that's why i am going to delete the objects. Is it possible, if yes revert back to me asap.
Thanks & Regards,
Nag.hi,
Check tis for how to delete IR objects.
/people/siva.maranani/blog/2005/05/22/how-to-delete-software-component-from-integration-builder
and to delete it from ID delete it from the OBjects TAb.
Activate the change list.
Sachin -
How can I change Time data with List Entry Screen ?
Hi expert.
I transfer Time Data (Infotype 2003) via CAT6.
When I go to transaction PA61 and click List Entry icon.
Record is display and cannot change data.
If I wanna change data.I must to click Choose Icon one by one record.
How can I change data with List Entry Screen?
ps. If record create via PA61. I can change data with List Entry Screen.
I can't change with record that create via CAT6.
Best Regards.have u tried to change your time entry through CAT2 tcode, ithink if u have created profile for time entry then it should allow you to change and you can use esc otherwise, its generally the standard profile given by SAP. but is 4 one user
hope this helps
guds -
JSFL - How to disable Author-time Sharing on a library item
How can I disable author-time sharing on a library item?
I have tried this:
if (libraryItem.sourceLibraryName) libraryItem.sourceLibraryName = "";
if (libraryItem.sourceFilePath) libraryItem.sourceFilePath = "";
But I get the following error:
Error: Invalid value for property sourceLibraryName.
Thanks.I don't think you can prevent that (opening the other people's sparsebundle)
If you need a secure backup, you might have to do it on a separate USB hard drive. -
How to get real time date from Sunny Boy Inverters through SMA Webbox?
Hello,
I was looking on how to communicate with three Sunny Boy Inverters that are linked to a SMA webbox. Currently we get a daily summary of the solar production, but we would like to have real time data uploaded into LabVIEW. The people of SMA said that I needed to use "RS485 protocols" with a software they have called YASDI (http://www.sma.de/en/products/software/yasdi.html); however, I keep finding other information that says that I can communicate with my inverters using the SMA OPC server (http://www.sma-america.com/en_US/products/software/sma-opc-server.html). I also found this forum, http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/809129/highlight/true#M368718, where I understood that I don't need to use the OPC server, but instead I can use UDP communication to get the data. I found another forum that talks about using the YASDI :http://forums.ni.com/t5/LabVIEW/help-with-Sunny-Boy-inverter/m-p/293273/highlight/true#M153892.
I've tried to communicate with the people of the forums and I haven't gotten any responses; therefore, I wanted to see if I can get cleared up on this issue. Do I need to use OPC server to communicate with my inverters through the webbox or can I just use UDP in LabVIEW?
Any help would be greatly appreciated,
Thanks
JoseHello,
I got a response from Vincezo: http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/1794786. I'm currently working with the VI to communicate with the webbox through UDP. Since the PRC protocols to communicate with the webbox are in JavaScript Object Notation (JSON), I'm not sure if the data-in string has to be in JSON format. However, the only error I'm getting is 56 in the UDP read function. I've tried increasing the size of the bytes and timeout, but I keep getting this error. If anyone can help me with this part I would very grateful.
Thanks,
Jose -
How do I enter time data in A cell in 24-hour format?
Since I work in 24-hour time format, I want to enter time data in a cell in same format. I know how to display 24-hour format, but data entry is allowed only in 12-hour (am /pm) format. Kindly throw some light. Thanks !
1) select the cell(s) you want formatted as 24 hour times
2) Open the cell inspector (top right of your windows usually)
3) Change the Cell format to "Data and Time"
4) Change the "Date" to "None"
5) Change the "Time" to "19:08" (the 24-hour formatter) -
How to start Designing Master Data and transactional Data
Can anyone tell me how to really start to design Master Data and transactional Data in Sales? What are the steps if is it possible to share? Thanks!
Hi Lei,
first step is to read all necessary document on help.sap.com about Business Content for SD. Here you can see all the parts covered directly by SAP with the Business Content.
Then you can start the GAP analysis: you check if all your requirements are fully covered by BC or not, in this second case you can start developing your own InfoObjects.
Start always by Business Content.
Take a look also at this doc:
<a href="https://websmp110.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E">https://websmp110.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E</a>
Ciao.
Riccardo. -
How do I add time/date stamp to my screen capture file names?
I'm on mac osx.
I'm trying to add time/date stamp to my screen capture file names. (at the moment it's just 'Picture 1' etc..)
I've tried the following command in terminal but have not had success. please help!!
defaults write com.apple.screencapture name "datestamp" at "timestamp"
killall SystemUIServerSurely someone else will provide a better solution. Meanwhile, however, you might want to try the following script. Copy and paste the script into the AppleScript Editor's window and save it as an application. Then drop your screen capture files on the droplet's Finder icon.
on open theDroppedFiles
tell application "Finder"
repeat with thisFile in theDroppedFiles
set theFileName to name of thisFile
if (word 1 of theFileName is "Picture") and ¬
(word 2 of theFileName = word -2 of theFileName) then
set theExtension to name extension of thisFile
set P to offset of theExtension in theFileName
set theCreationDate to creation date of thisFile
set dateStamp to short date string of theCreationDate
set timeStamp to time string of theCreationDate
set name of thisFile to "Screen Shot " & dateStamp ¬
& " at " & timeStamp & "." & theExtension
end if
end repeat
end tell
end open
Message was edited by: Pierre L. -
How to Test Design Time Fusion Customizations in JDeveloper
Hi
When we look at the wording and the diagram in the Oracle documentation, it says -
"After you create these customizations, you can test them locally in JDeveloper and then deploy them directly into the full test environment. You can also deploy your customizations to a sandbox."
2.1.2 Design Time Customization Workflow
http://docs.oracle.com/cd/E28271_01/fusionapps.1111/e16691/ext_lifecycle.htm#CHDIJJJJ
But the message in this OTN forum we are getting is that we have to deploy it to the server and cannot be tested out locally.
Could someone please clarify. The ability to test it out locally would be of tremendous help to us in reducing the development lifecycle.
Thanks
Srinivasa SunchuSorry for the long delay. Response from the colleague:
>
For SOA Jdev customizations there is nothing which can be tested locally in Jdev. The customized composite would need to be deployed to a standalone environment to test.
>
For other DT customizations i.e. customizations created in JDeveloper for ADF can be tested locally on integrated WLS. RT customizations created using composers require a deployed environment; the the customized definitions can be tested in sandboxes from which they can be published into production.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
How do i show time/date stamp at start of each clip
This may be a camera issue, not imovie, not sure. My (sony dcr-hc21) camera records but doesn't show time/date at start of each clip (my old non-digital camcorder used to show them for a few seconds). is there a way to get imovie to show these time stamps? I'm using imovie 3.0.3.
emac Mac OS X (10.3.9)Hi r
There are no stright forward - cost free way to get this to my knowledg.
- I think You can buy a plug-in for this. (Not sure)
- A quality redusing way is to copy from camera via analog cable to a
VHS-VCR then reimport to a fresh miniDV tape and using this. If You
just want some sec. with date and time You can cut between old and
new material but the quality change will be more noticable this way.
- Some people has two miniDV cameras and do an analog connection
via them. Smart.
Yours Bengt W -
How to disable REAL TIME QUERY in DG 11gr2 ?
Hi,
With 11gr2, by default, on STARTUP, the standby database is open
-> in READ ONLY mode
-> with Intended State: APPLY-ON
so the ACTIVE DATAGUARD option is in use ....
is there a way to deactivate REAL TIME QUERY permanently,
so whether on STARTUP or STARTUP MOUNT, the standby stay only mounted with Intended State: APPLY-ON
The only way i found is to do the following :
SQL> startup
DGMGRL> edit database 'PHNXENT' set state='APPLY-OFF';
then
SQL> startup mount
DGMGRL> edit database 'PHNXENT' set state='APPLY-ON';
but this can leads to mistake ....
Thanksit is for standalone database (not RAC)
yes, users can start the database with mount option, but they have to keep in mind that they do not have to issue a "STARTUP",
so it is a production rule that oracle doesn't handle.
Second, it will give a little more complexity in startup scripts (first mount, identify the role, and then open if it is a primary.
In 10gr2 just startup in all cases ....
that's why i'd like to know if there is a possibility to permanently disable REAL TIME APPLY ...
Maybe you are looking for
-
Zen Micro not recognized on one PC but is fine with 2 oth
Before I get totally frustrated with my PC, not the new Zen Micro 6g, what could I be overlooking to get the software and the PC to recognize this unit's This PC has Windows XP (no service packs installed), and after restoring system and reinstalling
-
How do i make my old 4s into a ipod
How do i make my old 4s into a ipod?
-
I was backing up my iPhone using iCloud. It stated the update was completed and to select continue. Now I have to choose a Network??? I am with Verizon, not Wi-Fi, even though we have Wi-Fi for my laptop. Selecting other asks for Network Name and
-
How can I publish a tablet size only app to the android market using Flash CS5.5?
I've developed an app to run on a tablet and would like to sell it in Googles Android Maket. I uploaded the .apk file to the android market however, the settings indicate that the app will work on small to large screen sizes. Is there anyway I can
-
Having trouble with coldfusion...
Hello, I posted a problem a week or so ago, I decided to just let it go, but I need to know what I am doing wrong. I'm almost 90% sure it's my hosting provider that is messing up my coldfusion... So if you have a coldfusion hosting server that works