DisplayTag - sending parameters
Hi guys.
I�m trying to send two parameters to another jsp by a link in my display:table but Im getting the following error:
[LookupUtil] Exception: [.LookupUtil] Error looking up property "id,nome" in object type "com.reveng.Client". Cause: Unknown property 'id,nome'
java.lang.NoSuchMethodException: Unknown property 'id,nome'
here the code:
<ww:set name="list" value="listCostumers" scope="request"/>
<display:table name="lista" requestURI="myAction.action" export="true">
<display:column property="id" title="Id" paramId="id,name" paramProperty="id,name" href = "Edit.action"/>
<display:column property="name" title="Name" paramId="id,name" paramProperty="id,name" href = "Edit.action"/>
</display:table>
Can I send two parameters in my property name?
If I can't, how could I catch this two parameters (id and name) in my action Edit?
Thanks a lot!
You can tray instead using of & try using &
hope that helps
Similar Messages
-
Sending parameters to reports by using Run_Report_Object
Hi All,
How do I send parameters to report while using Run_Report_Object built-in ?
Thanks in advance.
Regards,
Sanjay Kanakathhello,
there is a builtin for setting the parameters :
from the forms builder online help :
DECLARE
repid REPORT_OBJECT;
report_prop VARCHAR2(20);
BEGIN
repid := find_report_object('report4');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, FILE);
END;
you can use
SET_REPORT_OBJECT_PROPERTY(repid,
REPORT_OTHER,
'deptno=10');
to set the Other Parameters property of the report object.
regards,
philipp -
How to make a link in textflow that send parameters to a function?
How to make a link in textflow that send parameters to a function?
In the examples included with the weekly builds there is a CustomLinkEventHandler.as example. Passing parameters would be done in the CustomClickHandler function. You could attach the parameters to the LinkElement as user styles using the setStyle API.
Hope that helps,
Richard -
URLConnection problems(Sending parameters with URL)
Guys i have some problems with sending parameters through URL using URLConnection class.
That's my code:
URL url = new URL("http://kiosk.homebank.kz:9090/default.asp?action=SaveContact&src=C_HOMEBANK&ClientId="+request.getParameter("ClientId")+
"&IdService="+request.getParameter("IdService")+
"&Contact="+URLEncoder.encode(request.getParameter("Contact"),"utf-8")+
"&Number="+URLEncoder.encode(request.getParameter("Number"),"utf-8")+
"&Work="+URLEncoder.encode(request.getParameter("Work"),"utf-8")+
"&Mobile="+URLEncoder.encode(request.getParameter("Mobile"),"utf-8"));
URLConnection connection = url.openConnection();
connection.setDoInput(true);
connection.setDoOutput(true);I want just send these parameters without going to this link. How can i do it using URLConnection class? Help please!Try using this set method in the URL class (query is the parameters):
protected void set(String protocol,
String host,
int port,
String authority,
String userInfo,
String path,
String query,
String ref) -
Send parameters from java to SSRS 2008 R2
I have java code which has cascading parameters like State and County. If i select State respective county would be displayed in County dropdown. Both will have all option as well. Is there a way to handle it in java? Please let me know
If the report is published in report server then the easiest way is to use URL and display it in an IE browser. We can even send parameters to the URL. Refer
http://msdn.microsoft.com/en-us/library/ms152835.aspx
There is another method that we can access a published report, i.e using
SSRS Web Services.
Otherwise if you are trying to access SSRS report file then you may need to create object or report viewer control(.net framework).
Refer http://msdn.microsoft.com/en-us/library/aa337089.aspx
http://msdn.microsoft.com/en-us/library/ms251671.aspx
Regards, RSingh -
HT1277 somehow I lost all my mail box STMP send parameters and I can't change anything
somehow I lost all my mail box STMP send parameters and I can't change anything in the program to allow me to set my STMP
What happens when you try to change the settiings?
-
Send parameters to Allocation script
Hi experts, I have an "Allocation Script" working well, but now I want to send parameters to "Allocation Script", I looked in this forum and have not found information, I am sending the package setting and the "Allocation Script"
PACKAGE INFO
'DEBUG(ON)
PROMPT(SELECTINPUT,,,"Seleccionar Categoria ",%CATEGORY_DIM%)
TASK(Traslado,USER,%USER%)
TASK(Traslado,APPSET,%APPSET%)
TASK(Traslado,APP,%APP%)
TASK(Traslado,SELECTION,%SELECTIONFILE%)
TASK(Traslado,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\TopDownPremisas.lgx)
TASK(Traslado,RUNMODE,1)
TASK(Traslado,LOGICMODE,1)
ALLOCATE
*RUNALLOCATION
*FACTOR=(1+USING)
*APP WHAT=GASTOSADM; WHERE=<<<; USING=<<<;
*DIM ACCOUNTGASTO WHAT=BAS(706); WHERE=<<<; USING=799Porcentaje
*DIM RPTCURRENCY WHAT=LC; WHERE=<<<; USING=<<<
*DIM DATASRC WHAT=INPUT; WHERE=<<<; USING=<<<
*DIM AGENCIA WHAT=BAS(999); WHERE=<<<; USING=9999
*DIM DEPENDENCIA WHAT=BAS(999); WHERE=<<<; USING=9999
*DIM PLAZA WHAT=9999; WHERE=<<<; USING=9999
*DIM CATEGORY WHAT=%CATEGORY_DIM%; WHERE=ESCENARIO8; USING=ACTUAL
*DIM ENTITY WHAT=BAS(999); WHERE=<<<; USING=1
*DIM TIME WHAT=BAS(2011.TOTAL); WHERE=<<<; USING=2011.JAN
*ENDALLOCATION
I want to is for the category you have choosen is the one that I want to use in the "Allocate Script" but not know how.I followed all the steps, but does not work, I dont know, what I'm doing wrong.
PACKAGE
DEBUG(ON)
PROMPT(TEXT,%CATEGORY_SOURCE%,"Enter SOURCE category",,"ACTUAL,ESCENARIO7")
PROMPT(TEXT,%CATEGORY_TARGET%,"Enter TARGET category",,"ACTUAL,ESCENARIO7")
PROMPT(SELECTINPUT,,,"Seleccionar Categoria",%TIME_DIM%)
TASK(Traslado,FORMULASCRIPT *FUNCTION CAT_SRC=%CATEGORY_SOURCE% *FUNCTION CAT_DESTN=%CATEGORY_TARGET%,)
TASK(Traslado,USER,%USER%)
TASK(Traslado,APPSET,%APPSET%)
TASK(Traslado,APP,%APP%)
TASK(Traslado,SELECTION,%SELECTIONFILE%)
TASK(Traslado,RUNTHELOGIC,FORMULASCRIPT)
TASK(Traslado,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\TopDownPremisas.lgx)
TASK(Traslado,RUNMODE,1)
TASK(Traslado,LOGICMODE,1)
SCRIPTLOGIC
*IGNORE_SECURITY
*XDIM_MEMBERSET CATEGORY=CAT_SRC.INPUT
*XDIM_MEMBERSET CATEGORY=CAT_DESTN.INPUT
*RUNALLOCATION
*FACTOR=1
*APP WHAT=NOMINA; WHERE=<<<; USING=<<<
*DIM ACCOUNTNOM WHAT=[TOPDOWN]="S"; WHERE=<<<; USING=706102Porcentaje
*DIM RPTCURRENCY WHAT=LC; WHERE=<<<; USING=<<<
*DIM DATASRC WHAT=INPUT; WHERE=<<<; USING=<<<
*DIM AGENCIA WHAT=BAS(999); WHERE=<<<; USING=9999
*DIM DEPENDENCIA WHAT=BAS(999); WHERE=<<<; USING=9999
*DIM PLAZA WHAT=9999; WHERE=<<<; USING=9999
*DIM CATEGORY WHAT =CAT_SRC; WHERE =CAT_DESTN; USING = ACTUAL;
*DIM ENTITY WHAT=BAS(999); WHERE=<<<; USING=1
*DIM TIME WHAT=BAS(%TIME_SET%); WHERE=<<<; USING=2011.JAN
*ENDALLOCATION
Please help! -
Sending parameters to Flex executable
Hi,
Is it possible that we can send parameters to Flex executable(s)? By Flex executable I meant, the installed .EXE(for Windows) or .APP(for MacOS), after having them installed through an EXE or DMG created with command prompt.
Thanks.I've seen a discussion with running executable and passing parameters with Runtime.exec from Adobe : http://forums.oracle.com/forums/thread.jspa?threadID=1686479
But will it work for Flex compiled EXE or SWF also, and how can those parameters catch inside (?) -
Probelm in Sending Parameters/Attributes in JSP
I have the following two file and i want to send parameters for index.jsp to middle.jsp and print them. But when i run the files there print "null" value at <%= request.getAttribute("myparameter")%> in midle.jsp.
Index.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>Hi, I am Zaid from Karachi and My hobby is Cricket</h1>
<h1>Whats Your Name, Hobby and where you belong</h1>
<form method="GET" action="middle.jsp">
<input type="text" name="username" size="25">
<input type="text" name="hobby" size="25"><p></p>
<input type="text" name="city" size="25"><p></p>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
<%
request.setAttribute("myparameter", "Passion");
%>
</body>
</html>
middle.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1>Hello World---!</h1>
<%= request.getAttribute("myparameter")%>
<%= request.getParameter("username")%>
</body>
</html>Consider the lifecycle.
You request page "index.jsp" It runs index.jsp and produces html. It sets the request attribute "myparameter"
You request page middle.jsp. It runs middle.jsp.
Note that this progression requires two seperate requests - one for "index.jsp" and then another for "middle.jsp", which sends the request parameters from the form from your browser to middle.jsp.
Request attributes only last the life of one request - so when you request "middle.jsp" the request attribute set when running "index.jsp" is not available.
cheers,
evnafets -
How to send Parameters FORM to PHP WEB Page with method POST (secure)?
Hello everyone,
i hope someone can help me to find a solution to this problem!
i have to send "+precious+" parameters from an oracle form to php page, like username and password, with a secure method... i tried with WEB.SHOW_DOCUMENT procedure but it uses GET Method and when the web page open up you can read those parameters in the url...no good!
some suggestion?
Thank a lot in advance... FMicioThe other way you have is to make a PJC java bean ...
which uses HTTPClient library..
for example:
PostMethod post = new PostMethod("http://jakarata.apache.org/");
NameValuePair[] data = {
new NameValuePair("user", "joe"),
new NameValuePair("password", "bloggs")
post.setRequestBody(data);
// execute method and handle any error responses.
InputStream in = post.getResponseBodyAsStream();
// handle response.I have done a multipart form data post to upload files to my db over httpClient.. and other things...
Or with java.net.* api-s
try {
// Construct data
String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
// Send data
URL url = new URL("http://hostname:80/cgi");
URLConnection conn = url.openConnection();
conn.setDoOutput(true);
OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
wr.write(data);
wr.flush();
// Get the response
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;
while ((line = rd.readLine()) != null) {
// Process line...
wr.close();
rd.close();
} catch (Exception e) {
}Or you can call your web page (post data) from your database
http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
Edited by: Peterv6i on Mar 30, 2012 3:49 PM
Edited by: Peterv6i on Mar 30, 2012 3:55 PM -
One more problem with sending parameters
hi people!
I'm new in JSP, so don't laugh at me if i'm asking for something stupid or obvious.
I have a form in my jsp which contains several input texts. the number of these texts is different according to query results by which this page is generated. Such as:
<jbo:DataSource id="reportBoundVarsVO" whereclause="<%=whereString%>" appid="ServerModule" viewobject="ReportboundvarsView" />
<FORM method="post" action="GeneratedReport.jsp">
<%RowSet boundRows=reportBoundVarsVO.getRowSet();
Row cr;
%>
<%while (boundRows.hasNext()) {
cr=boundRows.next();%>
<%=cr.getAttribute(2).toString()%>
<INPUT TYPE=TEXT SIZE=10><BR>
<%}%>
<P><INPUT TYPE=SUBMIT VALUE="Ok"></P>
Then i need to send values of these texts to next page... But, texts have no NAMES so how can i get parameters in next page? I mean how can I use methods like getParameterValues()?
thanks<INPUT TYPE=TEXT SIZE=10><BR>--------------why not <INPUT TYPE=TEXT NAME =" TextName"SIZE=10><BR> ...in this way each #text# input have same -TextName
<%}%>
<P><INPUT TYPE=SUBMIT VALUE="Ok"></p>
Then i need to send values of these texts to next
page... But, texts have no NAMES so how can i get
parameters in next page? I mean how can I use methods
like getParameterValues()?------then in next page use getParameterValues("TextName") -
Calling VC iView from ext. app. and send parameters back
Hi,
My problem is the following: I have several NON-SAP web-applications which should be able to call a VC iView which has the functionality of searching Business Partners in SAP CRM. After I select one of the found BPs, the selected BP should be passed back to the calling application. Is there a solution how I can realize that with Visual Composer?
Thanks a lot in advance.
TimoThe only chance that I see is by passing values from VC to your external application, if your external application can use URL-parameters. You could run the ext. application in an HTML View control inside a VC application and pass data this way.
How to send data from your external application to VC, I don't know. I can only give you a solution by using Portal eventing.
Mario -
Page navigation and send parameters between different projects (ADF Faces)
Hi,
I am using ADF Faces 11g and have an application which has multiple web projects, I want to navigate between different projects' pages and send form values as parameters. How can i do that?
Thanks
Edited by: user12227999 on 16.Şub.2010 01:43You'll need to use JavaScript to alter the action url on the form element to achieve that, but it's going to be complex and I'm not too positive on the resulting stability in a 11g environment that often need to send XHR to the server. What's your exact use case? It looks like a bad design to me. Normal external call would be using URL parameters, which is consistent to RESTful strategies. What you want to do is a POST to an external application from another which is quite horrible imho, how will you handle session management? Piping the response from the server could be another option.
Regards,
~ Simon -
Hi friends,
I would like to offer an interface in XI to establish a synchronous communication for adapters HTTP or XI.
Would need to run the service in XI from a URL like:
http://host_xi:port_xi/path_xi/service_xi?parameter1=X¶meter2=Y&...
And capture in XI a message with the parameters through a HTTP request to the URL above.
I have seen examples of this, but sending the message in XML format from the client HTTP.
Is it possible to do what I need?
Thanks,
Jose.Hi friends,
I think I already have the solution. To enable communication HTTP and send the parameters by GET method from the sender system, performed as follows:
With a BSP application is able to capture the parameters by GET method.
In a Controller of the BSP is assign the class controller that processes requests HTTP. This class inherits from the controller class CL_BSP_CONTROLLER2.
It reimplement the method DO_REQUEST, and this prepares the URL with the necessary parameters and XML Payload to be sent to Integration Engine of SAP XI.
Thank you all for the help,
Jose.
Edited by: Jose Mª Mudarra Lara on Jun 4, 2008 11:50 AM -
How to send parameters for POST request in AJAX?
hi friends,
I am sunil. I am working on ajax.
My problem is how to send post parameters in AJAX.
For GET request. I am using bleow and it is workin fine.
var url = "GetCurrencyRateController?currid="+CurrId+"&lncurrid="+LnCurrID;
For POST Requert i am sending as
var url = "GetCurrencyRateController";
req.send("currid="+CurrId+",lncurrid="+LnCurrID);
but it is not workingCheck out the Apache HttpClient package and look for how to use the MultipartPostMethod.
Here is some sample code:
HttpClient client = new HttpClient();
MultipartPostMethod filePost = new MultipartPostMethod("http://localhost:8080/MyApp/Push");
filePost.addParameter("subName", sub.subName);
filePost.addParameter("serverName", sub.getServerName());
File file = new File("C:/dataFile.zip");
filePost.addParameter(file.getName(), file);
int code = client.executeMethod(filePost);
Maybe you are looking for
-
Hmm..... New iPad, not been fiddled with in any way. When I use calendar, everything is fine except when I try to view march 2013 in month view, whether by switching to "month" from a march day view, or by moving from another month already in month v
-
Can a subreport select records based on values in the main report record?
Post Author: calvin CA Forum: General Perhaps my understanding of a subreport is incorrect as this is the first time I've used one, but it seems to me that the subreport should be able to use the values from the main report record in its (the subrepo
-
IDVD and Toast-anyone else had this problem?
I apologize for the long post, but it is necessary to explain the situation. I have made 4 projects in iDVD6, 2 SL, 2 DL with no problems. I edit in imovie, send to idvd, then make images which I burn with toast (though I know it is not recommended f
-
hi, if i take backup by rman nocatalog ,where it cud be problematic if take backup in nocatalog & wt should i do to resolve them. thxs
-
Hi, I've an SQL query in reports which i use to retrieve records.I'm using 6i forms and reports I'm getting error when i retrieve error in reports when i try press Query builder button QUERY BUILDER DOES NOT SUPPORT LEXICAL PARAMETER select initcap(t