Not properly executing the dhtml slideit() method.
Hi,
I am trying to execute dhtml animatecollapse methods in jsf tags..it is calling the method but it is not executing properly.. I am posting the code please see this once and tell me where I was wrong...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="images/ipass_ss.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="animatedcollapse.js">
* Animated Collapsible DIV- � Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
</script>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<title>FirstDemo</title>
</head>
<body><h:form>
<div> </div>
<h:panelGrid id="intipane" width="%100"
style="background-color:rgb(134,149,180);" columns="2">
<h:outputLabel id="HeadLabel" value="CustomerDetails" style="margin:40.0em;"/>
<h:outputLink onclick="collapse1.slideit()">
<h:graphicImage url="/images/xp-info-pane-arrow_down_over.gif"/>
</h:outputLink>
</h:panelGrid>
<h:panelGrid id="firstpane" columns="6" width="100%" style="background-color:rgb(214,224,239);">
<h:outputLabel id="lone" for="tone" value="CustomerId:"/>
<h:inputText id="tone"/>
<h:outputLabel id="ltwo" for="ttwo" value="CustomerName:"/>
<h:inputText id="ttwo"/>
<h:outputLabel id="lthr" for="tthr" value="Designation:"/>
<h:inputText id="tthr"/>
</h:panelGrid>
<div id="dog">
<h:panelGrid id="secondpane" columns="6" width="100%" style="background-color:rgb(214,224,239);">
<h:outputLabel id="lsone" for="tone" value="CustomerIdone:"/>
<h:inputText id="tsone"/>
<h:outputLabel id="lstwo" for="ttwo" value="CustomerNameone:"/>
<h:inputText id="tstwo"/>
<h:outputLabel id="lsthr" for="tthr" value="Designationone:"/>
<h:inputText id="tsthr"/>
</h:panelGrid>
</div>
</h:form>
<script type="text/javascript">
window.alert("before creating the animated object")
var collapse1=new animatedcollapse("dog", 100, true)
</script>
</body>
</html>
</f:view>
I have copied the animatedcollapse.js file also ....do I need to copy any thing...please tell me its very urgent for me...
thanks...
one more thing I observed is if i put
<img src="images/xp-info-pane-arrow_down_over.gif" border="0">
in the panelgrid instead of <h:outputLink>it is executing the method correctly but it displaying that link above to the panel grid. how can I put the image inside the panel grid....why that functionality didn't work with <h:outputlink> tag???
can any one please tell me.....
Similar Messages
-
Issue Summary
In Java 1.7 Update 71, Java 1.7 Update 72 and Java 1.8 Update 25 Deployment Rule Sets do not properly launch the latest available version from the JRE6 family when the jpi-version is specified by the RIA. We've noticed this with Oracle Forms and Reports 11g where we have forms that specify Java 1.6 Update 20. We used to be able to specify Java 1.6 Update 26 in our Ruleset, but now the only version a that works in our ruleset is Java 1.6 Update 20 which is the same version requested by the JPI-Version attribute of the jar. The long term solution would be to upgrade Oracle Forms and Reports, however this isn't currently in the cards.
RuleSet.xml Test
Ruleset.xml
1
2
3
4
5
6
7
8
9
10
11
<ruleset version="1.0+">
<rule>
<id location="*.javatester.org" />
<action permission="run" version="1.6*" />
</rule>
<ruleset version="1.0+">
<rule>
<id location="*.internaldomain.name" />
<action permission="run" version="1.6*" />
</rule>
</ruleset>
Test 1 (Control)
Installed Java Versions:
– 1.7 Update 51 b13 (both x86 and x64 however x86 is invoked)
– 1.6 Update 26 b03 (both x86 and x64 however x86 is invoked)
Deployment Ruleset works as expected for both URLs
Test 2
Installed Java Versions:
– 1.7 Update 72 (both x86 and x64 however x86 is invoked)
– 1.6 Update 26 b03 (both x86 and x64 however x86 is invoked)
The RuleSet works for JavaTester.org however on internaldomain.name we get the following error:
With the trace logging turned on, I suspected the version attribute supplied by the RIA. I was able to trick Java by adding the following to my system deployment.properties file:
deployment.javaws.jre.0.product=1.6.0_20
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.enabled=true
Because the RIA requests 1.6.0_20 it matches 1.6* from the deployment ruleset sooner than 1.6.0_26. However, if 1.6.0_20 is not available 1.6.0_26 should match according to the Deployment Rule Set documentation:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/deployment_rules.html
The version of the JRE that is used is determined by the following order of precedence:
1. The current version of the JRE is used if it is available and matches both the version attribute and the version requested by the RIA.
2. The latest available version of the JRE is used if it matches both the version attribute and the version requested by the RIA.
3. The current version of the JRE is used if it is available and matches the version attribute.
4. The latest available version of the JRE is used if it matches the version attribute.
If no version is available that meets the criteria, then the RIA is blocked, and a message is shown to the user. To provide a custom message, include the message element.
As a result:
If Java 1.6.0_20 is listed in the version requested by the RIA and 1.6.0_20 is listed in the deployment.properties file, #1 matches.
If Java 1.6.0_20 is listed in the version requested by the RIA, but 1.6.0_20 is NOT listed in the deployment.properties file the #1 SHOULD match, but doesn’t. It used to match up-to and including JRE 1.7 Update 51 however the ruleset appears to no longer match in subsequent versions.
#2 should never match with our current Deployment Ruleset. It would match if we specified 1.7* as a version in the Ruleset.xml.
#3 used to be broken as well after JRE 1.7 Update 51 however this bug has been marked as fixed. See: http://bugs.java.com/view_bug.do?bug_id=8032781
I have reproduced this issue with Java 1.7 Update 71, Java 1.7 Update 72, and Java 1.8 Update 25 when one of these versions are installed with Java 1.6 Update 26.I can't seem to edit this post anymore, for some odd reason.
So here goes;
I found this post in NVIDIA's knowledge base;
When installing an after-market graphics card into a certified Windows 8 PC with UEFI enabled, the s...
The interesting parts in this post are as follows;
When an after-market graphics card is installed into a motherboard with UEFI enabled in the system BIOS, or if the system is a certified Windows 8 PC with Secure Boot enabled, the system may not boot.
UEFI is a new system BIOS feature that is provided on most new motherboards. A UEFI system BIOS is required in order for the Windows 8 Secure Boot feature to work. Secure boot is enabled by default on certified Windows 8 PCs.
In order to get the PC to boot with a graphics card that does not contain UEFI firmware, the end-user must first disable the secure boot feature in the system's SBIOS before installing the graphics card.
Note: Some system SBIOS's incorporate a feature called compatibility boot. These systems will detect a non-UEFI-enabled firmware VBIOS and allow the user to disable secure boot and then proceed with a compatibility boot. If the system contains a system SBIOS the supports compatibility boot, the user will need to disable secure boot when asked during boot process
This leads me to believe that the BIOS update that wrecked my setup was 9SKT58A/9SJT58A, which only contains one change;
"Adds support for updating BIOS from a WIN7 BIOS to a WIN8 BIOS".
I've just ordered a cheap UEFI-compatible GT640 from Gainward, so I hope I'll be able to try that out this weekend. -
AutoConfig could not successfully execute the following scripts afcpnode.cm
When i run the autoconfig, it end up with following error message:
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[SETUP PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: d:\oracle\prodcomn\admin\install\PROD_oraprod
afcpnode.cmd INSTE8_SETUP 1
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: d:\oracle\prodcomn\admin\install\PROD_oraprod
afcpgsm.cmd INSTE8_PRF 1
AutoConfig is exiting with status 2
this error is comming after running the FNDCPASS utility to change apps and other schema password. i also changed the password for sys and system and remote_login_passwordfile parameter is set to exclusive. This error is comming on application node. On Database node there is no error.
Thanls and RegardsIs this problem is linked with apps user's password length because it is 17 char long and may be apps password variable is not that much longI could not find any reported bugs/notes about the password length, only a bug (5859062) about the domain name length.
Note: 418403.1 - AUTOCONFIG FAILURE AFCPNODES.SQL DOMAIN NAME LONGER THAN 30 CHARACTERS
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=418403.1 -
AutoConfig could not successfully execute the following scripts bisdblrp.cm
When i run the autoconfig, it end up with following error message:
AutoConfig could not successfully execute the following scripts:
Directory: E:\oracle\fincomn\admin\install\FIN_ora-fin
bisdblrp.cmd INSTE8_APPLY -1
this error is comming after running the FNDCPASS utility to change apps and other schema password. i also changed the password for sys and system and remote_login_passwordfile parameter is set to exclusive.
AutoConfig is exiting with status 1
regardsThere are many reported Metalink notes about bisdblrp.sh (bisdblrp.cmd), here are some links:
Note: 397773.1 - bisdblrp.sh failed with ORA-01031: insufficient privileges while running Autoconfig
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=397773.1
Note: 431079.1 - Bisdblrp.sh Fails With ORA-06502 Error
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=431079.1
Note: 417073.1 - Bisdblrp.Sh Fails During Clone Autoconfig
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=417073.1
Note: 360679.1 - Adautocfg errors on bisdblrp.sh - buffer too small ora-06502
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=360679.1
So, checking AutoConfig log file should be helpful in revealing more details about the error. -
AutoConfig could not successfully execute the following scripts adsvalsn.cm
When i run the autoconfig, it end up with following error message:
AutoConfig could not successfully execute the following scripts:
Directory: E:\oracle\fincomn\admin\install\FIN_ora-fin
adsvalsn.cmd INSTE8_APPLY -1
AutoConfig is exiting with status 1
And because of this error autoconfig takes more than an hour to complete. please help me
regards- Do not run AutoConfig command from any terminal clients
- Make sure the apps listener is down when you run AutoConfig
In addition, you may review the following notes:
Note: 218089.1 - Autoconfig FAQ
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=218089.1
Note: 393788.1 - Autoconfig Gives Installation Failed And Then Hangs
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393788.1
Note: 260365.1 - Adconfig.cmd Hangs When Starting Apps Listener
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=260365.1 -
How can I execute the hyperlink action method when I click on the hyperlink
Hi,
I have created a hyperlink (hpPopupXML).
1. I set the Target property to New Window.
2. I set the URL to displayXML.jsp
I ran the application and I click on the hyperLink to execute the hpPopupXML_action() method and it does not.
Is there a way to force execution the hpPopupXML_action() when I click on my hyperLink (hpPopupXML);
Please let me know.
Thanks.The following excerpt is from http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/about_components.html#action
Simple Page Navigation
If you want the user to click a component to move to a specific page, and you do not want the browser to submit any user input, you can use the Hyperlink, Image Hyperlink, Tab, or Tree Node component and type the path to the destination page in the component's url property, such as /faces/Page1.jsp.
Dynamic Page Navigation
The Page Navigation editor enables you to specify navigation rules that map user actions and decision logic outcome to destination pages. You specify the mapping by dragging a named connector from the link or action component to the destination page. You must also create an action handler for the component that returns the outcome, which is a String value equal to the connector's name. You can use the component's action property to create the action handler.
When a page visitor clicks the component, the browser submits the input, if any, and the action handler returns an outcome. The server looks up the outcome in the navigation rule mapping to determine what page to respond with. If there is no navigation rule for that outcome, the server redisplays the current page. You can write the action handler to return different outcomes based on business logic.
NOTE: When you set both the url and the action property, the action handler takes precedence.
IT LOOKS LIKE IN YOUR CASE THE URL PROPERTY IS TAKING PRECEDENCE OVER THE ACTION PROPERTY. IS THAT TRUE? -
I regularly use 2 windows with multiple tabs each and session restore would work to get them all back, but after this latest update the second window does not restore properly, with the first tab not visible on top(only in drop down menu) and the add a tab button now on the left(instead of right). The add a tab button is not really concerning other than it indicates other problems with the tabs on tab of the 2nd window. Not having the 1st tab visible is frustrating, because I can not move it or as easily navigate. Also, the tabs on top of the 2nd window that are visible no longer have the "x" to close visible unless that tab is selected. I'm assuming this is a problem with the new release/update, since this is the first time I've ever encountered the problem, and I've shut down and restored Firefox a few times to make sure this was a recurring problem and not a one-time deal. Any ideas on how to fix would be welcome(other than perhaps cramming my tabs onto one window or sucking it up XD).
Hi,
You can try to '''Reset toolbars and controls:''' and '''Make Changes and Restart''' in the [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] start screen.
If the problem persists, please try a [https://support.mozilla.org/en-US/kb/Managing-profiles?s=profile&r=0&e=sph&as=s new profile]. You can later copy [https://support.mozilla.org/en-US/kb/Backing%20up%20your%20information?s=backup&r=1&e=sph&as=s needed data] from the old profile to this.
[http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files] -
Enterprise server not properly executing parameterized command
I developed a report in CR XI with a subreport whose command sql expression DB name comes from a command parameter linked from the main report. It works fine when I run it on my desktop, but when run from the server(Business Objects Enterprise XI, Release 2) if returns no records. If I use gouping it runs fine on my desktop, but I get "Invalid Group condition" if I try to run it on the server.
MainReport.AOIID=Subreport.AOIID
Select ....
From AOIID{?AOIID}.TOC....
where ....
It's as if the server is trying execute the command before executing BUT I'm not so sure about that either becuse the following command works fine, even on the server:
MainReport.TOCID=Subreport.CID
Select ....
From AOIID3003.TOC....
where CID={?CID}Hi Ben,
The reports you are using are linked subreports or unlinked subreports?
What is the exact version of CR XI R2 you are using (Go to Help menu > About Crystal Reports) ?
Regards,
Abhijeet T. -
While executing the application which method will trigger first
Hi all,
while executing a webdynpro application which hooker method will trigger first?Hi Naveen,
The first method called is the WDDOINIT of the component controller.
For more details on hook method please see the below link.
http://wiki.sdn.sap.com/wiki/display/WDABAP/HooksMethodsinWebdynprofor+ABAP
http://help.sap.com/saphelp_tm70/helpdata/en/45/c87f413e70010de10000000a1550b0/frameset.htm
Thanks
Pradeep -
My La Cie external hard drive drops it's connection after mounting on my iMac computer. This problem seems to have started after upgrading to OSX10.6.7. When I turn on my computer and than turn on the external hard drive the hard drive mounts to my disk top without any problem, but when I bring up Mail or Safari the hard drive drops its connection. Is there a fix for this problem? Hope someone can help.
The connection to 10.6.7 may just be a coincidence. I had a similar problem with a disk and was about to throw it out but decided to try a different USB cable. That fixed the problem and the drive is still in use.
Try a new cable if you have not already done so.
Dave -
I have an iphoto library on an external drive, which I have connected to my airport extreme. I can see the disk in my finder and access data on the external hard drive through the wireless, local network. The only problem is that when I use my iMac, the machine does not read the iphoto library on the external harddrive, instead it picks up the library that's on the iMac itsel. Is this a preferences list issue or something else? Any help would be great, thank you.
A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries.
-
While trying to create a new apple ID, I do not see the option of 'NONE' payment. Only the VISA and MASTERCARD options are displayed. What is the reason?
Welcome to the Apple Support Communities, Joseph
http://support.apple.com/kb/ht2534 -
ITunes not properly alphabetizing "the" artists
Pretty self-explanatory, but let me clarify. Basically, there are certain albums by The Mountain Goats that get alphabetized under "T" (for the) instead of "M" like the rest of The Mountain Goats titles. I have checked to make sure the artist AND album artist are both "The Mountain Goats", but it doesn't seem to help. Is there a feature that organizes by "The" instead that I can disable? Any help would be greatly appreciated. It's driving me crazy!
It could be the order fields in Sorting in Get Info
-
Error while executing the sp ORA-21779: duration not active
Hi there,
am using Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 and facing typical type of error
please find the steps below to reproduce it
in this basically i will pass a comma seperated values and function will return the
piped table witheach seperated values as new record
ex :1,2,3,4
1
2
3
4
Types created:
1) Create Type TPOBJ_Return as Object (tnames varchar2 (2000));
2) Create Type TPObjT_ReturnColl as Table Of TPOBJ_ReturnTable;
Function created:
CREATE OR REPLACE FUNCTION WB_FN_ReturnTable
tNameString IN VARCHAR2
RETURN TPObjT_ReturnColl
PIPELINED
AS
iOptionSel INT;
tOptionSel VARCHAR2 (9);
iLen INT;
tName VARCHAR2 (50);
tTempChar CHAR (1);
ptNameString VARCHAR2(2000);
BEGIN
ptNameString:=tNameString;
iLen := LENGTH(TRIM(ptNameString));
iOptionSel := 1;
tName := '';
WHILE iOptionSel <= iLen
LOOP
tTempChar := SUBSTR(ptNameString, iOptionSel, 1);
IF tTempChar = ',' THEN
IF LENGTH(TRIM(tName)) > 0 THEN
PIPE ROW(TPOBJ_Return(tName));
END IF;
tName := '';
ELSE
tName := tName || tTempChar;
END IF;
iOptionSel := iOptionSel + 1;
END LOOP;
IF LENGTH(TRIM(tName)) > 0 THEN
PIPE ROW(TPOBJ_Return(tName));
END IF;
return;
END;
Table created:
Create Table test (id number(16))
Insert into test values (1)
Please insert from 1 to 10.
Stored procedure created:
Create or replace procedure Sptest
As
Titems Varchar2(255);
pvalue Number(16);
Begin
Titems :='5,4,3';
Select MIN(id) into pvalue from test where id not in
(select tnames from table(WB_FN_ReturnTable(Titems )));
End;
Note:
while executing the sp for the first time am not getting any error
only ,if making a repeated call for execution then am gettings the errors specified below
ORA-21779: duration not active
ORA-03113: end-of-file on communication channel
ORA-03114: not connected to ORACLE
can anyone help me on these issueWhy a pipeline table function? I would not say that a tokeniser function is something that typically should require working in the SQL engine, piping rows. It can be a very straight forward PL/SQL function that returns a collection of strings.
E.g.
SQL> CREATE OR REPLACE function tokenise( line varchar2, separator varchar2 DEFAULT ',' ) return TStrings AUTHID CURRENT_USER is
2 strList TStrings;
3 str varchar2(4000);
4 i integer;
5 l integer;
6
7 procedure AddString( s varchar2 ) is
8 begin
9 strList.Extend(1);
10 strList( strList.Count ) := s;
11 end;
12
13 begin
14 strList := new TStrings();
15
16 str := line;
17 loop
18 l := LENGTH( str );
19 i := INSTR( str, separator );
20
21 if i = 0 then
22 AddString( str );
23 else
24 AddString( SUBSTR( str, 1, i-1 ) );
25 str := SUBSTR( str, i+1 );
26 end if;
27
28 -- if the separator was on the last char of the line, there is
29 -- a trailing null column which we need to add manually
30 if i = l then
31 AddString( null );
32 end if;
33
34 exit when str is NULL;
35 exit when i = 0;
36 end loop;
37
38 return( strList );
39 end;
40 /
Function created.
SQL>
SQL> select * from TABLE(Tokenise('col1,col2,col3,,col5,and so on'));
COLUMN_VALUE
col1
col2
col3
col5
and so on
6 rows selected.
SQL>
PS. The TStrings SQL user type is declared as a table of varchar2(4000). -
Incron not actually executing commands
Hi,
I'm having trouble getting incron to run properly. I have incron installed, and the daemon is running. However, incrond is not actually executing the commands in my incrontab. I thought maybe it was a problem with my script (which runs fine on Linux Mint with incrontab), so I'm just trying it out with simple commands and it's still not working. I know from this thread that I have to use full paths so I'm doing just that
- My user is in /etc/incron.allow
- My incrontab contains the following:
/home/kevin/foobar IN_CLOSE_WRITE /usr/bin/notify-send Hi Hi
- I can edit the file /home/kevin/foobar and after doing so I see the following line in the journal (and nothing else, e.g. there don't appear to be any permission errors):
Aug 06 11:21:57 pooter incrond[3278]: (kevin) CMD (/usr/bin/notify-send Hi Hi)
However, nothing happens. If I run '/usr/bin/notify-send Hi Hi' in a terminal, I get the usual popup. Even if I change the incrontab from notify-send to
/home/kevin/foobar IN_CLOSE_WRITE /usr/bin/echo test > /tmp/test
then there's nothing in /tmp/test after changing the file, even though incrond shows up in the journal again.
I have to be doing (or not doing) something stupid, but I can't figure it out. Any ideas what I could be doing wrong?
Last edited by lumpy211 (2013-08-06 15:36:14)Heya.. Sorry I wasn't around when you were asking, but for other future users with issues: use strace and/or journalctl -n to get an inkling on what might be an issue.
If you get a error with file, or so, it is probably because one has used tabs instead of a space between the 3 args. Also, I found it easiest to writea wrapper which incrond calls with $@ say, (where one can throw in one's commands).
Maybe you are looking for
-
ODI Error when Loading data from a .csv file to Planning
Hello, I am trying to load data from a csv file to planning using ODI 10.1.3.6 and I am facing this particular error. I am using staging area as Sunopsis memory engine. 7000 : null : java.sql.SQLException: Invalid COL ALIAS "DEFAULT C12_ALIAS__DEFAUL
-
Hi all I want to extract data, for division 01, material with reorder point >0 with text desc and list price sorted by product hierarchy. can anybody help me how can I do this. regards AJ
-
Is there a way of displaying the most recent items sold on a site?
-
Hi Experts In SAP, when trying to modify a System Object, it asks for Access Key... What is this exactly? Is it different from Developer Key? Thx Santo
-
While I'm in ps cs5 and have converted a layer to a smart object, when I click/double click on the layer or the icon it will not open into camera raw. I have tried this with jpgs, tiffs and psd files, I have no other problems with raw, bridge of phot