PanelTabbedPane and multiple form
Hi,
I've got a problem with tomaHawk panelTabbedPane component.
I would like to insert a form in each panelTab child node but it isn't possible.
<t:panelTabbedPane>
<t:panelTab>
<h:form id="idForm1">
content 1
</h:form>
</t:panelTab>
<t:panelTab>
<h:form id="idForm2">
content 2
</h:form>
</t:panelTab>
</t:panelTabbedPane>
In fact, panelTabbedPane component generate a form, and generate imbricated forms errors.
It works with a single form enrolling the panelTabbedPane but it's problematic for validation errors because all panelTab components will be evaluated.
Is there a mean of insert form in each panelTab with this component ?
Thanks
Ah well .. I misunderstood "imbricated form errors".
Sorry, I don't have practical experience with this specific component. But such a construction just works with IBM's odc:tabbedPanel.
You might try to look for another components. I know, IceFaces also have a tabbedpanel component.
Similar Messages
-
Generate and Print Preview Multiple Forms in a Single PDF
There have been other questions similar to this but none directly address my problem. We have the need to generate multple forms in a .pdf using Adobe interactive forms. We can generate the multiple forms, but the user has to click on each form to view. They want to have the forms in a single document that they can scroll through before printing. We can do this in SmartForms but need to do it in Adobe. Does anyone know how to generate multiple forms, either multiple copies of the same form or various forms, from an ABAP program into a single pdf that can be print previewed, in scrollable form, by the user?
I can describe it one more time, I think:))
You have multiple options, but only one "reasonable" within SAP.
You can call an external application (through command line etc.) to concatenate forms for you.
You can use iText as mentioned in the thread, and write yourself a "tool" which will concatenate the forms for you.
Both these "options" would not be acceptable for my clients, I name them to help you get the whole picture.
Then there is the third option: use a form for a single instance (template/ form A) and create a new form (form B), where you will use the A template:
- you need to: create a new interface where everything from the old interface is a row of the table (example: you have a form to print out the personal card of the employee, so in a new form you will need to use a table, where a row is an employee)
- you need to create a new form layout based on the new interface:
in this new layout you will paste the whole layout of the old form (A/ single instance) and wrap it into a subform. The added subform will work as a table (you will bind that to the table from interface) and everything from the old template within this new subform will work as a "row" (something what you can repeat for each data item).
Does that sound reasonable?
Cheers Otto -
Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE
I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
Still my system is not working as expected:
1. FP_JOB_OPEN is called
2. the generated Adobe Forms function is called multiple times
3. FP_JOB_CLOSE is called
This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
(Coding should work anywhere with copy-pase.)
data: fm_name type rs38l_fnam,
fp_docparams type sfpdocparams,
fp_outputparams type sfpoutputparams.
parameters: p_fpname type fpname default 'FP_TEST_02'.
* Get the name of the generated function module
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = p_fpname
importing
e_funcname = fm_name.
* Sets the output parameters and opens the spool job
call function 'FP_JOB_OPEN'
changing
ie_outputparams = fp_outputparams
exceptions
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
* Call the generated function module
call function fm_name.
* SECOND CALL ****************************
call function fm_name.
* Close the spool job
call function 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.Hi ZSOLT,
In order to call the form multiple times please do the following,
1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
CLEAR fp_outputparams.
fp_outputparams-dest = 'PDF1'. "Default pdf printer
fp_outputparams-reqnew = 'X'. "New spool request
Now call your FM FP_JOB_OPEN with the above output parameters.
2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
But here I am enhancing your example code.
In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
data l_datatypes type sfpdatatypes.
prepare test data
l_datatypes-char = '#'.
l_datatypes-string = 'Auf geht''s! '. "#EC NOTEXT
l_datatypes-numc = '42'.
l_datatypes-dec = 0 - ( 12345 / 7 ).
l_datatypes-fltp = 0 - ( 12345 / 7 ).
l_datatypes-int = 4711.
l_datatypes-curr = 0 - ( 12345 / 7 ).
l_datatypes-cuky = 'JPY'. " no decimals
l_datatypes-quan = 12345 / 7.
l_datatypes-unit = 'DEG'. " 1 decimal
l_datatypes-date = '20040613'.
l_datatypes-time = '100600'.
l_datatypes-lang = sy-langu.
FIRST CALL ****************************
Call the generated function module
CLEAR fp_docparams.
fp_docparams-langu = 'EN'.
fp_docparams-country = 'US'.
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
datatypes = l_datatypes
mychar = l_datatypes-char
mybyte =
mystring = l_datatypes-string
myxstring =
mydate = l_datatypes-date
mytime = l_datatypes-time
mynum = l_datatypes-numc
myint = l_datatypes-int
myfloat = l_datatypes-fltp
mypacked = l_datatypes-dec
IMPORTING
/1BCDWB/FORMOUTPUT =
prepare test data
l_datatypes-char = '#'.
l_datatypes-string = 'Auf geht''s! '. "#EC NOTEXT
l_datatypes-numc = '42'.
l_datatypes-dec = 0 - ( 12345 / 7 ).
l_datatypes-fltp = 0 - ( 12345 / 7 ).
l_datatypes-int = 4711.
l_datatypes-curr = 0 - ( 12345 / 7 ).
l_datatypes-cuky = 'JPY'. " no decimals
l_datatypes-quan = 12345 / 7.
l_datatypes-unit = 'DEG'. " 1 decimal
l_datatypes-date = '20100913'. "You need to change your data in order it to trigger a new form with the new data.
l_datatypes-time = '10700'. "You need to change your data in order it to trigger a new form with the new data.
l_datatypes-lang = sy-langu.
SECOND CALL ****************************
Call the generated function module
CLEAR fp_docparams.
fp_docparams-langu = 'EN'.
fp_docparams-country = 'US'.
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
datatypes = l_datatypes
mychar = l_datatypes-char
mybyte =
mystring = l_datatypes-string
myxstring =
mydate = l_datatypes-date
mytime = l_datatypes-time
mynum = l_datatypes-numc
myint = l_datatypes-int
myfloat = l_datatypes-fltp
mypacked = l_datatypes-dec
IMPORTING
/1BCDWB/FORMOUTPUT =
Close the spool job
call function 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
I have tested the above code and I am getting multiple forms.
Please try on your end and let me know if it works.
Thanks
Raj -
Multiple Forms in a Flash Document and Posting Using ASP
Hello everyone!
I have some what of a dilemma on my hands. I am creating
multiple forms in one document using Flash and need them to post
using ASP script. I have been researching this for the last six
days, and I have had NO luck. I have noticed that all the
information that I have found is for one form, not more than one.
What I have so far is the Flash document, with 4 forms. The
basic idea is that a user chooses from a drop down menu (the
combobox) a location, and depending on the location chosen, it
takes the user to another frame in the flash document. The forms
(all their own movie clip) contains a name field, a department
field, and either a manager name a userID field or an employee
number as well as the basic buttons for submitting the form or
resetting the form.
So far what I have working is the drop down menu (combobox)
taking me to the proper frame and it shows the appropriate form.
The reset button clearing the form (deleting any information that I
have imputed into the input fields), but I have absolutely NO idea
how to get the submit button to work (I did manage to get it to
send me a message if there was nothing in one of the input fields),
and NO idea how to get the information to the ASP file.
Where there are 4 forms do each of them have to have their
own ASP file attached to them, or can I use one?
If anyone knows a site that deals with multiple forms in one
SWF and posts using ASP that would be greatly appreciated, or if
you know some actionscript that could be helpful.
Thank you all in advance.That would be part of my problem, I really don't know ASP,
and I am flying by the seat of my pants.
The current script I have for the ASP file is:
<% @Language = "VBScript" %>
<%
Option explicit
Dim strfullName
Dim strdeptName
Dim strmanagerName
Dim strobjeemail
Dim strlocation
strfullName.Request.Form("fullName_txt")
strdeptName.Request.Form("deptName_txt")
strmanagerName.Request.Form("managerName_txt")
strlocation.Request.Form("locationName")
Set strobjemail = CreateObject("CDO.Message")
strobjemail.From = "[email protected]"
strobjemail.To = "[email protected]"
strobjemail.Subject = "Program from " + strlocation
strobjemail.Body = "This user has completed this progrmam
from " + strlocation & Chr(13) & Chr(10) & "Name: " +
strfullName & Chr(13) & Chr(10) & "Department: " +
strdeptName & Chr(13) & Chr(10) & + "Manager: " +
strmanagerName
strobjemail.Send
Set strobjemail=nothing
%>
The AS code that I have so far is:
function formValidationChecks(){
if (fullName_txt.length==0){
status_txt.text = "Please enter your Name";
else if (deptName_txt.length==0){
status_txt.text = "Please enter your Department";
else if (managerName_txt.length==0){
status_txt.text = "Please enter your Manager";
else {
status_txt.text = "Thank You!";
variables.fullName_txt = fullName_txt.text;
variables.deptName_txt = deptName_txt.text;
variables.managerName_txt = managerName_txt.text;
varLoader.load(varSend);
trace("-----");
trace("Name: "+fullName_txt.text);
trace("Department: "+deptName_txt.text);
trace("Manager: "+managerName_txt.text);
trace("Form validated");
submit_btn.onRelease = function(){
status_txt.text = "";
if(formValidationChecks()){
var lv = new LoadVars();
lv.fullName_txt = form.fullName_txt.text;
lv.deptName_txt = form.deptName_txt.text;
lv.managerName_txt = form.managerName_txt.text;
lv.sendAndLoad("mail.asp", lv, "POST");
reset_btn.onRelease = function()
fullName_txt.text = "";
deptName_txt.text = "";
managerName_txt.text = "";
So far my reset button clears everything, and the submit
button is tracing the content in the form fields, but it's not even
grabbing the asp page.
Any suggestions? Even pages that have tutorials that are in
the form of a video.
Thanks -
How do you create hierarchical folders in Forms Central to organize and manage multiple forms?
How do you create hierarchical folders in Forms Central to organize and manage multiple forms?
Hi,
We do not support this feature right now. Someone else has posted this to our ideas forum, here - http://forums.adobe.com/ideas/1587. I suggest you vote for it, because we look at the popular ideas to help guide us on what new features work on.
Thanks,
Todd -
Merging multiple forms and having shared fields
I am designing multiple forms for a client for application purposes. There are about 40 forms in all. Client is designing a online helper that will help users download only the forms they need for their application. So once that is decided, then we are giving them a download link for required forms only. In the end client will print the forms and submit them manually. (I know it could be done better, but not yet) There will be about 16-17 different combinations of forms.
Thing is, many of these forms have repetitive fields (name, address, phone, email, etc), so we would REALLY like to have it so that once filled out, those fields could quickly populate all the rest of the remaining forms. (does that make sense?)
I have had a couple ideas on how to accomplish this
1) Magic
2) Combined all required forms into one large PDF. Make the 16-17 possible combinations and then just set them all up manually.
Problem is that if Form 6 changes, it may change in 10 different packages. I don't want to do that manually every time there is a change
3) Somehow use Adobe Livecycle to piar the fields up in the different docs, and have them all linked. (think that is impossible, hense #1)
4) Your suggestion?
Thanks in advanced.
Ask any questions you may need.The templates/PDFs designed in LC are primarily can not talk to each other. But we can make them pull and save the information stored in Database through LC workflow. Which will give them ability to transfer data between using SOAP (we can activate these SOAP transfers on certain events or on user actions). But that involves User acknowledging each time the data transfer activated (of-course there is an option to remember the user action and never ask the user but it is controlled by user). Things get complicated once you start in this direction. However we use this technique in our internal environment.
-
Multiple forms through process and forms
Hello ALL,
We are using process and forms for maternity, paternity and
adoption leave and not able to control creating multiple forms by
employee. We have not activated parallel run option, still system is
allowing user to create multiple document for same leave
Could you let me how to stop user to creating multiple
forms.There are many ways to achieve this.
1. Use the BADI that you shown in the screenshot.
2. Set process frequency.
Regards. -
Multiple rows insert and update form example
I just want to share with you an example of a multiple rows insert and update form. You can access it HERE (http://tryapexnow.com/apex/f?p=12090:21)
You will find on the same page the complete description of all elements used to buid it.
I'm waiting for opinions, suggestions, and questions here in this thread.
ThanksHello Valentin,
I got an error message when I clicked on the weblink. Here is the message
Error ERR-7620 Could not determine workspace for application. Could you please take a look at this.
Thanks,
Karol -
Multiple forms and af:panelPage
I need several forms inside one af:panelPage component. I want the forms to submit when the Enter key is pressed. The form submission gets very confused when I have nested forms, but if I don't have a form around the af:panelPage, then none of the global buttons are rendered properly.
I'm using ADF Faces EA11.
Any suggestions?
Thanks.I know you can't nest forms, but I was trying various things to get the buttons to work. Your suggestion of putting a form around just the global buttons worked - thanks.
As for why I need multiple forms, it really has to do with wanting the forms to submit when you press enter and with validation control. It seems that most browsers will properly do this when the form has a single entry box on it.
On my page, I have a display of items (in a table) and above the table I have two areas for quick access to "items." There is a field to enter an item Id with a "show item" button and a field to enter search text and "quick search" button. Since the user already has their hands on the keyboard to enter the ID or search text, I wanted to enable the form submit when they press enter.
The fields need to be on separate forms so the field validations aren't performed improperly. For example, each field (ID and search text) is marked as required. However, the field is only required for its specific function. Thus, if the user enters some search text and presses Search, I don't want them to see an error message saying that the "item ID is required." since it's only required for the "show item" function.
As long as the new "subform" feature properly supports validation only on elements of the subform that was submitted, it might do the job.
Thanks for the quick response on this. -
Problem with multiple forms and subview
I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
It seems to be a problem with multiple forms on a page and the subview.
Do I use these JSF components incorrectly? Any advice?
ThanksThe forms are not nested.
hello.jsp
<webuijsf:body ...>
<!-- BEGIN: include header -->
<div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
<jsp:directive.include file="Header.jspf"/>
</div>
<!-- END: include header -->
<webuijsf:form ...>
From above fragment, you can see the header.jspf is outside of the form element. -
What is the diff b/w Sap Scripts and Smart Forms
Hi,
Whats the diff b/w SAP Scripts and Smart Forms..
I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st and SIMILARLY FOR SMARTFORMS WHETHER FM'S R FORMS.
Thanks & Regards,
Gopi.Hi
Difference with SMARTFORMS vs. SapScript(SE71)
The Following are the differences :-
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
b) It is possible to have a smartform without a main window .
c) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
check out this link:
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Reward points if helpful.
Regards,
Swathi. -
RetrorespectiveActivation of Multiple Form 16 in mid- of the financial year
Hi All,
We have mainatined TAN as per the company Code in feature 40ECC. Now we want to have multiple Form 16 if there is change in company Code of an employee for the financial year 2009.
We have not activated Multiple Form 16 Switch so far. Now in the last month of financial Year 2009 that in March'2010 (period 12/2009) we want to activate Multiple Form 16 switch from 01.04.2009. After activation Multiple form 16 Switch, we are planning to trigger retro for all employees from 01.04.2009.
But we are not very much sure what will be the impact of activating Multiple Form 16 switch now in the last period of the financial year.
Required your valuable inputs on this.
Thanks,
RavinderHi,
Check whether multiple Form 16 switch is active or not.
In case this is active, then the Form 16 will be generated as under:
Company A - showing earnings from 01.04.08 to 31.12.08 only
Company B - showing earnings from 01.01.09 to 31.03.09 as current earnings and from 01.04.08 to 31.12.08 as income from previous employment.
In case multiple Form 16 is not active, then the Form 16 that you are getting is correct. However, in this case you need not print the Form 16 of company A. Only the Form 16 from the company code where the employee belongs to as on 31.03.2009 (i.e. last day of the FY) will be printed. And in this case the Form 16 will include complete earnings from 01.04.2008 to 31.03.2009 as current earnings.
Hope this clarifies your query.
VK -
How top open multiple forms at the same time in HRMS menu
Hi,
When enabling "Close Other forms" in HRMS menu by excluding the function ‘Navigator: Disable Multiform’ Function in the Responsibility Definition (System Administrator -> Security -> Responsibility -> Define), mutliple forms works fine but I'am facing another error.
My problem is: when this option is enabled, I tried to run Payroll run request but it turned out that payroll list of values is returning empty values and I'am unable to select any payroll from list of values. the only way to do so is to remove back ‘Navigator: Disable Multiform’ Function from exclusion section in responsibility.
My requirment is: to have multiple form and payroll run list of values working at the same time
ThanksReason for this , if ur request is attached to more than 1 responsibility , i think this issue will come , we got same issue
we remove it from responsibility list , then it is working fine -
How to pass a parameter from a report to multiple forms in the same page
Hi:
i have a report and a lot of forms in the same page. The fact is that i want to stablish a link over a filed in the report which would make some information appear in those forms so that information could be updated. For example: i have a report with company names. Over those names i want to put a link. When the link would be pressed the forms would reflect the information about that comany. Is this possible to be done? how can i do this or something similar?
Thanks.
Regards. Urko.Please see post Re: session state security
It has been done for a single form in a page and can be extended to multiple forms as well. -
Is it possible to create a form with multiple form fields on a single line?
Is it possible to create a form with multiple form fields on a single line? I can't find anything in the documentation or a template that does this.
I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor. I would prefer to use FormsCentral if it is possible.We now support multiple fields on one line. This post provides a brief overview.
Give it a try and send us your feedback.
Sorry it took so long.
Randy
Maybe you are looking for
-
Hi all, I am doing some kind of testing in my test maching and I faced the following situation. I have a good control file and all the archives starting from the 1st scn. Now I brought down the instance and physically deleted a datafile and tried bri
-
Hello All, iPlanet Messaging Server 5.2 HotFix 1.25 In the log file, We found different mails fro the same person with the same MESSAGE _ID. Could anybody tell me why? 26-Dec-2004 00:57:05.15 tcp_local ims-ms E 3 [email protected] rfc822;@mail.com:[e
-
Pending Bill Booking Status (PS PRojects) ?
Dear PS gurus, Request pl advise if there is any Standard Report to see pending Bills Booking for Project System projects related. Understand only MR11 is see for pending bills bookings, but I would like to know the Projects PO-Service, after ML81N -
-
Invoice summary sheet errors in new version-
Until recently I've used Numbers '09 for invoicing and included a 'Summary Sheet' to keep abreast of outstanding amounts. Screenshot shows what has worked succesfully in Numbers '09 but the same file opened in new version 3.0.1 gives me a red error t
-
H:datatable vs x:datatable
in myfaces i can do this after the user clicks on a link inside the table to get the row they clicked on. (CastValue)request.getAttribute("domainNameTable"); I am starting a new project and it wont work, im wondering.... you cant do this with the ref