Dynamically create and remove TEXT items in forms
Hi Guys,
Is there a way to dynamically create and remove TEXT items in form. For example I have the EMP and DEPT table and when
I select the EMP table name from the LOV, rows of the EMP table with column name and data should get displayed on the screen and likewise a similar action for DEPT table and
so on. I have about 90 tables from where data could be required to view and edit. They all have varying number of columns.
Any suggestions ?
Thanks
KMD
null
Use OLE concept of developer and map Excel as an object
Nadeem
null
Similar Messages
-
How do I create a text style in CC libraries? Every time I drag and drop text into library form Photoshop or illustrator it turns it into a graphic.
If I select the text layer and click the text style button in the library it just creates a new text style for Myriad Pro 12pt - I'm not using that anywhere in my document.
Can anyone help? Seems like a bug to me as I'm trying what the video tutorials are saying.
ThanksI realize AI is an illustration program.
Do you realize it is an object-based vector-based program? Do you know the difference between raster-based and vector-based content?
My question seems to be all over the forum but no one has been able to answer other than exporting to these file formats, which make text look awful and of no use....
And yet everyone else in the world makes proper web images every day using a plethora of programs, including these...go figure.
Am I missing something?
Yep. Pretty much.
Hello Adobe! People use transparency on website logos.
Hello, cocteau! What you're calling "transparency" is inherent to object-based vector artwork. But web browsers don't support object-based vector artwork, except via file formats like Flash and SVG, or by viewing as a PDF in a plug-in version of Reader. Raster imaging in general only supports "transparency" by either indexing a specific color (i.e.; "don't display this color", as in GIF) or including an alpha channel (i.e.; "blend all the pixels with existing pixels, based on values from this extra channel", as in PNG). It's all in the raster file format you use, cocteau; it has little-to-nothing to do specifically with Adobe software. Such things are among the most basic matters understood by someone doing web design.
When I export an eps from .ai file, and open the eps in photoshop,...I save as a gif for the web, it goes back to the original problem...creates jagged text. I"m giving up on this garbage...Thanks a lot adobe! Lower the price of this software if this is all that can be done.
Once it leaves Photoshop (or Illustrator, or whatever) as a non-proprietary raster image format, it's all about what the format can do re "transparency". You can do this stuff with most any graphics program. You should read about basic web design and the differences between raster and vector content, rather than rant.
JET -
Dynamically Create and Compile Java Classes
Hi,
I have a requirement to dynamically create and compile Java classes and would like some advice on the best method to do so.
Basically the project I am working on involves creating "Factors". Factors are items that have both attributes and weights so for example Factor A could have attribute B with weight 0.76, and attribute C with weight 1.33. There are a number of methods common to all factors such as calculateTotal, identify etc etc.
At the moment the application has 5 factors, but there is a requirement to dynamically add and remove factors on the fly.
I current solution I have been considering is using XML to describe the new class, build up the class and compile it; something along the lines of what is descibed at
http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-xslt_p.html
however i would like to consider all options.
Any help with this is greatly appreciated.You want to dynamically create and compile Java classes.
I would try the following:
(1) Write the Source code of the new class into a text file with the name MyNewClass.java
(2) compile this new .java-file with Runtime r = getRuntime();
try {
r.exec ("javac MyNewClass.java");
} catch (IOException e) {
System.out.println("ooops " + e.getMessage());
} (3) somehow try to load that new class, maybe using ClassLoader cl = ClassLoader.getSystemClassLoader();
cl.loadClass("MyNewClass"); -
Diffrence between when-validate-item and post-text-item trigger
What is the Diffrence between when-validate-item and post-text-item trigger, when they are written for the same item and the basic diffrence between when-validate-item and post-text-item trigger.
Two big differences:
1. post-text-item is only available to, and only triggered when leaving a text item, whereas when-validate-item is triggered by the forms validation process, and is available for any item type.
2. p-t-i is a navigation trigger and you cannot invoke it programmatically, whereas the 'validate' built-in can be used to execute validation which fires the w-v-i trigger(s). -
I now have iTunes ver 11.0.4.4 under Windows 7. I lost all iTunes stuff when updating to Windows 7. I have loaded thousands amd thousands of music files from backup disks, but there are many duplicates. I am attemping to re-establish my old library. I used to be able to remove duplicates quickly with the old iTunes. The new iTunes doesn't seem to offer the same service. Is there any way to remove duplicates quickly, or must I do it one by one?
When deduping use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
See also HT2905: How to find and remove duplicate items in your iTunes library
tt2 -
HT2905 Does anyone know how to find and remove duplicate items in the new itunes 11?
I am having a hard time trying to figure out how to find and remove duplicate items under the New iTunes 11? Its not as user friendly as in previous versions. Does anyone know how to figure this out?
As Jim said View > Show Duplicates
or
Option + View > Show Exact Duplicates -
How to create and read text file using LabVIEW 7.1 PDA module?
How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
I attach my code here.
Attachments:
File_IO.vi 82 KBWell my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.
-
Revision: 16975
Revision: 16975
Author: [email protected]
Date: 2010-07-19 15:20:00 -0700 (Mon, 19 Jul 2010)
Log Message:
Fix bug FM-964, add media factory item for RTMFP multicast and remove the item from OSMFPlayer
Ticket Links:
http://bugs.adobe.com/jira/browse/FM-964
Modified Paths:
osmf/trunk/apps/samples/framework/OSMFPlayer/src/OSMFPlayer.as
osmf/trunk/framework/OSMF/org/osmf/media/DefaultMediaFactory.asWelcome guy -
Unless you are using Spry menus as a learning experience, you should move forward to a menus system that will display properly on the millions of portable devices that won't work with Spry which was deprecated 2 years ago.
Many are using JQuery menus or pure HTML/CSS menus.
If you wish to continue your Spry for learning experience, we'll be glad to assist; please let us know.
By the way, your submenus are not showing because you need to add the red value to this rule in your vertical CSS
ul.MenuBarVertical ul.MenuBarSubmenuVisible{
width: 220px;
left: 180px; -
Region is not created and also the item is not added.. Help me
Hi to all,
I want to create a region dynamically(in the sense using code). The following code is used but the thing is the region is not created and the item also not created. Using the object of the item, i set the prompt , this is also not working. Suppose this code is wrong let me know how to create regin and under this region an item.
the code is:
OAMessageComponentLayoutBean msgcmpntbean = (OAMessageComponentLayoutBean)createWebBean(pageContext,MESSAGE_COMPONENT_LAYOUT_BEAN);
OAMessageStyledTextBean msgstyledbean = (OAMessageStyledTextBean)pageContext.getWebBeanFactory().createWebBean(pageContext,MESSAGE_STYLED_TEXT_BEAN,OAWebBeanConstants.VARCHAR2_DATATYPE,"Login");
pageContext.getPageLayoutBean().addIndexedChild(msgcmpntbean);
msgcmpntbean.setRows(1);
msgcmpntbean.setColumns(3);
msgstyledbean.setPrompt("Login User : ");
Thanks in AdvanceHi,
you have created messagecomponentlayout and messageStyled text but you have not added messagestyled text as indexed child in messageComponentlayout....
Try this:
OAMessageComponentLayoutBean msgcmpntbean = (OAMessageComponentLayoutBean)createWebBean(pageContext,MESSAGE_COMPONENT_LAYOUT_BEAN);
OAMessageStyledTextBean msgstyledbean = (OAMessageStyledTextBean)pageContext.getWebBeanFactory().createWebBean(pageContext,MESSAGE_STYLED_TEXT_BEAN,OAWebBeanConstants.VARCHAR2_DATATYPE,"Login");
msgcmpntbean.addIndexedChild(msgstyledbean);
pageContext.getPageLayoutBean().addIndexedChild(msgcmpntbean);
msgcmpntbean.setRows(1);
msgcmpntbean.setColumns(3);
msgstyledbean.setPrompt("Login User : ");
Thanks,
Gaurav -
Go-item in post-text-item oracle forms 6i
It is not possible to use go_item in post-text-item trigger in forms 6i
How to overcome this?I've never tried to force the user to do that.
But Kevin's second solution would do it:
Set a packaged variable and put the code in a form-level WHEN-NEW-ITEM-INSTANCECreate a package specification in the form -- I always name such a package P0.
In the package, create a variable: Next_Itm varchar2(60);In your post-text-item trigger, set the package value: P0.Next_Itm := 'BLOCK_B2.ITEM_6';In the form-level when-new-item-instance trigger:
If P0.Next_Itm is not null then
Go_Item(P0.Next_Itm);
P0.Next_Itm := null;
End if; -
How do I dynamically create a pdk:text / field?!!!!!!
I have a form that is to let the user add multiple rows and I need to be able to dynamically create a text filed and assign the attributes maxlength, size, name,property, and also assign the onkeypress a java script function. the following code will get me a text box but none of the attributes work:
function add_Row(TLBID)
var tbody = document.getElementById(TLBID).getElementsByTagName("TBODY")[0];
var row = document.createElement("TR");
var tlbTD = document.createElement("TD");
var txtelement = document.createElement("TEXTAREA");
tlbTD.colSpan = 2;
txtelement.cols="25";
txtelement.rows="2";
txtelement.name="newDCTResponseText";
tlbTD.appendChild(txtelement);
var tlbTD2 = document.createElement("TD");
tlbTD2.valign="bottom";
var txtelement2 = document.createElement("input");
txtelement2.type="text";
txtelement2.maxlength="5";
txtelement2.size="2";
txtelement2.name="dctqeBean";
txtelement2.property="dctScoreTxtBox";
txtelement2.onkeypress="do_validate()";
tlbTD2.appendChild(txtelement2);
row.appendChild(tlbTD);
row.appendChild(tlbTD2);
tbody.appendChild(row);
}Hi Ray,
Thanks for your response. I do not understand the explanation. Maybe it is because I did not explain what I need or maybe becasue I am new to TS. Here's what I'd like to do.
Have a predefined list of IO names. Like:
Nest1
K23 "DIO96/port0/line1"
K24 "DIO96/port0/line2"
Nest2
K23 "DIO96/port1/line1"
K24 "DIO96/port1/line2"
I will have 2 nests(sockets) in my system running batch model. From what I understand I can have 1 sequence defined and TS that will execute 2 threads with 1 socket per thread. In this sequence I somehow need to pass to my VI the value of K23 which is different for socket1 and 2. I was thinking that I can somehow create the Property Name Dynamically. Sort of like that:
RunState.Sequence.Parameters.GetPropertyObject("Nest%d",RunState.TestSockets.MyIndex+1).K23
It would give the sequence running for socket 1 the value "DIO96/port0/line1" and "DIO96/port1/line1" for socket 2
thanks
J. -
How can I dynamically create all kinds of items in runtime?
sir:
I always want to create items dynamically with forms50 in
runtimes,But I found that items ,eg:text item,list item were
be created in design time,it make me limited,I hope to control
item freely,how can I do?
nullYou can't.
You should use another tool like JAVA or C.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by gang lee ([email protected]):
sir:
I always want to create items dynamically with forms50 in
runtimes,But I found that items ,eg:text item,list item were
be created in design time,it make me limited,I hope to control
item freely,how can I do?<HR></BLOCKQUOTE>
null -
How do I add and remove text in a text field with a checkbox?
How do I add and/or remove text in a text field with a checkbox?
this is my script in the text box......
event.value="Hello, this is my narrative. \r\n\nFamily: \r\n\n" + this get.Field("FirstName").value + " " + this.getField("LastName").value + was born on"=this.getField("DOB.value + "\r\n\n + this.getField("drpField").value + "\r\n\n" + this getField("Father").value
The text box looks like this...
Hello, this is my narrative.
FAMILY:
John Smith was born on 08/02/2000
Boby Lou
Jack Smith
I need to add/or remove the father field (Jack Smith) & r/n/n with a check box.
Does anyone know how to do this?There are multiple errors in your code...
Use this code instead (adjust the name of the check-box):
var msg = "Hello, this is my narrative. \r\n\nFamily: \r\n\n" + this get.Field("FirstName").value + " " + this.getField("LastName").value + was born on" + this.getField("DOB.value) + "\r\n\n" + this.getField("drpField").value;
if (this.getField("FatherCheckBox").value!="Off")
msg += "\r\n\n" + this getField("Father").value;
event.value = msg; -
How to create a moving text in APEX forms?
Hi
Can anyone help me with the procedure and the code for creating a moving text in APEX.
Thanks in advance.marquee was introduced with IE (Internet Explorer) and certain versions of Firefox, Opera, Chrome and Safari web browsers support it.
tell me how do you want the text to work. the easiest way will be to create an HTML region and put the marquee tag code in it
if you fear about the compatibility of marquee with browsers or have a browser version with which marquee does not work then use JQuery
check the following
http://plugins.jquery.com/marquee/
let me know if this answers your query in the current thread
Regards,
Vishal
Oracle APEX 4.2 Reporting | Packt Publishing
Vishal's blog -
How to Create and Remove CMP Entity with Toplink in same transaction??
Hi, i have a problem to create and delete cmp intances with toplink.
I create a entity bean and remove the same entity bean in the same transaction.
ie. my method have this code:
bean a = homeBean.create(pk);
a.remove();
bean a = homeBean.create(pk);
this code throws a javax.ejb.DuplicateKeyException
Toplink not remove CMP, execute the two calls of create first.
What configure toplink to support this case ??
Is this possible ??
I Can't controling the transaction manualy i'm using CMP entity beans with CMT.
tanks.
Message was edited by:
Carlos LacerdaBM,
If you want to import the utils package into your code, then the location of the utils package has to be in your CLASSPATH. JDeveloper uses libraries to define a project's CLASSPATH.
I'm not sure exactly what's going on here, but you might want to read the information about packages and class libraries in the online documentation. It's under:
User Guides
-> Working with JDeveloper
-> Packages and Class Libraries
Blaise
Maybe you are looking for
-
No finder preview, quicklook or cover flow for AVI files in 10.8.1
Just installed 10.8.1 over 10.6.8, and I can't preview avi or wmv files in the Finder. CoverFlow just shows a generic QuickTime movie icon and Quicklook just an empty window with a spinning wheel. There are no problems with mp4, m4v and mpg. Quicktim
-
Help! - Document Recovery
Hello, I need to recover a document on Buzzword. I used an important document as the starting point, and auto save saved 'over' it, thus deleting the original. Being new to Buzzword, I didn't know to be careful of this feature. I didn't save the docu
-
In I.E. when you want to delete your browsing history, the Internet Options tab allows you to retain the cookies for the websites that are listed in your 'Favorites'. With this preference enabled, you can delete your browsing history regularly withou
-
What System Version is on your Bionic
Settings- About Phone-System Version I am on, 5.5.886.XT875.Verizon.en.US What is everyone else running, Just Curious
-
I have a iphone5 and i can not get itunes to work
I Have an iphone 5. when i syc it to my pc, it goes through the steps until it gets to step 4. then it either says "cancelling sync" or "waiting for change to be applied" and it stays like this all the time. i have also lost soem music