Plz help on this .... Images inside Tree IN FLEX ?
Hi All,
I'm trying to do some application, here i require Images in
Tree format. I need to insert Images instead of Labels inside Tree
Component.
Thanks in Advance.
Bachi...
Custom itemRenderer? FB3 help or livedocs.
Similar Messages
-
Can anyone tell me how to recreate this *image inside*
I took this screen shot on the 2nd Nov 2009, it shows an iCal day but with the events split on the left and right. Meaning I can view NINE events in one day rather than having the ...... (dots) at the top when it goes over 4 events on one day. I hope you're all still following.
Ever since that day I've never been able to get that left right split. Can anyone help?
Cheers
Image link :
http://tinyurl.com/y9djx2fHi,
I have wanted to be able to do this. Your screen shot has been deleted but I would love to see it. Could you put up another?. I will check back. Thanks -
Qurey running for last 18 Hours plz help in this regard
my server has 4 Gb Ram plz tell me something. what action should i take. This Query is running 18 hours plz by seeing this ADDM plz sugest what to do i'm highly thanksful to yoy
ADDM Report for Task 'ADDM:1196827189_1_679'
Analysis Period
AWR snapshot range from 678 to 679.
Time period starts at 25-NOV-08 09.01.03 AM
Time period ends at 25-NOV-08 09.53.05 AM
Analysis Target
Database 'ORCL' with DB ID 1196827189.
Database version 11.1.0.6.0.
ADDM performed an analysis of instance orcl, numbered 1 and hosted at SRV01.
Activity During the Analysis Period
Total database time was 7940 seconds.
The average number of active sessions was 2.54.
Summary of Findings
Description Active Sessions Recommendations
Percent of Activity
1 Virtual Memory Paging 2.54 | 100 1
2 Top SQL by DB Time 2.47 | 97.18 1
3 CPU Usage 2.47 | 97.09 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Findings and Recommendations
Finding 1: Virtual Memory Paging
Impact is 2.54 active sessions, 100% of total activity.
Significant virtual memory paging was detected on the host operating system.
Recommendation 1: Host Configuration
Estimated benefit is 2.54 active sessions, 100% of total activity.
Action
Host operating system was experiencing significant paging but no
particular root cause could be detected. Investigate processes that do
not belong to this instance running on the host that are consuming
significant amount of virtual memory. Also consider adding more physical
memory to the host.
Finding 2: Top SQL by DB Time
Impact is 2.47 active sessions, 97.18% of total activity.
SQL statements consuming significant database time were found.
Recommendation 1: SQL Tuning
Estimated benefit is 2.54 active sessions, 100% of total activity.
Action
Run SQL Tuning Advisor on the SQL statement with SQL_ID "9d65avvugb899".
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
Action
Investigate the SQL statement with SQL_ID "9d65avvugb899" for possible
performance improvements.
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
Finding 3: CPU Usage
Impact is 2.47 active sessions, 97.09% of total activity.
Time spent on the CPU by the instance was responsible for a substantial part
of database time.
Recommendation 1: SQL Tuning
Estimated benefit is 2.54 active sessions, 100% of total activity.
Action
Run SQL Tuning Advisor on the SQL statement with SQL_ID "9d65avvugb899".
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
Action
Investigate the SQL statement with SQL_ID "9d65avvugb899" for possible
performance improvements.
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Additional Information
Miscellaneous Information
Wait class "Application" was not consuming significant database time.
Wait class "Commit" was not consuming significant database time.
Wait class "Concurrency" was not consuming significant database time.
Wait class "Configuration" was not consuming significant database time.
Wait class "Network" was not consuming significant database time.
Wait class "User I/O" was not consuming significant database time.
Session connect and disconnect calls were not consuming significant database
time.
Hard parsing of SQL statements was not consuming significant database time.JACK DBA wrote:
my server has 4 Gb Ram plz tell me something. what action should i take. This Query is running 18 hours plz by seeing this ADDM plz sugest what to do i'm highly thanksful to yoy As already mentioned here in the thread you need to check the execution plan of the UPDATE statement. If you're unlucky then the scalar subquery querying JAG_N24_DG0 is potentially executed for each row of GN_FLAT_IN_TABLE. Depending on the execution plan of the subquery this approach might be quite inefficient.
Generic instructions how to generate a meaningful plan output and how to use the {noformat}{{noformat}code{noformat}}{noformat} tag to get it formatted in mono-space font here follow below:
Could you please post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your statement. Please use the {noformat}[{noformat}code{noformat}]{noformat} tag before and {noformat}[{noformat}/code{noformat}]{noformat} tag after or the {noformat}{{noformat}code{noformat}}{noformat} tag before and after to enhance readability of the output provided:
In SQL*Plus:
SET LINESIZE 130
EXPLAIN PLAN FOR <your statement>;
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Note that the package DBMS_XPLAN.DISPLAY is only available from 9i on.
In 9i and above, if the "Predicate Information" section is missing from the DBMS_XPLAN.DISPLAY output but you get instead the message "Plan table is old version" then you need to re-create your plan table using the server side script "$ORACLE_HOME/rdbms/admin/utlxplan.sql".
In previous versions you could run the following in SQL*Plus (on the server) instead:
@?/rdbms/admin/utlxplsA different approach in SQL*Plus:
SET AUTOTRACE ON EXPLAIN
<run your statement>;will also show the execution plan.
In order to get a better understanding where your statement spends the time you might want to turn on SQL trace as described here:
When your query takes too long ...
and post the "tkprof" output here, too.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
Plz Help With This Important Decision
I really need help deciding if i should run bootcamp or not. i have 33 gb left on my hd(i only started w/55.5 after formatting). i just cant decide. plz help!!!
Remember also, you want to keep about 15% of your drive free, so virtual memory will work efficiently.
-Bmer
Mac Owners Support Group
Join Us @ MacOSG.com
ITMS: MacOSG Podcast
An Apple User Group -
I need to know how do I add a link in this icon. I believe it is in a CSS file.
Please help me!Find this in one of your templates:
<span id="Hover_tree"><img alt="" src="/images/red_area_nav_bg.png" /></span>
replace with:
<span id="Hover_tree"><a href="your link here"><img alt="" src="/images/red_area_nav_bg.png" /></a></span>
Hope this helps! -
hello
i connect the iphone to my Mac
open the itune
i got this
Itune was unable to load dataclass information from sync services . reconnect OR try again .
AND This Too
Apple Mobile device Helper quit unexpectedly
i search in your site i got this
http://support.apple.com/kb/HT1747
i did what i see
but nothing happen
i try to do it again
But
i did not found
AppleMobileDeviceSupport.pkg
in its loaction in
Library/Receipts/
i removed and install the Itune More that 10 times
but every time i search for
AppleMobileDeviceSupport.pkg
in its loaction
but i did not find it
did i Must reinstall the Mac Snow leopard again to slove this problem ??
i see the iphone in itune
i sync ONLY the Prog
No backup
No contact
No notes
No any thing
Only Appok lets try that alone
can you send the missing file to me
# Choose Go > Go to Folder.
# Enter /System/Library/Extensions and click Go.
# Locate the file AppleMobileDevice.kext
# Choose Go > Go to Folder.
# Enter /Library/Receipts/ and click Go.
# Locate the file AppleMobileDeviceSupport.pkg
plz send them to my direct mail
[email protected]
that if you use itune 9.1 as i Hope
thx Sir -
Question: plz help in this
hi,
in XI how we will maintain for a perticular file for example at a particular time.like the poll interval if maintained at 30sec the porocessor will check the record for every 30sec but if we want to schedule at 12:00 every day to check for the record then how can we do that.
if there is any code that need to be written plz provide code or if any steps involved plz explain in detail
byeeeHi Anshul
Simple. Set the polling interval value as Example (( 86400 (12460*60) )) and activate the channel at 6 PM.
Another option : Use availablity timings and set the timing for the sender communication channel from 6 PM to 6:30 PM every day and in the cc give the polling interval value larger than 1800 (may be 2000).
just check this blog.. it talks about the same
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
In your query you can use datepart() function to check the time is 6p.m or not
i.e in your Query add this where clause....
where datepart(hh,getdate()) = '18'
Refer :http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
<b>Check tHis thread discuss sthe same</b>
Assigning an exact time to poll data using JDBC Sender?
Regards
Abhishek -
Adding values to insert query [was: Plz help with this code]
I have created a comments section in which there is only one field comment here is the code of the form:
<form id="frmComment" name="frmComment" method="POST" action="<?php echo $editFormAction; ?>">
<h3>
<label for="namegd"></label>Comment:</h3>
<p>
<label for="comment2"></label>
<textarea name="comment" id="comment2" cols="60" rows="10" ></textarea>
</p>
<p>
<label for="submit">
</label>
<input type="submit" name="submit" id="submit" value="Submit" />
<label for="reset"></label>
<input type="reset" name="reset" id="reset" value="Clear" />
</p>
<input type="hidden" name="MM_insert" value="frmComment" />
</form>
and the insert into code applied to the form is this
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmComment")) {
$insertSQL = sprintf("INSERT INTO comments (`comment`, ) VALUES (%s)",
GetSQLValueString($_POST['comment'], "text"));
mysql_select_db($database_my_connection, $my_connection);
$Result1 = mysql_query($insertSQL, $my_connection) or die(mysql_error());
But I want the form to insert two more values to the database one will be the commented_by and the other will be post_id where commented_by = ($_SESSION['Username']) and post_id = $row_Recordset1['id'] can some one plz let me know what will be the modified code and ya commented_by is a text field and post_id is an int field.
Plz guys help me Thanks in advanceAdding the extra values to the insert query is easy:
$insertSQL = sprintf("INSERT INTO comments (`comment`, commented_by, post_id) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['comment'], "text"),
GetSQLValueString($_SESSION['Username'], "text"),
GetSQLValueString($row_recordset1['id'], "int"));
You need to make sure that the code for recordset1 comes before the insert query. By default, Dreamweaver places recordset code immediately above the DOCTYPE declaration, and below other server behaviors. So, you need to move the code. Otherwise, this insert query won't work. -
Plz Help me in Image & BufferedImage conversion
Hello Every One,
I want to convert a Image object to one of its subclass BufferImage
Direct conversion is not allowed.
Image i;//
BufferedImage bi;
bi = (BufferedImage)i;
This is run time exception.
Please Tell me how can i perform this conversion.
Thanx in Advance.As this FS seems to be for lingerie company "Victoria's Secret" could points be converted to underwear instead of t-shirts?
Tip: If you're going to post an entire spec you may want to remove the customer's name first. -
Hi
How to run Servlets in WebSphere Application Server?
Any One can Help Me Plz
Bye
KumarYou have to do a few thing before seeing running your servlet.
0- Supposing you have developed your servlet....
1- You have to generate a WAR file for your application.
2- You have to install the new Application under WAS.
3- You have to configurate the web server so it can redirect the requests to the servlet.
4- You have to open you browser and call the servlet.
Easy, mmm...???
Actually isn't quite easy. It has a lot of problems to deploy, configure an run an Enterprise Application in WAS. Try looking up the ibm's redbooks (www.redbooks.ibm.com ) for detailed information.
Good Luck!!! -
i forget my iphone 5 passward and i can't rem ove it because i update the software and when my phone finally done then asking the ownership passward so i forget it. so what can i do i solved this probleum. thanks
i buy this phone in my friend so my friend is not here so i will be waiting your cute answers
thank'sHi bilalusman,
If you are having issues with the password on your iPhone, you may find the following article helpful:
iOS: Forgotten passcode or device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
Regards,
- Brenden -
Hi plz help me this question ASAP
without writing start-of-selection-screen we can write end of selection screen and wise versa then what is the use.
The sequence in which the processing blocks occur in the program is irrelevant. The actual processing sequence is determined by the external events. However, to make your programs easier to understand, you should include the event blocks in your program in approximately the same order in which they will be called by the system. Subroutines should be placed at the end of the program.
Statements that are not assigned to a processing block are never executed. An exception to this are any non-declarative statements between the REPORT or PROGRAM statement and the first processing block, which are assigned to the default event
<b>START-OF-SELECTION</b> if a program does not contain an explicit <b>START-OF-SELECTION</b> block, these statements form the entire <b>START-OF-SELECTION</b> block. If a <b>START-OF-SELECTION</b> keyword is already included in your program, these statements are inserted at the beginning of this block. If the program does not contain any explicit event blocks, all non-declarative statements are assigned to the default processing block <b>START-OF-SELECTION.</b>
There can be many scenarios
<b>SCENARIO 1:</b>
REPORT ZTEMP .
FORM ROUTINE.
WRITE / 'Subroutine'.
ENDFORM.
WRITE / 'Statement 1'.
START-OF-SELECTION.
WRITE / 'Statement 2'.
PERFORM ROUTINE.
WRITE / 'Statement 3'.
*END-OF-SELECTION.
This code wont give an error.
<b>SCENARIO 2:</b>
REPORT ZTEMP .
FORM ROUTINE.
WRITE / 'Subroutine'.
ENDFORM.
WRITE / 'Statement 1'.
START-OF-SELECTION.
WRITE / 'Statement 2'.
PERFORM ROUTINE.
WRITE / 'Statement 3'.
END-OF-SELECTION.
This wont give an error either, as both event blocks are present.
<b>SCENARIO 3:</b>
RITE / 'Statement 1'.
FORM ROUTINE.
WRITE / 'Subroutine'.
ENDFORM.
*START-OF-SELECTION.
WRITE / 'Statement 2'.
PERFORM ROUTINE.
WRITE / 'Statement 3'.
END-OF-SELECTION.
This woul dgive an error, as start of selection is not present, and we use end of selection.
Hope this answers your question.
<b>Reward if helpful</b> -
Hi friends,
Please tell me how the XI landscape willl be.As in ABAP the first will be devolopment system(clent some 120) after that we send the objects to test (client some 140) using the transaction code se01 or se10 for transportation and similarly from test to prodction....so can anyone please tell how it happens in XI.Hi anshul,
generally there exists 3 server in XI Also.
1)Development server
2)Quality Server
3)Production
yes !! we build our interfaces in DeV first....then for quality will transport our objetcs to QA...after test we agian transport to production...
in IR and ID u r having export and import options...
Let me tell u how the transport happens....
Suppose u need to transport some objects/interfaces from Dev to QA.go to IR in DEV ->Export the required objects. after u click finish a <b>.tpz</b> file will be created in ur local sys for Dev server. Now u copy that <b>.Tpz</b> file in the local sys of QA server.Now u import this file in IR of QA.Similer way it is done for ID objects.
Regards
BILL
***reward if it helps u!! -
Views: Thanks mahesh, plz help with this also
Thanks Mahesh for your note.
Please also let me know that how we can use the foreign key relationship as i have shown in the join conditions. We use the relationship tab on the view maintainence screen to add all the join conditions due to foreign keys, if i am not wrong.
Please help me with this point tooSo what are you trying to do.. you want to check if that entry also exist in sfilght table.. include that table in that tables list and add one more condition in the join conditions...
View Maintenance? i dont see any..
Thansk
Mahesh -
Wow... someone plz help with this
ok so I was under the impression that using an int array buffer to draw on, and then using MemoryImageSource was a hell of a lot faster than having an Image buffer that you drew on and then drew to the screen once the frame was done... It was significantly faster with a raycasting engine I did a while ago. However, I have this new 3d engine (calculates screen-points from vertices) and the first version used an Image buffer. It went about 200 fps with a screen size of about 700,700. However, my new one becomes unuseable with a screen-size greater then 300,300 with only 1 model showing(the original has about 30) and uses MemoryImageSource. The fps in the second is greatly dependent on the screen size so Im thinking it has to do with the buffer, anyone got anything to say about this?
-MikeIf you factor your code cleanly, switching from MemoryImageSource to any java.awt.Image subtype
(BufferedImage or VolatileImage) shouldn't be difficult. I would suggest running some examples
and tests before doing any major changes. The main advantage to VolatileImage is that it tries
to keep it's pixel data in video memory, and that will accellerate blitting. In the jdk 1.4 this
acceleration is done to some BufferedImages and in 1.5 all instances of BufferedImage attempt
to "manage" the pixel data in this way -- you don't have to do anything special to benefit from it,
just use BufferedImage in a straightforward way.
As far as Full-Screen Exclusive Mode, it is a complete change in rendering (assuming you go with
active rendering) and it doesn't mean you will achieve more fps, but as the tutorial states:
If your performance metric is simply the speed at which double-buffering or page-flipping occurs versus
direct rendering, you may be disappointed. You may find that your numbers for direct rendering far exceed
those for double-buffering and that those numbers far exceed those for page-flipping. Each of these
techniques is for used for improving perceived performance, which is much more important in graphical
applications than numerical performance.
Double-buffering is used primarily to eliminate visible draws which can make an application look
amateurish, sluggish, or appear to flicker. Page-flipping is used primarily to also eliminate tearing, a
splitting effect that occurs when drawing to the screen happens faster than the monitor's refresh rate.
Smoother drawing means better perceived performance and a much better user experience.
Maybe you are looking for
-
Illustrator CS2 - How do I replace a color with another color?
Most of the image uses a gray color. I'd like everything colored with grey, to be black. How do I replace gray color w/ black?
-
Search Forum - box looks garbled in Safari
The Apple Discussions webpage has a "Search Forum" box that looks a bit garbled on Safari 3.0.4 on Mac OS X 10.5.8. Everything else looks as intended.
-
Make VC3 come up as an actual device driver
With all the live streaming sites these days, this would be incredible to work with via a web application. But to simplify this all I would need is for VC to come up in the list of Sound, Video, and Gaming Controllers. Instead I'm barley trying to fi
-
Iphone 5 adapter????
Is there an adapter to use with my new iphone 5, so I can connect to my usb audio cable in the car and also audio dock both previously used with iphone 4? Or, just a usb audio cable for in car for iphone 5? If not, why not? It seems ludicrous that
-
Need help with new Live!Cam Socialize HD..
I've done the complete install and updates, 3 times, but each time when I open the program to use the cam I get the same message.."Please plug in a supported device." I've made sure the camera is plugged in and there is no "on" button so not sure wha