Why i can't send the parameter
Sorry for my question, i want to send a parameter in my jsp file when a is pressed. but in fact, the back-bean can't get the parameter .
<h:commandButton action="#{Product.deleteAction}" value="delete" >
<f:param name="Deleteid" value="#{Product.id}"/>
</h:commandButton >
my codes is above.but if i write "commandLink" in stead of "commandButton " the back-bean can get the parameter ,what should i do?
You can use MyFaces implementation for that issue, in MyFaces use x:updateActionListener with <h:commandButton>
Similar Messages
-
I don't know how to work, help me! thanks
TMobile in the U. S. is not a supported iPhone carrier. Not all iPhone features work as expected. Contact TMobile to make sure your account is properly provisioned.
-
Why I can't send and receive MMS with Redpocket on the 4s,iOS 5.1.1?
Check Settings>Messages>MMS Messaging and make sure it's set to on. Contact Redpocket and make sure your account is provisioned correctly. However, if Redpocket is not a supported carrier, it is possible that not all functions of the iPhone will work or work as expected.
-
How can we send the smartform output to mail.
Dear Friends,
My query is how can we send the smart form output to mail.
In my company,payslip are given to the employee in printed format.instead of that we need to send payslip in mail.how can i do..plz help me.
[email protected]The code below demonstrates how to retrieve a spool request and email it as a PDF document. Please note to process a spool request the program can be executed in background or foreground. Because of the additional functionality to allow this to work in both background and foreground it has made it a little more confusing soyou might want to start by looking at the background only program. Also see transaction SCOT for SAPConnect administration.
*& Report ZSPOOLTOPDF2 *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program can be run in background or online and a spool request *
*& will still be created *
REPORT zspooltopdf2.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX,
p_online no-display.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i,
w_spool_nr like sy-spono.
%_print LIKE pri_params.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
If p_online = 'X'.
Processing performed when program calls itself when run online
gd_spool_nr = sy-spono.
EXPORT gd_spool_nr TO MEMORY ID 'SPOOLTOPDF'.
EXIT.
endif.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
ELSE.
gd_spool_nr = sy-spono.
If executed online, it submits a program to perform the write statements
instructing it to create a spool request, this could be another program
which just performs the write statements and then exports sy-spono
to memory. But in this example it calls itself passing X to parameter
p_online, which takes it down an alternative procesing path.
submit ZSPOOLTOPDF2
with p_online = 'X'
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
ENDIF.
Get spool id from program called above
IMPORT gd_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
FORM get_job_details.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
Regards,
Shakti Barath -
ICal can't send the invitation
When I typed the first letters of a contact and then it suggested its full contact name as is in Adress BookI clicked it but got a response that iCal is unable to send the invitation though the contact is in my Adress Book and this is the first time really when it fails to send an invitation: it used to work nicely before. Help me, please to make it work again!
All the best,
I.S.I found the solution here Why I can't send ical invitation
-
Why I can't send emails to some address and also i...
Hello!
Why I can't send email using my ovi mail account to some email address and also i can't send email using Thunderbird? So what is the problem?
I can't send email to any address using Mozilla Thunderbird. Every time show "Login to server mail.ovi.com failed." but Thunderbird download my ovi account email without any problem. how do i fix this error. I don't know where to post this matter!Yahoo has messed with their stuff lately (honestly they've been messing with their servers for months)
One thing would be if you guys wanted to use the yahoo mail app, or there have been other users posting solutions that they say work for them
https://discussions.apple.com/message/27906475?ac_cid=tw123456#27906475
https://discussions.apple.com/message/27894621?ac_cid=tw123456#27894621
These have applied to people not able to get mail but changing the settings may help you and your wife. (My yahoo is still working so I haven't needed to try any of these)
I've noticed with my Yahoo that they've changed their login protocols. For example 'stay signed in' is always clicked and the push is for people to merge multiple accounts to access their multiple yahoo from one account/sign in instead of signing out/in to access different accounts. I'm wondering if that change is what's messing with the protocols needed for iOS mail to work. But no one really knows for sure (and neither Apple or Yahoo will comment on the issue)
About all users can do is find work arounds that work for them.
If these don't work or if you don't want to use the yahoo mail app, you might try using safari to go to yahoo.com and access your mail that way. -
Why I can't send an email to hotmail?
why I can't send an email to hotmail?
Welcome to Apple Support Communities.
When you encounter an error, first check http://downrightnow.com for the status of most major email services.
(Hotmail is also known as Windows Live Mail.)
How long are you waiting to determine whether or not the message was received?
How soon does the error occur after sending?
Are you getting an error message from Apple Mail?
Are you getting an error message reply from Hotmail?
Can you send an email to any other email address without error?
Are you certain you have the correct Hotmail destination address?
Can you send a message to another Hotmail address or does sending fail for all Hotmail addresses?
Here are helpful hints from downrightnow.com:
Troubleshooting Tips
Use these guidelines to help narrow down the cause of a service issue.
Can you reproduce the problem by repeating the same steps? If not, it may have been a temporary glitch.
If you're having trouble accessing a certain web site, make sure there isn't a problem with your Internet connection. Can you reach other web sites successfully?
Does the same issue appear if you use a different device or Internet connection?
Have you recently changed any settings or installed web browser plug-ins, firewall software, or other upgrades that might be causing trouble?
If you've ruled out these other possibilities and suspect a problem with Windows Live Hotmail, report it here to spread the word! -
Why i can't send message in my imssage?
WHy i can't send message in my imessage?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
Send an iMessage as a Text Message Instead with a Quick Tap & Hold
http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
Is it possible to send the parameter from one appli. to other applic
Hi
I want to send the parameter from one application say applcation1 to application2.Both applications are running on same server.
Can you suggest any solution provided by sunFew of solutions are like
writing the parameter to xml file or inserting the parameter in database which are common resources to both.I want some other way to solve the same. -
Come on Verizon why are you not sending the Note 4 lolipop update?
Why you claim to be the best and your IT department can't send the Note 4 why these 3rd world countries are getting with their phone companies? Lets do your job or fine people or wireless company that can live up to what they say.
Take your time, Verizon. Lollipop ruined my gf's S5 and like my Note 4 since it works just fine on KK...not seeing the benefit by updating either other than cute animations, more colorful theme and a step down with notification pull downs.
-
Why i can not see the columns of "Tax Category" in transaction code FS00
Dear Experts,
Why i can not see the columns of "Tax Category" and "Posting without tax allowed" in tab of "Control Data" transaction code FS00?
How can i add the columns of "Tax Category" and "Posting without tax allowed"?
Looking forward to your reply.
Best Regards,
MerryHi,
Go to transaction OBD4, and check whether the field "Tax category" is suppressed in group "Account control" for your GL account group.
If not, then go to OB26 and check the field status for the same field for create, change activity.
Regards,
Gaurav -
Sorry but i have a problem my IPAD has been stolen and i want help to know where is the place of it ? can i send the serial number or anything i want help to know the place of my IPAD and thanks My name is :- Osama Rezk I'm From :- Egypt my icloud ID
<Email Edited by Host>You will only be able to track your iPad if you have find my iPhone active and the iPad is connected to a network.
Take a look at this link, http://support.apple.com/kb/PH2580 -
I have quickbooks software. I am traveling. I tried to send an invoice out, using the mac email (version 5.3) I can't send the mail out. I get a pop up asking for my password, I put the password in and it does not accept it. This is the 1st time I've had this problem.
slpmtnsWhilst it may not be your fault I am afraid it appears that your post is on a forum which is not the best for your OS. It will save the time of the unpaid volunteers here, and may resolve your issue faster, if you could examine the list below and see if there is a more appropriate forum to which you could direct your question.
OS X 10.9 Mavericks
OS X 10.8 Mountain Lion
OS X 10.7 Lion
OS X 10.6 Snow Leopard
OS X 10.5 Leopard
OS X 10.4 Tiger
OS X 10.3 and earlier
OS 9, OS 8 & System 7
OS X Technologies
OS X Server
iPad
iPhone
iPod
Other -
Can you please tell me how can i change the parameter of Applet using Aspec
Respect Members
Can we apply Aspectwerkz on Applet? In our project we have to
change the method parameters before its execution(Around Advice) , can we do this in applet using Aspectwerkz?
Can you please tell me how can i change the parameter of Applet using Aspectwerkz or AspectJ ?
I did it by for Java Application using the AspectJ And Aspectwerkz But not able to do for Applet.
For Applet I Am setting the parameter in JAVA plug in for Aspectwerkz e.g. -Xdebug -Xrunaspectwerkz -Xbootclasspath & path for xml file in which pointcut is defined.
If you any Friend working on it or any author who might be helpfull for me please Forward this mail to him/her
THANKs in Advance
[email protected]hello rodale, what you're seeing is probably a side effect of firefox not being able to save certain preferences into its profile folder.
go to ''firefox > help > troubleshooting information'', click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named '''user.js'''.
in case this didn't solve the issue yet please also refer to [[How to fix preferences that won't save]]. -
Itunes Match won't upload. I get error stating there was an error in the itunes store, please try again. I have tried again everyday for the last month and am still unable to use. Any ideas on why Match can't complete the 1st step of the process (Gathering information about your Itunes library)?
JohnCullison wrote:
For the last few weeks, the iTunes store has been displayed with empty graphic rectangles (with a blue box containing a white question mark centered in the rectangles), bits of text, and some buttons. The page extends quite a ways, including what I assume would be all the links to all the music...
If all you are trying to do is buy music, you can easily buy MP3s at any online music download store (e.g. amazon.com) and add them to your iTunes library.
Maybe you are looking for
-
I have been trying out the new version of the Adobe ios reader on my iPad 2 (all updates applied). Unfortunately the first document that I tested, could not be marked up with the highlighter, the strikethrough or underscore. I managed to locate other
-
Can I move all my drives from my 1,1 to a 4,1
Hi, I would like to benefit from a newer, faster mac pro, and I'm considering buying a 4,1 8 core 2.66GHz. I currently use a 1,1 Quad core 2.66 with Digital Performer and a lot of Virtual Instruments and experience crashes and slowdowns galore. To av
-
Does anyone know an easy way to solve this error? How comes that a failed deployment can block the whole application? "An error occured while undeploying the application. The configuration files for this Oracle9iAS instance are inconsistent with the
-
Hi, Version: Weblogic 8.1 SP3. OS: Sun Solaris. I have a requirement wherein I need to be able to compile a jsp as part of a batch job. I read the docs at http://e-docs.bea.com/wls/docs81/jsp/reference.html#65756/ and was hoping to use the java weblo
-
I want help in one programming logic.For that I make small example ,so that can explain clearly. public class Mainclass //(situated in package view) public s0,s1; public void runFunction() ...some coding and proceedings s0="Hi";s1"Hello"; ......some