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?
Thanks
The 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.
Similar Messages
-
ORARRP Problem with Oracle Forms and Reports 10g
hi,
i have a problem with orarrp utility. the printeroutput is sometimes mirrored or only a blank sheet. is this a known problem? are there any workaraounds available? what can i do to fix the problem? please help me.
thanks very much
gunnar kieckHi Rajesh,
But i have not installed IAS at all. I have only Forms and Reports 10g and Oracle database installed. As you said it only save on IAS, but can we save it on local machine. Is there any other alternative.
Again my second issues is --> I want to remove Mail option and rename Cache option to PDF from Destype combo box which appears at run time.
Any idea how we can do this? -
Problem with Acrobat Form and SendMail
I have produced a PDF form and have sent it to myself (at another address) filled it in, making sure that reader rights are enabled
(for clients with just the Acrobat Reader). I then want to send it back to myself. When clicking the submit button this is the message I get -
The SendMail doesn't know how to talk to your default mail client. Please select a different mail application to use.
What do I need to change for this to work?
I am using Acrobat 8 Professional and can attach the pdf form if it helps.
Regards
David WouldHi,
It's now June 2011 and this problem still exists..that is I am getting the error message :- The SendMail doesn't know how to talk to your default mail client. Please select a different mail application to use.
I am using Adobe Acrobat Pro 9.updated
I want to use Thunderbird. Is it so unsafe? -
Problem with update form and date (show 1970-01-01)
Hi, I've a update form (php/mysql) with many date input field. When my date is 000-00-00 I show 1970-01-01. Why??
This is the code:
label for="data_chiusura"><strong>Data chiusura</strong></label>
<input type="text" name="Data_chiusura" value="<?php echo $string=$row_Recordset1['data_chiusura'];
if($string == '0000-00-00'){
$string = '';
} else {
$string = date("d-m-Y", strtotime($string));
}; ?>" id="Data_chiusura">
Thanks
kWhy would the date ever be null? As long as the date has a non-zero, non-null value this function will work correctly.
I'm a little confused by what you are doing here. So, you are pulling data from a table, and populating forms with it. This particular field is a date field, and the problem is that when the data for that field is a null, you are getting instead a date of 1970-01-01 displayed in that field - is that correct? What do you want to appear there when the data is null? Nothing? -
More problems with multiple domains and subaccounts
I had been creating multiple .mac web sites in earlier versions of IWeb by creating extra “domain” files and dragging them in and out of the folder library/Application Support/IWeb as needed. Now I notice that IWeb 08 lets me store several domain files with different names in a folder, and pick whichever one I want when launching IWeb. That’s good -- but of course, the IWeb “Publish” command wants to publish them all to my same .dot mac web site -- even though I have four .dot mac subaccounts each of which can have its own web site. The only way I could figure out to publish different domain files to different .mac web sites was to create several different user accounts on my computer, assign each one to a different .mac subaccount, launch IWeb, find the domain file for that account, publish it -- then log out, log in to another account, launch IWeb there and do the whole exercise again.
It would be bad enough if that worked, but it doesn’t: I found that when I logged in to an account other than the one that created a given domain file, I could open that file (I’ve got it stored in a folder on root level of my hard drive), but I couldn’t save it -- I would get the error message: “Couldn’t save file. You don’t have permission to make changes to that file.” So OK, I went into “Get Info” and changed the ownernship/permissions to match the user account I was in. Now I can make changes and save my domain file -- but I can’t publish what I just saved. When I try, to get the message: “Publish Error. An unknown error occurred.”
Is there any way I make this all work -- to open and save my domain files and publish them to the .dot mac subaccount/web site I want? And is there any way around this whole clunky system that would allow me to publish to different .mac subaccounts/websites more efficiently (preferably logged into my Mac from the same user account)?
(It may be irrelevant, but in addition to paying for the subaccounts, I bought the family pack version of ILife what should give me legit access from a licensing point of view anyway.)That's helpful -- I'll try it. It seems to me it would still be preferable to store my multiple domain files in one hard drive location, easily accessible and offering read and write privileges to any user account. That way I could at least do design work, etc., on any of my domains without logging in and out as various users. Any way to make that work? And really, it seems weird that I can sit at my Mac and mount the IDisks of any of my four .mac sub accounts, open their folders, and look at the web pages previously published to those subaccounts -- but apparently I can't publish any changes to those subaccounts/domains through IWeb without logging out and then back in as a different user. Isn't there some way around these apparent restrictions?
-
TO DRAW A TABLE WITH MULTIPLE ROWS AND MULTIPLE COLOUMNS IN FORM
Hi,
How to draw a table with multiple rows and columns seperated by lines in form printing?check this
http://sap-img.com/ts003.htm
Regards
Prabhu -
With the new Time Capsule 5th Gen does the beam forming occur with multiple clients, and do these clients have to be 802.11ac compatible?
does the beam forming occur with multiple clients
Yes, but Apple is unclear about how many cients can be connected simultaneously with this feature.
do these clients have to be 802.11ac compatible?
Yes -
Hi gurus,
Im making a search help using FM F4IF_INT_TABLE_VALUE_REQUEST with multiple choice and it's working fine, my problem it's passing the values choosed from this FM to the screen...
I've declare a select option, and what i want it's to pass the choosen values from the search help to the screen but it's not working fine... i already tried the FM DYNP_VALUES_UPDATE to update the screen field but still yhe same...
Below goes my code, just in case...
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ZLINHA'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'SO_NUM'
window_title = 'Programa'
value_org = 'S'
multiple_choice = 'X'
TABLES
value_tab = it_values
return_tab = return_tab.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
LOOP AT return_tab.
* CLEAR r_num.
so_num-option = 'EQ'.
so_num-sign = 'I'.
MOVE 'SO_NUM' TO dynpfields-fieldname.
MOVE return_tab-fieldval TO dynpfields-fieldvalue.
APPEND dynpfields.
* so_num-low = return_tab-fieldval.
* APPEND so_num.
ENDLOOP.
ENDIF.
CLEAR dynpfields.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = progname
dynumb = dynnum
TABLES
dynpfields = dynpfields.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
If anyone has any idea, feel free to speak
Thanks in advance,
Best RegardsHi Martins,
You have used the select options that means you have to use the function module for the <select-option >-low and <select-option>-high.
I am giving you a code snippet in which the selection screen has select-options and with the help of function module it shows F4 help and pass the values.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-023.
SELECT-OPTIONS:S_PIDNUM FOR ZMST_PERMIT-ZPIDNUM ,
S_ENGDSC FOR ZMST_PERMIT-ZENGDSC NO INTERVALS LOWER CASE,
S_ARBDSC FOR ZMST_PERMIT-ZARBDSC NO INTERVALS LOWER CASE,
S_TARIFF FOR ZMST_PERMIT-ZTARIFF NO INTERVALS,
S_PERNUM FOR ZMST_PERMIT-ZPERNUM NO INTERVALS,
S_ARRPRT FOR ZMST_PERMIT-ZARRPRT NO INTERVALS MATCHCODE OBJECT ZMST_PORTS.
PARAMETER:P_PERTYP(2) TYPE C AS LISTBOX VISIBLE LENGTH 20.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-LOW.
W_NAME2 = 'S_PIDNUM-LOW'.
W_NAME1 = 'ZPIDNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-HIGH.
W_NAME2 = 'S_PIDNUM-HIGH'.
W_NAME1 = 'ZPIDNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ENGDSC-LOW.
W_NAME2 = 'S_ENGDSC'.
W_NAME1 = 'ZENGDSC'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ARBDSC-LOW.
W_NAME2 = 'S_ARBDSC'.
W_NAME1 = 'ZARBDSC'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TARIFF-LOW.
W_NAME2 = 'S_TARIFF'.
W_NAME1 = 'ZTARIFF'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PERNUM-LOW.
W_NAME2 = 'S_PERNUM'.
W_NAME1 = 'ZPERNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
*& Form F4_HELP
text
--> p1 text
<-- p2 text
FORM F4_HELP USING: W_VAR TYPE DFIES-FIELDNAME
W_VAR1 TYPE HELP_INFO-DYNPROFLD .
Fetching data from zmst_permit for F4 help on PERMIT ID No.--
IF IT_PERMIT[] IS INITIAL.
SELECT ZPIDNUM
ZENGDSC
ZARBDSC
ZTARIFF
ZPERNUM
ZARRPRT
ZEFFDT
ZEXPDT
FROM ZMST_PERMIT INTO CORRESPONDING FIELDS OF TABLE IT_PERMIT.
ENDIF.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = W_NAME1 " 'ZPIDNUM'
DYNPPROG = 'ZMSTR0022'
DYNPNR = SY-DYNNR
DYNPROFIELD = W_NAME2 "'S_PIDNUM'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_PERMIT
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_HELP
I hope this will help you.
Help children of U.N World Food Program by rewarding points and encourage others to answer your queries. -
Session problem with a form that calls psp web page.
Hi,
My unique form is based on table A.
Within the form I call a stored procedure, which insert data from A into tables B,C,D
And then within the same form I call a psp procedure using web.show_document('http://server:8080/plsql/psp_procedure?pvId=1001);
The plsql web page displays data from tables B,C,D for each single pvId.
The problem is:
If any commit is issued the psp web page contains no data from B,C,D.
I suppose I'm working with two different sessions, can I work within the same one?
ThanksHi,
I'd say the main problem is that you have both rows with the same name 'Rangée1'. This is not a good idea, especially as the first row is the repeatable row.
When objects have the same name, you can see the instances in the hierarchy, eg 'Rangée1[0]' and 'Rangée1[1]'. The instances use a zreo-based numbering system.
By the way you can also see it in the Object > Binding tab:
So that is when you have multiple objects with the same name.
The problem with your form is that when objects are repeated (add new instance button), then these new objects also have instances, eg 'Rangée1[0]', 'Rangée1[1]', 'Rangée1[2]', etc.
So the Acrobat gets confused ;-)
I have renamed the second row 'Rangée2'. That seems to have solved the problem.
Here is the form back to you: https://acrobat.com/#d=jcCs7X85xeRYQjvI2Yb*Cw
Good luck,
Niall -
Problem with the MenuBar and how can i delete a own component out of the storage
Hello,
I opened this thread in the category "Flex Builder 2", but
under this category my questions fit better.
I have a problem with the MenuBar and a question to delete a
component out of storage.
1. We have implemented the MenuBar, which was filled
dynamically with XML data.
Sporadically it will appear following fault, if we "mousover"
the root layer.
RangeError: Error #2006: Der angegebene Index liegt
außerhalb des zulässigen Bereichs.
at flash.display::DisplayObjectContainer/addChildAt()
at mx.managers::SystemManager/
http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
at mx.managers::SystemManager/addChild()
at mx.managers::PopUpManager$/addPopUp()
at mx.controls::Menu/show()
at mx.controls::MenuBar/::showMenu()
at mx.controls::MenuBar/::mouseOverHandler()
Here a abrid ged version of our XML to create the MenuBar:
<Menuebar>
<menu label="Artikel">
<menu label="Artikel anlegen" data="new_article" />
<menu label="Artikel bearbeiten" data="edit_article" />
<menu label="Verpackung">
<menu label="Verpackung anlegen" data="new_package" />
<menu label="Verpackung bearbeiten" data="edit_package"
/>
</menu>
<menu label="Materialgruppe">
<menu label="Materialgruppe anlegen"
data="new_materialgroup" />
<menu label="Materialgruppe bearbeiten"
data="edit_materialgroup" />
</menu>
</menu>
</Menuebar>
It is a well-formed XML.
2. Delete a component out of storage
We have some own components (basically forms), which will be
created and shown by an construct e.g.
var myComponent : T_Component = new T_Component ;
this.addChild(myComponent)
Some of our forms will be created in an popup. On every call
of the popup, we lost 5 mb or more, all childs on the windows will
be removed by formname.removeAllChild();
What cann we do, that the garbage collector will dispose this
objects.
Is there a way to show all objects with references (NOT
NULL)?
I have read in the Flex Help, that
this.removeChild(myComponent) not delete the form and/or object out
of the storage.
Rather the object must be destroyed.
It is sufficient to call delete(myComponent) about remove
this object out of the storage as the case may be that the
garbage-collector remove this object at any time?
Or how can I destroy a component correctly. What happens with
the widgets on this component e.g. input fields or datagrids?
Are they also being deleted?
Thanks for your help.
MatzeIf you mena the "photo Library" then you cannot delete it.
This is how iphone handles photos. There are not two copies. There a re simply two places from which to access the same photos. ALL photos synced to iphone can be accessed via Photo Library. Those same pics can be accessed via their individual folder. -
Problem with multiple Toplink/JPA apps in same server
Anyone have experence of running serveral Toplink/ EJB-3 Web apps in the same server (OC4J, alas)?
We seem to get a problem with the second app failing to initialise toplink, with an entity not found message. Each app runs OK on it's own.Yes, they access the same datasource and most of the tables overlap.
We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told).
I''ve had some funnies on OC4J before which I think may be to do with it's use of ClassLoaders, for example I initially put persistence.xml in the libary jar with the data model, but for some reason I get the entity not found error that way. It only seems to work if it's in the classes folder.
For the moment we're getting arround the problem with multiple OC4J instances in the server. -
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 -
Candlestick chart problem with multiple series
Hello,
I added one mx:CandlestickSeries object and couple additional
mx:LineSeries objects to the chart. All series are represented but
still I have one problem. More series I add - less candles are
becoming of CandlestickSeries data. It seems that there should be
any scaling option for all series in the chart or something like
this, but I cannot find it. I'm still new in Flex Can anyone halp
me with this?
Thanx in advance
marukasI've added screenshots to get better view of the problem.
Here is chart with addtional series:
Chart
with multiple series
And here nothing is changed except that additional line
series were removed:
Chart
with only one CandlestickSeries
Is it possible to get the same candles as in 2nd view with
addiotnal series added? -
ORACLE EXPRESS: build a page with multiple forms linked to one table
hi,
im using oravle application express. APEX
i would like to build a page with multiple forms linked to one table (orders) , the page has 4 from each one with different order_id number (depending on filtering), and if the order is prepared click yes for each order and this 'YES' should be UPDATED AND SAVED to each order number in the same table with the press of one button.
i created all the form as (sql query)
and create one update process
(UPDATE ORDERS
SET TRAY_PREPARED =:P10_TRAY_PREPARED_1
WHERE ORDER_ID =:P10_ORDER_ID_1;
UPDATE ORDERS
SET TRAY_PREPARED =:P10_TRAY_PREPARED_2
WHERE ORDER_ID =:P10_ORDER_ID_2;
UPDATE ORDERS
SET TRAY_PREPARED =:P10_TRAY_PREPARED_3
WHERE ORDER_ID =:P10_ORDER_ID_3;
UPDATE ORDERS
SET TRAY_PREPARED =:P10_TRAY_PREPARED_4
WHERE ORDER_ID =:P10_ORDER_ID_4;
i dont know really if i can do that, but it appear hat it actually saving according to order_id number , but not all the time some time it saved the value as "null".
please guide me what is the correct way to do this.
I READ THIS ONE
http://stackoverflow.com/questions/7877396/apex-creating-a-page-with-multiple-forms-linked-to-multiple-related-tables
BUT IT WAS FOR MULTIPLE INSERT
thanks.Sans,
I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues, -
URGENT! Problems with On-Commit and Key-Commit triggers!!
Hi there,
We are having a problem with our form actually saving a value to the database after the commit_form is given.
When we hit the Save Button (which triggers the Key-Commit, and that in turn triggers the On-Commit trigger) we want a populated global variable to save to the database. Now when we hit Save, we can see the field get populated properly with this Global Variable (Global.Last_Tckt_Read), BUT it doesn't save to the database.
Here is the code from the On-Commit trigger:
IF :cg$bf_meter.closing_ticket_issued = 'N'
THEN
:CG$bf_meter.opening_meter_reading := :GLOBAL.LAST_TCKT_READ;
:CG$bf_meter.opening_meter_reading_date := :GLOBAL.LAST_TCKT_DATE;
:CG$bf_meter.closing_meter_reading_date := :CG$bf_meter.last_ticket_date;
:GLOBAL.PREV_METER_READING := :CG$BF_METER.LAST_TICKET_READING;
:GLOBAL.WINDOW_ACTIVE_CHECK := 'true';
:GLOBAL.FTDAYCHM_SAVED := 'true';
commit_form;
ELSE
:GLOBAL.PREV_METER_READING := :CG$BF_METER.LAST_TICKET_READING;
:GLOBAL.WINDOW_ACTIVE_CHECK := 'true';
:GLOBAL.FTDAYCHM_SAVED := 'true';
commit_form;
END IF;
The code in the Key-Commit trigger is just commit_form;. Now, the code from the On-Commit seems to work fine if its in the Key-Commit trigger -- BUT we need to use the On-Commit in case the user exits the Form with the Exit Button on the toolbar or "X" on the title bar (Neither the Exit Button and the "X" will call the Key-Commit trigger).
Any ideas how we can get this data value to actually SAVE in the database??
Thanks for any help -- please respond, this deadline has already passed!
MikeWell, I can't say I understand what you want, but:
1) if you have only commit_form in key-commit - then you do not need this trigger. key-commit will fire when F10 (commit) is pressed, but since it is doing the same - there is no need.
2) why don't you populate your block values to be saved right in SAVE button trigger and issue commit_form in the same trigger?
Then you can have key-commit to cover the same functionality for F10 with code:
go_item('save');
execute_trigger('when-button-pressed');
3) I cannot get the point of the "close" stuff - on close you want to check for changes or not? and to allow the user to exit with or without saving?
Maybe you are looking for
-
Performance: Operations in Cursor vs. Operations in PL/SQL block
Why does I have a better performance when I program operations in complex cursors instead of programming the same statement in a pl/sql block in a stored procedure? Operation in a Cursor: CURSOR c IS DECODE(name,'Peter','dog','cat') animal ...The
-
How to insert Data in a table from iFS.
Hi, We have an application that communicates with the customer through iFS. I am asked to add a new functionality to that application that will populate a table in the database with customer id, customer inserted file name and internal file name afte
-
I'm trying to set up my new iPhone using iCloud - I entered my apple ID and password and selected the backup to restore from but the next page asks me to enter a password for a DIFFERENT apple ID
-
No Wireless networks found (WIFI adapter not visible)
From 2-3 days , my laptop's wifi adapter was disabled automatically. The wireless network doesn't showing WIFI option. Therefore I am not able to connect to any WIFI network. Please help
-
Basic questions re zip, compression, and e-mailing large attachments
Hi, I have never really understood what is meant by "zip" and compressing a file. I believe these things make it possible to make a file smaller for sending via e-mail, and then when the person at the other end opens up the attachment, it returns to