How to clear a container in OOPS...?
Hi,
How to Clear a Container in Object Orientation Programming...?
There is a method available......can you tell me that one.......
Moderator message: Please search the forums and Google before posting basic questions. Thread locked.
Edited by: Neil Gardiner on Sep 24, 2010 3:55 PM
I Create an Container to display Graphics.
Thare are many click events.
When I click an "click event " it shows orihinal Graph.
After I click second "click event" it overrides previous values and texts.
Even though I didnt create Graphics for an Particular "click event" , it shows Graphics.
what is the Method (or) Function Module to clear that Container...?
Similar Messages
-
How to clear costum container editor
CREATE OBJECT: container EXPORTING container_name = 'EDIT',
editor EXPORTING parent = container,
handle.
CALL METHOD editor->set_text_as_stream EXPORTING text = GT_LINE.
When iam calling method with exporting GT_LINE 2nd time with some other values I am getting old values on editor , can u please tell me how to clear old vales on editor and putting new vales ..
thanks in adv.......Hello Kranthi,
You can use the keyword "FREE".
CALL METHOD container->free.
FREE container.
Use this at the exit.
Regards,
Reema. -
HI,
I am displaying my ALV grid in subscreen,i am using CALL METHOD g_alv_grid->set_table_for_first_display,it is working fine for first time but when user is changing input in first subscreen ,and click push button to call ALV grid in 2nd subscreen it is displaying previous records.how to clear the container ,I tried CALL METHOD g_alv_grid->refresh_table_display.but no result,Hi,
that means the problem is not with the REFRESH. since you are editing the grid the values are not updated to frontend. did you call this method in the PAI of the screen if not call this and try.
MODULE PAI INPUT.
CALL METHOD G_GRID->CHECK_CHANGED_DATA
IMPORTING
E_VALID = L_VALID.
CALL METHOD CL_GUI_CFW=>FLUSH.
CALL METHOD CL_GUI_CFW=>DISPATCH.
okcode hadnlings here...
CALL METHOD G_GRID->REFRESH_TABLE_DISPLAY
EXCEPTIONS
FINISHED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. "pai INPUT
Regards
vijay -
How to clear the picture from custom container
Hi All
I am uploading the employee image into custom container . for that i have used the below fn modules
CALL FUNCTION 'HR_IMAGE_EXISTS'
EXPORTING
p_pernr = pernr
* P_TCLAS = 'A'
* P_BEGDA = '18000101'
* P_ENDDA = '99991231'
IMPORTING
* P_EXISTS =
p_connect_info = g_connect_info
EXCEPTIONS
error_connectiontable = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
CALL FUNCTION 'SCMS_DOC_URL_READ'
EXPORTING
* MANDT = SY-MANDT
stor_cat = space
crep_id = g_connect_info-archiv_id
doc_id = g_connect_info-arc_doc_id
* PHIO_ID =
comp_id = 'DATA'
* SIGNATURE = 'X'
* SECURITY = ' '
* USE_LOCATION = 'A'
* LOCATION = ' '
* HTTP_URL_ONLY = ' '
dp_url_only = 'X'
* LIFETIME = ' '
* NO_CACHE = ' '
* EXPIRATION =
* PDF_MODE = ' '
* URL_EXTENTION = ' '
* FORCE_GET = ' '
IMPORTING
url = g_url
EXCEPTIONS
error_config = 1
error_parameter = 2
error_signature = 3
http_not_supported = 4
docget_not_supported = 5
not_accessable = 6
data_provider_error = 7
tree_not_supported = 8
not_supported = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
after getting the url for uploading the picture
I used load_picture_from_url
the image is uploaded, but when i try to clear the image from control using picture->clear_picture
it is not clearing the image
Please help me how to clear the image.
Thanks
RamaHi,
" Request an URL from the data provider by exporting the pic_data.
CLEAR url.
PERFORM load_pic_from_db CHANGING url.
" load picture
CALL METHOD cl_gui_picture_1->load_picture_from_url
EXPORTING
url = url.
CLEAR url.
url = 'file://C:\sap-logo.gif'.
CALL METHOD cl_gui_picture_2->load_picture_from_url
EXPORTING
url = url.
CLEAR url.
url = 'http://www.sap-press.com/images/logo_books_online_162_50.gif'.
CALL METHOD cl_gui_picture_3->load_picture_from_url
EXPORTING
url = url.
init = 'X'.
CALL METHOD cl_gui_cfw=>flush
EXCEPTIONS
cntl_system_error = 1
cntl_error = 2.
ENDIF.
Its helpful.
Regards,
Raj. -
How to clear text fields when the user navigates back to the screen
Hi,
Does anyone have any idea on how to clear the text input fields and dropdown boxes when the user navigates back to the screen, say for e.g. create screen?
My issue is that i have plenty of fields in the create screen within a form. Is there a way to avoid programaticaly blanking out every field and just do it at the form level using an api to reset to a state before the user entry?
ThanksThis code allows you to make it more generic, and you would need to tweak it if there are more than TextInput controls, but it should provide some ideas.
As far as using states, you could use SetProperty to set the text to empty, but that might be messier.
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.containers.FormItem;
import mx.controls.TextInput;
import mx.events.IndexChangedEvent;
import mx.core.Container;
private function clearSreen(evt:IndexChangedEvent):void{
var view:Container = tn.selectedChild as Container;
for each(var child:Object in view.getChildren()){
if(child is FormItem){
var subchild:DisplayObject = child.getChildAt(0);
if(subchild is TextInput){
TextInput(subchild).text = "";
]]>
</mx:Script>
<mx:TabNavigator id="tn" resizeToContent="true"
change="clearSreen(event)">
<mx:Form id="frm1" label="View Number One">
<mx:FormItem label="First name:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Last name:">
<mx:TextInput/>
</mx:FormItem>
</mx:Form>
<mx:Form id="frm2" label="View Number Two">
<mx:FormItem label="Address1:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Address2:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="City:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="State:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Zip code:">
<mx:TextInput/>
</mx:FormItem>
</mx:Form>
</mx:TabNavigator>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services -
How to clear tab settings in Designer in 7.0
I imported an existing form and added text fields/drop downs, etc. I used copy/paste throughout. When I went to set tab order there are in some cases 3 or 4 numbers beside a single field and even straight text fields are numbered. I can't figure out how to clear all of these out so that I can properly set the tab order. When I did advanced>accessibility>full check in the form in acrobat it said that "WARNING: Since the PDF file contains Adobe XML form fields, you must use Adobe Designer to repair errors" and "All of the pages in this document have tab order that may be inconsistent with the structure order".
I am brand-new to using this software so as detailed an explanation as possible would be greatly appreciated.
Thanks!Hello Devi,
There are three ways you can load Master Data in BPC
1) Copy and paste.
Download master data in flat file .Copy the master data and paste in members of dimension after that process the dimension.
2) Using SISS Pakage - load Flat File into BPC-Cube
3) Using SQL Command.
Thanks.
With regards,
Anand Kumar -
How to clear the text in the Text Editor
Hi all,
I created a Text editor and also i am having language field in the screen.
whenever i change the language auomatically the text has to change when the text exists for that
language.
this is working fine, but when the Text exist , the text editor should be blank.
But it is carrying the Previous editor text itself into it .
How to clear the text in the Editor.
Regards,
MadhaviHello Madhavi
The simple report ZUS_SDN_TEXTEDIT_CONTROL shows how to switch the texteditor contents when changing the language.
*& Report ZUS_SDN_TEXTEDIT_CONTROL
*& Thread: how to clear the text in the Text Editor
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145272"></a>
*& By default the itab GT_OUTTAB contains texts in DE and EN.
*& To switch the language directly enter into the command window:
*& LANGU=DE, LANGU=EN or LANGU=FR
REPORT zus_sdn_textedit_control.
TYPE-POOLS: abap.
TYPES: ty_t_text TYPE TABLE OF as4text
WITH DEFAULT KEY.
TYPES: BEGIN OF ty_s_outtab.
TYPES: language TYPE spras.
TYPES: text TYPE ty_t_text.
TYPES: END OF ty_s_outtab.
TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
DATA: gt_outtab TYPE ty_t_outtab,
gs_outtab TYPE ty_s_outtab.
DATA: gd_language TYPE spras.
DATA: go_docking TYPE REF TO cl_gui_docking_container,
go_textedit TYPE REF TO cl_gui_textedit.
DATA: gd_okcode TYPE ui_func,
gd_repid TYPE syst-repid.
START-OF-SELECTION.
PERFORM fill_texts.
gd_language = syst-langu.
PERFORM init_controls.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM set_text_editor.
* NOTE: dynpro does not contain any elements
" ok-code => GD_OKCODE
CALL SCREEN '0100'.
* Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
*PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
TRANSLATE gd_okcode TO UPPER CASE.
CASE gd_okcode.
WHEN 'BACK' OR
'EXIT' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'LANGU=DE' OR
'LANGU=EN' OR
'LANGU=FR'.
PERFORM get_text_editor.
SPLIT gd_okcode AT '=' INTO gd_okcode gd_language.
PERFORM set_text_editor.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form FILL_TEXTS
* text
* --> p1 text
* <-- p2 text
FORM fill_texts .
* define local data
DATA: ld_string TYPE string.
gs_outtab-language = 'EN'. REFRESH: gs_outtab-text.
ld_string = 'Good morning'.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
gs_outtab-language = 'DE'. REFRESH: gs_outtab-text.
ld_string = 'Guten Morgen'.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
gs_outtab-language = 'FR'. REFRESH: gs_outtab-text.
ld_string = space.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
ENDFORM. " FILL_TEXTS
*& Form INIT_CONTROLS
* text
* --> p1 text
* <-- p2 text
FORM init_controls .
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
* repid =
* dynnr =
* side = dock_at_left
* extension = 50
* style =
* lifetime = lifetime_default
* caption =
* metric = 0
ratio = 90
* no_autodef_progid_dynnr =
* name =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_textedit
EXPORTING
* max_number_chars =
* style = 0
* wordwrap_mode = wordwrap_at_windowborder
* wordwrap_position = -1
* wordwrap_to_linebreak_mode = false
* filedrop_mode = dropfile_event_off
parent = go_docking
* lifetime =
* name =
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5
OTHERS = 6.
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. " INIT_CONTROLS
*& Form SET_TEXT_EDITOR
* text
* --> p1 text
* <-- p2 text
FORM set_text_editor .
BREAK-POINT.
CLEAR: gs_outtab.
READ TABLE gt_outtab INTO gs_outtab
WITH KEY language = gd_language.
CALL METHOD go_textedit->set_text_as_stream
EXPORTING
text = gs_outtab-text
EXCEPTIONS
error_dp = 1
error_dp_create = 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. " SET_TEXT_EDITOR
*& Form GET_TEXT_EDITOR
* text
* --> p1 text
* <-- p2 text
FORM get_text_editor .
CLEAR: gs_outtab.
CALL METHOD go_textedit->get_text_as_stream
EXPORTING
only_when_modified = cl_gui_textedit=>true
IMPORTING
text = gs_outtab-text
* is_modified =
EXCEPTIONS
error_dp = 1
error_cntl_call_method = 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.
MODIFY gt_outtab FROM gs_outtab
TRANSPORTING text
WHERE ( language = gd_language ).
ENDFORM. " GET_TEXT_EDITOR
Regards
Uwe -
How to clear Vendor Debit item Through F110
Hi All,
I have a new requirement,
I have a vendor for which transactions are posted in multiple currecies, like USD & EUR.
I have 2 invoices for this vendor, one is in EUR, and other one is in USD, along with this i have a dabit balance for this vendor which generated through a credit note.
now when iam trying to make the payament for this Vendor thrugh F110, and try to clear the debit amount also, the system is throwing one error message saying that "Enter incoming payment method for the debit amount "(whici is in USD)
Please let me know how to solve this issue
Thanks in advanceHi Robert,
This is the content of SAP Note 164835 as follows:
SAP Note 164835 - F110: Clearing credit memos and
invoices
Note Language: English Version: 14 Validity: Valid Since 29.05.2008
Summary
Symptom
When you execute a payment run, you select credit memos and invoices for a
customer or a vendor, but the system does not clear them together. In the
payment (default) log, the system may generate the error message FZ
347:"...none of the payment methods defined can be used for these items".
Other terms
F110, SAPF110S, clearing, FZ 347
Reason and Prerequisites
The items to be cleared do not match in particular fields (see below).
Therefore, they are not paid together.
You can set a payment method only for either outgoing or incoming payments.
This explains the error message FZ 347.
Example
- Payment run is executed with payment method U for outgoing
payment.
- Credit memo is not cleared against invoice.
- Invoice is paid with U.
- Error message FZ 347 is generated for the credit memo.
Solution
The following explains in general how to clear, and describes some options
for eliminating errors. The logic of the grouping in the payment program is
independent of the type of the documents (for example, invoice, credit
memo, down payment, cross-company code posting).
General information
o You can pay open items together using the automatic payment
transactions, but only if certain fields are identical. The
structure ZHLG1 specifies these fields. Important fields are:
- Currency
- Receiver
- Payment method in the item
- Bank details in the item
o Whenever invoices and credit memos are in different payment groups,
you cannot clear them together, even if the credit memo contains an
invoice reference. If you set a payment group for a business
27.12.2010 Page 2 of 4
SAP Note 164835 - F110: Clearing credit memos and
invoices
partner (grouping key in the master record), then this is saved in
structure ZHLG1 (field PAYGR). This way the invoice reference in
the credit memo is overridden if they do not belong to the same
payment group.
o Invoice and credit memo must be due at the date of clearing. The
due date of a credit memo without invoice reference (BSEG-REBZG) is
the baseline date for payment (BSEG-ZFBDT), and for a credit memo
with a fixed value date (BSEG-REBZG = 'V'), the due date is
calculated in the same way as for an invoice. For credit memos with
invoice reference, the due date of the invoice applies.
o You cannot clear credit memos and invoices if the payment is
supposed to be made using a payment method set for the POR
procedure.
Invoices are grouped with a POR number with the document number as
an additional part of the grouping key so as to save the individual
payment required for POR payment methods. Invoice-related credit
memos for invoices with POR numbers receive the same grouping key
as the related invoice. This ensures that the clearing is
performed. However, you can no longer make payments using the POR
payment method because this payment method allows only one item to
be paid. However, you can make the payment using a different
payment method.
The POR procedure is only relevant for payment transactions with
the Swiss Postal Service. Consequently, the relevant fields in the
document and in the business partner master record are only of
importance in Switzerland.
What can you do?
o Check the payment methods in the line items (field BSEG-ZLSCH). For
clearing, these must be filled with the same value.
o If you have entered a specific payment method for the items, then
check Customizing for this payment method (transaction FBZP). The
indicator "Single payment for marked item" should not be set there.
o Check the field "Grouping key" in the master record of the business
partner for payment transactions in the company code. If, for
example, there is a grouping set according to assignment number,
then the invoice and credit memo must have the same assignment
number in the business partner line for clearing. Using transaction
OBAP, you can define which fields of the key you want the system to
use for grouping.
o Check the indicator "Pay all items separately" (LFB1- or
KNB1-XPORE) in the master record of the business partner for
payment transactions in the company code. If this field is set,
each open item for this business partner is paid separately.
o If you have set the indicator "Separate payment for each Business
Area" (T042-XGBTR) for the payment program (all company codes) in
Customizing, check the business area in the items. They must match
in this case.
o Check the house bank in the line items (field BSEG-HBKID). The
27.12.2010 Page 3 of 4
SAP Note 164835 - F110: Clearing credit memos and
invoices
values must also match for clearing. A document without house bank
can only be cleared with a document with house bank if this house
bank is defined in the master record of the business partner
(LFB1-HBKID or KNB1-HBKID).
Make sure that the house bank from the payment program is filled
for any reset clearing documents (see Note 159607).
o Check the partner bank type in the line items (> Other data > field
BSEG-BVTYP). These values must also match for clearing. You can
specify the partner bank type in the master record of the business
partner for general payment transactions.
o For postings to one-time accounts, the address data is encoded and
saved in field BSEC-EMPFG. The coding routine has been changed in
Release 3.0E. Therefore, if you want to offset documents from an
earlier release against documents from a later release (for
example, after an upgrade) you need to check the contents of this
field. These values must match for clearing. If this is not the
case, the documents from the earlier release need to be reversed
and be posted again. If reversal is not possible, contact SAP
Support.
o If you do not clear using a payment method set with POR procedure
(with or without invoice reference in the credit memo), then check
the contents of the fields BSEG-ESRNR, BSEG-ESRRE and BSEG-ESRPZ.
They must not be filled if you do not enter a payment method in the
item.
o If you set a separate payment for each payment reference (for
example separated by a CID number in Norway or reference number in
Finland) (FBZP > Paying Company Codes > field T042B-XKIDS), then
the items for a clearing in field BSEG-KIDNO must be the same. Note
that the Customizing setting (T042B-XKIDS) is effective only if
vendors are involved in the payments. When you separate the
payments by payment reference, also take into account that no
outgoing payment can be generated for a payment reference for which
only credit memos exist.
o Check the structure ZHLG1 in your system. If you have inserted
additional fields there, the line items must also match in these
fields. Contact your consultant.
Header Data
Release Status: Released for Customer
Released on: 30.05.2008 10:55:56
Master Language: German
Priority: Recommendations/additional info
Category: Consulting
Primary Component: FI-AP-AP-B Payment Progam / Payment transfer
(DE, JP, US)
Secondary Components:
27.12.2010 Page 4 of 4
SAP Note 164835 - F110: Clearing credit memos and
invoices
RE-RT Rental
The Note is release-independent
Related Notes
Number Short Text
1084325 FSCM-BD: Payment method for invoice-related credit memo II
305414 F110: Unintelligible grouping of documents
197626 Partner bank category in RAs and payment program
159607 F110: Reset clearing is not offset against
143311 F110:Incorr.due date for cred.memo w/ fix.val.date
109233 F110: message FZ347 or several payment documents
86578 Guidelines for F110 Payment Program (W/Check mgmt)
33288 Payment methods for rental agreement
22856 Customer credit memos are not paid
20484 Payment program does not clear due items
4904 Credit memo clearing or down pmnt clearing for POR -
How to clear Open Posting Changes in LU04
Dear Expert,
How to process the Stucked PCN in LU04 Because when i am trying to create a TO w.ref to PCN in LU04 it shows
that BIn qty is zero & when I check LS24 for that material & I found bin qty is zero.
So now how to clear from PCN
Thanks & Regards,
Olet Mallaif you get the message "Dest. data" is the same as the "Source data" in all fields" then it is exactly so, and the movement does not make any sense as it does not change anything.
You have to stop such movements already in MM to avoid this error.
SAP explains this in OSS Note 384044 - Error L2146 when processing posting change notice
Solution
You can set the status of the posting change notice to completed by canceling the respective material document. In future, you can avoid those cases by setting message M7104 to 'E' (error) in table T160M; after this, the material documents which contain identical destination and source data can no longer be posted and therefore the system does no longer create such posting change notices. Before you should however cancel all available material documents with identical source and destination data for which there are open posting change notices. Otherwise the cancellation is terminated with error message M7104. -
How to clear the last_line_iterator for custom search result?
Hi Friends,
I have one issue regarding search result of service request please help me on this issue....
We have added some custom fields using value nodes and EEWB image field in search result of service requests....and the problem is when we click on export excel sheet button in result list for first time it is working fine data is showing in excel sheet, but after that when we done some changes in search screen and press search button for second time and press the export excel sheet...data not bound in excel sheet....
After analysis by me....after pressing the button and modify in search screen export excel sheet for second time in ME-> Last_line_iterator is not clearing it is containing previous search value for last_line_iterator.... so it is failing to call GET_ITERATOR( ) ....so anyone suggest who face same problem in their experience ....how to clear the Last_line_iterator ...let me know if any information required .....pls it is very urgent .....
thanks in advance....
regards,
kumarHi Lakshman,
Everytime user clicks on a new shop, create a session variable and set it to any value.
userSessionData.setAttribute("NEWSHOP","true");
Now go to history.jsp and just above this piece of code put a validation for the value of this session variable and
if its value matches to "true" than only let the below code to execute.After the validation dont forget to remove this
variable from session.
<isa:iterate id="historyItem" name="<%= UpdateHistoryAction.HISTORY_LIST %>"
type="com.sap.isa.isacore.HistoryItem">
Likewise you can work with organizer frame refresh also.Hope this helps you.
Regards,
Arshi -
How to clear the Managed Bean Values prior to load a JSF page
Hello.
I have a jsf page that contains fields that need to be cleared BEFORE the page is loaded.
My managed bean where the fields are linked (I�m using the value attribute) is in the SESSION scope because I need to control they values across a popup window and if I use request scope, my vectors that load objects like dataTable are cleared when I post the form.
My question is :
How I CLEAR all the values in the managed bean BEFORE the page is loaded ???
In the WebForms (Microsoft .NET) I have an method on the codebehind called Page_Load where I put my initialization code for my page.
Thanks in advance.
Rog�rioRog�rio,
You can do this with a PhaseListener. Just regiser a new listener for the RESTORE_VIEW phase, and implement the beforePhase method; you can do this in the backing bean's constructor, or somewhere elase. This is pretty much the same as the Page_Load event handler in .NET.
Kito D. Mann
Author, JSF in Action
http://www.jsfcentral.com - JSF news, info, and FAQ
Hello.
I have a jsf page that contains fields that need to be
cleared BEFORE the page is loaded.
My managed bean where the fields are linked (I�m using
the value attribute) is in the SESSION scope because I
need to control they values across a popup window and
if I use request scope, my vectors that load objects
like dataTable are cleared when I post the form.
My question is :
How I CLEAR all the values in the managed bean BEFORE
the page is loaded ???
In the WebForms (Microsoft .NET) I have an method on
the codebehind called Page_Load where I put my
initialization code for my page.
Thanks in advance.
Rog�rio -
I want to know how to clear the text area by the push off my next question button and ask a new ques
I want to know how to clear the text area by the push off my next question button and ask a new question - also I want to know how to code in my project to where a user can enter a math question in one border container and the answer enters into the next container
heres my code so far
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" backgroundColor="#1E5C75">
<fx:Script>
<![CDATA[
protected function button1_clickHandler(event:MouseEvent):void
//convert text area into labelid to be identified by actionscript
richTextLabel.text = myArea.text;
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<!--container 1-->
<s:BorderContainer borderWeight="7" x="28" y="10" width="200" height="138">
<s:layout>
<s:VerticalLayout paddingTop="10" paddingBottom="10"
paddingLeft="10" paddingRight="10"/>
</s:layout>
<!--data Entry control-->
<s:TextArea id="myArea" width="153" height="68"/>
<!--end of data entry control-->
<s:Button width="151" label="ask a question" click="button1_clickHandler(event)"/>
</s:BorderContainer>
<!--container2-->
<s:BorderContainer borderWeight="7" x="509" y="10" width="200" height="138">
<s:layout>
<s:VerticalLayout paddingTop="10" paddingBottom="10"
paddingLeft="10" paddingRight="10"/>
</s:layout>
<!--data entry control-->
<!--convert tne data entry control into a label id in actionscript-->
<s:Label id="richTextLabel" width="153" height="68"/>
<s:Button width="151" label="next question" click="button1_clickHandler(event)"/>
</s:BorderContainer>
</s:Application>This is a user to user support forum. We are all iphone users just like you.
You are not addressing Apple here at all.
This is an odd way to ask your fellow iphone users for help. Berating oterh users will not help you.
"it's too fragile"
No it is not. i have never damaged one, nor has anyone I know.
" U loose data when Ur phone is locked"
No you don't. Why do you think this?
"and there is no customer support!!! "
Wrong yet again. Apple has an 800 number and they have many retail stores and they have support articles that you can access using the search bar. Or you can contact them throgh express lane online
"but I will go back with Blackberry "
Please do.
Good ridance -
I want to know that how to clear the JFrame window, and how to remove the component of the container.
Try using the remove(...) and removeAll() methods.
m -
How to Clear QBE Search Criteria?
We have a taskflow which is invoked as a popup in a jsff page, this popup contains a table where the user can query using QBE. After the popup is closed and reopened, the search criteria in the QBE is retained.
Any idea how to clear the QBE search criteria?You can use the following code to clear the filters:
ViewCriteria vcDefault = vo.getViewCriteria(ViewCriteriaManager.IMPLICIT_VIEW_CRITERIA_NAME);
if (vcDefault != null) {
vcDefault.clear();
see the following blog:
http://smconsultants.in/2013/08/clearing-table-filters-when-the-user-comes-back-to-same-page-with-in-a-taskflow.html -
How to determine worklfow container element for BUS2031?
Hai,
I am new to W/F. I would like to know how to detemine workflow container element for Customer Quotation generated(BUS2031)- [event] created.ie based on what?
Example :&Jquotation&,&JtransactionCode& etc.....
any screen shot docu for binding/import/export purpsoe.
Points will be given.
With Regards,JaheerHai Aditya,
Thanks for your reply.
yes . I want to know what base we can create container element.
Flow is like this :somebody create quotation , it will for manager approval & finally goes(mail) to customer.
For this I am using object type BUS2031. Now I want to create w/f container element(in workflow template).From BUS2031(customer quotation), I understand that I need to create one w/f container as &Quotation&.what are others container element I have to create. This is my questions.
I hope now it is clear.
If you have any workflow documents/sample please send it to me [email protected]
With Regards,Jaheer.
-Jaheer
Maybe you are looking for
-
How can I put this into a table
I have the following code inside a table. <table border="0" width="760"> <tr> <td class="TitleText"> <cfoutput query="qrySerialNumbers" group="materialNumber"><b>Material Number:</b> #materialNumber#<p> <cfloop from="1" to="#quantity#" index="i"> <cf
-
Hello, To start off, I am a very low level beginner wtih JavaScript. I understand what it is and can do, but I have no clue how to write it, and I have not been able to learn yet. Can someone please help me find/write a script that can be set as an
-
I amde a download this week from App Store (via Iphone) and downloaded (after payment) Monopoly and Crash Kart bandit When I sync this up with my computer, and then unplug this the games do not open up / cant play- Do you know why? L
-
How do i find what ports are being used.
I need to know how to tell what ports are being used and by what. I recently bought Apple Remote Desktop and have been pretty impressed but I have one computer here that won't let me Observe or Control. I think it is because the G4 in question has a
-
Can't tell what's in TOC in RH7
In RH5, when you viewed the topic list, the icon for any file that was in the TOC was colored blue. In RH7, they're not colored blue. Is there a way to enable this as an option? We really depend upon this feature and need it back!! Thanks.