Inserting multiple options in a hyperlink
I'm very new to the online help world. I've just recently had
a 3-day class on RoboHelp HTML. I've been conveting a RH for Word
into HTML and I've encountered a problem/question.
In the Classic, Word version the previous author inserted a
multiple topic choice dialog box as a hyperlink on the topic's body
text. From here the user would find two options from which to
choose as a help topic. The user would then pick one and would be
jumped to that topic and the dialog box would close.
I've only found the "related topics" feature in HTML which
inserts a button or graphic that allows this multiple topic
feature.
Is there a way to have the multiple topics dialog box appear
when linked to an existing word/phrase (or in an image map) in the
topic's body?
Thanks!
Wendy
Hi Wendy
Indeed you may do this. As you have discovered, the way you
do it is by using a Related Topics control. The trick here is to
configure the control as hidden. Then "Click" it using a tiny bit
of JavaScript. It won't really matter where on the page the control
will be. So don't agonize over that. Just insert one and configure
it as hidden. The option is on the first page of the wizard when
you insert one.
Assign the multiple topics you want and configure other
options. Then dismiss the dialog. Now let's link it to some text.
First, hover the control and see what name pops up. If it's the
first one on the page, it should be RelatedTopics. But it could
read something else. Note what name it uses.
Now, select the text your user will click to activate the
control. Make a hyperlink out of it by clicking the Hyperlink
button. Where you would normally enter a path and HTM file name,
type this instead:
JavaScript:RelatedTopics.Click();
Remember that name you looked at earlier? It's crucial here.
If it wasn't RelatedTopics, type the name you noted instead. And
it's case sensitive. So if it's something like OBJECT1 or object1,
be sure to type it exactly as you noted.
Give tht a go and see how you fare.
Cheers... Rick
Similar Messages
-
How do I use my control key to highlight multiple options in a PDF?
How do you select multiple options from a selection field in a PDF form? I've tried control and mouse click as the directions indicate on the form. However, I am a new Mac user and I do not know if the control commands are the same. I viewed the commands and combonation key commands in the list provided on this support site. I could not find one to address this specific function.
-MrkmrtynzHi Rick,
Well, following up on the previous posting, I actually did figure out how to make it work but it seems rather inefficient. I can insert a new paragraph right after the paragraph that has the table anchor but when i cut the table, i also cut the paragraph i just created. So to get around that, I create two paragraphs, so that there will be one paragraph left after i do the cut and that is the paragraph that I paste the table into. Once the table is pasted into the new paragraph, I delete the other paragraph that I created.
Here's the updated code from the for loop:
var vTbl = vDoc.GetUniqueObject(Constants.FO_Tbl, vTextItems[i].obj.Unique);
var vAnchorPgf=vDoc.NewSeriesPgf (vTbl.TextLoc.obj)
var vAnchorPgf2=vDoc.NewSeriesPgf (vAnchorPgf);
var vAnchorTextLoc=new TextLoc (vAnchorPgf2, 0);
var vTblTextRange=new TextRange ();
vTblTextRange.beg.obj=vTbl.TextLoc.obj;
vTblTextRange.beg.offset = vTbl.TextLoc.offset;
vTblTextRange.end.obj=vTbl.TextLoc.obj;
vTblTextRange.end.offset = Constants.FV_OBJ_END_OFFSET
vDoc.TextSelection=vTblTextRange;
vDoc.Cut (0);
vTblTextRange.beg.obj=vAnchorTextLoc.obj;
vTblTextRange.beg.offset = 0;
vTblTextRange.end.obj=vAnchorTextLoc.obj;
vTblTextRange.end.offset =0;
vDoc.TextSelection=vTblTextRange;
vDoc.Paste (0);
vAnchorPgf2.Delete(); -
How to insert multiple rows in a single shot using insert command?
Hi,
If we insert one row, we can use "insert into" command. I want to insert multiple rows into the table in a single shot. Is there any SQL command for insert multiple rows into the table?
Plese give the solution.
Thanks,
chelladuraiIf you would like to do it with SQL, this would be one of the ways to achive it:
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Sep 25 10:12:59 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Data Mining and Real Application Testing options
SQL>
SQL> desc leap
Name Null? Type
FIRST_PRICE NUMBER(16,6)
NEXT_PRICE NUMBER(16,6)
SQL>
SQL> select * from leap;
no rows selected
SQL>
SQL>
SQL> !vi multirow_insert.sql
SQL> !cat multirow_insert.sql
insert into leap(first_price, next_price) values (1,2);
insert into leap(first_price, next_price) values (3,4);
insert into leap(first_price, next_price) values (5,6);
SQL>
SQL> @multirow_insert.sql
1 row created.
1 row created.
1 row created.
SQL> commit;
Commit complete.
SQL>
SQL>
SQL> select * from leap;
FIRST_PRICE NEXT_PRICE
1 2
3 4
5 6
SQL> -
How to insert multiple list item as separate records
I have a form with a list field in which user can select
multiple item <select multiple="multiple"><option
value></option></select>. My problem is that I don't
know how to do an insert sql operation that puts every selected
item on the list field into a separate record in a database table.
I think that first I should get it to know how many item was
selected from the list, than write the insert into statement
between loop tags which loops the operation until every item has
inserted. I'm not sure about it and even if I'm right, I don't know
how to code it. Could someone show me a sample code for such a
"problem"?quote:
Originally posted by:
Newsgroup User
The ScareCrow wrote:
uh, depending on the db (say it's sql server) you might want
to swap the loop &
cfquery to make that one big insert rather than a bunch of
cfqueries.
The following approach will work with just about any db and
only uses once connection
<cfquery>
insert into sometable
(field1, field2, etc)
<cfloop list = "#somelist#" item = "thisitem">
select distinct #thisitem#, 'something else', etc
from some_small_table
<cfif listfind(somelist, thisitem) lt
listlen(somelist)>
union
</cfif>
</cfloop>
</cfquery> -
How to Insert Multiple Icons in a Canvas?
Hi All
I am new to MIDlets so I need some initial help related to UI generation in MIDlets.
I have to Insert multiple Icons in a canvas.
These Icon should behave like button i.e. all Icon must have key-pressed event separately(i.e.
when any particular Icon will be selected(positioned whatever) some action will be performed.
same like in smart phone a single screen contains multiple icon for multiple operations to be
performed.
Is it possible in single canvas or I have to make multiple canvas for each icons?
Any suggestion will be appreciated
Thanks
Nitesh.Hi ,,
In Bex analyzer (BI 7.0) i am getting the option tools-> insert query??
Do i need to configure anywhere to get this option //
Can you please give details on that.
Thanks,
Debasish -
How to insert multiple report in a workbook ??
Hi,
Can anybody suggest How to insert multiple report in a workbook ??
Thanks,
DebasishHi ,,
In Bex analyzer (BI 7.0) i am getting the option tools-> insert query??
Do i need to configure anywhere to get this option //
Can you please give details on that.
Thanks,
Debasish -
Inserting Multiple Line Items To Stored Procedure
Hi
I need to insert line item values to one of the argument in stored procedure.what data type do i need to pass for type attribute.I tried with different datatypes from sap help but no luck.Please guide me how should i proceed.
Interface is : Idoc to JDBC (stored procedure)
Target structure:
DT_Orderstatus_Trgt
--> StatementName
-->SP Name
action--->Attribute
table--->Attribute
--->Argument (to insert multiple line items)
isInput
isOutput
type
Just i am showing only one argumnet which needs to be inserted multiple line items.
ThanksHi,
Stored procedure can support the below data types
INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).
But
Instead of passing multiple line items / array of input value in stored procedure, You can go for the below option as having 2 statements in your mapping with below structures and those 2 statements should be linked with the primary key say col1.
<root>
<StatementName1>
<dbTableName action=u201DINSERTu201D>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
<access>
<col1>val11</col1>
</access>
</dbTableName>
</StatementName1>
<StatementName2>
<dbTableName action=u201DINSERTu201D>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
<access>
<col1>val11</col1>
</access>
</dbTableName>
</StatementName2>
</root> -
How insert multiple rows in oracle version 8.1
Hi All,
I have table date_rng in which i have cloumns date_mnth and date_yr and like to insert multiple rows such (01,2011),
(02,2011),(03,2011) etc using single insert statement.And i am using oracle 8.1 version so i do not have option of insert all into .please help me..
Thanks
SriniYOu can use this format
insert into <table> select <column_value> from dual union all select <column_value> from dual union all .... -
Inserting Multiple queries into a workbook
Hi Friends,
I have to insert multiple queries into a workbook and each query should be in a different worksheet of the work book.
I have gone thru some of the SAP documentation, for example http://help.sap.com/saphelp_nw04/helpdata/en/3a/89883989676778e10000000a11402f/frameset.htm
In above link under the fatures section it says
If you want to insert a query into the active workbook:
Open a workbook and, from the BEx toolbar, choose Tools ® Insert Query.... The query is then inserted into the current worksheet starting at the active cell
But when i chech in the tools under desig tools, i have lot of options like insert grid,insert checbox, radio button extc, but i dont have "Insert query".
I am using BI7 Bex analyazer, The Only way i am able to insert a new query into a work sheet using BI7 is that first i have to design the work sheet but including design elemenst in my case i am using Grid. But this is not giving the correct display.
Did anyone insert multiple queries in the same workbook? if you can you please let me know how did u acheive this?.
Thanks in adv.
Regards
BNHi Rajesh,
Thanks for your response, but in BI7 Bex analyser you dont have the option of insert query from tools.
Rather what i did is (maynot be the correct way), i have executed the query and saved it as work book and in the tools there is an option "copy Sheet". If you select this the same layout is copied to the 2nd sheet, there just change the assignment of design items to a new Dataprovider. Attach the new query to the new Dataprovider.
It works for me, as of now
But i have questions regarding selection screen.
1. In this work book i am embbeding 6 queries and each query individually has variables. When i execute the workbook i get the selection screen, in the selection screen all the common variables are shown in one grouping and other in a different grouping. Is this correct way of selection screen display?.
2. I want to see the variable screen every time i open the work book, how can i acheive this?.
Regards
BN -
To insert multiple rows by getting the values from the user
Hi
I want to insert multiple rows into a table using user given values dynamically.
I am a beginner to PL/SQL. Below code is part of my big code. A_row_insert is 2 and A_count is 1 (initially). While i execute , it asks for input only once and insert the same data 2 times. I want to enter two different rows. Please guide/advise me on this.
while (A_count<=A_row_insert) loop
dbms_output.put_line('Enter the value for the row#'||A_count||' of the table '||v_req_tab_name||':');
begin
INSERT INTO customers (
customer# ,
lastname ,
firstname ,
address ,
city ,
state ,
referred ,
region
+)+
VALUES
+(+
+&customer,+
+'&lastname' ,+
+'&firstname' ,+
+'&address' ,+
+'&city' ,+
+'&state' ,+
+&referred ,+
+'®ion'+
+);+
end;
A_count := A_count 1;+
end loop;
regards
Sakthivelhi,
You need to write a procedure and call it from front end for n number of time..... check the parameters you need to pass to execute the procedure.... try given sample....
CREATE OR REPLACE PROCEDURE InsertData(i_code IN VARCHAR2,i_code_desc IN VARCHAR2,i_code_type IN VARCHAR2)
AS
BEGIN
INSERT INTO CODE_MASTER (code,code_desc,code_type)
VALUES(i_code,i_code_desc,i_code_type);
EXCEPTION WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE ( 'Error during Insert code - '||i_code );
END;
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
exec InsertData('code1','desc1','type1');
Thnx MB -
Insert multiple rows with autoincrement id
I need to insert multiple rows to a table which has an autoincrement PK (unique), e.g:
Entity:
public Class Entity{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@Column(name = "id")
Private Long id;
Facade:
@PersistenceContext(unitName = "xx-enterprise-ejbPU")
protected EntityManager em;
public void create(Entity entity) {
em.persist(entity);
Service Class:
public Class Service implements ServiceLocal{
@EJB
private XxxFacadeLocal xxxFacade;
public void saveEntity(Entity entity){
xxxFacade.create(entity)
ManageBean:
public Class ManageBean
@EJB
private ServiceLocal service;
public void doSave(ActionEvent event)
service.saveEntity(entity1); //entity.id is set to null, suppose to be generated by DB auto_increment, i.e. insert 3 rows with 3 different ids
service.saveEntity(entity2);
service.saveEntity(entity3);
The result is: Key duplication error on inserting entity2, but entity1 is inserted into DB with id auto increased correctly.
If I insert only one row each time for test purpose, everything works as expected.
But what I need is to insert multiple rows. How to do it?
Thank you in advance.Like this (although the @Basic annotation is very much unnecessary). So if it isn't happening you must have made a mistake somewhere. Are you sure the ID column actually has auto_increment?
Also if you are using Hibernate as the persistence provider and you put it on the classpath, check the packages of the annotations you are using; Hibernate and JPA share some with the same name unfortunately. -
Jsp form - inserting multiple selection in to one column of the database
I have this JSP/ HTML form that has fields that I can select multiple values and in the backend there is only one table. But when I select these multiple value and submit, only one value gets to the database. How do I get all the values that I selected .
By the way I am using jdeveloper 10g and oracle 9i database
thank you,
santhanks aleena. sorry for the late reply. Because I away during the weekend. so I saw u are also into a web application project. I use jdeveloper 10g as my developing tool. its free to download for personal use. It may help you with your class project.
also thanks to dev_AZ
angrycat here is a similar example of my problem
<select size="8" name="fruit" multiple>
<option value="apple">apple</option>
<option value="orange">orange</option>
<option value="mango">mango</option>
<option value="cherry">cherry</option>
<option value="pineapple">pineapple</option>
<option value="grapes">grapes</option>
</select>
if i select apple, orange,mango and cherry and submit it to the database field 'fruit', only 'apple' gets inserted. none others.
this is the line where it is processing the value.
String fruit=request.getParameter("fruit");
by the way I have only one database table
I am going to try the for loop example that aleena has posted.
one more time thanks everyone
santhosh -
Inserting multiple rows in internal table in debugging
Hi All,
I need to insert multiple records from an excel sheet to an intenal table while debugging. I can see there is an option for "append row" in debugging but not for multiple rows. Can anybody help in this regard.
Thanks,
Ravi.Hi,
I am using new debugger for ECC 6.0..but could not find that option..Can you please indicate where exactly this option lies in the debugger. -
Select multiple options in safari or firefox
Hello to all,
I am trying to select multiple options in web form on safari or firefox. I am trying with ctrl and mouse but is not working. This fields are not in order so I can not use shift it must be Manuel selection.
Thank you in advance for fast help.
IvanTry command key instead of control key.
OS X Mavericks/OSX Yosemite
http://support.apple.com/kb/PH13826
Best. -
How do I insert multiple rows from a single form ...
How do I insert multiple rows from a single form?
This form is organised by a table. (just as in an excel format)
I have 20 items on a form each row item has five field
+++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++
+Product| qty In | Qty Out | Balance | Date +
+------------------------------------------------------------------------+
+Item1 | textbox1 | textbox2 | textbox3 | date +
+ |value = $qty_in1|value= &qty_out1|value=$balance1|value=$date1 +
+------------------------------------------------------------------------+
+Item 2 | textbox1 | textbox2 | textbox4 | date +
+ |value = $qty_in2|value= $qty_out1|value=$balance2|value=$date2 +
+------------------------------------------------------------------------+
+ Item3 | textbox1 | textbox2 | textbox3 | date +
+------------------------------------------------------------------------+
+ contd | | | +
+------------------------------------------------------------------------+
+ item20| | | | +
+------------------------------------------------------------------------+
+ + + SUBMIT + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Database Structure
+++++++++++++++++
+ Stock_tabe +
+---------------+
+ refid +
+---------------+
+ item +
+---------------+
+ Qty In +
+---------------+
+ Qty Out +
+---------------+
+ Balance +
+---------------+
+ Date +
+++++++++++++++++
Let's say for example user have to the use the form to enter all 10 items or few like 5 on their stock form into 4 different textbox field each lines of your form, however these items go into a "Stock_table" under Single insert transaction query when submit button is pressed.
Please anyone help me out, on how to get this concept started.Hello,
I have a way to do this, but it would take some hand coding on your part. If you feel comfortable hand writing php code and doing manual database calls, specificaly database INSERT calls you should be fine.
Create a custom form using the ADDT Custom Form Wizard that has all the rows and fields you need. This may take a bit if you are adding the ability for up to 20 rows, as per your diagram of the form area. The nice thing about using ADDT to create the form is that you can setup the form validation at the same time. Leave the last step in the Custom Form Wizard blank. You can add a custom database call here, but I would leave it blank.
Next, under ADDT's Forms Server Behaviors, select Custom Trigger. At the Basic tab, you enter your custom php code that will be executed. Here you are going to want to put your code that will check if a value has been entered in the form and then do a database INSERT operation on the Stock_table with that row. The advanced tab lets you set the order of operations and the name of the Custom Trigger. By default, it is set to AFTER. This means that the Custom Trigger will get executed AFTER the form data is processed by the Custom Form Transaction.
I usually just enter TEST into the "Basic" tab of the Custom Trigger. Then set my order of operations in the "Advanced" tab and close the Custom Trigger. Then I go to the code view for that page in Dreamweaver and find the Custom Trigger function and edit the code manually. It's much easier this way because the Custom Trigger wizard does not show you formatting on the code, and you don't have to keep opening the Wizard to edit and test your code.
Your going to have to have the Custom Trigger fuction do a test on the submitted form data. If data is present, then INSERT into database. Here's a basic example of what you need to do:
In your code view, the Custom Trigger will look something like this:
function Trigger_Custom(&$tNG) {
if($tNG->getColumnValue("Item_1")) {
$item1 = $tNG->getColumnValue("Item_1");
$textbox1_1 = $tNG->getColumnValue("Textbox_1");
$textbox1_2 = $tNG->getColumnValue("Textbox_2");
$textbox1_3 = $tNG->getColumnValue("Textbox_3");
$date1 = $tNG->getColumnValue("Textbox_3");
$queryAdd = "INSERT INTO Stock_table
(item, Qty_In, Qty_Out, Balance, Date) VALUES($item1, $textbox1_1, $textbox1_2, $textbox1_3, $date1)"
$result = mysql_query($queryAdd) or die(mysql_error());
This code checks to see if the form input field named Item_1 is set. If so, then get the rest of the values for the first item and insert them into the database. You would need to do this for each row in your form. So the if you let the customer add 20 rows, you would need to check 20 times to see if the data is there or write the code so that it stops once it encounters an empty Item field. To exit a Custom Trigger, you can return NULL; and it will jump out of the function. You can also throw custom error message out of triggers, but this post is already way to long to get into that.
$tNG->getColumnValue("Item_1") is used to retrieve the value that was set by the form input field named Item_1. This field is named by the Custom Form Wizard when you create your form. You can see what all the input filed names are by looking in the code view for something like:
// Add columns
$customTransaction->addColumn("Item_1", "STRING_TYPE", "POST", "Item_1");
There will be one for each field you created with the Custom Form Wizard.
Unfortunately, I don't have an easy way to do what you need. Maybe there is a way, but since none of the experts have responded, I thought I would point you in a direction. You should read all you can about Custom Triggers in the ADDT documentation/help pdf to give you more detailed information about how Custom Triggers work.
Hope this helps.
Shane
Maybe you are looking for
-
Missing data status for Idocs : HR ORG Upload in SRM
Hi All, We are using ALE Idocs for uploading HR ORG in SRM system.We are getting some IDocs errors. 51 status is 'Missing data'. Details description like below: Missing data Message no. HRALX00_ORG315 Diagnosis It has been determined that the emp
-
Provide developer a username and password to access the weblogic
Hi, we have a weblogic server with a domain name soa_domain and a managed server instance name soa_server1. we have 5 developer working. Our aim is to give each developer a username and password to access the weblogic for developing and deploying the
-
Suitable user interface application for a billing system
I am seeking an appropriate friendly user interface application that is appropriate for a billing system to interact with an oracle 10gr2 database. Thanks
-
A feature that android and symbian have but iPhone doesnt:
My country has an online phonebook that has an app that gives you a callers info as soon as they call even if they arent in your contacts list but iPhone hasnt supported that yet. any idea if that might be on the horizon?
-
Best tutorial for Actionscript 2 with CS4 IDE
Hello, I've searched here for some tutorials, but haven't been able to find any of the "Hello World" type. Can anyone help? Many thanks, Paul (absolute beginner)