Displaying Record in UWL
Hi,
I am working on UWL using MDM Workflows.
In MDM, when a workflow is triggered it represents a single record...so when we click on the workflow tab in DM we see a particular record related to that WF.
Now, when we configure UWL, is it possible that in portal too the corresponding task just refers to that particular record??
Here i am getting the task, but what should i do so that when i click that task, an iview opens which contains just the details of that particular record??
Is it possible through some settings in the xml file or do i have to go for customized iviews??
Please help me out with this. Useful answers will be surely rewarded.
Regards,
Becky.
Hi,
I had already set the "Display Item Preview" as "Yes".
But still the problem exists that when we click on the name of the task it opens a new page with the same content.
Is there any way to avoid it..as the same content is displayed on the page already??
Same is the case with "Show Record Details" button.
How can we avoid both??
And there is also another problem that i am facing. In my Item Details iView i have to set an Input Field of type Pull Down. On preview its displaying the content properly but when the user logs in and uses the ivew that particular field is giving a Portal Runtime Error.
What can be the reason for this??
Regards,
Becky.
Similar Messages
-
Filter on a Report to display records only from last 12 months
Hi Folks,
I have a requirement where I have to display Records for last 12 months. Following is the Filter that I am using
Opportunity."Close Date" >= TIMESTAMPADD(SQL_TSI_MONTH, 0, TIMESTAMPADD(SQL_TSI_DAY, -(DAY(CURRENT_DATE)-1), CURRENT_DATE)) AND Opportunity."Close Date" <= TIMESTAMPADD(SQL_TSI_MONTH, 12, TIMESTAMPADD(SQL_TSI_DAY, -(DAY(CURRENT_DATE)), CURRENT_DATE))
But this is showing me records for next 12 months.
How can I solve this Issue??
Thanks and Regards,
Amit KoulDinesh,
The filter that you suggested works for last 365days, if you try to create a simple report with just Date field in it, you will come to know the difference.
Using the filter suggested by you it will show me records from 27th Jan 2008 since today the date is 27th Jan 2009.
I want it to filter records for last 12 months including Jan 2009.(so the interval comes to be Feb 2008 to Jan 2009)
Hope I made sense!!
Thanks and Regards,
Amit koul
Edited by: Amit Koul on Jan 27, 2009 7:27 PM -
How can I display records quickly in order, using set_block_property
Hi all,
I want to display records in order when I click on button corresponding to that filed.I'm getting result by using set_block_property..but it is displaying records slowly,if number of records are more then it's taking more time to sort the records.
I have written the following code in when-button-pressed trigger:
begin
if get_block_property('block_name',default_where) = 'column_name ASC' then
set_block_property('block_name', default_where,'column_name DESC');
else
set_block_property('block_name',default_where, 'column_name ASC');
end if;
end;
How can I get the result quickly can anyone please give me an idea to solve this.
Thanks in advance.Hi user;
I want to display records in order when I click on button corresponding to that filed.I'm getting result by using set_block_property..but it is displaying records slowly,if number of records are more then it's taking more time to sort the records.
I have written the following code in when-button-pressed trigger:
begin
if get_block_property('block_name',default_where) = 'column_name ASC' then
set_block_property('block_name', default_where,'column_name DESC');
else
set_block_property('block_name',default_where, 'column_name ASC');
end if;
end;
How can I get the result quickly can anyone please give me an idea to solve this.Did you try to use index for related column? Also did you try to use order_by instead of default_where
If its not help, I also suggest post your issue on :Forum Home » Developer Tools » Forms
Hope it helps
Regard
Helios -
Display records according month
hi all.
i want to display records according months.
i created view something like this.
create or replace view month_timer (item1, amount,item_date) as
select item1,sum(amount),item_date
from table
where trunc(item_date) between to_date('01-jan-2010') and trunc(sysdate)
AND item_TYPE!=4
group by item1,item_date
ORDER BY item_dateany suggestions?
sarahcreate or replace view month_timer (item1, amount,item_date) as here in this statement you are using item1 and only tree columns.
select pcd_plt_id,pcd_cbr_id ,sum(amount),item_date And here in this statement there are four columns. So which column is for item1
group by item1,item_dateHere you can use only selected columns in group by. But you are using item1 which you used above for view.
And in select there are three columns without aggregate function. And you are using only two here.
If you could post the table data and desired output. Then it will be easier to find better way.
-Ammad -
Hi,
I've been wanting to make videos and tutorials on how to use some of Apple's apps, and also some games on my iPod touch (5th gen), and I've seen loads of videos taken from iOS within an app. I don't want to jailbreak my iPod, so that means that the display recorder by Cydia is off the list. Are there any screen recorders for iPod that have unlimited filming, and will let me access filmed videos so I can post them to YouTube?
Thanks!
SnappingScroll2Use Reflector:
http://www.airsquirrels.com/reflector/
to display the iPod on your computer's screen. You can then use screen capture software to make a recording of your actions. No need to jailbreak.
Regards. -
How to display records into a non table base block..
Hi,
Can anybody help me how to display records into a non table base block....
Find below is my coding but it only display the last record in the first line
in the block.
PROCEDURE CREATE_CARTON_QUESTION IS
CURSOR car_c IS
select /*+ rule */ question_id, question_description
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
v_found VARCHAR2(10);
v_status boolean;
v_error varchar2(150);
v_count number;
car_r car_c%rowtype;
begin
begin
select count(*) into v_count
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
exception
when no_data_found then
v_count := 0;
end;
if v_count > 0 then
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
end loop;
end if;
end;
Thanks in advance.
Regards,
JunHi SNatapov,
Thanks for you reply but still I get this error...
FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
Find below is the code....
begin
go_block('la_carton');
first_record;
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
next_record;
end loop;
end;
Hoping you can help me this problem...
Thanks in advance.
Regards,
Jun -
Jsp, servlet & bean: trying to display records in a jsp
Hello i'm trying to display records from my MYSQL database into particular fields allready designed in a jsp. Via servlets and beans i want the records in a jsp.
I can get the resultset of the record, but can't get the resultset in de fields of the jsp.
Here are my files:
SERVLET
package ...;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
public class Zoekklantactie extends HttpServlet {
ZoekklantBean ZoekklantBean = new ZoekklantBean();
ZoekklantactieBean ZoekklantactieBean = new ZoekklantactieBean();
DbBean db = new DbBean();
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
verwerk(request, response);
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
verwerk(request, response);
public void verwerk(HttpServletRequest request, HttpServletResponse response) throws IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
String hachternaam = request.getParameter("hachternaam");
String zoekklantnieuw = "SELECT hachternaam FROM klantgegevens WHERE hachternaam = ";
String zoekklantnieuw2 = zoekklantnieuw + " '"+hachternaam+"' ";
ResultSet rs = null;
// out.println("debug 1<br>");
/* try {
// Statement s;
db.connect();
// s = db.getS();
rs = db.execSQL("SELECT hachternaam FROM klantgegevens WHERE hachternaam = 'Opgelder'");
// out.println(rs.getString(1)+"hoi");
while (rs.next()) {
// retrieve and print the values for the current row
// out.println("debug1a --> "+rs.toString()+"<br>");
String str = rs.getString(1);
// out.println("ROW = " + str );
} catch (SQLException e) {
// TODO Auto-generated catch block
// out.println("debug2 <br>"+e.toString());
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
// out.println("debug3 <br>");
e.printStackTrace();
/* ResultSet rs = null;
out.println("debug 1<br>");
try {
// Statement s;
db.connect();
// s = db.getS();
rs = db.execSQL("select * from klantgegevens where hachternaam = 'Opgelder'");
// out.println(rs.getString(1)+"hoi");
while (rs.next()) {
rs.first();
// retrieve and print the values for the current row
out.println("debug1a<br>");
String str = rs.getString(1);
System.out.println("ROW = " + str );
rs = (ResultSet) db.execSQL(zoekklantnieuw2);
out.print(rs.getString("hwoonplaats"));
out.print(zoekklantnieuw2);
} catch (SQLException e) {
// TODO Auto-generated catch block
out.println("debug2 <br>"+e.toString());
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
out.println("debug3 <br>");
e.printStackTrace();
if( hachternaam == "" ){
request.setAttribute("jesper",ZoekklantBean);
// Get dispatcher with a relative URL
RequestDispatcher dis = request.getRequestDispatcher("Zoekklant.jsp");
// include
try {
dis.include(request, response);
} catch (ServletException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
// or forward
try {
dis.forward(request, response);
} catch (ServletException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
else{
try {
// Statement s;
db.connect();
// s = db.getS();
rs = db.execSQL(zoekklantnieuw2.toString());
// out.println(rs.getString(1)+"hoi");
while (rs.next()) {
// retrieve and print the values for the current row
// out.println("debug1a --> "+rs.toString()+"<br>");
String str = rs.getString(1);
// out.println("ROW = " + str );
// out.print(rs);
} catch (SQLException e) {
// TODO Auto-generated catch block
// out.println("debug2 <br>"+e.toString());
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
// out.println("debug3 <br>");
e.printStackTrace();
request.setAttribute("jesper",ZoekklantactieBean);
// Get dispatcher with a relative URL
RequestDispatcher dis = request.getRequestDispatcher("Zoekresultaatklant.jsp");
// include
try {
dis.include(request, response);
} catch (ServletException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
// or forward
try {
dis.forward(request, response);
} catch (ServletException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
BEAN
package ...;
public class ZoekklantactieBean {
private String hachternaam;
private String hvoorletters;
private String hgeslachtMan;
private String hgeslachtVrouw;
private String hgeboortePlaats;
private String hgeboorteDatum;
private String hnationaliteit;
private String hsofinummer;
private String hadres;
private String hwoonplaats;
private String hpostcode;
private String htelefoonnummerPrive;
private String htelefoonnummerMobiel;
private String htelefoonnummerWerk;
private String hemail;
private String hburgelijkeStaat;
private String hallimentatie;
private String hrestduurAllimentatie;
private Boolean hbetreftOversluiting;
private String pachternaam;
private String pvoorletters;
private String pgeslachtMan;
private String pgeslachtVrouw;
private String pgeboortePlaats;
private String pgeboorteDatum;
private String pnationaliteit;
private String psofinummer;
private String padres;
private String pwoonplaats;
private String ppostcode;
private String ptelefoonnummerPrive;
private String ptelefoonnummerMobiel;
private String ptelefoonnummerWerk;
private String pemail;
private String pburgelijkeStaat;
private String pallimentatie;
private String prestduurAllimentatie;
private Boolean poversluiting;
public void setHachternaam( String name )
hachternaam = name;
public String getHachternaam()
return hachternaam;
public void setHvoorletters( String name )
hvoorletters = name;
public String getHvoorletters()
return hvoorletters;
public void setHgeslachtMan( String gender )
hgeslachtMan = gender;
public String getHgeslachtMan()
return hgeslachtMan;
public void setHgeslachtVrouw( String gender )
hgeslachtVrouw = gender;
public String getHgeslachtVrouw()
return hgeslachtVrouw;
public void setHgeboortePlaats( String name )
hgeboortePlaats = name;
public String getHgeboortePlaats()
return hgeboortePlaats;
public void setHgeboorteDatum( String date )
hgeboorteDatum = date;
public String getHgeboorteDatum()
return hgeboorteDatum;
public void setHnationaliteit( String name )
hnationaliteit = name;
public String getHnationaliteit()
return hnationaliteit;
public void setHsofinummer( String number )
hsofinummer = number;
public String getHsofinummer()
return hsofinummer;
public void setHadres( String name )
hadres = name;
public String getHadres()
return hadres;
public void setHwoonplaats( String name )
hwoonplaats = name;
public String getHwoonplaats()
return hwoonplaats;
public void setHpostcode( String name )
hpostcode = name;
public String getHpostcode()
return hpostcode;
public void setHtelefoonnummerPrive( String number )
htelefoonnummerPrive = number;
public String getHtelefoonnummerPrive()
return htelefoonnummerPrive;
public void setHtelefoonnummerMobiel( String number )
htelefoonnummerMobiel = number;
public String getHtelefoonnummerMobiel()
return htelefoonnummerMobiel;
public void setHtelefoonnummerWerk( String number )
htelefoonnummerWerk = number;
public String getHtelefoonnummerWerk()
return htelefoonnummerWerk;
public void setHemail( String adress )
hemail = adress;
public String getHemail()
return hemail;
public void setHburgelijkeStaat( String name )
hburgelijkeStaat = name;
public String getHburgelijkeStaat()
return hburgelijkeStaat;
public void setHallimentatie( String number )
hallimentatie = number;
public String getHallimentatie()
return hallimentatie;
public void setHrestduurAllimentatie( String number )
hrestduurAllimentatie = number;
public String getHrestduurAllimentatie()
return hrestduurAllimentatie;
public void setHbetreftOversluiting( Boolean choise )
hbetreftOversluiting = choise;
public Boolean getHbetreftOversluiting()
return hbetreftOversluiting;
public void setPachternaam( String name )
pachternaam = name;
public String getPachternaam()
return pachternaam;
public void setPvoorletters( String name )
pvoorletters = name;
public String getPvoorletters()
return pvoorletters;
public void setPgeslachtMan( String gender )
pgeslachtMan = gender;
public String getPgeslachtMan()
return pgeslachtMan;
public void setPgeslachtVrouw( String gender )
pgeslachtVrouw = gender;
public String getPgeslachtVrouw()
return pgeslachtVrouw;
public void setPgeboortePlaats( String name )
pgeboortePlaats = name;
public String getPgeboortePlaats()
return pgeboortePlaats;
public void setPgeboorteDatum( String date )
pgeboorteDatum = date;
public String getPgeboorteDatum()
return pgeboorteDatum;
public void setPnationaliteit( String name )
pnationaliteit = name;
public String getPnationaliteit()
return pnationaliteit;
public void setPsofinummer( String number )
psofinummer = number;
public String getPsofinummer()
return psofinummer;
public void setPadres( String name )
padres = name;
public String getPadres()
return padres;
public void setPwoonplaats( String name )
pwoonplaats = name;
public String getPwoonplaats()
return pwoonplaats;
public void setPpostcode( String name )
ppostcode = name;
public String getPpostcode()
return ppostcode;
public void setPtelefoonnummerPrive( String number )
ptelefoonnummerPrive = number;
public String getPtelefoonnummerPrive()
return ptelefoonnummerPrive;
public void setPtelefoonnummerMobiel( String number )
ptelefoonnummerMobiel = number;
public String getPtelefoonnummerMobiel()
return ptelefoonnummerMobiel;
public void setPtelefoonnummerWerk( String number )
ptelefoonnummerWerk = number;
public String getPtelefoonnummerWerk()
return ptelefoonnummerWerk;
public void setPemail( String adress )
pemail = adress;
public String getPemail()
return pemail;
public void setPburgelijkeStaat( String name )
pburgelijkeStaat = name;
public String getPburgelijkeStaat()
return pburgelijkeStaat;
public void setPallimentatie( String number )
pallimentatie = number;
public String getPallimentatie()
return pallimentatie;
public void setPrestduurAllimentatie( String number )
prestduurAllimentatie = number;
public String getPrestduurAllimentatie()
return prestduurAllimentatie;
public void setPoversluiting( Boolean choise )
poversluiting = choise;
public Boolean getPoversluiting()
return poversluiting;
JSP
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="ErrorPage.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:useBean id = "db" scope = "request" class = "jesper.DbBean" />
<jsp:useBean id = "ZoekklantactieBean" scope = "request" class = "jesper.ZoekklantactieBean" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Klantinvoer</title>
<style type="text/css">
<!--
.style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; }
-->
</style></head>
<body>
<form id="Zoekklantactie" name="Zoekklantactie" method="post" action="Zoekklantactie">
<table width="71%" height="447" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%"><span class="style1">Zoek klant </span></td>
<td width="20%"><select name="select">
<option>H. Patat</option>
<option>B. Opgelder</option>
<option>Y. de Koning</option>
</select> </td>
<td width="8%"> </td>
<td width="18%"> </td>
<td width="20%"> </td>
<td width="14%"> </td>
</tr>
<tr>
<td><span class="style3">Hoofdaanvrager</span></td>
<td> </td>
<td> </td>
<td><span class="style3">Partner</span></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Naam</span></td>
<td><input type="text" name="hachternaam" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hachternaam" />"/></td>
<td> </td>
<td><span class="style1">Naam</span></td>
<td><input type="text" name="pachternaam" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="pachternaam" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Voorletters</span></td>
<td><input type="text" name="hvoorletters" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hvoorletters" />"/></td>
<td> </td>
<td><span class="style1">Voorletters</span></td>
<td><input type="text" name="pvoorletters" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="pvoorletters" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Geslacht</span></td>
<td><span class="style1">
<label>
<input name="hgeslachtMan" type="radio" value="<jsp:getProperty name ="ZoekklantactieBean" property ="hgeslachtMan"/>Man" />
Man
<input name="hgeslachtMan" type="radio" value="<jsp:getProperty name ="ZoekklantactieBean" property ="hgeslachtVrouw"/>Vrouw" />
Vrouw </label>
</span></td>
<td><span class="style1"></span></td>
<td><span class="style1">Geslacht</span></td>
<td><span class="style1">
<label>
<input name="pgeslachtMan" type="radio" value="<jsp:getProperty name ="ZoekklantactieBean" property ="pgeslachtMan" />Man" />
Man
<input name="pgeslachtMan" type="radio" value="<jsp:getProperty name ="ZoekklantactieBean" property ="pgeslachtVrouw" />Vrouw" />
Vrouw </label></span></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Geboortedatum</span></td>
<td><input type="text" name="hgeboorteDatum" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hgeboorteDatum" />"/></td>
<td> </td>
<td><span class="style1">Geboortedatum</span></td>
<td><input type="text" name="pgeboorteDatum" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="pgeboorteDatum" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Geboorteplaats</span></td>
<td><input type="text" name="hgeboortePlaats" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hgeboortePlaats" />"/></td>
<td> </td>
<td><span class="style1">Geboorteplaats
</span></td>
<td><span class="style1">
<input type="text" name="pgeboortePlaats" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="pgeboortePlaats" />"/>
</span></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Nationaliteit</span></td>
<td><input type="text" name="hnationaliteit" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hnationaliteit" />"/></td>
<td> </td>
<td><span class="style1">Nationaliteit</span></td>
<td><input type="text" name="pnationaliteit" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="pnationaliteit" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Sofinummer</span></td>
<td><input type="text" name="hsofinummer" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hsofinummer" />"/></td>
<td> </td>
<td><span class="style1">Sofinummer</span></td>
<td><input type="text" name="psofinummer" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="psofinummer" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Postcode</span></td>
<td><input type="text" name="hpostcode" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hpostcode" />"/></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Adres</span></td>
<td><input type="text" name="hadres" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hadres" />"/></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Woonplaats</span></td>
<td><input type="text" name="hwoonplaats" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hwoonplaats" />"/></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Telefoon prive</span></td>
<td><span class="style1">
<input type="text" name="htelefoonnummerPrive" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="htelefoonnummerPrive" />"/></span></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Telefoon mobiel </span></td>
<td><span class="style1">
<input type="text" name="htelefoonnummerMobiel" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="htelefoonnummerMobiel" />"/></span></td>
<td> </td>
<td><span class="style1">Telefoon mobiel</span></td>
<td><span class="style1">
<input type="text" name="ptelefoonnummerMobiel" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="ptelefoonnummerMobiel" />"/></span></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Telefoon werk </span></td>
<td><span class="style1">
<input type="text" name="htelefoonnummerWerk" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="htelefoonnummerWerk" />"/></span></td>
<td> </td>
<td><span class="style1">Telefoon werk</span></td>
<td><span class="style1">
<input type="text" name="ptelefoonnummerWerk" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="ptelefoonnummerWerk" />"/></span></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style1">E-mail</span></td>
<td><input type="text" name="hemail" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hemail" />"/></td>
<td> </td>
<td><span class="style1">E-mail</span></td>
<td><input type="text" name="pemail" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="pemail" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Burgelijke staat </span></td>
<td><select name="hburgelijkeStaat" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hburgelijkeStaat" />">
<option selected="selected">gehuwd</option>
<option>ongehuwd</option>
<option>gescheiden</option>
</select> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Allimentatie</span></td>
<td><input type="text" name="hallimentatie" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hallimentatie" />"/></td>
<td> </td>
<td><span class="style1">Allimentatie</span></td>
<td><input type="text" name="pallimentatie" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="pallimentatie" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Restduur allimentatie </span></td>
<td><input type="text" name="hrestduurAllimentatie" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hrestduurAllimentatie" />"/></td>
<td> </td>
<td><span class="style1">Restduur allimentatie </span></td>
<td><input type="text" name="prestduurAllimentatie" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="prestduurAllimentatie" />"/></td>
<td> </td>
</tr>
<tr>
<td><span class="style1">Betreft een oversluiting? </span></td>
<td><input type="checkbox" name="hbetreftOversluiting" value ="<jsp:getProperty name ="ZoekklantactieBean" property ="hbetreftOversluiting" />Betreft oversluiting" /></td>
<td> </td>
</tr>
</table>
</form>
<form name="Terug" method="post" action="Menu.jsp"><input name="Terug" type="submit" value="Terug naar hoofdmenu" /></form>
</body>
</html>
Package everywhere the same.
Have commented some of the code, because i was trying to debug, but just couldn't figure it out.
Tnx in advance.
gr. bopgelderput your bean in a different package from servlet and include this
package in your servlet like
import yourbeanpackage.yourbean
and then create object of bean and use it -
Getting present display records or Row Id's information in ALV grid?
Hi,
I am using REUSE_ALV_GRID_DISPLAY for ALV display.
I need to get the row id's when user filter the records with any conditions - or any other ways if he selected particular records - I need to process my logic only for those present displaying records in ALV grid.
So How do I can get preset display records in ALV grid or Present display records row id's ?
Please let me know .
And also I am using
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_repid = i_repid
e_grid = lt_grid
In lt_grid there is a table MT_ROID this table is having selected row id's information but I could not read this table. I think this will work only OO ABAP and also method - get_selected_rows is also not working.
I highly appreciate your answers.
Thanks
KevinHallo,
Any ideas?
Thanks. -
Problem in displaying records in multi record block
Hi all,
I have a problem in displaying records in a multi record block in a form.
I have 1 control block and 1 data block(multi-record block).
Control block has one item CUSTOMER-ID. Data block has many other items related to customer.
when a value is entered in customer-id text item, all the relavant details should be displayed in the data block.
but, the records are overlapping in the same line in the data block, actually they have to be displayed one record per one line.
The code is,
IF :CUST_BLOCK.CUST_ID IS NOT NULL THEN
GO_BLOCK('XBSI_CONTRACT_PRICE_FACTORS');
FOR C1 IN C
LOOP
:XBSI_CONTRACT_PRICE_FACTORS.CUST_ID:=c1.site_use_id;
:XBSI_CONTRACT_PRICE_FACTORS.CAT_ID:=c1.ipc_category_id;
:XBSI_CONTRACT_PRICE_FACTORS.MFG_ID:=c1.mfg_category_id;
:XBSI_CONTRACT_PRICE_FACTORS.INVENTORY_ITEM_ID:=c1.inventory_item_id;
:XBSI_CONTRACT_PRICE_FACTORS.PRICE_BASIS:=c1.price_basis;
:XBSI_CONTRACT_PRICE_FACTORS.PRICE_FACTOR:=c1.price_factor;
END LOOP;
Please help me out..
Thanks in advance!
SumanHi Suman
IF :CUST_BLOCK.CUST_ID IS NOT NULL THEN
GO_BLOCK('XBSI_CONTRACT_PRICE_FACTORS');
first_record;
FOR C1 IN C
LOOP
:XBSI_CONTRACT_PRICE_FACTORS.CUST_ID:=c1.site_use_id;
:XBSI_CONTRACT_PRICE_FACTORS.CAT_ID:=c1.ipc_category_id;
:XBSI_CONTRACT_PRICE_FACTORS.MFG_ID:=c1.mfg_category_id;
:XBSI_CONTRACT_PRICE_FACTORS.INVENTORY_ITEM_ID:=c1.inventory_item_id;
:XBSI_CONTRACT_PRICE_FACTORS.PRICE_BASIS:=c1.price_basis;
:XBSI_CONTRACT_PRICE_FACTORS.PRICE_FACTOR:=c1.price_factor;
next_record;
END LOOP;
Try this. you are trying to show all the records in same line. so its overlapping.
Thankyou
[email protected] -
I am completely stuck at this point and need urgent help.
here is what i have done till now:
i have one jsp page called first.jsp which displays records in RowsetBrowser from View Object A.
The attributes are ID,name,Location.
in View Object A i have added a transient attribute to which i have given an expression
as: ''| |ID| |'', i want to make the id as a link to the edit page,
i do not want an additional column to show up as link,hence i am not using addTextUrlColumn method.
now on clicking on this id,edit.jsp page is called and the parameter p which is the id is passed to
edit.jsp page.
The edit.jsp page is based on another View Object B.
the code is as follows:
String param=request.getParameter("p");
oracle.jbo.html.databeans.RowsetNavigator rsn;
rsn=(oracle.jbo.html.databeans.RowsetNavigator) new oracle.jbo.html.databeans.RowsetNavigator();
rsn.initialize(application,session,request,response,out,"NTS_NTS_NTSModule.LogPanelView");
rsn.getRowSet().getViewObject().setWhereClause("ncc_log_id="+param);
rsn.getRowSet().getViewObject().executeQuery();
The results of above query is only one record,which is right.
my job is now to display all the attributes of the above record,in text fields or
combo boxes.Hi Monali,
If I understand your attribute Number1 (and Number 2) is one string value (varchar2 type, long type etc. in Entity) which include in self more different values (other strings or numbers). Right? You can do this if you parse string with an method which analyse that string and give you all the values in an array. Then you can display all the values just like you display other attributes. Off course between the values within attributes value must exist an sign (;, |, ^ etc.) which separate one value from another.
Format is:
SignValue(1)SignValue(2)SignValue(3)SignSignValue(maxData)Sign
(e. g.)
Format 1:
|Ad45gt63e4|34f5t55B4|3d563H6a2|5G67sE3h7||d45fgh5|
First sign (|) in the string is separator between the values
Format 2:
;Friday;September 07;2001;Baker Street 21b;LONDON;Europe;;JSP;12345678;EJB;
First sign (;) in the string is separator between the values
I write one demo application (Parse) which you can see in listing 1: Parse.java (see below). Maybe isnt the best solution for this problem but working :-)(compile and run from java console)
In your case code maybe look like in listing 2: BrowserBean.java (see below)
I hope this help you...
Veso
Note: Sample code in listing 2 I write from my head (without testing), so maybe has errors.
Parse.java
public class Parse {
public static String CheckValue(String strValue){
int strEnd;
char strSign = strValue.charAt(0);
strEnd = strValue.indexOf(strSign,1);
strValue = strValue.substring(1, strEnd);
return strValue;
public static void main(String[] args) {
final int maxData = 100;
int sAllValues;
String sEmpty = "";
String[] sAllValuesNumber1 = new String[maxData];
String sValueNumber1 = ";Friday;September 07;2001;Baker Street 21b;LONDON;Europe;";
try {
sAllValues = 0;
while (sValueNumber1 != null && !sValueNumber1.equalsIgnoreCase(sEmpty) && !sValueNumber1.equalsIgnoreCase(sValueNumber1.substring(0,1))) {
sAllValues++;
sAllValuesNumber1[sAllValues-1] = CheckValue(sValueNumber1);
System.out.println(sAllValuesNumber1[sAllValues-1] + "\n");
sValueNumber1 = sValueNumber1.substring(sAllValuesNumber1[sAllValues-1].length() + 1);
} catch(Exception ex) {
throw new RuntimeException(ex.getMessage());
BrowserBean.java
package demobeans;
import java.io.PrintWriter;
import java.io.OutputStream;
import oracle.jbo.*;
import oracle.jbo.html.databeans.*;
public class BrowserBean extends oracle.jdeveloper.html.DataWebBeanImpl {
public static String CheckValue(String strValue){
int strEnd;
char strSign = strValue.charAt(0);
strEnd = strValue.indexOf(strSign,1);
strValue = strValue.substring(1, strEnd);
return strValue;
public void render() throws Exception {
final int maxData = 100; // number of values for attributes (Number1 or Number2)
int sAllValues1;
int sAllValues2;
String sData = null;
String sEmpty = "";
String sQuery = request.getParameter("id");
String sValueID = null; // if is ID column1 in ViewObject
String sValueName = null; // if is name column2 in ViewObject
String sValueNumber1 = null; // if is name column3 in ViewObject
String sValueNumber2 = null; // if is name column4 in ViewObject
String[] sAllValuesNumber1 = new String[maxValues];
String[] sAllValuesNumber2 = new String[maxValues];
Row[] drows = qView.getAllRowsInRange();
AttributeDef[] dattrs = getDisplayAttributeDefs();
for (int rowno = 0; rowno < drows.length; rowno++) {
for (int j = 0; j < dattrs.length; j++) {
if (!shouldDisplayAttribute(dattrs[j]))
continue;
if (drows[rowno] != null) {
Object attrObj = drows[rowno].getAttribute(dattrs[j].getIndex());
if (attrObj != null) {
sValue = attrObj.toString();
switch (dattrs[j].getIndex()) {
case 0 : sValueID = sValue; break;
case 1 : sValueName = sValue; break;
case 2 : sValueNumber1 = sValue; break;
case 3 : sValueNumber2 = sValue; break;
sAllValues1 = 0;
while (sValueNumber1 != null && !sValueNumber1.equalsIgnoreCase(sEmpty) && !sValueNumb er1.equalsIgnoreCase(sValueNumber1.substring(0,1))) {
sAllValues1++;
sAllValuesNumber1[sAllValues1-1] = CheckValue(sValueNumber1); // put values from Number1 in an array
sValueNumber1 = sValueNumber1.substring(sAllValuesNumber1[sAllValues1-1].length() + 1);
sAllValues2 = 0;
while (sValueNumber2 != null && !sValueNumber2.equalsIgnoreCase(sEmpty) && !sValueNumber2.equalsIgnoreCase(sValueNumber2.substring(0,1))) {
sAllValues2++;
sAllValuesNumber2[sAllValues2-1] = CheckValue(sValueNumber2);
sValueNumber2 = sValueNumber2.substring(sAllValuesNumber2[sAllValues2-1].length() + 1);
sData = "<!-- html -->Name:" + sValueName + "<!-- html code (table tags or other) -->";
sData += "<!-- html -->Number1[1]:" + sAllValuesNumber1[0] + " Number1[2]:" + sAllValuesNumber1[1] + ... + " Number2[sAllValues1]:" + sAllValuesNumber1[sAllValues1-1] + "<!-- html code (table tags or other) -->";
sData += "<!-- html -->Number2[1]:" + sAllValuesNumber2[0] + " Number2[2]:" + sAllValuesNumber2[1] + ... + " Number2[sAllValues2]:" + sAllValuesNumber2[sAllValues2-1] + "<!-- html code (table tags or other) -->";
out.print("Other HTML code...") // other elements for your look and feel
out.print(sData);
out.print("Other HTML code...") // other elements for your look and feel
releaseApplicationResources();
null -
i have 100 records can anybody tell me how i display records 10 at atime in jsp & by clicking the next button another 10 records displays in the same jsp. How i can do that thing.
You have to implement a page breake yourself.
Simple scenario would be to store a page number into a session:
session.setAttribute("page", selectedPage)
every time user clicks on a next page link
When displaying the record read the page and display only those which should be on the page
Integer selectedPage = session.getAttribute("page")
if (selectedPage == null) selectedPage = 1;
//display code goes here -
Update all alv (grid) displayed records to internal table
Hi all,
i want to update the records into the internal table which are changed by the user in the edit field.
after he select save button.
i have to save the ALV grid displayed records in the internal table.
hw can i do this ?ALV with EDIT and SAVE functionality
Code:REPORT z_demo_alv_jg.*******************************************************************
TYPE-POOLS *
TYPE-POOLS: slis. *******************************************************************
INTERNAL TABLES/WORK AREAS/VARIABLES *
DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
w_field TYPE slis_fieldcat_alv,
p_table LIKE dd02l-tabname,
dy_table TYPE REF TO data,
dy_tab TYPE REF TO data,
dy_line TYPE REF TO data.*******************************************************************
FIELD-SYMBOLS *
FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
<dyn_wa> TYPE ANY,
<dyn_field> TYPE ANY,
<dyn_tab_temp> TYPE STANDARD TABLE.*******************************************************************
SELECTION SCREEN *
PARAMETERS: tabname(30) TYPE c,
lines(5) TYPE n.*******************************************************************
START-OF-SELECTION *
START-OF-SELECTION.* Storing table name
p_table = tabname.* Create internal table dynamically with the stucture of table name
entered in the selection screen
CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_table->* TO <dyn_table>.
IF sy-subrc <> 0.
MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'. LEAVE TO LIST-PROCESSING.
ENDIF.
Create workarea for the table
CREATE DATA dy_line LIKE LINE OF <dyn_table>.
ASSIGN dy_line->* TO <dyn_wa>.* Create another temp. table
CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_tab->* TO <dyn_tab_temp>. SORT i_fieldcat BY col_pos.* Select data from table
SELECT * FROM (p_table)
INTO TABLE <dyn_table>
UP TO lines ROWS. REFRESH <dyn_tab_temp>.* Display report
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
TABLES
t_outtab = <dyn_table>
EXCEPTIONS
program_error = 1
OTHERS = 2. IF sy-subrc <> 0. ENDIF.&----
*& Form SET_PF_STATUS
Setting custom PF-Status
-->RT_EXTAB Excluding table
FORM set_pf_status USING rt_extab TYPE slis_t_extab. SET PF-STATUS 'Z_STANDARD'.ENDFORM. "SET_PF_STATUS&----
*& Form user_command
Handling custom function codes
-->R_UCOMM Function code value
-->RS_SELFIELD Info. of cursor position in ALV
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.* Local data declaration
DATA: li_tab TYPE REF TO data,
l_line TYPE REF TO data.* Local field-symbols
FIELD-SYMBOLS:<l_tab> TYPE table,
<l_wa> TYPE ANY.* Create table
CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN li_tab->* TO <l_tab>.* Create workarea
CREATE DATA l_line LIKE LINE OF <l_tab>.
ASSIGN l_line->* TO <l_wa>. CASE r_ucomm.* When a record is selected
WHEN '&IC1'.* Read the selected record
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
rs_selfield-tabindex. IF sy-subrc = 0.* Store the record in an internal table
APPEND <dyn_wa> TO <l_tab>.* Fetch the field catalog info
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = 'Z_DEMO_PDF_JG'
i_structure_name = p_table
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.* Make all the fields input enabled except key fields
w_field-input = 'X'. MODIFY i_fieldcat FROM w_field TRANSPORTING input
WHERE key IS INITIAL. ENDIF.* Display the record for editing purpose
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
it_fieldcat = i_fieldcat
i_screen_start_column = 10
i_screen_start_line = 15
i_screen_end_column = 200
i_screen_end_line = 20
TABLES
t_outtab = <l_tab>
EXCEPTIONS
program_error = 1
OTHERS = 2. IF sy-subrc = 0.* Read the modified data
READ TABLE <l_tab> INDEX 1 INTO <l_wa>.* If the record is changed then track its index no.
and populate it in an internal table for future
action
IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
<dyn_wa> = <l_wa>.
i_index = rs_selfield-tabindex.
APPEND i_index.
ENDIF.
ENDIF. ENDIF.* When save button is pressed
WHEN 'SAVE'.* Sort the index table
SORT i_index.* Delete all duplicate records
DELETE ADJACENT DUPLICATES FROM i_index. LOOP AT i_index.* Find out the changes in the internal table
and populate these changes in another internal table
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
IF sy-subrc = 0.
APPEND <dyn_wa> TO <dyn_tab_temp>.
ENDIF. ENDLOOP.* Lock the table
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3. IF sy-subrc = 0.* Modify the database table with these changes
MODIFY (p_table) FROM TABLE <dyn_tab_temp>. REFRESH <dyn_tab_temp>.* Unlock the table
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table. ENDIF.
ENDCASE. rs_selfield-refresh = 'X'.ENDFORM. "user_command -
How to create a event to display records depend on selection ofdropdownlist
BSP
how to create a event to display records depend on selection of dropdownlist box,
Using BHTML,
thank you,
regards,
jagrut bharatkumar shukla1) Copy this script to the code
<script type="text/javascript">
function displayVacationDates() {
for (var i=0; i < document.forms[0].Status.length; i++) {
if (document.forms[0].Status[i].checked && document.forms[0].Status[i].value=='Vacation'){
document.getElementById('startDateRow').style.visibility='visible';
document.getElementById('endDateRow').style.visibility='visible';
if (document.forms[0].Status[i].checked && !(document.forms[0].Status[i].value=='Vacation')){
document.getElementById('startDateRow').style.visibility='hidden';
document.getElementById('endDateRow').style.visibility='hidden';
</script>
2) Set initial style to 'hidden'
<tr id="startDateRow" style="visibility:hidden">
<td align="left"><blockquote>
<p><span class="style16 style8"><strong>Start date:
</strong></span></p>
</blockquote> </td>
<td align="left"><script>DateInput('VacStart', true, 'DD-MON-YYYY')</script></td>
</tr>
<tr id="endDateRow" style="visibility:hidden">
<td align="left"><blockquote>
<p><span class="style16 style8"><strong>End date:
</strong></span></p>
</blockquote> </td>
<td align="left"><script>DateInput('VacEnd', true, 'DD-MON-YYYY')</script></td>
</tr>
3) Call the display script
<input name="Status" type="radio" value="In the Field" onclick="displayVacationDates()">
<input name="Status" type="radio" value="Vacation" onclick="displayVacationDates()">
<input name="Status" type="radio" value="Sick day" onclick="displayVacationDates()">
<input name="Status" type="radio" value="Admin Day" onclick="displayVacationDates()">
<input name="Status" type="radio" value="DSR Ride Along" onclick="displayVacationDates()">
<input name="Status" type="radio" value="ServiceCall" onclick="displayVacationDates()"> -
Is it possible to display records without master detail relationship?
Hi all,
I've a form for importing excl to oracle with column mapping. i.e I've display excl column heading on the form.
In front of each excel column heading I've provide a list item which contains table column heading so user can map his excl column with table column and according to data gets insert into the database table.
There are 28 excel and table column headings on the form every time user will have to map the column. Its very time consuming job. That's why I've decide to provide template to user. e.g user maps the excl column with table column only first time, then this combination is saved as 'template 1' . when user runs the form next time he/she needs to just select template-1 from lov. and that template get displayed on the forms field. Then user will press the process button and data gets inserted into respective table
Now I've created two tables
1. mst_template
template_name varchar2(100) ---primary key.
2. template
template_name varchar2(100) --- foreign key (ref. tempalte_name - mst_template)
ex_col varchar2(100)
tb_col varchar2(100)Now my problem is, I try the master detail relationship but it doen't works becase on my form the condition is
excel col table col
excl_col1 Tab_col1
excl_col2 tab_col2
excl_col28 Tab_col28 i've establish the master detail relationship but getting error
FRM-40505:ORACLE error:unable to perform query. as i use excl_col1, tab_col1.. etc
can i achieve it by using cursor? without using master detail relationship. My 90% coding is done. only thing remaining is to display records on form. so can i use cursor in this situation? and how? I've work so hard on it and lot of time is spend too so i don't want to change the coding of the existing form. any suggestion for this problem.
please help
Regards
sam.Turning on Closed Captioning is all you can do. I think the problem you have is that not all movies have closed captioning.
-
How to Display Record Count on Search page?
Hi
I am new to OAF and one of the requirement is to display record count on Search page . I followed the same steps in Emp Search page as an example and created my search page.
I followed the following steps
1) I created a transietn Attribute in VO by name RecordCount
2) I had written a method in AMImpl
public void getRecordCount() {
OAViewObject vo = getXXG2SourceAcctSearchVO1();
int fetchedRowCount = vo.getFetchedRowCount();
String msg = fetchedRowCount + " are retrived by query ";
System.out.println(msg);
String xfetchedRowCount = Integer.toString(fetchedRowCount);
System.out.println("xfetchedRowCount : " + xfetchedRowCount);
OARow reportRow = (OARow)vo.createRow();
System.out.println("in set attribute");
reportRow.setAttribute("RecordCount",xfetchedRowCount); // I am using this way and trying to display record count into RecordCount view Attribute
}//getRecordCount
3) on the SearchPG, I created a new messageStyledtext by name RecordCount and assinged VO and viewAttribute accordingly
I am not able to see record count when i run the page ?
Am i missing any steps ?
I see the messages in the log file but not in Record count box ?
Any suggestions?
Thanks
RaviHi Anoop
i made the code change according to you and because of the following condition, it is createing a" new row" in the search page
Row row = vo.createRow();
vo.insertRow(row);
For every search it is creating a new blank row in search page .
I did some more research and modified my code as
public void getRecordCount() {
OAViewObject vo = getXXG2SourceAcctSearchVO1();
int fetchedRowCount = 0;
fetchedRowCount = vo.getFetchedRowCount();
String msg = fetchedRowCount + " are retrived by query ";
System.out.println(msg);
//vo.setMaxFetchSize(0);
//vo.executeQuery();
if (fetchedRowCount == 0 )
Row row = vo.createRow();
//row = (OARow)vo.first();
row.setAttribute("RecordCount", "0");
else
String xfetchedRowCount = Integer.toString(fetchedRowCount);
System.out.println("xfetchedRowCount : " + xfetchedRowCount);
Row row = vo.createRow();
//vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
// Set the primary key value for this single-row VO.
row = (OARow)vo.first();
row.setAttribute("RecordCount", xfetchedRowCount);
and in AM , I am calling this method in PFR as follows
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am1 =
(OAApplicationModule)pageContext.getApplicationModule(webBean);
am1.invokeMethod("getRecordCount");
now i see the record count on the search page . but after 2-3 searches, the record count value is not populating the correct value. its weird
Any suggestions
Thanks
Ravi
Maybe you are looking for
-
How can I rid what seems to be "ghost" entries in my iPhone? Appears as an app, with 0 entries. Cannot slide accross the entry, etc. Should I do a backup/restore with a complete erase?
-
Display PDF in JSP using a content selector
Hello, We are running on WLP 8.1 sp4. We have documents (Word and PDF) stored in the Weblogic Portal content management system. We have made several tries, but are unsuccessful in rendering a PDF inside a JSP using Content Selector tags. We can get a
-
Error Unable to fetch authentication_scheme (XE specific?)
Was a bit disappointed to discover in ApEx on XE I can not define multiple oracle accounts and just swap these in the Edit Application Attributes/Parsing schema recently like I can on the non XE database, but never mind, I just create a new database
-
just starting out and want to use an existing dreamweaver template to work from. under file/new/'page from template' I do not get any template options to choose from. do I need to upload them from somewhere? or have i missed a step along the way?
-
ECM: Business Package for Compensation Specialist
Hi, so the last ECM project I worked on, the portal resource installed the compensation specialist business package. But now I am having trouble confirming exactly what should be installed. On sdn, there is a great excel sheet that is recently updat