How to get and disply dynamic values on the fly and display in applet
hello all ,
i have a problem in refreshing a applet.
i have a scrolling applet which will get the share values from the database and display in a scrolling applet in the browser . i am getting the values and displaying it.
but the problem is , if i enter a new record in the database, until and unless i press refresh button of the browser, i am not getting the new values . please help me if anybody having the idea. please mail me to [email protected]
thank you all.
by
samba
You want a database update to trigger an applet refresh? Can't be done.
However, you can have the applet periodically re-query the database and update its display with the information it retrieves. Just kick off a Thread that sleeps for a bit, wakes up, queries the db, updates the display, and goes back to sleep.
Similar Messages
-
have an ipod and then got the wife an iphone4. all passwords are screwed up. she can not access playstore cuz she doesn't have password. i can not get find any help on how to get or update a password for the ipod. and then get her a separate password for her iphone. we need to save her photos, music, etc to ? icloud and the phone stuff to verizon cloud? so when she gets her new Iphone6 she can have all her "stuff" back on the new phone. hope this makes sense. please offer suggestions here or at [email protected] thanks for your help!
Oh no! I'm sorry to see there's a lot of confusion here and data shared, x-rayDon. We can definitely work to fix. This happens when two devices share the same Apple ID, so she will need to reset hers. She can do so by assessing this link Apple - My Apple ID. You will need to decide who will keep the account if want separate Apple IDs since purchases cannot be shared unless you do Family Sharing.
RobinD_VZW
Follow us on twitter @VZWSupport -
How to get system temp dir. path on the fly ,system may be XP or Linux ??
How to get system temp dir. path on the fly ,system may be XP or Linux ??
please suggest solutionThe default temporary-file directory can be retrieved
using:
System.getProperty("java.io.tmpdir")
Thanks a lot for u r reply this one works !!!! -
How to get ridd of Garbage Values in the row from the Tables
Hi Experts,
I have an excel Sheet which has a value as
Name
ABC
PQR
XYZ
MNO
STU
DEF
JKL
So i converted that to a csv (Comma de-limited) file and created an external table out off it.
So when i try to match to "select * from table;" it displys the vlaue as below
*"ABC*
however, it should have been just ABC.
select length(Name) from Table;
O/p: 4 (It Should have been 3)
How to get rid off this garbaje character?
Please Help!!!!!!!
Regards,
Ravi RYou didn't post CSV file. I can't reproduce your issue using the following CSV:
"ABC"
"PQR"
"XYZ"
"MNO"
"STU"
"DEF"
"JKL"
SQL> CREATE TABLE EXT_EMP
2 (
3 EMP_L VARCHAR2(255)
4 )
5 ORGANIZATION EXTERNAL
6 ( TYPE ORACLE_LOADER
7 DEFAULT DIRECTORY "TEMP"
8 ACCESS PARAMETERS
9 ( RECORDS DELIMITED BY NEWLINE
10 CHARACTERSET WE8MSWIN1252
11 STRING SIZES ARE IN BYTES
12 BADFILE "EXT_EMP.BAD"
13 NODISCARDFILE
14 LOGFILE "EXT_EMP.LOG"
15 SKIP 1 FIELDS TERMINATED BY ','
16 OPTIONALLY ENCLOSED BY '"' AND '"'
17 NOTRIM
18 (
19 EMP_L CHAR
20 )
21 )
22 LOCATION
23 (
24 'Employess.csv'
25 )
26 )
27 REJECT LIMIT UNLIMITED;
Table created.
SQL> SELECT *
2 FROM EXT_EMP
3 /
EMP_L
PQR
XYZ
MNO
STU
DEF
JKL
6 rows selected.
SQL> SY. -
How to get rid of unassigned values in the report
hai to all,
here is the issue,
while running a report(sales per country), iam getting the data,after that when i drill down on <u><b>sales document number</b></u> iam getting some unassigned data, with Sales document number as #, and some value in the keyfigure.what is the reason behind this?
Here is another issue that i want to find all the sales documents which have the value # in the report?, is it possible? the same case with <u><b>Customer country</b></u>, on the same report.
pl anyone help me
br
venkat/shyamHi Shyam.
Regarding the first issue: Well, you've loaded some data records into your cube where the "Sales Doc Field" is empty. Did you load through PSA? The best way to scan your PSA (I believe) is to find the underlying table and have a look at it via SE16. In this way you don't have to scan through every data single package. This can be done via "display data flow" from your cube and switch on technical names. There you have it. (It's called /BIC/B00...etcetc you might have to add i few zeroes though when you enter it into SE16). Get request ID from "Infocube Managment". In SE16 seelction screen use F2 to set the "sales Doc No." field even to blank.
Second issue is a bit easier: in your query (or a working copy of your query) restrict on "Sales Doc No" or "Customer Coutry" to only include value "#". In the same way you can remove the unassigned values be excluding value "#".
Hope this works for you.
Chears, Jørn -
Hi,
I have a scenario where I have applied Css styles to the textflow using the IFormatResolver interface.
Now what I need is a way to show which style is applied to the current selection.
I am getting all infomation using the following however the style name that is associated is not there.
var textLayoutFormat:TextLayoutFormat = textFlow.interactionManager.getCommonCharacterFormat() as TextLayoutFormat;
in my case I am having a parameter myStyle in the usersstyle object of the actual flow elements, but when I do the above I find that the user style object is different and it doesnt have any parameters as mystyle under it
-AsharThere's no general code for that. You will have to write something on your own. If for example you want to check for a specific style having a common value across the range a new function modeled on getCommonCharacterFormat would work:
public static function getCommonCharacterStyle(range:ElementRange,styleName:String):*
var leaf:FlowLeafElement = range.firstLeaf;
var value:* = leaf.getStyle(styleName);
if (value === undefined)
return undefined; // no common value or common value is undefined
for (;;)
if (leaf == range.lastLeaf)
break;
leaf = leaf.getNextLeaf();
if (value !== leaf.getStyle(styleName))
return undefined; // no common value
return value; // common value
Depending on your use case some variation of this will supply the information your application needs. More complicated, but doable, would be extending this to work on all userStyles in leaf returning an object of key-value pairs.
Hope that helps,
Richard -
How can I read an ID-value from the LMS and insert this into an URL?
Hi
Right now I am struggling with a little problem. Hopefully anyone here knows the answer. For the latest course I am building (Captivate 6), it is necessary that at one point the course reads an ID-value from the LMS. After that, this ID should be inserted into an URL.
To be more precisely: the ID must be read (getValue) from cmi.archive_id and inserted into an URL like that: http://.../archive.php?action=pdf&objectID=ARCHIVE_ID.
Unfortunately I am more of a designer und less of a javascript-maestro (well...I am a javascript-noob to be precisely), therefore I am pretty clueless how to do that. I tried a simple executed action (run Javascript: cpEIGetValue('cmi.archive_id'); and after that open URL http://.../archive.php?action=pdf&objectID=ARCHIVE_ID), but...well...that didn't work.
Any ideas?
Thanks a lot in advanceThink you'll find help looking at Jim Leichliter's website:
http://captivatedev.com/
He has great tutorials about JavaScript and also a widget that allows to enter a variable in URL's
Lilybiri -
How to get Implicit Dimensions/Dimension Values in the result set?
Hi All,
How does endeca return implicitly selected dimensions in the result set? For example, consider a dimension set up for Television data as below.
Brand
Samsung
LG
Philips
Type
LEDs
LCDs
Plasma
Lets say, I refine the result set by brand, by selecting Philips. Now lets assume that there were 2 results returned for philips and both the results were of Type - Plasma. In this case, Endeca does not return the Type dimension in the result set, as we cannot drill down the 2 results further based on LED or LCD.
How does Endeca return these implicit dimensions in the result set in such scenarios? Suppose if there was a requirement to show to the user that both the results were of Type - Plasma, how do we get this information from Endeca, by default?
Thanks in advance :)How does Endeca return these implicit dimensions in the result set in such scenarios?Check out: Navigation.getCompleteDimensions() or Navigation.getCompleteDimGroups()
http://docs.oracle.com/cd/E28910_01/PresentationAPI.622/apidoc/javadoc/navigation/index.html -
How to get column names as value in the target table ?
Hello All,
I want your help to solve my problem. Any suggestions are welcomed.
Problem - I have source data in Microsoft Excel in following format,
Ids q12 q13 q14
10001 1 1 2
10002 2 4 1
In my target table , which is in Oracle i want data in following format,
IDs Question Answer
10001 q12 1
10001 q13 1
10001 q14 2
10002 q12 2
10002 q13 4
10002 q14 1
In table i have q12, q13, q14 as column names, Now i want to fill q12, q13,
q14 as values of one of the column ( Question ) in my target table.
Note - I don't want to hard code the values ... is there any way i achieve this?
Thanks in Advance.
AC1. Create a staging table with 4 columns. Ids,q12,q13 and q14
2. Create a main table in the format you want ie., Ids, question and answer
3. Load the Excel after converting into CSV using SQLLDR into the staging table.
4. Then move the data from staging to main as below
insert into main(ids,question,answer)
(select ids,'q12',q12 from table1
union all
select ids,'q13',q13 from table1
union all
select ids,'q14',q14 from table1)There might be someother easier way to achieve this. But i dont think you can use SQLLDR to load the data denormalized like you have mentioned. But you can write a procedure which reads the file using UTL_FILE and insert into the table.
Message was edited by:
Mohana Kumari -
How to get an Net asset value for the Equipment from ERP in to BI
Hi
I am extracting the data from CRM to BI about the De installation information like
Planned date of de installation, contract end date etc . But Ineed to extract Asset net value for that equipement. I think asset value should be extracyed from ERP but I dont know which tables and datsource stores
Thanks,
SudhaIf you want the main tables within Assets :
FI-AA-AA (AA) Asset Accounting: Basic Functions u2013 Master Data
ANKA Asset Classes: General Data ANLKL
ANKP Asset Classes: Fld Cont Dpndnt on Chart ANLKL / AFAPL
of Depreciation
ANKT Asset Classes: Description SPRAS / ANLKL
ANKV Asset Classes: Insurance Types ANLKL / VRSLFD
ANLA Asset Master Record Segment BUKRS / ANLN1 / ANLN2
ANLB Depreciation Terms BUKRS / ANLN1 / ANLN2 / AFABE
/ BDATU
ANLT Asset Texts SPRAS / BUKRS / ANLN1 / ANLN2
ANLU Asset Master Record User Fields .INCLUDE / BUKRS / ANLN1 / ANLN2
ANLW Insurable Values (Year Dependent) BUKRS / ANLN1 / ANLN2 / VRSLFD /
GJAHR
ANLX Asset Master Record Segment BUKRS / ANLN1 / ANLN2
ANLZ Time Dependent Asset Allocations BUKRS / ANLN1 / ANLN2 / BDATU
FI-AA-AA (AA2) Asset Accounting: Basic Functions u2013 Master Data 2.0
ANAR Asset Types ANLAR
ANAT Asset Type Text SPRAS / ANLAR
FI-AA-AA (AB) Asset Accounting: Basic Functions u2013
Asset Accounting
ANEK Document Header Asset Posting BUKRS / ANLN1 / ANLN2 / GJAHR /
LNRAN
ANEP Asset Line Items BUKRS / ANLN1 / ANLN2 / GJAHR /
LNRAN / AFABE
ANEV Asset Downpymt Settlement BUKRS / ANLN1 / ANLN2 / GJAHR /
LNRANS
ANKB Asset Class: Depreciation Area ANLKL / AFAPL / AFABE / BDATU
ANLC Asset value Fields BUKRS / ANLN1 / ANLN2 / GJAHR /
AFABE
ANLH Main Asset Number BUKRS / ANLN1
ANLP Asset Periodic Values BUKRS / GJAHR / PERAF / AFBNR /
ANLN1 / ANLN2 / AFABER
FI-SL-VSR (GVAL) Special Purpose Ledger: Validation, Substitution and Rules
GB03 Validation / Substitution User VALUSER
GB92 Substitutions SUBSTID
GB93 Validation VALID -
How can I get a list of values (one or more) used in the WHERE filter of stored procedures and functions in SQL Server?
How can get a list of values as shown (highlighted) in the sample stored procedure below?
ALTER PROC [dbo].[sp_LoanInfo_Data_Extract] AS
SELECT [LOAN_ACCT].PROD_DT,
[LOAN_ACCT].ACCT_NBR,
[LOAN_NOTE2].OFCR_CD,
[LOAN_NOTE1].CURR_PRIN_BAL_AMT,
[LOAN_NOTE2].BR_NBR,
INTO #Table1
FROM
dbo.[LOAN_NOTE1],
dbo.[LOAN_NOTE2],
dbo.[LOAN_ACCT]
WHERE
[LOAN_ACCT].PROD_DT = [LOAN_NOTE1].PROD_DT
and
[LOAN_ACCT].ACCT_NBR = [LOAN_NOTE1].ACCT_NBR
and
[LOAN_NOTE1].PROD_DT = [LOAN_NOTE2].PROD_DT
and
[LOAN_NOTE1].MSTR_ACCT_NBR = [LOAN_NOTE2].MSTR_ACCT_NBR
and
[LOAN_ACCT].PROD_DT = '2015-03-10'
and
[LOAN_ACCT].ACCT_STAT_CD IN
('A','D')
and
[LOAN_NOTE2].LOAN_STAT_CD IN
('J','Z')
LenfinkelHi LenFinkel,
May I know what is purpose of this requirement, as olaf said,you may parse the T-SQL code (or the execution plan), which is not that easy.
I have noticed that the condition values in your Stored Procedure(SP) are hard coded and among them there is a date values, I believe some day you may have to alter the SP when the date expires. So why not declare 3 parameters of the SP instead hard coding?
For multiple values paramter you can use a
table-valued parameter. Then there's no problem getting the values.
If you could elaborate your purpose, we may help to find better workaround.
Eric Zhang
TechNet Community Support -
How to get warning by using the previous value of the column and new value
Hi all,
Suppose the column A has the true and when I click on button which also sets the value of the column as true I should dispaly warning that column a is already true.How can I achieve this.How to store the original value of the column and then check wirth the new value.
Thanks in advance.You dont have to store the value anywhere
You can do this from setMethod of EOImpl.java
eg:
void setAttributeXXX(String Value)
// value contains new value
// getAttributeXXX() contains oldValue
if (value.equals(getAttributeXXX()))
// Verify value is > 0 if (value.compareTo(0) <= 0)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT, // indicates EO source
getEntityDef().getFullName(), // entity name
getPrimaryKey(), // entity primary key
"AttributeXXX", // attribute Name
value, // bad attribute value
"AK", // nessage application short name
"FWK_TBX_T_EMP_SALARY_REQUIRED"); // message name
setAttributeInternal(AttributeXXX, value);
--Prasanna -
How to get a Tree Node Value when a Tree is Expanded
My reqiurement is when i Expand a Tree i need the Expanded tree Node Value. For Example Consider Parent as a Root Node of a Tree, and Consider its two Children Child1 and Child2.
When + Parent Expanded
I will Get the Output as --Parent
- Child1
- Child2
so As when i expand the Tree i must Get the String Value Parent.duplicate
How to get a Tree Node Value when a Tree is Expanded -
How to get Document Set property values in a SharePoint library in to a CSV file using Powershell
Hi,
How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
Any help would be greatly appreciated.
Thank you.
AA.Hi,
According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
I suggest you can get the document sets properties like the PowerShell Command below:
[system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
$siteurl="http://sp2013sps/sites/test"
$listname="Documents"
$mysite=new-object microsoft.sharepoint.spsite($siteurl)
$myweb=$mysite.openweb()
$list=$myweb.lists[$listname]
foreach($item in $list.items)
if($item.contenttype.name -eq "Document Set")
if($item.folder.itemcount -eq 0)
write-host $item.title
Then you can use Export-Csv PowerShell Command to export to a CSV file.
More information:
Powershell for document sets
How to export data to CSV in PowerShell?
Using the Export-Csv Cmdlet
Thanks
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to assign a dynamic value to the value property of a button ?
Hi Folks,
I have a need, can i know how to assign a dynamic value to the value property of a button. Scenario is like follows...
This is a struts based web application
1. I have a file which consists of login user details (user name and his previlages) for a web application.
2. I got those user details, into a List.
3. When a user logged into the web app, in the home page there are few buttons. The type and number of buttons shown depends on the type of user/ user. (Buttons have different combination and the number of buttons available are not constant, they will vary from user to user).
4. for each button, there will be a different action. I can pass the value of a button to an action class, but here button must have a dynamic value.
Here is my test code:
<%
if (List != null)
for (int i = 0; i <List.length; i++)
%>
<html:submit property="rduname" value= "<%=List%>" onclick="return submitRdu('<%=List[i] %>');"/>
<%
%>
But my problem is how to assign a dynamic value to the value property of the button ( i know 'value= "<%=List[i]%>" ' will not work, just wanted show you guys).
Thanks in advance,
UV
Edited by: UV_Dev on Oct 9, 2008 2:15 PMLet me try i know am not good at JSP but do we need double quotes here
value= <%=List%>i think JSTL should help you about the dynamic thing
Maybe you are looking for
-
Webutil usage,DS 10.1.2,Linux
hey friends, I installed and configured webutil as per docs. I attached webutil.pll and webutil.olb file. Now in the form another canvas for webutil has been automatically created. Everytime i run the form,it comes and this hides the actual form canv
-
My safari "favorites" disappeared, is there any way I can restore them?
My safari "favorites" disappeared on my iPad Air. The bookmarks icon is there but when I select it, it says the page is invalid. Any way I can restore them?
-
Convert entire document to arabic style and layout
Hello everybody! I'm currentyl working on a project where we need to convert a final document to a arabic version. We have all styles created and and the left-to-right settings on the text set correctyl. I have created a script that changes all the t
-
Limited network service profile using zonecfg
Is there a zonecfg command that will set a local zone up with the limited network service profile (e.g. disable all remote access services except ssh)? In the process of creating scripts to create zones using zonecfg -f zonecfg_command_file, and
-
How to map multiple occurrences of a source field into a target field
Hi friends I need multiple occurences of MATNR field, of idocs collected, to be concatenated into a single field on target side. Warm Regards Arjun Ghose