Search and display database records
hello, kindly help me as to how to create a search page with multiple search parameters and how to display the result (within same page or on a different page). i am a dummy and i am using dot php/// pls very urgent. thanks
easycfm.com has entry level tutorials.
This book, http://forta.com/books/032166034X/, will help you get started.
For your specific questions, you can have a simple html form for your search page.
Whether you process the form on the same page or a different one doesn't really matter, but on that page, the form fields you submitted will now be cf variables in the form scope. You use the cfquery tag to send your sql to the db, and the cfoutput tag to display the results.
google and coldfusion play well together. If you search on cfquery, the adobe documentation will usually be the first offering.
Similar Messages
-
Search result to get data from bing search and display it in sharepoint page.
I have configured result source which gets data from bing site,i have given following url as source url
http://www.bing.com/search?q={?searchterms}&format=rss&Market=en-Us
but it returns only 8 results from RSS. i want to get all results of search and display it in my SharePoint search results page.
any pointers will be helpful.Hi,
According to your post, my understanding is that you wanted to search result to get data from bing search and displayed it in sharepoint page.
To display more items, you can modify the item number when you add
New Query Rule.
To get all results, I recommend to use the “Show More”
link in the result page.
You can enter the URL when you add New Query Rule:
"More" link goes to the following URL: http://www.bing.com/search?q={searchterms}
Here is a great blog for your reference:
http://sharepoint-community.net/profiles/blogs/integrate-bing-with-sharepoint-online-2013-search
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Search page displaying all records after create
Hi,
I have created the search and the create page using the help of tutorial example. I have run into a 2 problems.
1. After I create the a transaction and click on apply button it directs me to the search page and diaplays all the records in the table. Instead I was looking to display only the record that I created in the create page.
I tried to change the parameter of the "pageContext.forwardImmediately" to "false" for retainAM, it is working fine, but at the same time it is not displaying the confirmation message that it ised to display.
2. Is there a spellchecker that I could add to my page for 3 columns that are of "CLOB" type. Any advise.
Thanks,
AliHi Shiv,
I have added this in the processformrequest method. I do not know how and where to add it in the processrequest methos. Can you please guide me through it. I am pasting my CO file.
Thanks in advance for all your help.
Ali
package saf.oracle.apps.saf.jobperf.server.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import oracle.jbo.domain.Number;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import com.sun.java.util.collections.HashMap;
import oracle.bali.share.util.IntegerUtils;
* Controller for ...
public class ReviewCreateCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
// Always call this first
super.processRequest(pageContext, webBean);
// If isBackNavigationFired = false, we are here after a valid navigation
// (the user selected the Create Review button) and we should proceed
// normally and initialize a new Review.
if (!pageContext.isBackNavigationFired(false))
// We indicate that we are starting the create transaction(this
// is used to ensure correct Back button behavior).
TransactionUnitHelper.startTransactionUnit(pageContext,"jobperfCreateTxn");
// This test ensures that we don't try to create a new review if we
// had a JVM failover, or if a recycled application module is activated
// after passivation. If this things happen, BC4J will be able to find
// the row you created so the user can resume work.
if (!pageContext.isFormSubmission())
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.invokeMethod("createReview",null);
// Initialize the ApplicationpropertiesVO for PPR.
// am.invokeMethod("init");
else
if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"jobperfCreateTxn", true))
// We got here through some use of the browser "Back" button, so we
// want to display a stale data error and disallow access to the page.
// if this were a real application, we would propably display a more
// context-specific message telling the user she can't use the browser
//"Back" button and the "Create" page. Instead, we wanted to illustrate
// how to display the Applications standard NAVIGATION ERROR message.
OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
pageContext.redirectToDialogPage(dialogPage);
} // end processRequest()
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
{ //super.processFormRequest(pageContext, webBean);
// Always call this first.
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
// Pressing the "Apply" button means the transaction should be validated
// and committed.
if (pageContext.getParameter("Apply") != null)
// Generally in the tutorial application and the labs, we've illustrated
// all BC4J interaction on the server (except for the AMs, of course). Here,
// we're dealing with the VO directly so the comments about the reasons
// why we're obtaining values from the VO and not the request make sense
// in context.
OAViewObject vo = (OAViewObject)am.findViewObject("jobperfVO1");
// Note that we have to get this value from the VO because the EO will
// assemble it during its validation cycle.
// For performance reasons, we should generally be calling getEmployeeName()
// on the EmployeeFullVORowImpl object, but we don't want to do this
// on the client so we're illustrating the interface-appropriate call. If
// we implemented this code in the AM where it belongs, we would use the
// other approach.
String employeeName = (String)vo.getCurrentRow().getAttribute("FullName");
// We need to get a String so we can pass it to the MessageToken array below. Note
// that we are getting this value from the VO (we could also get it from.
// the Bean as shown in the Drilldwon to Details lab) because the item style is messageStyledText,
// so the value isn't put on the request like a messaqeTextInput value is.
String employeeNumber = (String)vo.getCurrentRow().getAttribute("EmployeeNumber");
//ma String employeeNum = String.valueOf(employeeNumber.intValue());
//ma Number employeeNumber = (Number)vo.getCurrentRow().getAttribute("EmployeeNumber");
//ma String employeeNum = String.valueOf(employeeNumber.intValue());
// Simply telling the transaction to commit will cause all the Entity Object validation
// to fire.
// Note: there's no reason for a developer to perform a rollback. This is handled by
// the framework if errors are encountered.
am.invokeMethod("apply");
// Indicate that the Create transaction is complete.
TransactionUnitHelper.endTransactionUnit(pageContext, "jobperfCreateTxn");
// Assuming the "commit" succeeds, navigate back to the "Search" page with
// the user's search criteria intact and display a "Confirmation" message
// at the top of the page.
MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName),
new MessageToken("EMP_NUMBER", employeeNumber) };
OAException confirmMessage = new OAException("PER", "LAC_FWK_TBX_T_EMP_CREATE_CONF", tokens,
OAException.CONFIRMATION, null);
// Per the UI guidelines, we want to add the confirmation message at the
// top of the search/results page and we want the old search criteria and
// results to display.
pageContext.putDialogMessage(confirmMessage);
HashMap params = new HashMap(1);
// Replace the current employeeNumber request parameter value with "X"
params.put("employeeNumber", "employeeNumber");
// IntegerUtils is a handy utility
params.put("employeeNumber",IntegerUtils.getInteger(5));
pageContext.forwardImmediately(
"OA.jsp?page=/saf/oracle/apps/saf/jobperf/webui/jobperfPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
params, //null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
else if (pageContext.getParameter("Cancel") != null)
am.invokeMethod("rollbackReview");
// Indicate that the Create transaction is complete.
TransactionUnitHelper.endTransactionUnit(pageContext, "jobperfCreateTxn");
pageContext.forwardImmediately("OA.jsp?page=/saf/oracle/apps/saf/jobperf/webui/jobperfPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
false, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
} // end processFormRequest()
} -
Refresh table and display the records after insertion of data from back end
Hi Experts,
JDEV 11.1.2.1
I have a useacase which needs data to be inserted from oracle back end procedure and displayed in a ADF Table Component, when a button is pressed.
is this possible?..if yes , how?
Is view object will automatically refreshed and fetches newly created(from back end) rows?
thankz in advance
PMSHi user707,
thankz for ur reply....
i think after executing a procedure you want to call commit operation. better you can perform this.getDbtransaction().commit In Application Module;yes i want to commit transaction after executing back end procedure using preparedStatement.Procedure is for inserting data into same table , which used for creating VO and Read only ADF Table.Procedure is executed fine, but newly created records are not getting into ADF table.Once i did commit opeartion inside back end procedure, whole records are getting into ADF Table.
Is there any way to get whole records without doing Commit operation inside Back end procedure?
PMS -
Displaying database records in a Web Pag
I have built a static web site (1st in 5 years) using CS5 and the DW-CIB course. My database is ASA11 and I have it configured so php can talk to it. Before I start building many pages I would like to know which is the best approach to take.
1) Should I use Spry?
2) Will Zend be a better approach?
3) Will learning JavaScript or jquery help?
I have worked out that spry needs data in either xml or an HTMLDataset so I created a text file with <html> <body> <table> etc. tags plus the data. I can link this file into my web page (manually but not yet dynamically) but somehow I am not convinced this is the correct approach.
As DW does not support ASA11 I have decided to code in PHP.
Can someone shed some light on getting good-looking and highly functional dynamic pages?
TIA EphraimEffyRuby wrote:
I have built a static web site (1st in 5 years) using CS5 and the DW-CIB course. My database is ASA11 and I have it configured so php can talk to it. Before I start building many pages I would like to know which is the best approach to take.
1) Should I use Spry?
2) Will Zend be a better approach?
3) Will learning JavaScript or jquery help?
I have worked out that spry needs data in either xml or an HTMLDataset so I created a text file with <html> <body> <table> etc. tags plus the data. I can link this file into my web page (manually but not yet dynamically) but somehow I am not convinced this is the correct approach.
As DW does not support ASA11 I have decided to code in PHP.
Can someone shed some light on getting good-looking and highly functional dynamic pages?
TIA Ephraim
1. This has nothing to do with database records. Spry is good and there are also good alternatives like Project Seven for menus and JQuery for effects. It's about how you use the tools that matter.
2. Not sure how to answer this one just yet.
3. See #1.
I looked up SQL Anywhere based on the previous post and came across this ( http://m.sybase.com/detail?id=1019698 ). That is the PHP module for SQL Anywhere databases from Sybase. I recommend installing that on your server if it is not already installed. This will give you the functionality to have PHP interact with the database and process as necessary.
However, as stated in other posts, DW does not support SQL Anywhere (at least to my knowledge). Because of this, the pre-build functions for querying a database may not work, meaning you will have to manually write queries. This is not necessarily a bad thing, just involves a little more work. If there are other PHP functions that you need to use within DW, they should work as advertised. The reason I held off on answering the Zend question is because it is a completely different beast then Dreamweaver. Depending on the application you are trying to develop and your knowledge of PHP will determine whether the Zend Studio is right for you. -
How to display database records in text item
hello friends,
I'm using forms6i..
I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
In property palette of of "username" i have following changes
Number of items displayed =3;
When i click the button named "list_user" it should shows all user names in text item..
my when-button-pressed trigger code is:
declare
cursor c1 is
select Logid from log1 where logout_date is null;
begin
open c1;
fetch c1 into :username;
end;
But my problem is when i run the form only one user displayed in text item..Remaining two text items are having no data..
The result of the cursor query is :
SQL> ed
Wrote file afiedt.buf
1 select logid from log1 where logout_date is null
SQL> /
LOGID
104
105
106
pls help me
Edited by: Balraj on Feb 23, 2011 1:45 AMI have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
In property palette of of "username" i have following changes
Number of items displayed =3;Its great that it is working fine, but seems your block is database block based on the same table log1, then why do you want to loop when form has better way.
Secondly if you have set No of Records for a block then there is no need to set the No of Items displayed for the Item if it is the same as Records displayed for block.
You can use No of Items displayed for an Item if you need to display no different then no of records else no need to change the default that is 0
No of items displayed is usually used to display Summary Columns in a multi record block so that you will be able to display just 1 Item rather then as many as the No of records.
Best Regards
Arif Khadas -
Search and display the search value or not found!
i want to input the value and get the result of the value if found or display not found if not found, but the follow coding can not compile, please help me..........
import java.io.*;
public class t4
public static void main (String args[]) throws Exception
A AB = new A ();
int j;
int i;
int x;
do
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
System.out.println("Please input");
String sString = br.readLine();
i = Integer.parseInt(sString);
AB.Create(i);
} while (i!= 0);
System.out.println("");
BufferedReader br1 =
new BufferedReader(new InputStreamReader(System.in));
System.out.println("Please input no.");
String xString = br1.readLine();
x = Integer.parseInt(xString);
if (AB.Search((int)x)
System.out.println(x);
else
System.out.println("Not found");
class A
int k =7;
int g = -1;
int h = -1;
int[] abc = new int[k];
public void Create(int i)
if ((g+1)==k)
h=(h+1) % k;
abc[h]=i;
else
g = (g+1) % k;
abc[g]=i;
public void Printer()
for (int i=0;i<k;i++)
System.out.println(abc);
public boolean Search(int key)
int i;
for (i=0;i<7;i++)
if ((int)abc[i] == (int)key)
return true;
return false;What is the error message that you are getting?
-
11G ADF java datacontrol and displaying new records in ADF table
Hi,
In 11g I have a java class which return a list of objects and I made a data control on it. I displayed this in a ADF Table based on a ADF tree binding.
When I fire the create operation on this java data control I see in the tree binding that the new entry is created and even the table has the correct
rowcount but the new records are not displayed in the adf table. I added PPR but this not work.
Empty new classes are displayed when they are added before the page is loaded.
the only difference between a class created by ADF and initial by the adf datacontrol is that mAtrrHintsMap hashmap of DCdataRow is null and the other has 2 entries
What can it be in 10.1.3 it works
here my test data
public class Data {
private String lovLabel;
private String lovValue;
public Data() {
public Data(String lovLabel, String lovValue) {
super();
this.lovLabel = lovLabel;
this.lovValue = lovValue;
public void setLovLabel(String lovLabel) {
this.lovLabel = lovLabel;
public String getLovLabel() {
return lovLabel;
public void setLovValue(String lovValue) {
this.lovValue = lovValue;
public String getLovValue() {
return lovValue;
here the data control class
public class LovData {
public LovData() {
public List<Data> getLovData() {
List<Data> data = new ArrayList<Data>(4);
data.add(new Data ("One","1"));
data.add(new Data ("Two","2"));
data.add(new Data ("Three","3"));
data.add(new Data ());
return data;
here is the pagedef
<executables>
<methodIterator id="getLovDataIter" Binds="getLovData.result"
DataControl="LovData" RangeSize="25"
BeanClass="nl.whitehorses.model.Data"/>
</executables>
<bindings>
<methodAction id="getLovData" InstanceName="LovData.dataProvider"
DataControl="LovData" RequiresUpdateModel="true"
Action="invokeMethod" MethodName="getLovData"
IsViewObjectMethod="false"
ReturnName="LovData.methodResults.getLovData_LovData_dataProvider_getLovData_result">
</methodAction>
<tree IterBinding="getLovDataIter" id="Data">
<nodeDefinition DefName="nl.whitehorses.model.Data">
<AttrNames>
<Item Value="lovLabel"/>
<Item Value="lovValue"/>
</AttrNames>
</nodeDefinition>
</tree>
<action IterBinding="getLovDataIter" id="Create" RequiresUpdateModel="true"
Action="createRow"/>
</bindings>
</pageDefinition>
here is the adf page
<af:panelCollection inlineStyle="width:309px; height:168px;" id="pc2">
<f:facet name="menus"/>
<f:facet name="toolbar">
<af:toolbar>
<af:commandToolbarButton actionListener="#{bindings.Create.execute}"
text="Create"
disabled="#{!bindings.Create.enabled}"
partialTriggers="table1 ::pc1:table2"/>
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table value="#{bindings.Data.collectionModel}" var="row"
rows="#{bindings.Data.rangeSize}"
emptyText="#{bindings.Data.viewable ? 'No rows yet.' : 'Access Denied.'}"
fetchSize="#{bindings.Data.rangeSize}" id="table1"
binding="#{UserPreferences.table1}">
<af:column sortProperty="lovLabel" sortable="false"
headerText="#{data.lovLabel}">
<af:outputText value="#{row.lovLabel}"/>
</af:column>
<af:column sortProperty="lovValue" sortable="false"
headerText="#{bindings.Data.hints.lovValue.label}">
<af:outputText value="#{row.lovValue}"/>
</af:column>
</af:table>
</af:panelCollection>
and here some backing bean code
DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
FacesCtrlHierBinding treeData = (FacesCtrlHierBinding)bc.getControlBinding("Data");
Row[] rows = treeData.getAllRowsInRange();
System.out.println("tree 1_1 "+rows.length+" "+table1.getRowCount());
treeData.refreshControl();
System.out.println("tree 1_2 "+rows.length+" "+table1.getRowCount());
AdfFacesContext.getCurrentInstance().addPartialTarget(table1) ;
hope this helps
thanks EdwinWhat if you place the create button in the same panelGroup as the table?
I did a quick try and it seemed to work fine for me.
jspx code:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document>
<af:messages/>
<af:form>
<af:panelGroupLayout>
<af:commandButton actionListener="#{bindings.Create.execute}"
text="Create"
disabled="#{!bindings.Create.enabled}"
partialTriggers="table1"/>
<af:table value="#{bindings.lovData.collectionModel}" var="row"
rows="#{bindings.lovData.rangeSize}"
emptyText="#{bindings.lovData.viewable ? 'No rows yet.' : 'Access Denied.'}"
fetchSize="#{bindings.lovData.rangeSize}" id="table1">
<af:column sortProperty="lovLabel" sortable="false"
headerText="#{bindings.lovData.hints.lovLabel.label}">
<af:outputText value="#{row.lovLabel}"/>
</af:column>
<af:column sortProperty="lovValue" sortable="false"
headerText="#{bindings.lovData.hints.lovValue.label}">
<af:outputText value="#{row.lovValue}"/>
</af:column>
</af:table>
</af:panelGroupLayout>
</af:form>
</af:document>
</f:view>
</jsp:root> -
Search results displaying all records, please help
i did post this before but didnt have any luck I have used my search script before but tried it again and it is returning ALL the results from the DB..Can anyone see what i am missing?
$var_SalaryReq_Recordset1 = "%";
if (isset($_GET['SalaryReq'])) {
$var_SalaryReq_Recordset1 = $_GET['SalaryReq'];
$var_skills_offered_Recordset1 = "%";
if (isset($_GET['skills_offered'])) {
$var_skills_offered_Recordset1 = $_GET['skills_offered'];
$var_location_Recordset1 = "%";
if (isset($_GET['location'])) {
$var_location_Recordset1 = $_GET['location'];
$var_PositionReq_Recordset1 = "%";
if (isset($_GET['PositionReg'])) {
$var_PositionReq_Recordset1 = $_GET['PositionReg'];
mysql_select_db($database_hostprop, $hostprop);
$query_Recordset1 = sprintf("SELECT userid, FirstName, Surname, SalaryReq, PositionReq, location, otherComments, skills_offered FROM think_signup WHERE SalaryReq LIKE %s OR PositionReq LIKE %s OR location LIKE %s OR skills_offered LIKE %s", GetSQLValueString("%" . $var_SalaryReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_PositionReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_location_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_skills_offered_Recordset1, "text"));
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
the search feilds are
<input name="PositionReq" type="text" class="textfeilds" value="Job Title" size="32" />
<input name="skills_offered" type="text" class="textfeilds" value="Skills Required" size="32" />
<input name="SalaryReq" type="text" class="textfeilds" value="Salary Offered" size="32" />
<input name="location" type="text" class="textfeilds" value="Location" size="32" />
thanks in advance$currentPage = $_SERVER["PHP_SELF"];
$maxRows_Recordset1 = 5;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
$pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
$var_SalaryReq_Recordset1 = "xxxxx";
if (isset($_GET['SalaryReq'])) {
$var_SalaryReq_Recordset1 = $_GET['SalaryReq'];
$var_skills_offered_Recordset1 = "xxxxx";
if (isset($_GET['skills_offered'])) {
$var_skills_offered_Recordset1 = $_GET['skills_offered'];
$var_location_Recordset1 = "xxxxx";
if (isset($_GET['location'])) {
$var_location_Recordset1 = $_GET['location'];
$var_PositionReq_Recordset1 = "xxxxx";
if (isset($_GET['PositionReg'])) {
$var_PositionReq_Recordset1 = $_GET['PositionReg'];
mysql_select_db($database_hostprop, $hostprop);
$query_Recordset1 = sprintf("SELECT SalaryReq, skills_offered, location, PositionReq, otherComments, userid, FirstName, Surname FROM think_signup WHERE SalaryReq LIKE %s OR PositionReq LIKE %s OR location LIKE %s OR skills_offered LIKE %s", GetSQLValueString("%" . $var_SalaryReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_skills_offered_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_location_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_PositionReq_Recordset1 . "%", "text"));
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
if (isset($_GET['totalRows_Recordset1'])) {
$totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
} else {
$all_Recordset1 = mysql_query($query_Recordset1);
$totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
$totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
$queryString_Recordset1 = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_Recordset1") == false &&
stristr($param, "totalRows_Recordset1") == false) {
array_push($newParams, $param);
if (count($newParams) != 0) {
$queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
$queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
the form is
<input name="PositionReq" type="text" class="textfeilds" value="Job Title" size="32" />
<input name="skills_offered" type="text" class="textfeilds" value="Skills Required" size="32" />
<input name="SalaryReq" type="text" class="textfeilds" value="Salary Offered" size="32" />
<input name="location" type="text" class="textfeilds" value="Location" size="32" />
examples of search criteria are job title would be say police officer, location would be say london
when using xxxx no results are being dispalyed -
Need little help with JPA code and displaying database data into tables
Hello Everyone,
I am using java6 and Netbeans 6.1 on Windows XP platform.
This is probably very simple but have'nt been able to figure it out yet. I am using the Travel Java Databse included in NB6 as a learning tool.
I have a JComboBox connected to Person Table and want to display a Trip table from using the selected item from theJcombobox. In other words, Trip table shows only the Person selected from the Jcombobox.
If someone could point me on the right direction how to code JPA code or how to use NB6 GUI to accomplish this.
ThanksThe w and wi are just table aliases that make it easier to
referrence those tables by column when joining multiple tables
(avoids having to prefix column names with the entire table name,
etc.) When doing a self-join (joining a table to itself), the use
of table aliases is
required, otherwise you would have no other way to tell
which column belonged to which "instance" of table.
The query itself is pretty simple. It is just using a
correlated subquery to select only those instances of
workstationApps where the count of appID instances in
workstationAppIndex is less than the amount specified in the
maxConcurrentInstalls for the same appID.
Also, I do see what you are doing with #form.searchType#, I
was just making sure that it was what you really intended to do.
Phil -
A real task..( to search and display few lines from a log file)
have a look at the following link
http://computing.unn.ac.uk/staff/cgpb2/public_html/log.html
i need to display to the users only the Hourly Transmission Statistics (Bytes Sent Requests Time) on a tabular format from the above mentioned link.
t
his is not easy
can any one write down the code please..
thank you very much.What have you done so far?
What kind of approach are you going to take (aside from asking others to do it all for you)?
Have you written the algorithm in psuedo-code? If so, can we see it? We might be able to give you a few pointers. -
Displaying database results on the same page
I am relatively new to dynamic pages and have only just
recently created a PHP SQL setup using Dreamweaver CS3. I have no
issues in displaying items from a recordset on a page. I have even
used the "Master detail page set" function in CS3 to have a small
selection of records from my recordset on the page as reference
points to then open up a detail web page showing all the records
for that item. But this is not what I want to do.
I have used CSS to created a two columm page, which I have
then saved as a template (left sidebar and then main content on the
right). The scenario is that the database has membership details. I
want to be able to have the membership numbers displayed in the
left sidebar, with the main content of the database record for that
member displayed in the main section of the page. If I click on a
different membership number in the left column I want the main
content to change and display the records for that member.
I guess what I am trying to say is I want the "Master detail
page set" functionality but rather than opening a seperate web page
for the detail, I want it displayed on the same page.
As I said, I am new to dynamic pages. A way I thought of it
being done was to use frames but I don't really want to do that as
it means making up a whole new set of templates. Is there a simple
way of doing this?
Thanks in advance
JJhttp://java.sun.com/j2ee/1.4/docs/tutorial/doc/
http://java.sun.com/docs/books/tutorial/javabeans/index.html
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro.html
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPBeans.html
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPTags.html
http://java.sun.com/j2ee/tutorial/1_3-fcs/
http://java.sun.com/developer/onlineTraining/index.html
http://java.sun.com/docs/books/tutorial/index.html
http://developers.sun.com/events/techdays/codecamps/index.html -
Lucene search and order by Date attribute
Hello,
We have a requirement where we have to search assets and sort assets via some date attribute (Article Publication Date) using Lucene Search. There is no issue in searching and displaying results in any order we want.
Problem occurs when some assets don't have "Article Publication Date" value as it is optional and hence, we don't know how the sorting is decided of assets is decided when the output comes after lucene search? Can anyone suggest?
Regards,
Gudduuser11268895 wrote:
... you are in an PL/SQL forum not in a mysql forum.
if you want we can translate your query in a Oracle DB query...Well... MySql is an Oracle Database...
to the op:
If you want to order then you need an ORDER BY clause at the end of your statement.
Instead of date_format you can use TO_DATE if dealing if strings. If it is a datatype date, then there is no need of a conversion.
group by T.ARRIVAL_DATE, T.foreign_network_id
order by t.arrival_date descyou could also group on the day or the month if that is what you want.
day groups
select trunc(T.ARRIVAL_DATE), ...
group by trunc(T.ARRIVAL_DATE), T.foreign_network_id
order by trunc(T.ARRIVAL_DATE) desc;
month groups
select trunc(T.ARRIVAL_DATE,'mm'), ...
group by trunc(T.ARRIVAL_DATE,'mm'), T.foreign_network_id
order by trunc(T.ARRIVAL_DATE,'mm') desc;
boy groups
select trunc(T.ARRIVAL_DATE,'boy'), ...
group by trunc(T.ARRIVAL_DATE,'boy'), T.foreign_network_id
order by trunc(T.ARRIVAL_DATE,'boy') desc;
/* Ok, ignore the last one, I was just testing if you read until the end. */ Edited by: Sven W. on Aug 26, 2010 2:25 PM -
Java encryption/decryption coding for database records
i need some help in developing a source code in java that can encrypt and decrypt database records in Oracle 9i and MYsQL.
urgent help needed!its a grade report system, where i put in the college id and a course id as the password. to retreve the grade from the database. The user IDs and grades have to be encrypted before requesting for the grades.This database stores for each student the user ID, the course ID, name and grades.The grades from the database are encrypted before being sent to the user.
-
How to create and display items
Hi All,
I tried to create an item within the EBS. Using the standard user mfg/welcome, I found the section "Item Manager - Create Engineering Items" and "Item Manager - Create Production Items". Or these objects the same kind of items with just different attributes or are they completely different objects stored in separate tables? I was able to create such an item, but trying to find/display it again using "Item Manager - Item Simple Search" failed with the message "Error - No Organization Access for User". This is weird, write only access ;-). What roles or permissions are necessary to search and display items?
btw: Is it possible to create an user who is allowed to do everything? Right now, I'm using sysadmin to configure stuff, but this user is obviously not good to create items, BOMs... since the "Item Manager" and many other things are not available here. I would like to have a users who can do almost everything to "explore" the EBS!
Thanks a lot,
KonradHi Konrad;
What is your EBS version?
Please check oracle manufacturing guide and Oracle Applications User's Guide from below links to can find answer for your questions
For r12.1.1:
http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
For r12:
http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
For r11:
http://download.oracle.com/docs/cd/A60725_05/r11_doc.htm
Regard
Helios
Maybe you are looking for
-
Representating Hierarchical (Parent-Child) relation graphically using Swing
Hi, I have to represent a hierarchical data which is having Parent-Child relation using Swing. I am not able to upload the image overhere, so I am represnting the data in such a way so that one can understand this problem. If anyone knows how to uplo
-
I built a virtualized IE9 using the ZAV Studio template. However, when I test it on our environment, I get the following error when launching the virtual app: "A program on your computer has corrupted your default search provider setting for Internet
-
Quicktime video (.mov file) will not load and play in Firefox 3.6.16
I have a computer with Firefox 3.6.16 installed that will not play Quicktime videos (.mov files) in the browser. This is a desktop computer. Another computer (laptop) with exactly the same version of Firefox installed will load and play them perfectl
-
Convert Binary Data into Pdf & send it as attachment in a mail
Hi Friends, Scenario : The interactive form saved in WebDynpro Application is sent to R/3 in binary format. It has to be converted into pdf and sent it as an attachment in mail to the respective person. Kindly help on these issues : 1. How to receive
-
Hi Ive just got a few questions is there a way to turn the vibration off for when you lock the keys using the slide button but keep vibration fr when receiving alerts? is there a way to increase the vibration so its more noticable? Is there a way to