Certain pagebreak in a form which is dynamic and flowed
Hello,
I have a question. I have a form which is dynamic and flowed. In this fom are differents documents. Before a new document begins I want to have a pagebreak. In the old form which was designed with Adobe Livecycle Designer 8.0 the pagebreak works. The new form which was designed with Adobe Livecycle Designer 8.2 the pagebreak doesn't work.
Can somebody help me?
Thanks!
You should first check if the Form is open, then only create a new instance if it's not open. Based on your code, I'd redesign CheckOpened so that it returns the opened instance, or null if it's not open. In button1_click, check the return value. If it's
null, create a new instance, otherwise use the returned refernce to make the modification, either by directly accessing label1, or indirectly by adding a property to Form2 that changes label1.text in the property-set method.
However, instead of searching for an open form, I'd just store a reference to it in a class level variable when it's created. So you just check for null if it's open. Additionally you must set it to null when handling Form2's FormClosed event.
Armin
Similar Messages
-
How do I make a button onj the form which will submit and send the pdf as an email?
how do I make a button on the form which will submit and send the pdf as an email?
You can set up a button with a "Submit a form" action and use a mailto type URL to specify the email address you want the forms sent do. If you want to send the entire PDF, select that option and not FDF or anything else. The mailto URL should not include any spaces and the "mailto" part should be lowercase, like:
mailto:[email protected]
This will attempt to initiate an email using the users default email client. If the user does not have one set up or there is some other problem, the email might not get initiated. If it needs to work with Reader versions prior to 11, then the form needs to be Reader-enabled, which you do in Acrobat 11 by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools -
An HTML form design with Dreamweaver CS5 requires the zip code and email to be entered prior to Submitting the form. We tested the form prior to going live and it worked great. The Zip Code and Email are required entries. Today, we received our first completed form from a customer and it worked and looked great. The problem is ... we have also received two forms that are blank. No data results at all; no email or zip code either. I don't know how this can be. The form cannot Submit unless the email and zip code are present.
Suggestions?
This is the webpage that has the form (scroll toward the bottom to view it).
http://www.catchaghostparanormalequipment.com/paranormaltriggerprops.htmlThe PHP code is:
<?php
//--------------------------Set these paramaters--------------------------
// Subject of email sent to you.
$subject = 'Trigger Prop Contact Form';
// Your email address. This is where the form information will be sent.
$emailadd = '[email protected]';
// Where to redirect after form is processed.
$url = 'http://www.catchaghostparanormalequipment.com/confirmation.html';
// Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
$req = '0';
// --------------------------Do not edit below this line--------------------------
$text = "Results from form:\n\n";
$space = ' ';
$line = '';
foreach ($_POST as $key => $value)
if ($req == '1')
if ($value == '')
{echo "$key is empty";die;}
$j = strlen($key);
if ($j >= 40)
{echo "Name of form element $key cannot be longer than 40 characters";die;}
$j = 40 - $j;
for ($i = 1; $i <= $j; $i++)
{$space .= ' ';}
$value = str_replace('\n', "$line", $value);
$conc = "{$key}:$space{$value}$line";
$text .= $conc;
$space = ' ';
mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
?>
The form code is:
<form action="result.php" method="post" name="Trigger Prop Form" id="Trigger Prop Form">
<p><strong>Trigger Prop Quote/Information Request Form</strong></p>
<p><span class="welcomesmaller">Trigger props can be sold with or without accessories. You can select more than one item. </span></p>
<p><span class="props" id="sprycheckbox13">
<input type="checkbox" name="Antique Style Tin Train Engine" id="Antique Style Tin Train Engine" />
<label for="Antique Style Tin Train Engine">Antique Style Tin Train Engine</label>
</span></p>
<p><span class="props" id="sprycheckbox14">
<input type="checkbox" name="Tin Merry-Go-Round" id="Tin Merry-Go-Round" />
<label for="Tin Merry-Go-Round">Antique Style Tin Merry-Go-Round</label>
</span></p>
<p><span class="props" id="sprycheckbox15">
<input type="checkbox" name="Period Lantern" id="Period Lantern" />
<label for="Period Lantern">Period Lantern</label>
</span></p>
<p><span class="props" id="sprycheckbox16">
<input type="checkbox" name="Bisque Head China Dolls" id="Bisque Head China Dolls" />
<label for="Bisque Head China Dolls">Bisque Head China Dolls (Variety Similar to Photos)</label>
</span></p>
<p><span class="props" id="sprycheckbox17">
<input type="checkbox" name="Grungy Primitive Rag Doll" id="Grungy Primitive Rag Doll" />
<label for="Grungy Primitive Rag Doll">Grungy Primitive Rag Doll</label>
</span></p>
<p><span class="props" id="sprycheckbox18">
<input type="checkbox" name="Pocket Watch" id="Pocket Watch" />
<label for="Pocket Watch">Pocket Watch with Chain</label>
</span></p>
<p><span id="sprycheckbox1">
<input type="checkbox" name="Pirate Gold Coins" id="Pirate Gold Coins" />
<label for="Pirate Gold Coins" class="props">Pirate Gold Coins</label>
</span> </p>
<p><span class="props" id="sprycheckbox2">
<input type="checkbox" name="Indian Artifacts with Rabbit Hide" id="Indian Artifacts with Rabbit Hide" />
<label for="Indian Artifacts with Rabbit Hide">Indian Artifacts with Rabbit Hide</label>
</span></p>
<p><span class="props" id="sprycheckbox7">
<input type="checkbox" name="Prop Pirate Gun" id="Prop Pirate Gun" />
<label for="Prop Pirate Gun">Prop Pirate Gun</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox4">
<input type="checkbox" name="Prop Pirate Sword" id="Prop Pirate Sword" />
<label for="Prop Pirate Sword">Prop Pirate Sword</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox5">
<input type="checkbox" name="Civil War Medals" id="Civil War Medals" />
<label for="Civil War Medals">Civil War Medals</label>
</span></p>
<p class="props"><span id="sprycheckbox3">
<input type="checkbox" name="West Lantern" id="West Lantern" />
<label for="Western Style Lantern">Western Style Lantern</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox8">
<input type="checkbox" name="Small Teddy Bear in Basket" id="Small Teddy Bear in Basket" />
<label for="Small Teddy Bear in Basket">6" Small Teddy Bear in Basket</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox9">
<input type="checkbox" name="Small Rag Doll in Basket" id="Small Rag Doll in Basket" />
<label for="Small Rag Doll in Basket">6" Small Rag Doll in Basket</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox10">
<input type="checkbox" name="Large Primitive Rag Doll in Basket" id="Large Primitive Rag Doll in Basket" />
<label for="Large Primitive Rag Doll in Basket">Large Primitive Rag Doll in Basket</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox11">
<input type="checkbox" name="Knitting Basket with Needles" id="Knitting Basket with Needles" />
<label for="Knitting Basket with Needles">Knitting Basket with Knitting Needles</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox12">
<input type="checkbox" name="Metal Needle Point Loom Doile" id="Metal Needle Point Loom Doile" />
<label for="Metal Needle Point Loom Doile">Metal Needle Point Loom with Antique Doile</label>
</span></p>
<p class="props"><span class="props" id="sprycheckbox19">
<input type="checkbox" name="Accessories" id="Accessories" />
<label for="Accessories">Accessories (Chairs, Wagons, Buggy, Sleds, etc.)</label>
</span></p>
<p class="props"><span id="sprytextarea1">
<label for="Custom Request">Custom Request, Questions, and/or Comments</label>
<textarea name="Custom Request" id="Custom Request" cols="45" rows="5"></textarea>
</span></p>
<p class="props"><span id="sprytextfield2">
<label for="Email Contact">Email Contact</label>
<input type="text" name="Email Contact" id="Email Contact" />
<span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></p>
<p class="props"><span id="sprytextfield3">
<label for="Shipping Zip Code">Shipping Zip Code for Quote</label>
<input type="text" name="Shipping Zip Code" id="Shipping Zip Code" />
<span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">A value is required.</span></span></p>
<p>
<input name="submit2" type="submit" id="submit" value="Submit" />
<input type="reset" name="Reset" id="Reset" value="Reset Form" />
</p>
<p> </p>
</form> -
Instantiating a form as different views and merging them at the end of the workflow.
Hi,
I have a big doubt in implementing one of the crucial part of our workflow design.It goes like this.
1.we have a form which is mainly classified into five types and a total of 16 subforms.
2.the five types in which the form is divided is based on the approver and the type. of requests.
3.different views of the whole same form have to be sent to the five approvers.
4.once the approvers approve the request,a wait point must be present in the workflow,where it will wait for all the views of the form (which are approved) and must merge them into one single pdf form ie., the original form.
so the change in the views of the total form must be reflected in the main form at the end while it is merging.
also all the views of the form are to be merged in to one for the sake of arhiving and rendering it to pdf.
so my questions are..
1.How to add multiple views of the main form (xdp) in the workflow separately as individual xdp templates(based on the five types i mentioned)?
2.How to merge the form views again in to single form or how to make the changes reflect in the main from when changes are made in their views.?
thank u..
Raghava Kumar V.S.S.MOBILE PHONE (BIRMINGHAM) LIMITED
BUY UNLOCKED BRAND NEW MOBILE PHONES AND LAPTOP,DIGITAL CAMERA,GAMES,PLASMA TV.They are brand new and sealed in an original company box with complete accessories and one year international warrantee.
NOTE : Minimum Order : 3 unit and get 1 free
Sample Order...1unit to 5units
Bulk Minimum Order : 10unit and get Extra 3unit
Shipping fees : free Shipping : FedEx, DHL or UPS
Delivery Time : 38hrs/48hrs.
MOBILE PHONE (BIRMINGHAM) LIMITED
Address: 376 COVENTRY ROAD, SMALL HEATH, BIRMINGHAM, WEST
MIDLANDS, B10 0XE
+447024036361
Contact Person :Thomas larry
Sales Manager
DO CONTACT US [email protected]
DO CONTACT US [email protected]
DO CONTACT US [email protected]
Nokia Phone.
Nokia N95..$2800USD
Nokia N93..$250USD
Nokia N92.$200USD
Nokia N97...$280USD
Nokia N96...$280USD
Nokia N83.$175USD
Nokia N91.$180USD
Nokia N90.$170USD
Nokia N70.$150USD
Nokia N71.$155USD
Nokia N72..$160USD
Nokia N73..$165USD
Nokia E90 COMMUNICATOR..$300USD
Nokia 7360.$165USD
Nokia 7380..$175USD
Nokia 8800 sirrocco...$200usd
Nokia 7370..$170USD
Nokia 8800$140USD
Nokia 8801.$145usd
Nokia N80.$160USD
Nokia 7710.$145USD
Nokia 7610.$120usd
Nokia 9300$145USD
Nokia 9500$170USD
NOKIA 6230 for........$130usd
NOKIA 6230i for.......$140usd
NOKIA 6260 For........$130usd
NOKIA 9300 For........$130usd
NOKIA 9500 For........$140usd
NOKIA 7610 For........$150usd
NOKIA 6680 For........$130usd
NOKIA 6682 For........$140usd
NOKIA 7650 For........$150usd
NOKIA E60 for.........$150usd
NOKIA E61 for.........$155usd
NOKIA E70 for.........$160usd
Motorola Phone
Mitac MIO 8930$280usd
Motorola razor v3$130usd
Motorola razor v3 pink edition..$130usd
Motorola v3X..$140usd
Motorola MPX300.,$150usd
Motorola V3i..$150usd
Motorola L7$140USD
plasma sony 32?'.$400usd
MOTOROLA SLVR V8 For........$150usd
MOTOROLA A1000 For...........$160usd
MOTOROLA A1010 For...........$200usd
MOTOROLA MPX 220 For........ $120usd
MOTOROLA MPX 300 For........ $140usd
Sony Ericsson w950i.........$170usd
Sony Ericsson w900i.$140usd
Sony Ericsson W800i.$135usd
sony Ericsson w700..$130usd
sony Ericsson w600i.$125usd
sony Ericsson w300..$120usd
sony Ericsson w950..$200usd
Sony Ericsson p990i.$145usd
Sony Ericsson m600i.$175usd
sony Ericsson m600..$170usd
Sony Ericsson p990..$140usd
Sony Ericsson p910i.$125usd
SONY ERICSSON K700i For......$130usd
SONY ERICSSON k750i For......$140usd
Sony Ericsson W810i For......$155usd
Sony Ericsson S700i For......$140usd
Sony Ericsson: Z1010 For.....$160usd
SAMSUNG D600 For......$120usd
SAMSUNG D720 For......$130usd
SAMSUNG D730 For......$135usd
SAMSUNG D800 FOR......$135usd
SAMSUNG D820 For......$140usd
SAMSUNG Z500 For......$150usd
Apple iphones.................$200usd
Apple ipods 80 GB............$180usd
Apple ipods 60 GB............ $150usd
PlayStation 3 20 GB.............$220USD
Playstation 60 GB..................$250usd.
i-mate jas ja and other.
Treo 650 for. $150usd
Treo 700 for. $180usd
Sick kick for $140usd
Side kick 2 for..$130usd
Side kick 3 for..$150usd
Eten m 500 for.. $100usd
Dvx-pod for.. $50usd
i-mate jas jar for. $160usd
i-mate jam for.. $170usd
i-mate k jam for.$180usd
Eten m 500 for.. $150usd
Treo 650$130usd
Treo 600$120usd
Treo 700w..$140usd
Pioneer CDJ-1000MK3 ------------$900.00
Pioneer DJ Effector - Red-----------$350.00
Pioneer System Case (CA-CMX5).......$450.00
Pioneer CDJ-800MK2 Digital Vinyl Turntable=--$520.00
Pioneer Dual Rackmount CD Player--------$600.00
Pioneer Pro DJ Mixer -------------$720.00
Pioneer Rack mount pro DJ mixer---------$780.00
Pioneer 96Khz / 24 bit digital mixer.-----$1,000.00
Pioneer Flat Speakers (ea.)-------------$1,100.00
Pioneer Professional DVD Turntable-------$2,000.00
Pioneer Pro DJ 96Khz 24bit Mixer---------$2,200.00
Pioneer Professional DVD Turntable------$2,220.00
Pioneer Djm-800 4 Channel Dj Mixer W/midi---$1,000.00
Pioneer DJM-400 Professional DJ Mixer------$300.50
Pioneer Pro DJ DJM1000 Pioneer Top of the Line
D---$2,100.95
Pioneer DJM-1000 Professional Club DJ
Mixer----$2,110.00
Pioneer Super DJ mixer - Pioneer DJM909------$900.00
Pioneer DJM-600-------------------------------$750.00
Pioneer CDJ 800 MK II / DJM 600 CD DJ
Package----$2,100.00
Pioneer DJM-1000 Mixer--------------$2,200.00
Pioneer Model: DJM-600K--------------$800.00
Blackberry
Brand new BlackBerry 8700r....$200
Brand new Blackberry 8700c....$200
Brand new Blackberry 8700g....$210
Apple Iphone.....................for Just $400
APPLE LAPTOPS.
Apple NoteBook Laptop for just $550
Apple Mac Book...for just $450
Apple Mac Pro .....for just $500
Apple Laptop 17inch for just....$400
APPLE IBOOK 12" 1.33GHZ...............$350
APPLE IBOOK 14" 1.42GHZ.....................$380
APPLE IBOOK G4 1.33GHZ..................$370
APPLE IBOOK G4 1.42GHZ....................$400
APPLE G4 POWERBOOK 1.5GHZ SUPERDRIVE WITH 15
INCHDISPLAY........$580
APPLE G5 POWERMAC 2.0GHZ DESKTOP
COMPUTER...................$620
APPLE G4 POWERBOOK 1.5GHZ SUPERDRIVE WITH 17 INCH
DISPLAY........$550
All Toshiba laptops
Toshiba Satellite PRO L10.. $320
Toshiba M200 $500
Toshiba R100 $450
Toshiba Qosmio E10 $750
Toshiba Satellite PRO L20.. $250
Toshiba M100 $680
Toshiba M300 $740
Toshiba Portege A200. $320
Toshiba Satellite L10 $330
Toshiba Qosmio F20 $500
*Dell Laptops
Dell Latitude D600 $290
Dell Latitude D500t.. $200
Dell Inspiron 6000 $350
Dell Latitude D505 $340
Dell Latitude D610 $460
Dell Latitude D510 $320
Dell Inspiron 9300 $530
Del Xps M2010..............................$400
Del Xps M1710..................................$350
Sony Laptops
Sony VAIO VGN-T1 $680
Sony VAIO VGN-FS315 $420
Sony VAIO VGN-S3 $450
Sony VAIO VGN-TX1.. $840
Sony VAIO VGN-FS215 $310
Sony VAIO VGN-S4 $470
Sony VAIO PCG-K35.. $550
Sony KDE-61XBR950 Television..3000usd
Sony KDE-42XBR950 Television..1000usd
Sony KDE-42XBR950 Television.1000usd
Sony PFM-42X1/S Television.500usd
Sony KDE-42XS955 Television..550usd
Sony FWD-50PX1/S Television1200usd
Sony KLV-32M1
Television400usd
SAMSUNG PLASMA TV
SAMSUNG HPP3761 Plasma TV $610
Samsung PPM42M5S Plasma Display $505
Samsung SPP4251 Plasma TV $700
Samsung PPM42M5H Plasma Display $550
Samsung HPR4252 Plasma $680
Samsung HPR4262 Plasma TV $450
Samsung HPR4272 Plasma $560
Samsung PPM50M5H Plasma Display $870
Samsung HPR5052 Plasma $670
Samsung HPR5072 Plasma $780
Samsung HPP5581 Plasma TV $780
Samsung PPM63H3Q Plasma Display $700
Samsung HPR6372 Plasma $820
PANASONICS TELEVISIONS
Panasonic TH-42PD50U Television600usd
Panasonic TH-42PX50U Television..1000usd
Panasonic TH-50PX50U Television..1500usd
Panasonic TH-42PWD6UY Television.500usd
Panasonic TH-42PD25U/P Television400usd
Panasonic TH-42PHD8UK Television450usd
Panasonic TH-65PHD7UY Television..2500usd
Pioneer PDP-5050HD Television.1000usd
Panasonic TH-37PX50U Television.500usd
Panasonic TH-42PX500U Television800usd
HITACHI PLASMA TV
Hitachi CMP4211u Plasma $850
Hitachi CMP4212u Plasma $350
Hitachi 42HDF52 Plasma HDTV $400
Hitachi 42HDT52 Plasma TV $440
Hitachi 55HDS52 Plasma HDTV $480
Hitachi 55HDT52 Plasma TV $650
Hitachi CMP-55HDM71 Plasma $420
AOC ENVISION PLASMA TV
AOC Envision A42W64 Plasma $400
MAXENT PLASMA TV
Maxent MX-42VM7 Plasma EDTV $370
Maxent MX-50X2 Plasma $300
NEC PLASMA TV
NEC 42VP5 Plasma TV $400
NEC 42VM5HA Plasma TV $470
NEC 42VR5HA Plasma -
How to form a URL dynamically in my portlet
hi all,
i have a requirement in weblogic portal 10.2,how do i form my URL dyncamically in my portlet which is as below
I have a requirement to dynamically form my URL. Further suppose I have a left navigation portlet which has 3 links and right navigation portlet should show the content for the respective links clicked on left navigation portlet.so in this scenario I need to dynamically create my url which I need to display on the right hand side portlet
Dynamic access to portlet B
Portlet A ------------------------------------------> Portlet B
The Url which has to be displayed on portlet B has to created dynamically in my portlet A,
i.e portlet A should dynamically access portlet B and the page of Portlet B which has to be displayed and create the URL,Once the URL is formed I should be able to access portlet B,
Portlet A ---> access Portlet B context ---> get portlet B context ----> get Portlet B output jsp page and hence form the url
Portlet A = (Portlet B context) + (get Portlet B output jsp page)
= Well formed URL of output jsp page which is in the right hand portlet B
If u have the source code pertaining to above/material.please share it with me.
Thanks
Deepak
Edited by deepakl_2000 at 05/17/2008 1:20 AMhi [email protected]
tell me my friend .. how can i extend
the standard Forms button in Java ? ... what is the tool for that ... can you explain more please .. or can you give me a full example ... i don't have any expereience on that .. i'm waiting for your reply .
Thanx a lot for your cooperation .
Ali
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
Henrik, the Java importer lets you call Java classes on the app server side - I think what Ali is trying to do is integrate on the client side.
If you want to add your own button then if you extend the standard Forms button in Java and then use this class name in the implementation class property then the Java for your button will be used instead of the standard Forms button. And since it has extended the basic Forms button it has all the standard button functionality.
There is a white paper on OTN about this and we have created a new white paper which will be out in a couple of months (I think).
Regards
Grant Ronald<HR></BLOCKQUOTE>
null -
Set value in tabular form field with dynamic action
Hi Guys,
I have a dummy field in a tabular form which I am trying to use to populate another field in the tabular form when it is changed.
In the tabular form I have an ITEM_ID field. Each item_id has an ITEM_NAME which is the dummy field as it is not a field in the database table.
When the user enters an item name, I would like something like a dynamic action to fire, populating the ITEM_ID.
e.g User enters part no ABC into the dummy field. When they tab out, I want the value to the item_id field on the tabular form row to be populated based on a SQL query in a similar fashion to how it can be done with dynamic actions on text items on a form.
I am using APEX v4.0.0
Thanks in advance
ChrisHello Chris,
Why can't you use Select List Item on tabular form, which will display all item_names and return item_ids?
If the list is huge and you need users to type & search, then you can use Pop-up LOV item.
Regards,
Hari -
Create Interactive Form UI element Dynamically
Hi Experts,
I have a requirement according to which i need to create multiple PDF forms at runtime.
The approach that i would be using is creating interactive form U I element at runtime.
So as a test application in a views wdDoModifyView i added the below
In the do modify view i have added the below piece of code
if (!firstTime)
IWDNodeInfo l_sel_nodeInfo =
wdContext.nodeCtx_vn_binary().getNodeInfo();
IWDAttributeInfo l_attrInfo =
l_sel_nodeInfo.getAttribute(
IPrivateAdobeView1.ICtx_vn_binaryElement.CTX__VA__BINARY);
if (view.getElement("adobeFrm") == null) {
IWDTransparentContainer container =
(IWDTransparentContainer) view.getElement(
"RootUIElementContainer");
IWDInteractiveForm adobeFrm =
(IWDInteractiveForm) view.createElement(
IWDInteractiveForm.class,
"adobeFrm");
adobeFrm.bindDataSource(
wdContext.nodeCtx_vn_adobe().getNodeInfo());
adobeFrm.setMode(WDInteractiveFormMode.UPDATE_DATA_IN_PDF);
adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
adobeFrm.setDisplayType(WDInteractiveFormDisplayType.NATIVE);
adobeFrm.bindPdfSource(l_attrInfo);
adobeFrm.setVisible(WDVisibility.VISIBLE);
container.addChild(adobeFrm);
adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
But now i am stuck at this point as its giving me null pointer exception on execution.
Could some one provide me links to the tutorials which contains dynamic creation of Interactive form UI element
Thanks in advance!!!Hi Rekha ,
I do have this link but as per this tutorial the layout of adobe form is generated during design time whereas i need to create the mulitple PDF at runtime.These PDF need to be displayed to the user . The approach that i am using is to create Interactiveform U I element at runtime.
The code that i tried is already provided in my first post.I need some more concrete tutorials /examples for this.
Basically i need to know how to add elements like a table/textfield and data within those table/ textfields in an adobe form(Interactive form UI element) at runtime.
Regards ,
Navya.
Edited by: navya_4321 on Feb 2, 2011 6:22 AM -
Cannot perform insert/update on tabular form, because of dynamic action
Hello all,
I have created dynamic action which computes value from several tabular form cells.
This functionality works nice, when I change value in associated cell then the computed value is changed by the dynamic action.
But I am not able to insert or update the row in tabular form when the dynamic action is enabled. When I set condition to "Never", then the row is inserted or updated without any problems.
Any guess where is the problem?
Apex version: 4.1.1.00.23
JiriOk, below are details related to my DA. Sorry for the poor description in previous posts.
Triggered by: Chnage event
Selection type: jQuery Selector
jQuery Selector
td[headers='SPECIESCODE'] input,td[headers='MEASURETYPE'] input,td[headers='TRUNKLOGID'] input,td[headers='LOGCLASS'] input,td[headers='LENGTH'] input,td[headers='PIECES'] input,td[headers='DIAMETER'] inputTrue Actions:
*1.*
//get element id which was changed by user
var v_elementid = (jQuery(this.triggeringElement).attr('id'));
switch(v_elementid.substr(0,3))
case "f05":
//assign value from triggered element to hidden field
$s("P210_HIDDEN_SPECIES",jQuery(this.triggeringElement).val());
//assign actual values also to other hidden elements
$s("P210_HIDDEN_MEASURE",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='MEASURETYPE'] input").val());
$s("P210_HIDDEN_TRUNKLOGID",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='TRUNKLOGID'] input").val());
$s("P210_HIDDEN_LOGCLASS",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LOGCLASS'] input").val());
$s("P210_HIDDEN_LENGTH",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LENGTH'] input").val());
$s("P210_HIDDEN_PIECES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='PIECES'] input").val());
$s("P210_HIDDEN_DIAMETER",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='DIAMETER'] input").val());
break;
case "f06":
$s("P210_HIDDEN_MEASURE",jQuery(this.triggeringElement).val());
//assign actual values also to other hidden elements
$s("P210_HIDDEN_SPECIES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='SPECIESCODE'] input").val());
$s("P210_HIDDEN_TRUNKLOGID",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='TRUNKLOGID'] input").val());
$s("P210_HIDDEN_LOGCLASS",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LOGCLASS'] input").val());
$s("P210_HIDDEN_LENGTH",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LENGTH'] input").val());
$s("P210_HIDDEN_PIECES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='PIECES'] input").val());
$s("P210_HIDDEN_DIAMETER",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='DIAMETER'] input").val());
break;
case "f07":
$s("P210_HIDDEN_TRUNKLOGID",jQuery(this.triggeringElement).val());
//assign actual values also to other hidden elements
$s("P210_HIDDEN_MEASURE",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='MEASURETYPE'] input").val());
$s("P210_HIDDEN_SPECIES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='SPECIESCODE'] input").val());
$s("P210_HIDDEN_LOGCLASS",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LOGCLASS'] input").val());
$s("P210_HIDDEN_LENGTH",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LENGTH'] input").val());
$s("P210_HIDDEN_PIECES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='PIECES'] input").val());
$s("P210_HIDDEN_DIAMETER",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='DIAMETER'] input").val());
break;
}*2.*
//get element id which was changed by user
var v_elementid = (jQuery(this.triggeringElement).attr('id'));
switch(v_elementid.substr(0,3))
case "f09":
$s("P210_HIDDEN_LOGCLASS",jQuery(this.triggeringElement).val());
//assign actual values also to other hidden elements
$s("P210_HIDDEN_MEASURE",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='MEASURETYPE'] input").val());
$s("P210_HIDDEN_TRUNKLOGID",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='TRUNKLOGID'] input").val());
$s("P210_HIDDEN_SPECIES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='SPECIESCODE'] input").val());
$s("P210_HIDDEN_LENGTH",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LENGTH'] input").val());
$s("P210_HIDDEN_PIECES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='PIECES'] input").val());
$s("P210_HIDDEN_DIAMETER",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='DIAMETER'] input").val());
break;
case "f12":
$s("P210_HIDDEN_LENGTH",jQuery(this.triggeringElement).val());
//assign actual values also to other hidden elements
$s("P210_HIDDEN_MEASURE",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='MEASURETYPE'] input").val());
$s("P210_HIDDEN_TRUNKLOGID",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='TRUNKLOGID'] input").val());
$s("P210_HIDDEN_SPECIES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='SPECIESCODE'] input").val());
$s("P210_HIDDEN_LOGCLASS",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LOGCLASS'] input").val());
$s("P210_HIDDEN_PIECES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='PIECES'] input").val());
$s("P210_HIDDEN_DIAMETER",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='DIAMETER'] input").val());
break;
case "f13":
$s("P210_HIDDEN_PIECES",jQuery(this.triggeringElement).val());
//assign actual values also to other hidden elements
$s("P210_HIDDEN_MEASURE",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='MEASURETYPE'] input").val());
$s("P210_HIDDEN_TRUNKLOGID",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='TRUNKLOGID'] input").val());
$s("P210_HIDDEN_SPECIES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='SPECIESCODE'] input").val());
$s("P210_HIDDEN_LENGTH",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LENGTH'] input").val());
$s("P210_HIDDEN_LOGCLASS",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LOGCLASS'] input").val());
$s("P210_HIDDEN_DIAMETER",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='DIAMETER'] input").val());
break;
case "f14":
$s("P210_HIDDEN_DIAMETER",jQuery(this.triggeringElement).val());
//assign actual values also to other hidden elements
$s("P210_HIDDEN_MEASURE",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='MEASURETYPE'] input").val());
$s("P210_HIDDEN_TRUNKLOGID",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='TRUNKLOGID'] input").val());
$s("P210_HIDDEN_SPECIES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='SPECIESCODE'] input").val());
$s("P210_HIDDEN_LENGTH",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LENGTH'] input").val());
$s("P210_HIDDEN_PIECES",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='PIECES'] input").val());
$s("P210_HIDDEN_LOGCLASS",jQuery(this.triggeringElement).parents("tr:first").find("td[headers='LOGCLASS'] input").val());
break;
}*3.*
call PL/SQL function (values from hidden fields are used as input params)
begin
:P210_HIDDEN_VOLUME := function(:P210_HIDDEN_SPECIES,:P210_HIDDEN_MEASURE,:P210_HIDDEN_TRUNKLOGID,:P210_HIDDEN_LOGCLASS,:P210_HIDDEN_LENGTH,:P210_HIDDEN_DIAMETER,:P210_HIDDEN_PIECES, :G_USERLANG);
end;*4.*
here I want to set computed value from hidden field to VOLUME cell in tabular form. And it seems there is some problem, because not only the corresponding VOLUME cell is changed, but also several other cells. I realized that also several cells which are hidden to user has same value as computed VOLUME field. Including ROWID and then the insert/update operations are not done.
// find the VOLUME-Field and set it to the computed value
jQuery(this.triggeringElement).parents("tr:first").find("td[headers='VOLUME'] input").val($v("P210_HIDDEN_VOLUME"));I hope I have provide more information and somebody will be able to he help me. maybe the problem is clear, but with my poor jQuery knowledge i am not able to find it.
Thanks in advance!
-Jiri
Edited by: Jiri N. on Aug 10, 2012 3:24 AM -
Interactive form With a dynamic table inside that
Hi Experts,
i have an Adobe interactive form With a dynamic table inside that. Add/ Delete button is there inside the form to add and delete rows from the table. This is working fine when iam viewing the form in the preview of adobe designer. when i deploy and run the application, the dynamic table is not working, internally the rable rows are creating, but the rows are not displaying in the form.. iam getting messages(which i set) when the row is created or deleted, but its not updating on the form ..
iam using wdj
please suggest asap.
Regards
SarathHi Sarath,
Seems to be an issue with ACF. Please intall the ACF from the below link:
https://sapmats-de.sap-ag.de/download/download.cgi?id=F9RUZ3Q7TERUBSMHSXWT3UMEM59IJYIPA931VQD32A1UNAKZ6B
And also refer to the SAP note no. 1104060 and do the needful configuration.
Regards,
Arafat -
I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.
Update automatically under which circumstances, exactly?
-
I am using a Mac and I have always filled out the same form (ocf-6 from ontario insurance companies, application for expenses) It stopped letting me go back and open the previously saved forms which i filled out and I have saved monthly for the past 5 years. Now when I open a previously saved month /file I cannot see the data I inputed. The data is there because when i highlight a box the data appears. then when i move onto the next field/box it disappears. I tried to highlight the whole document but nothing shows up. This problem started in the spring ,2014.
Once you save that to a location on your system.
Make sure Acrobat is Quit and then do this:
1. In the Finder go to the "Go" menu.
2. Select Go to Folder
3. Paste this path into the "Go to the Folder:" field
/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro/Contents/Resources/JavaScripts/
4. Copy the file into the JavaScripts folder.
5. Launch Acrobat
Now you should see the menu spoken of in the blog and web page. -
Hi All,
Suppose I have table, whose structure changes frequently on daily basis.
For eg. desc my_table gives you following column name on Day 1
SQL > desc my_table;
Output
Name
Age
Phone
On Day 2, two more columns are added, viz, Address and Salary.
SQL > desc my_table;
Output
Name
Age
Phone
Address
Salary
Now I want to create an Dynnamic RTF report which would fetch data from ALL columns from my_table on daily basis. For that I have defined a concurrent program with XML as output type and have attached a data template/data definition to it which takes in XML as input and gives final output of conc program in EXCEL layout. I am able to do this for constant number of columns, but dont know how to do it when the number of columns to be displayed changes dynamically.
For Day 1 my XML file should be like this.
<?xml version="1.0" encoding="UTF-8"?>
<dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
<dataQuery>
<sqlStatement name="Q2">
<![CDATA[
SELECT Name
,Age
,Phone
FROM my_table
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_my_table" source="Q2">
<element name="Name" value="Name" />
<element name="Age" value="Age" />
<element name="Phone" value="Phone" />
</group>
</dataStructure>
</dataTemplate>
And my Day 1, EXCEL output from RTF template should be like this.
Name Age Phone
Swapnill 23 12345
For Day 2 my XML file should be like this. With 2 new columns selected in SELECT clause.
<?xml version="1.0" encoding="UTF-8"?>
<dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
<dataQuery>
<sqlStatement name="Q2">
<![CDATA[
SELECT Name
,Age
,Phone
,Address
,Salary
FROM my_table
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_my_table" source="Q2">
<element name="Name" value="Name" />
<element name="Age" value="Age" />
<element name="Phone" value="Phone" />
<element name="Address" value="Address" />
<element name="Salary" value="Salary" />
</group>
</dataStructure>
</dataTemplate>
And my Day 2, EXCEL output from RTF template should be like this.
Name Age Phone Address Salary
Swapnill 23 12345 Madrid 100000
Now, I dont know below things.
Make the XML dynamic as in on Day 1 there must be 3 columns in the SELECT statement and on Day 2, 5 columns. I want to create one dynamic XML which should not be required to be changed if new columns are added in my_table. I dont know how to create this query and also create their corresponding elements below.
Make the RTF template dyanamic as in Day1 there must 3 columns in EXCEL output and on Day 2, 5 columns. I want to create a Dynamic RTF template which would show all the columns selected in Dynamic XML.I dont know how the RTF will create new XML tags and how it will know where to place it in the report. Means, I can create RTF template on Day 1, by loading XML data for 3 columns and placing 3 XML tags in template. But how will it create and place tags for new columns on Day 2?
Hope, you got my requirement, its a challenging one. Please let me know how I can implement the required solution using RTF dynamically without any manual intervention.
Regards,
Swapnil K.
Message was edited by: SwapnilKHi All,
I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
Please let me know if there is any oracle functionality to do this.
If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
For eg, /$APPL_TOP/ar/1.0/sql or something.
Regards,
Swapnil K. -
Parameter form which generates a report in delimited format
Hello , I have a parameter form which calls a report in delimited format.
In the RUN_REPORT* (Function Body) in program units , I have made the following modifications :
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'DELIMITED');
I get a report in txt format . The problem is that when I convert my txt file to excel , I get the label of each row which repeats the number of records found ! I should have the label appearing once followed by the data . What can I do to make that possible please ?
or if I have a simple query e.g SELECT * FROM BANKS to generate in txt format . Can I write some code in PL/SQL to write the results of such a query in txt format?
Thanks
Edited by: twinklin_girl on Aug 28, 2009 3:53 AMI think I got the solution !
I simply need to add the following in my run_report procedure :
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'*DelimitedData*');
I get the actual title of each field(as it is in the database) displayed once followed by all records . It's not a perfect solution but I think it will do for now. -
How to Print form using SAP Smart Forms which is migrated from SAP Script?
Hello every one,
i have a problem in printing form using smart form which is migrate from the SAP Script...so what method i have to use...if any one know the solution for this than plz reply me as soon as possible...hi
when ever u want to migrate the script to smartform u have to chage the driver program also..
refere this link to convert script to smartform
convert sapscript to smartform
c_formname = u r smartform name...
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
...........................CALL SMARTFORM............................
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = st_control_parameters
output_options = st_output_options
IMPORTING
document_output_info = st_document_output_info
job_output_info = st_job_output_info
job_output_options = st_job_output_options
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif. -
Hi Everyone,
I am new to Oracle forms. I have a requirement where user wants a form which can be used to browse a excel file from his/her system. Also after browsing the file the user should be able to load the data from the file to a table in the Oracle DB.
Any help pointers would be appreciated.
Thanks,
Satya
Message was edited by: user12098633Hi Marcus,
I am using EBS (E- Business Suite) ERP and version is 11.5.10.2
My database version is as below
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE
11.2.0.3.0
Production
TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
I want to move csv file via EBS only. Average size of this will be max 600-700 bytes.
Program should be in pl/sql package or concurrent program or custom .fmb (d2k forms) or custom .rdf (d2k report) or through alert. I am not using samba.
Maybe you are looking for
-
Connect Apple TV to internet with PPoe
Can I connect my Apple tv to to a wired internet connection with a PPoe username and password?
-
Fire fox locks up and is real slow when using windows 7 64bit
I am using windows 7, 64bit when you click on a "go to link" phrase/word the program either locks up or takes a real long time to to go to the link site. program loads real slow (it take 3 to 4 times longer than in windows xp. I am using fire fox 4.0
-
Hey all, Since I've upgraded to Lion, the Reader feature of Safari has become much more appealing, but I'm not digging Palatino as much as Century Schoolbook. A quick search of Google suggests editing Safari.app/Contents/Resources/Reader.html, but t
-
Want to control Lab equipment but need direction
I am looking to use serial communication with a few lab instruments on my Reactor system. IKA Eurostar 100C digital overhead stirrer. This unit uses NAMUR commands I am looking to just have a simple slider control speed along with an on off button. I
-
Create automatically Activity (type E-Mail) with BAPI?
Hello Experts, we have an requirement that we have to create automatically an activity of type E-Mail (for expample transaction type CX03) and then sent this E-Mail to an User which is outside of the company. It will be a contact person of the client