How can we pass the control from servlet to portlet ?
Hi,
we use PortletRequestDispatcher.include method to call the servlet.
In my servlet, I have the following form information.
out.println("<form method=\"post\" action=\"http://abc 40acce5.3a.com/portal/dt?display=Command\">");
out.println("Enter value: ");
out.println("<input type=\"text\" name=\"UserName\" value=\"\">");
out.println("<center> "); out.println("<input type=\"submit\" value=\"Go Back Portlet\"> ");
out.println("</center> ");
out.println("</form>");
When user click the submit button, the servlet will go to portlet first, then go to another page.
is the url (action="http://abc40acce5.3a.com/portal/dt?display=Command) correct ?
if not, what url we should use ?
Can you help ?
Thanks!
Oh I thought that you have selection-screen and again you are working on dialog programming.
if you want to use select-option directly in module pool then it is not possible.
but you can do other way.
create two varaiables
data : v_kun_low like kna1-kunnr,
v_kun_high like kna1-kunnr.
use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
use can enter only low value and high value.
when you come to program point of view
declare one range
ranges r_kunnr for kna1-kunnr.
do the coding like
r_kunnr-low = v_kun_low.
r_kunnr-high = v_kun_high.
r_kunnr-options = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
now you can use r_kunnr in select query ,it will work like select-option.
other than this there is no option.
Thanks
Seshu
Similar Messages
-
How can I pass the photos from one iphone to another?
how can I pass the photos from one iphone to another?
Use the Beaming feature. See the info at the ? In iPhoto for iOS.
-
How can i pass the music from my ipod touch to my mac
how can i pass the music from my ipod touch to my mac
If the music on the iPod was purchased through iTunes you can try Transfer Purchases.
Connect the iPod to the Mac and launch iTunes. Right click on the iPod name on the left side of the iTunes window under the devices heading and select Transfer Purchases. That should transfer the music into the iTunes library on the Mac.
iTunes Store: Transferring Purchases -
HOW CAN I PASS THE PICTURES FROM DE IPHONE TO THE STREAMING
Como puedo pasar las fotos de mi iphone al streaming para liberar espacio sin tener que conectarlo a la computadora?
Pulse en Ajustes > iCloud > Fotos entonces cambiar mi Galería de fotos en.
-
How can i pass the value one from to another form?
hi all
how can i pass the value one from to another form with out use it when ever i want to needed this value that ican useit?
like i have two fields U_test1 and U_test2 table name @AUSR
that i have four form A! , A2,A3,A4 please tell me in details....?Hi,
U can assign the values to some variables and access then in ur required forms.
Vasu Natari. -
How can i pass the parameter for strored procedure from java
dear all,
I am very new for stored procedure
1. I want to write the strored procedure for insert.
2. How can i pass the parameter for that procedure from java.
if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from javaHi Ram,
To call the callable statement use the below sample.
stmt = conn.prepareCall("{call <procedure name>(?,?)}");
stmt.setString(1,value);//Input parameter
stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
stmt.execute();
seq = (int)stmt.getLong(2);//Getting the result from the procedure. -
How can i pass the Input value to the sql file in the korn shell ??
Hi,
How can i pass the Input value to the sql file in the korn shell ??
I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
can any one help me out.
RajaCan you please more elaberate., perhaps you should more elaberate.
sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense. -
How can we pass the select-option value to modulepool program?
hi,
how can we pass the select-option value to modulepool program ?
Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
How i get select-option values to PAI of call screen for getting the data from database table to my internal table?Oh I thought that you have selection-screen and again you are working on dialog programming.
if you want to use select-option directly in module pool then it is not possible.
but you can do other way.
create two varaiables
data : v_kun_low like kna1-kunnr,
v_kun_high like kna1-kunnr.
use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
use can enter only low value and high value.
when you come to program point of view
declare one range
ranges r_kunnr for kna1-kunnr.
do the coding like
r_kunnr-low = v_kun_low.
r_kunnr-high = v_kun_high.
r_kunnr-options = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
now you can use r_kunnr in select query ,it will work like select-option.
other than this there is no option.
Thanks
Seshu -
How can I pass the value to another frame?
Hi all,
The following is part of my coding of a frame. Once i click on the jButton2, the selected value will be stored into a variable named NAME and the value will be displayed by a label in same frame. At the same time, a new frame named TESTING3 will be set to visible.
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
// TODO add your handling code here:
String name = (String)jList1.getSelectedValue();
jLabel1.setText(name); //display the value in a label in same frame
new testing3().setVisible(true); //a new frame set to visible
} Question: How can I pass the value to TESTING3 frame and display it on that frame?
Thanks,
ning.just make an archive that save that variable and them get them from de clase were you save it
public class sav {
String n;
public sav {
n="";
public void addn(String x){
n=x;
public String shown(){
return n;
and them save it from the frame
sav sun = new sav();
sav.addn(f);
them call it from the other frame
sav sin = new sav();
String s = sin.shown();
label.setText(s);
and i think thats you want to do if its not please explain me better
bye -
How can i access the EJB from a Webdynpro
Dear all,
How can i access the ejb , from a webdynpro?.
Is there any way to do that?.
I want to write the entire code (business functions) within the EJB and i wan to access the entire methods from a WebDynpro Application.This is the situation.
Please help me to , resolve this problem.(Here im using JDBC Connection .. etc.).
I want to do the basic connection setting's and data retrieval part within the EJB and use that within the WebDynpro..
how can i seperate this two(i mean, i want to seperate the JDBC connections and WebDynpro,i dont want to hard code any connection parameters within the webdynpro code)
So that i want use that saet of particular function's in many webdynpro applications..
(i dont need any help regarding webservice way.)
If anyone can , please help me..
I tried that javabean class , manifest file , that way (importing javabean model).
but im getting errors.
I cant properly utilize that..
So please help me with steps regarding that,,
for javabean
and if any , for EJB also..
with regards
Kishor.GHI,
Since webdynpros follows Model View Controller Architecture You can access EJBs in webdynpro(views/frontend) infact to connec to database uding JDBC you have to utilise EJB ( opening connection to database closing, and other Business functionality).See this link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/web dynpro tutorial and sample applications.faq#q-7
<b>How to access the Car Rental Web Service?</b>
Regards,
RK -
I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion. how can I restore the data from the time capsule to my new Mac?
In technical support, sometimes you have to make educated guesses. I'm sorry that you were offended.
iTunes does prompt when it is going to erase a device, and the message is clear.
She said in her message that she was able to successfully sync the old ipad. This indicated to me that itunes wiping the data was not an issue, because either it had been setup at the apple store (in which case it doesn't actually wipe the ipad despite saying it will*) (*based on a single case I saw), or because the itunes media folder was migrated.
Furthermore, my solution was to tell her how to backup her ipad (by either doing it manually, or as a last resort, by deleting the corrupt backup -- that she couldn't access anyway.)
I got that last part of the instructions from the "Taking Control of your iphone" book which I found samples of when I did a google search for "corrupted backup itunes".
She marked this as a solution, so it worked for her. -
How can we pass the entire rows of a table to a web service in a VC model ?
Hi,
On the click of the submit button, I have to pass the rows of two tables into an enterprise service. This service also takes other fields of a form as an input.
How can we pass the entire rows of a table into a service ?
Regards,
NitinHi Nitin,
It seems that you have two or three different structures to pass data using your webservice. In your main question, two tables, you can join both in one table and from there call the webservice. In order to pass the entire table you need:
1. Draw a line between your joinned table and your service,
2. Map the fields,
3. Create a 'SUBMIT' in your table tool bar. Right click on your table and choose 'Create Toobar', '+', name and choose 'Submit' as your event.
4. Go to Configure Element (Table View) 'Multiple' at Selection Mode.
Reward points if helps you to solve your question.
Regards,
Gilson Teixeira -
How can i pass the name of the file polled by the file adapter to next step
Hi XI guru's ,
How can i pass the name of the file polled by the file adapter to next step in a BPM..?
regards,Use Adapter-Specific Message Attributes and map that value in udf to the BPM message.
Also see this
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
Regards,
Prateek -
How can i pass the PROPERTY_FALSE as string
Hi,
How can i pass the PROPERTY_FALSE & PROPERTY_TRUE as string to
Set_Item_Property('MY_BLOCK.MY_ITEM',ENABLED,PROPERTY_FALSE);
my requirement is to write a procedure like enable_fields(P_PROERTY_VALUE ..) that enable or disable many items based on the value that i pass.
Set_Item_Property('MY_BLOCK.MY_ITEM',ENABLED,P_PROERTY_VALUE );
Thanks in advance.Infact , property_false and property_true are not strings, They are constants with values 5 and 4 respectively.
So where ever you want to have property_false, pass 5
and property_true , pass 4
But usually we dont follow this method , as the value of the constants may vary from version to version.
So in your procedure say, pass 1 for enable and 2 for disable
procedure (................, p_property number) is
m_set_enable number ;
Begin
If p_property = 1 then
m_Set_enable := property_true;
else
m_Set_enable := property_false;
end if;
set_item_property('item1',enabled,m_set_enable);
End;Edited by: Dora on Dec 29, 2009 2:36 PM -
How can I stop the screen from rotating on my iPod touch?
My son is blind and has an ipod5 using the voice over feature. Everytime he moves it says landscape bc of the screen rotating. How can I stop the screen from rotating on him?
To lock the screen in portrait orientation, swipe up from the bottom edge of the screen to open
Control Center, then tap the icon with an arrowed circle with a padlock inside
page 20 of
ios 7.0 ipod touch Manual
Maybe you are looking for
-
Illustrator CC Drop Shadow Issue
Since upgrading to Illustrator CC, I am having random issues with drop shadows. It doesn't matter if the shadow is applied to a basic vector graphic per screenshot attached, or to a placed transparent image, and it can be on complex shapes or very si
-
Is there a way to record whats on your computer screen without a camera?
I have to do an assignment and it require me to insert a video of youtube onto a powerpoint presentation. I was unsure of what programs to use for this so i thought that there might be away to film my computer while i watch the yourtube video. If the
-
Difference between Flow and FlowN
Hi, can you please tell me difference between flow and flowN Thanks Nirmal
-
hai, in my project different users are able to login. but i have a sever problem in login validation. when an user is login...it gets the session of most recently login user data..and his bean data as well as..his login details.... i'm very much conf
-
With the stipulation that NO stabilizing software is a substitute for properly shot footage... Am about to test out demos for some of the major players in this field, which appear to be: - Magic Bullet Steady from Red Giant - Boris Optical Stabilizat