Can I pass parameter to BIP in POST mode?
Hello,
Can I pass parameters to BIP 11g instead in GET mode, in POST mode ?
There is documentation for passing parameters in BIP via url?
thanks, bye. R.
hello
Mr.BalusC
you replyed me
but
my problem is
i have one jsp page from there i navigate to jsf page
now i want to forward the data from jsp page to jsf page
and the data filled in the list while on page page load
i mean
first.jsp page
=========
<jsp:useBean id="login" class="com.nic.gis.geoampere.library.Login"
scope="session" />
<%
if(login.getRole().equals("ADM")){
String region= request.getParameter("region");
String circle= request.getParameter("circle");
String strparam = "region="+region+"&circle="+circle;
login.setRegion(region);
login.setCircle(circle);
login.setParameters(strparam);
%>
i have data in bean Login
now i want to use the data stored in Login bean
but this Login in not mention in Faces config file
from this login bean data
i want to populate data in list as this page ( jsf page) (second page) initialize
now give me some suggestion.
can i use this bean in second jsf page and remember one thing i can not use form tag
within first jsp page and can not pass with the url also.
Edited by: DON on Nov 3, 2007 10:43 AM
Similar Messages
-
Can i pass parameter or global variable in view from 6i form
hi master
sir can i pass parameter or global variable in view from 6i form
i use view for some diff column calculation within the date then i use
where date between data1 and date2
in view but view not create
please give me idea how i pass external value in view
thank
aamirHi Antony!
I feel it may not produce the right results if you
dont include the where clause and using only group by
in view.You felt? Please clear, logical thoughts put here, not feelings.
(It may very well have all the Debit, Credit
for all the Accid where as the user wants only for
r some date range)Data range is determinated in Form by user, so if view should give final data set then you must back
on Ranjana first question: How to pass parameter or global variable to view from 6i form?
And also as Ranjit pointed out, If you have only
accid, sum(debit), sum(credit) in View, wheres this
enddate ??Of course, column entdate (or enddate?) must be included in view...
Cheers! -
How can I pass parameter from report to form?
Hi :)
Now I try to build conference room like this by using form
and report. And i design that when users click at group report
then i'll show page that contain questions report and add
question form. And question form and report must receive the
same parameter from group report.
First Problem: is I don't know how group report send the
same parameter to question report and add question report at the
same time. And is it possible??? If not please suggest me what
should I do???
Second Problem: is I don't know how can I pass parameter from
report to form. I don't know the way to do it.
Please tell me!!! Please...
I look forward to hearing from all of you.
Thank You.One way is to create a link based on that form and attach that
link with the report. Through links you can pass parameters -
How to Pass Parameter from BIP to Dashboard Report
Hi,
Parameter from BIP to Dashboard Report
If I select BIP report paremeter should pass value to dashboard report
thanks in advance.
CHEERS ,
JelHi Saichand,
I hav gone through above link its passing values from Dashboard prompt to BIP report only..
just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
Thanks in advance
Cheers,
Jel -
Passing Parameter using GET or Post in J2ME
I have a problem passing parameter which has space between character to Servlet through GET or POST method. I am using HttpConnection. Which works properly whenever i sending data without space, else it shows Exception for space in URL.
If i use trim method which is Client side scrpiting then i am not able to update the database which takes input from the J2ME midlet.
Can any1 help me how to pass the parameter with space.Hi Mark,
The "number" format relies on the formats supported by the JS
native Number object. We don't actually do any number parsing
ourselves in Spry. One workaround, if you need things to sort
properly, is to have one column that is formatted european numbers,
and one column that is actually supported by the Number object. You
can create this custom column by using a filter:
function DataFilter(ds, row, rowIndex)
row["@premieNumber"] = new
Number(row["@premieNumber"].replace(/,/, "."));
return row;
Regarding the Request() object and your setURL() call ... the
3rd arg to setURL is optional, and only necessary if you are going
to use POST, or specify some header to send. If you do use post or
want to send some specific header, the 3rd arg just has to be an
object with only whatever options you want to specify, you don't
have to specify them all ... the options names exactly match the
fields defined in a Spry.Utils.loadURL.Request object.
We do have a utility class that gathers all of the input
values in a form. You will find it in Spry 1.6 in SpryUtils.js. The
name of the function to call is:
var str = Spry.Utils.extractParamsFromForm(form, elements);
The 2nd arg is optional, and allows you to specify what
element values you want to retrieve. If it is not specified, it
gets all values in the form.
--== Kin ==-- -
Can't pass parameter's to a transaction in a new win and skip first screen.
Dear experts,
I'm trying to open a transaction('CV04N') in a new window from a screen that has input box and a pushbutton. I'm trying to pass parameter(DOKNR/'CV1') into the new transaction and skip the first selection-screen. I tried to use Get/Set parameter and that didn't work.
Also i tried to passing values with batch input and that did pass my values but without skipping the first screen and also it froze the transaction.
Is there anything I can do to fix this problem?Hi Gershon Osmolovski,
Alvaro is right, CV04N needs to press Execute button. So you need to use Batch Input. If it doesn't work, there must be an error in your code, what messages are returned by SAP? I have tested right now, SAP leaves immediately after the selection screen because there is a code that stops the program if it detects it runs using batch input (SY-BINPT system field). So, you should run CALL TRANSACTION with OPTIONS FROM structured data object (data type CTU_PARAMS, see ABAP documentation for more information), with component NOBINPT='X'. Be careful as an ALV grid is then displayed, you can only simulate the buttons so I advise you to indicate the exaction selection in the selection screen, then press "select all", and execute the function you want.
If you need more help, paste your code, only useful part.
BR
Sandra -
Can't pass parameter from HTML form of multipart/form-dta type to JSP
I am using request.getParameter(passed variable name) to pass data from HTML form to JSP with no problem. WHen I try to pass data from HTML form of multipart/form-dta type to JSP as following:
< form enctype="multipart/form-data" name="theForm" method="post" ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/ifs-cts/stringsecond.jsp">
The passed value is null. Why?
How can I pass data successfully from this form to JSP?
How can I pass data from JavaScript to JSP?
Thank youI am using request.getParameter(passed variable name)
to pass data from HTML form to JSP with no problem.
WHen I try to pass data from HTML form of
multipart/form-dta type to JSP as following:
< form enctype="multipart/form-data" name="theForm"
method="post"
ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/if
-cts/stringsecond.jsp">
The passed value is null. Why?because the jsp most likely does not handling of POST parameters like this.
How can I pass data successfully from this form to
JSP?jsp's are not meant to read such amounts of data. this (= uploading) is a typical task for a specialized servlet. there you have full control over input and output. if you need to, you can still forward to a jsp after processing in the servlet.
How can I pass data from JavaScript to JSP???? i'm not sure what exactly you mean. normally you put it into an url and submit it.
robert -
How can i pass parameter values from html to a shell script
Hi Guys...
I had a requirement where i need to execute a sql statement and print the output in HTML page. This report has parameters to enter. So i created a HTML form which accepts parameters. When the submit button is pressed, the action tag in the form invokes unix shell script file. It will open sqlplus and run the sql script file .sql and print the output in the HTML page.
sql script contains the query and some set options which prints the output in HTML page. Like "SET MARKUP HTML ON"... The query has some parameters like "select * from emp where empno = &&empnumber. I will use the same name "empnumber" while created the HTML parameter form like " <input type = "text" name="empnumber" size="10" align="left">.
user sees this parameter form and enters some value in to that empno text box.
My question is how can i catch these parameter values in a shell script and pass it to the sql script to execute it.
Help Appreciated
ThanxThis is a A Bad Idea (tm). This type of CGI processing is old and were (and still is) full of security holes. Very easy to inject stuff (Unix commands and SQL) into it.. To get those parameters into SQL*Plus requires using Unix shell commands to process it - and something like a backquote allows all kinds of nasty stuff to be injected. The Unix shell was never designed to be used as a secure CGI environment.
There are far better and far superior alternatives. Perl (with Perl_DBI) and PHP (using Zend Core for Oracle) come to mind as web scripting languages.
Even easier is using HTMLDB. Very few moving parts. Is free. Supports Oracle 9.2 and 10G. -
How can I pass parameter value into first form?
hello all
I have one form called logon.fmx
I have parameter in that form called "common_home".
when I run that form browser I need to trasfer the value for parameter "common_home".
how can I do this?
From
Chirag PatelHi all
1) I am used to config='myconfig' in my application to run the application from browser.
2) in formsweb.cfg I have add one more parameter like as follows
otherparams=common_home=c:\chirag\erp
3) you can add n number of user defined parameter here.
it is working fine.
From
Chirag Patel -
Combing jstl/xml tags with jsf - can't pass parameter
I'm using the jstl/xml tags to parse portions of an xml document. For some value of an attribute I want to render a search link, many of these links may be rendered on a page and I need to track which one has actually been selected using the id of the generating xml element.
This is what I've tried, both using h:commandLink and a f:param and t:commandLink (tomahawk) and a t:updateActionListener.
It doesn't seem to be possible to expose the resolved value of the xpath ="@id" in any way that either the tomahawk or core jsf tags can see.
<x:when select="$control[@type='SEARCH']">
<input type="text" id='<x:out select="@id"/>' disabled="true">
<x:set var="selectedId" select="@id"/>
<h:commandLink action="#{pack.search}" value="#{msg['actionPack.label.search']}" styleClass="linkNoUnderline">
<f:param value="${selectedID}" name="selectedID"/>
</h:commandLink>
<%--<t:commandLink action="#{pack.search}" value="#{msg['actionPack.label.search']}" styleClass="linkNoUnderline">
<t:updateActionListener property="#{pack.searchingId}" value="${searchId}"/>
</t:commandLink>--%>
</x:when>The JSF and JSTL tags don't really play well together.
Particularly conditional and looping tags.
My suggestion would be - if you're using JSF, don't use JSTL.
You are right in that the JSF tags don't bother with the xpath expression.
Would it be possible to shift the xml logic into an action/bean somewhere, and just present the jsp page with a list of relevant objects?
If I understand you are trying to determine which link was clicked on a page? In the JSF action "pack.search"?
What method of iterating are you using? an x:forEachLoop? A datatable? -
CommandButton can't pass parameter?
Hi guys,
I was trying the following code on page1.jsp:
<h:commandButton action="submit" id="searchButton">
<f:param name="zipcode" value="#{catalogBean.productid}"/>
</h:commandButton>
but what I got for the next page (page2.jsp) was null with
<c:out value="${param.productid}"/>
pls help !! thanks !!So how to make the commandLink look link button? any
sample css file?.button {
width: 75;
.focusButton {
width: 75;
border: thin solid #FF6600;
That just start.
Vladimir -
How can i pass parameter from a JSP form (depends on what user chooses from a select box to a Servlet.
I need to call multiple query based on what parameter choosen and display the result in table view.
Example :
1. User select choice1 from JSP form -> Servlet : call query Select * from Table1 where cond = choice1;
2. User select choice2 from JSP form -> Servlet : call query Select * from Table1 where cond = choice2;
Any sample code?
Thanks for any help.Thanks melondck.
I have this Servlet which i want it to run queries and display results in table format. I know there's something wrong with the code. But i am new to Servlet/Java. Thanks for anyone who point me the mistakes. Thanks.
<code>
package mypackage;
import java.sql.*;
import javax.servlet.http.*;
import java.io.*;
import javax.servlet.*;
public class DisplayServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse rsp)
throws ServletException, IOException {
rsp.setContentType("text/html");
String url="jdbc:mysql://localhost/smdb";
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
String query;
ServletOutputStream out = rsp.getOutputStream();
PrintWriter out1 = rsp.getWriter();
String answer = req.getParameter("answer");
out1.println("<html>");
out1.println("<head><title> Inventory: </title></head>");
out1.println("<body>");
if (answer == null) {
StringBuffer action = HttpUtils.getRequestURL(req);
out1.println("<form action=\"" + action + "\" method=\"POST\">\n");
out1.println("<p><b>Please select:</b></p>");
out1.println("<p><input type=\"radio\" name=\"answer\" " +
"value=\"A\" /> Display All <br />");
out1.println(" <input type=\"radio\" name=\"answer\" " +
"value=\"B\" /> Device <br />");
out1.println(" <input type=\"radio\" name=\"answer\" " +
"value=\"C\" /> Manufacturer <br />");
out1.println(" <input type=\"radio\" name=\"answer\" " +
"value=\"D\" /> Location <br />");
out1.println(" <input type=\"submit\" value=\"Submit\" /></p>");
out1.println("</form>");
} else {
try {
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection (url, "user", "mypass");
stmt = con.createStatement();
if (answer.equals("A")) {
query = "SELECT Device, LocFloor FROM Inventory";
esleif (answer.equals("B)) {
query = "SELECT Device, LocFloor FROM Inventory where ....";
ResultSet result = stmt.executeQuery(query);
//Display the result set in a HTML table
out.println("<HTML><HEAD><TITLE>List</TITLE></HEAD>");
out.println("<BODY>");
out.println("<FORM NAME='form' ");
out.println("METHOD='GET'><TABLE BORDER='1' CELLSPACING='2' CELLPADDING='2'>");
out.println("<TR><TH></TH><TH>Device Type</TH><TH>Floor</TH></TR>");
while(result.next()) {
String type = result.getString("Device");
String flr = result.getString("LocFloor");
out.println("<TD>" + type + "</TD>");
out.println("<TD>" + flr + "</TD>");
catch(ClassNotFoundException e) {
out.println("Could not load database driver: " + e.getMessage());
catch(SQLException e) {
out.println("SQLException caught: " + e.getMessage());
finally {
//close the database connection.
try {
if (con != null) con.close();
catch (SQLException e) {}
out.println("</body></html>");
</code> -
Pass parameter jspx page to portlet
Hello guys, i have one question about portlet. Curently i have 2 application, 1 weblogic portal application and 1 portlet producer application. Both project was successfully setup. I already put 1 portlet created in the portlet producer into 1 page in the weblogic portal application. The problem is, how can i pass parameter from weblogic portal page (which i call the portlet) to the portlet. Thank you
Which type of portlet you are using jsr 168 /286 or oracle pdk or others ?
Why do you need to pass parameters from portal page to portlet ?
You can very well use taskflow to achieve the same thing in a much easier way that portlet way.
If you are using jsr 286 portlet then you have to try with WSRP Soap call to get the required parameter. but I am not sure on how to achieve the final goal.
Regards,
Hoque -
Pass parameter to portlet from jspx page
Hello guys, i have one question about portlet. Curently i have 2 application, 1 weblogic portal application and 1 portlet producer application. Both project was successfully setup. I already put 1 portlet created in the portlet producer into 1 page in the weblogic portal application. The problem is, how can i pass parameter from weblogic portal page (which i call the portlet) to the portlet. Thank you
Hi,
worth checking the WebCenter forum as both products seem to belong there: WebCenter Portal
Frank -
Unable to pass parameter in oracle procedure through unix shell script
Hi Experts,
I have oracle procedure where in I have to pass the value of procedure parameter through unix script.
Follwoing is the sample procedure which i tried to exceute from the unix.
Procedure:
create or replace procedure OWNER.PRC_TESTING_OWNER(OWNER IN VARCHAR2) AS
sql_stmt varchar2(1000) := NULL;
v_count number := 0;
v_owner varchar2(100) := owner;
begin
sql_stmt:='select count(1) from '||v_owner||'.EMP@infodb where rownum<=10';
execute immediate sql_stmt into v_count;
DBMS_OUTPUT.PUT_LINE(sql_stmt);
DBMS_OUTPUT.PUT_LINE(v_count);
END;The script which I used is:
Unix
#!/bin/ksh
parm=$1
echo start
sqlplus -s scott@DEV/tiger <<EOF >>result_1.txt
set serveroutput on;
select '$parm' from dual;
exec owner.PRC_TESTING_OWNER('$parm');
EOFThe script is working fine that is i am able to pass to parameter value through unix shell script. :)
But if I want to pass the value of the owner in cursor , I am unable to pass this value through unix.
Following the procedure which i am trying to implement.
create or replace procedure OWNER.PRC_TESTING_OWNER(OWNER IN VARCHAR2) IS
v_owner varchar2(100) := owner;
CURSOR main_cur IS
select
i.ROWID rid ,
emp_name,
deptid
from v_owner.employee;
CURSOR subset_cur(c_deptid NUMBER ) IS
SELECT *
FROM v_owner.DEPT d
where d.dept_id=c_deptid;
--##main loop
FOR i IN main_cur LOOP
FOR j IN subset_cur(i.deptid) LOOP
BEGIN
insert into v_owner.RESULT_TABLE
END;
END LOOP;
END LOOP;How can i pass parameter value of the stored procedure through unix script(that is "owner" in this case), when these parameter value is
used in cursor? :(
Can anybody help me regarding the same?
Thanks in Advance !! :DIt's not the parameter in the cursor that is the problem, it's that you are trying to use static SQL for something that won't be known until run time (the owner of the table).
You would need to use something like ...
declare
l_owner varchar2(30) := 'SCOTT';
l_ref_cursor sys_refcursor;
type l_ename_tab is table of scott.emp.ename%type;
l_ename_array l_ename_tab;
begin
open l_ref_cursor for
'select ename
from ' || l_owner || '.emp';
loop
fetch l_ref_cursor bulk collect into l_ename_array limit 10;
exit when l_ename_array.COUNT = 0;
for x in 1 .. l_ename_array.count
loop
dbms_output.put_line(l_ename_array(x));
end loop;
end loop;
close l_ref_cursor;
end;
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
SCOTT
KING
TURNER
ADAMS
JAMES
FORD
MILLER
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
Maybe you are looking for
-
WebDAV: delete or rename of a folder doesn't work in XP clients
Hello! I provide file sharing via WebDAV to some Windows XP clients. The clients can create files and folders, but they can't rename folders (renaming files does work). When I mount the WebDAV-Folder in MacOS, renaming folders does work perfectly. I
-
Need help in fetching data - 0CALDAY and 0FISCPER
Hi BW Gurus, Have a doubt in creating a query in a multi provider.. The multi provider has three cubes. Two of them have data at Calday level, while another has data at fiscper level.. fiscper is not maintained in the cubes having data at calday leve
-
Link to oracle database10g from visio 2007 have error
Hi i have : 1-microsoft windows xp profecional 2002 sp3 2-microsoft office visio 2007 3-odbc datasource adimistrator 3.5 4- microsoft odbc for oracle 2.5 5-oracle database10g i create a dsn with odbc for oracle and try to connect to oracle db in visi
-
Raise exception but not stop running procedure
My PL/SQL bloc is made of a while loop and an exception section. The exception would happend during one lap. I would like to handle the exception and then continue with the next lap. How can i prevent the procedure from just stopping after i raise an
-
Problems reading RAW format after update 6.03
I have problems reading RAW format images into Iphoto 9.6 after update 6.03 or maybe earlier updates (have not imported for a few months). The images show up like half, black or partly distorted. I use a Canon 5D mk2 camera. The images looks okey whe