[svn:fx-trunk] 5579: Be consistent with the scripts for Button sample
Revision: 5579
Author: [email protected]
Date: 2009-03-26 11:06:44 -0700 (Thu, 26 Mar 2009)
Log Message:
Be consistent with the scripts for Button sample
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExamp le.mxml
Similar Messages
-
[svn:fx-trunk] 12924: update playerglobal with the marlin player.
Revision: 12924
Revision: 12924
Author: [email protected]
Date: 2009-12-14 14:17:11 -0800 (Mon, 14 Dec 2009)
Log Message:
update playerglobal with the marlin player. I missed this in the merge
Modified Paths:
flex/sdk/trunk/frameworks/libs/player/10/playerglobal.swc -
Help with the script for fullname
Hello
I am trying to write a script on my form for a fullname field. For eg:" someone enters fullname as abc l xyz then i want it to be like Abc L Xyz
i tried writing a script but i am messing up somewhere. Can anyone help me please, its urgent
ThanksHi Jasmin
I am trying to put a jAVAScript into the script window and got the following script it works otherwise but when inserted into form it doesn't work
I am doing it on exit event
var FormName = "7158.pdf";
var FieldName = "FullName2";
function CapitalizeNames() {
var ValueString = new String();
eval('ValueString=document.'+FormName+'.'+FieldName+'.value');
ValueString = ValueString.replace(/ +/g,' ');
var names = ValueString.split(' ');
for(var i = 0; i < names.length; i++) {
if(names[i].length > 1) {
names[i] = names[i].toLowerCase();
letters = names[i].split('');
letters[0] = letters[0].toUpperCase();
names[i] = letters.join('');
} else { names[i] = names[i].toUpperCase(); }
ValueString = names.join(' ');
eval('document.'+FormName+'.'+FieldName+'.value=ValueString');
return true; -
Revision: 8507
Author: [email protected]
Date: 2009-07-10 10:13:11 -0700 (Fri, 10 Jul 2009)
Log Message:
Making measureHeightOfItemsUptoMaxHeight consistent with the way we create rows in the datagrid. MakeRow ensures reported row height is round to the nearest integer, measureHeightOfItemsUptoMaxHeight is now consistent. Fixes a long standing PrintDataGrid issue.
Bugs: SDK-20237.
QE Notes: None
Doc Notes: None
Reviewer: Glenn/Alex
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-20237
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.asWell, you could do the following:
1) Create a stored procedure that assembles the data into a rowset with rows and fields like the format you want.
2) Create stored procedures that handle insert, update, and delete.
3) Create an entity object definition with all transient attributes. Make the attributes match the elements of one row.
4) Override doDML() in the entity object class to call your procedures (the doc explains how to do this). You might also need to do a bit of research and figure out if you need to override some other method so you can report rows with transient attribute changes only as needing posting. (getPostState(), maybe?)
5) Create a view object definition with entity-derived attributes based on your EO attributes.
6) Override the appropriate methods to call your data assembly procedure rather than execute a query (this is also in the doc).
Still kind of kludgy, but it keeps your business components pretty clean, especially if you use framework classes to do most of the work for you. (I have a partial example of how to do that here.) Of course, it keeps your business components clean by moving the real work to the DB, but some people find that more maintainable that a kazillion business components.
Hope this helps,
Avrom -
Revision: 11806
Revision: 11806
Author: [email protected]
Date: 2009-11-13 15:59:03 -0800 (Fri, 13 Nov 2009)
Log Message:
Update GradientEntry ASDoc comment to make it more consistent with the Graphics beginFill ASDoc.
QE notes: None
Doc notes: We should revisit gradients and gradient entry AsDoc comments and clarify coordinate spaces, interpolation, etc.
Bugs: None
Reviewer: Hans
Tests run: None
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientEntry.as -
After REFRESH the cached object is not consistent with the database table
After REFRESH, the cached object is not consistent with the database table. Why?
I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
JDeveloper.
How to make the JDeveloper's offline tables to be synchronized with the underling database tables?qkc,
Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
John -
The rendered records are not consistent with the range
After changing the range with record navigator to render the records,
if navigate to other page and go back,the rendered records will not be
consistent with the record range.
The issue can be reproduced as follows.
1.when select 1-10 range,the first 10 records are rendered.
2.select [Next 10 records] to render the 11-13 records.
3.change to other page and return to the original page.
It is found that the 11-13 records are rendered but the range is 1-10.
You can verify the issue by executing SampleMainPG.xml of the Tutorial.jpr for 11.5.10.2
from Jdeveloper after changing the SampleMainCO.java as below.
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
if (pageContext.getTransactionValue("link") != null)
OAAdvancedTableBean inner = (OAAdvancedTableBean)webBean.findChildRecursive("InnerTable");
inner.clearCache(pageContext);
inner.setAttributeValue("CLEAR_CACHE_ONCE_NOEXECUTE_ATTR", Boolean.TRUE);
<==comment out these original source above.
OAAdvancedTableBean outer = (OAAdvancedTableBean)webBean.findChildRecursive("OuterTable");
outer.queryData(pageContext, false);
<==add the two rows of source above to get the latest query data.
you should to make the records of the table fwk_tbx_employees to be more than 10 just using the SQL script below.
(just need to change EMPLOYEE_ID at your will)
INSERT INTO fwk_tbx_employees (
EMPLOYEE_ID,
TITLE,
FIRST_NAME,
MIDDLE_NAMES,
LAST_NAME,
FULL_NAME,
EMAIL_ADDRESS,
MANAGER_ID,
POSITION_CODE,
SALARY,
START_DATE,
END_DATE,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
ATTRIBUTE_CATEGORY,
ATTRIBUTE1,
ATTRIBUTE2,
ATTRIBUTE3,
ATTRIBUTE4,
ATTRIBUTE5,
ATTRIBUTE6,
ATTRIBUTE7,
ATTRIBUTE8,
ATTRIBUTE9,
ATTRIBUTE10,
ATTRIBUTE11,
ATTRIBUTE12,
ATTRIBUTE13,
ATTRIBUTE14,
ATTRIBUTE15 )
VALUES (
17,
'ichiro',
'yamada',
'ichiro yamada',
1,
0,
sysdate,
sysdate,
sysdate,
0,
sysdate,
0,
0,
it seems that if use the functions below,the issue can be workarounded.
But it is not clear whether there is any other impact from these functions.
innerTable1.clearCache(pageContext);
innerTable1.setAttributeValue("CLEAR_CACHE_ONCE_NOEXECUTE_ATTR", Boolean.TRUE);
Could you please share your idea?
Thank you very much in advance.
Best regards,
WangFYI. I was able to do what I wanted by first going to page properties and removing unwanted fonts from appearance. Then edit the page, select all, change style to normal, then select the text where you want to use a different style and change style there. This gives consistent appearance with both browsers.
-
Slave instance can not synchronized with the master for a long time
Hi,
Slave instance can not synchronized with the master for a long time, and the gap of LSNs between slave and master are more and more larger. The transfer bytes per second between master and slave is 118MB/s , upper limit to the ethernet card. Why???
ENVIRONMENT:
1. A network program which we called mcdb is based on BDB 4.8.30. It is used to accept get/set requests and then query data from bdb or save data to bdb.
2. mcdb implements replication with bdb replication manager api. The default start replication policy is DB_REP_ELECTION, rep ack policy is DB_REPMGR_ACKS_ONE_PEER and rep priority is 100.
3. The bdb data files, bdb log files, region files and rep files are all in the same home directory.
4. There are two instances of the mcdb are separately on two standalone servers which has no other programs. These two instances are in one replication group which can elect a master automatically.
5. The master instance is online, which has lots of requests (get, set, delete).
ACTIONS:
1. Start two mcdb instances on two servers and the two instance make a replication group. Slave has already synchronized with the master.
2. Stop the slave for a long time (more than 20 hours).
3. Start the slave instance to synchronize data with master.
RESULT:
1. the gap of LSNs between slave and master are more and more larger.
2. db_stat of master and slave:
master db_stat:
467170 Number of PERM messages not acknowledged
9245 Number of messages queued due to network delay
172415 Number of messages discarded due to queue length
25880 Number of existing connections dropped
3407 Number of failed new connection attempts
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DB_REPMGR site information:
10.67.15.146 (eid: 0, port: 30011)
Environment configured as a replication master
331726/3574994 Next LSN to be used
0/0 Not waiting for any missed log records
328872/466092 Maximum permanent LSN
0 Next page number expected
0 Not waiting for any missed pages
0 Number of duplicate master conditions originally detected at this site
2147M Current environment ID (2147483647)
100 Current environment priority
49 Current generation number
50 Election generation number for the current or next election
2323 Number of duplicate log records received
0 Number of log records currently queued
6768 Maximum number of log records ever queued at once
55284 Total number of log records queued
120M Number of log records received and appended to the log (120475988)
111 Number of log records missed and requested
2147M Current master ID (2147483647)
2 Number of times the master has changed
0 Number of messages received with a bad generation number
8505306 Number of messages received and processed
12 Number of messages ignored due to pending recovery
471869 Number of failed message sends
12M Number of messages sent (12959945)
0 Number of new site messages received
1 Number of environments believed to be in the replication group
990543 Transmission limited
0 Number of outdated conditions detected
0 Number of duplicate page records received
0 Number of page records received and added to databases
0 Number of page records missed and requested
Startup complete
6244678 Number of transactions applied
0 Number of startsync messages delayed
1 Number of elections held
1 Number of elections won
No election in progress
0.057097 Duration of last election (seconds)
8944103 Number of bulk buffer sends triggered by full buffer
0 Number of single records exceeding bulk buffer size
5273M Number of records added to a bulk buffer (5273592170)
10M Number of bulk buffers sent (10490865)
0 Number of re-request messages received
0 Number of request messages this client failed to process
0 Number of request messages received by this client
slave db_stat:
0 Number of PERM messages not acknowledged
0 Number of messages queued due to network delay
0 Number of messages discarded due to queue length
1454 Number of existing connections dropped
0 Number of failed new connection attempts
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DB_REPMGR site information:
10.67.15.147 (eid: 0, port: 30011)
Environment configured as a replication client
329544/2916048 Next LSN expected
330433/2013808 LSN of first log record we have after missed log records
329543/5500501 Maximum permanent LSN
0 Next page number expected
0 Not waiting for any missed pages
0 Number of duplicate master conditions originally detected at this site
2147M Current environment ID (2147483647)
100 Current environment priority
49 Current generation number
50 Election generation number for the current or next election
5256M Number of duplicate log records received (5256599432)
3925284 Number of log records currently queued
3925285 Maximum number of log records ever queued at once
4880561 Total number of log records queued
3578038 Number of log records received and appended to the log
1912297 Number of log records missed and requested
0 Current master ID
1 Number of times the master has changed
0 Number of messages received with a bad generation number
12M Number of messages received and processed (12980442)
2 Number of messages ignored due to pending recovery
0 Number of failed message sends
1912307 Number of messages sent
0 Number of new site messages received
0 Number of environments believed to be in the replication group
0 Transmission limited
0 Number of outdated conditions detected
0 Number of duplicate page records received
0 Number of page records received and added to databases
0 Number of page records missed and requested
Startup incomplete
110568 Number of transactions applied
80 Number of startsync messages delayed
0 Number of elections held
0 Number of elections won
No election in progress
0 Number of bulk buffer sends triggered by full buffer
0 Number of single records exceeding bulk buffer size
0 Number of records added to a bulk buffer
0 Number of bulk buffers sent
0 Number of re-request messages received
0 Number of request messages this client failed to process
0 Number of request messages received by this client
Edited by: 899585 on 2013-1-4 下午10:54
Edited by: 899585 on 2013-1-4 下午10:55Hi,
Unfortunately, this issue is beyond the level of what is supported over the forum. Performance related issues are extremely complex and require an in-depth understanding of your environment and dedicated support. In a generic sense, you can look at this as a basic queueing problem. You have a server that went down and work is still coming in. When the server gets started it is possible that it may never catch up depending on new work coming in and the rate at processing the old work.
So what would you do in this case --- one thing would be to reduce the new work coming in. In HA terms this would be slowing the master down and you can increase DB_REP_ACK_TIMEOUT for this. Another thing you could do is add fresh servers to help reduce the workload. In HA terms, this would be the equivalent of restarting the client and give it a fresh look at everything. Another thing you could do is replan the system and load balance. In HA terms, it would mean something like take a hot backup of the master and reinit a client from scratch.
If you are interested in getting a dedicated support person working on this concern, please let me know and we can move forward down that path. Just respond to the thread with your email address and I will get in contact with you so we can pursue that approach.
thanks
mike -
Can you please put me in touch with the support for the trial copy of adobe acrobat XI pro which I had tried out on March 15 for 30 days. I have been trying to cancel since the cost is too much and Acrobat Reader is OK for me. I can't find uninstaller.
I have had to erase my disk since then with trouble with Apple Store not recognising my machine and the reload from Time Machine has given complications . Can you please cancel my trial and return my Trial money.If you paid for what you used then it was not a trial.
Look thru the following links and use the chat option if required for your situation:
Cancel your membership or subscription | Creative Cloud
https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
https://forums.adobe.com/thread/1703848
Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
Creative Cloud support (all Creative Cloud customer service issues)
http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )
Phone support | Orders, returns exchanges
http://helpx.adobe.com/x-productkb/global/phone-support-orders.html -
How do you put safari web pages into icloud with the safari iCloud button?
how do you put safari web pages into icloud with the safari iCloud button?
What that button does is sync your tabs between your devices. So if you have multiple macs with Mountain Lion and/or devices with iOS 6 (once it comes out this fall) you can pick up where you left off. For example, let's say I have apple.com, nytimes.com, and facebook.com open on my mac, but I need to run. Later, if I need to use another computer in my household, I can just restore the tabs that I was using before on this other mac.
-
[SOLVED] Thunar 1.6 doesn't drag-and-drop with the right mouse button
Hallo all.
It might be something I've done (though I did delete my ~/.config/Thunar directory before upgrading), but Thunar doesn't let me drag-and-drop with the right mouse button, thus stopping me from copying something instead of moving it, etc. Has anyone else had that too?
Last edited by GordonGR (2012-12-28 14:34:20)Joel wrote:
anonymous_user wrote:Is it supposed to be with the right-mouse button? I always thought drag and drop was done with the left button?
Could be right-hand user
Come on! Read what GordonGR wrote!
Microsoft Windows, Nautilus, the Haiku Tracker, and probably many other file managers have a feature where, when you right-click or middle-click and drag an icon to a new location, a pop-up menu appears and asks what you'd like to do (Move, Copy, Link). I thought I used to use this feature in Thunar too but it seems to have stopped working in recent versions. Has anyone else had any experience with it?
EDIT: Here's random blogger talking about the feature in an older version of Thunar: http://jeromeg.blog.free.fr/index.php?p … and-tricks So that's good, I wasn't just imagining the feature.
Last edited by drcouzelis (2012-12-12 03:45:05) -
Ah, the new fora. Still getting used to them. Here are some reflections on the Pros & Cons, as I see them with IE7:
Pros:
The formatting is nice, as is the ability to attach files.
Being able to add a link quickly, to open in a second browser window is nice.
The indentation of replies, to other than the OP.
Cons:
Sometimes really slow, but could just be server overload, or maintenance.
The slight color differentiation between read, (updated) and unread could be much better.
The loss of the "red flags," is greatly missed.
The "New" banner is greatly missed.
The expansion of all replies, when opening an older thread is bothersome.
Learning to NOT use Back, once I’ve posted, is coming along slowly.
When a forum has multiple pages and you are past #1, going back to "Discussion" always takes me back to page #1. There has got to be some navigational trick that will get me back to page #X, regardless of whether I’ve posted, or am just reading.
The loss of many stickies, especially some of the FAQ’s and instruction on posting good questions with proper info.
Just some personal observations, with more in the works, as I explore.
HuntJerryK,
Yes, we are all in similar boats, regarding learning to live with the new fora. You guys just have the extra tasks of doing any modifications.
As to the "Previous/Next Page" issue. I do not think I was clear on my "problem." That, or maybe I misunderstood your reply.
To clarify *my* problem:
Say that there are multiple pages on a particular forum. I am now reading articles on Page 2. I read the article, and hit Back (browser), or mouse button (left side for me), to get back to the discussions. I always get Page 1, and have to now hit the "2," or "Next" to get to Page 2 to move onto the next article. In all other fora, that I am familiar with, if one is on Page 2 (in my example) of the forum article list, and they read an article on that page, when they choose Back (however they choose it), they are taken to the article list page, where they were, not to Page 1, having to then navigate back to Page 2, or whatever. It is the seeming inability to get back to the article list page, that there were just on, without having to navigate to it, always from Page 1. It's the same if using the "Discussions" link from either location - goes back to Page 1 regardless of where one was in the page numbering scheme.
It's like having a sub-Menu in Encore, where you make scene selections and never being returned to that previous Menu - only back to the Main Menu and having to navigate back to the sub-Menu every time. It's like the End Action (the Back on the browser) defaults to the "Main Menu," and never to "Previous Menu."
Once one gets to about Page 5, they not only have to navigate back to Page 5, but also remember that they were on Page 5.
I hope that it's just OE on my part and there is really an easy way to go about reading all of the articles on Page 2 (or whatever) and not having to re-do the navigation after every article.
Thanks and good luck to you fella's.
Hunt
PS on IE7, if that makes the difference -
I am trying to work with a series of vi's developed in Labview 8 in Labview 7.1. The code was saved with the 'Save for Previous Version' option available in Labview 8. When trying to use the code in LV7.1 my entire Windows XP system locks up (cursor freezes). Are there any ideas what's going on and how to fix this?
Thanks for your help!
MikeI have seen some problems with the save for previous option in the past. Instead of saving the entire hierarchy, try seperating the code into several different pieces and saving each piece individually. Then, see if you can open the different pieces in 7.1.
If that doesn't help, you should post some more details, like when exactly does it lock up, does it have things like DLL calls, and maybe attach the code.
Try to take over the world! -
We use a doc template to create a purchased part spec document and then save them as pdf formatted files. These part spec documents are also appended with the datasheets for these purchased parts. When we want to update/revise the document, is there a method, using Acrobat, to make those updates to the pdf, or must we go back to the doc template and basically generate a new document?
Also, our resulting pdf documents aren't searchable. How can we generate pdf documents that are searchable? I may want to search for a part value or name within the body of these pdf documents, but currently can't do that...very inconvenient.
Can you assist?Not totally sure about the search issue. A lot depends on how you created the PDF and what is in the datasheets you attached (like are they graphics?). The doc portion should be searchable as long as you used print to the Adobe PDF printer or PDF Maker. For your use, it may be that the print is adequate. However, the result should be searchable (unless maybe you had a form with filled in fields and created the PDF with PDF Maker. I think the form data may be retained in form fields and the fields are not searchable. In that case, a print might be a better procedure. (it would help to know the versions of WORD and Acrobat as well as the exact process you used to create the PDF.)
If the appended data sheets do not change, then you might try opening the original PDF and then using Replace Pages to replace the file created from the DOC file. -
My ipad mini 2 is not turning on. I tried to reset with the power/home buttons but it didnt work. I tried to restore it in DFU mode but it didnt work, i get error 4004. Please help me!
I also tried the ol' whacking 3 times trick...Didn't work to my surprise
Maybe you are looking for
-
Why do some pdf files not open with Adobe Reader X, most open OK?
On my wife's 64 bit WIN 7 computer, a some pdf files will not open, but most open OK. She uses Acrobat Reader X and MS Office 2010. The same problem files open with no problem on my very similar computer. Is the problem with some setting on the Acrob
-
Greetings: If I simply want run a DML statement containing a variable, do I need to use the DBMS_SQL package or is there an easier way. For example: PROCEDURE test_procedure IS data_table_name VARCHAR2(20) := 'Table1'; BEGIN DELETE FROM data_table_na
-
ITunes sync's photo's as .itmbh
I have been using iTunes to sync my photo's to my Windows 7 laptop for years withouth issue. The photo's always used to sync as .JPG. iTunes has now started creating hundreds of files called ***.itmbh and cannot open or view these files? Why is iTune
-
Hello, I am new to Mac, so I am getting accustomed to Lion and everything else, but iPhoto has me a little confused. First I transferred years of photos from my old PC to the Mac, and they all went into the pictures folder, and are still there, arran
-
Transport Rule MessageSizeOver for exchange 2010
Hi I have an exchange 2010 SP3 RU 3 environment with edge transport server implemented. I want to Have Transport rules to limit message size going outside/coming inside on edge transport. I recently found a solution with -messagesizeover switch for