Basic Search: JSP?
Hi,
i have a small question about the Basic Search iview.
How is this build up, I can't seem to find any JSP page inside the par file.
I know about the methods to change the result list etc, but i just need to change the layout of the whole page (adding images and stuff).
Is this possible?
kind regards,
Stephie
Hi Deman,
to implement an own search interface you can use the provided concept of search components. By implementing your own developed search components you can easily integrate images and other things in the search interface.
Have a look at this article with code examples by Thilo Brandt: <a href="https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/km/searchcomponents/Developing%20a%20Search%20Component%20for%20KM%20Search%20iView.html">Developing a Search Component for KM Search iView</a>.
Hope this helps,
Robert
Similar Messages
-
Changing Search JSPs within Commerce Server
Hi
I am currently evaluating the Commerce Server and Personalisation Server 3.5 and
I am trying to change the search.jsp within the Commerce server to include drop
down lists for a more presentable search engine.
I have tried to change the search.jsp to include drop down lists but I am running
into problems when giving the drop down lists a name because the previous textfield
that was there had a field dynamically named HttpRequestConstants.CATALOG_SEACH_STRING
which is one of the HttpRequestConstants constant variables that holds the search
criteria.
How can I therefor transfer the selected item within the drop down lists to the
HttpRequestConstants.CATALOG_SEACH_STRING?
Any help would be appreciated. Here is part of the code I am referring to
Any help would be appreciated
Bola
[scriptlet.txt]
The Javascript is returned inside the page, just as if it were a static
.html file that you had put Javascript into. Thus it works entirely on the
client. The client is unaware of whether a JSP engine put the page together
or whether it is was just a static HTML file.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Bola Taylor" <[email protected]> wrote in message
news:3b9dd5fc$[email protected]..
>
>
> I am currently using BEA Commerce Server and written some JSPs to be used
in the
> application. I am trying to carry out some validation of some fields in my
JSP
> and thats how javascript came up.
>
> The question I have is that does the javascript that I want to put on the
jsp
> run on the server or on the client like a normal html page? The questiion
sounds
> basic but I am considering writing a class to carry out validation as the
user
> could turn off javascript on browser.
>
>
>
>
-
Customization of Search JSP Template in Commerce Server
Hi
I am currently amending the search.jsp template provided by BEA in the wlcs/commerce
folder within Commerce Server 3.5 and according to them, one could carry out searhes
on virtually any fields within the table provided ie WLCS_PRODUCT.
I am trying to restrict field searching to the WLCS_PRODUCT_KEYWORD table so that
the primary keys would be used to do searches on the Product Catalog table.
Does any one have a good idea on how to do this?
The Javascript is returned inside the page, just as if it were a static
.html file that you had put Javascript into. Thus it works entirely on the
client. The client is unaware of whether a JSP engine put the page together
or whether it is was just a static HTML file.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Bola Taylor" <[email protected]> wrote in message
news:3b9dd5fc$[email protected]..
>
>
> I am currently using BEA Commerce Server and written some JSPs to be used
in the
> application. I am trying to carry out some validation of some fields in my
JSP
> and thats how javascript came up.
>
> The question I have is that does the javascript that I want to put on the
jsp
> run on the server or on the client like a normal html page? The questiion
sounds
> basic but I am considering writing a class to carry out validation as the
user
> could turn off javascript on browser.
>
>
>
>
-
How to use p_mainsearch parameter in basic search for a report with bind variable?
Hello,
I'd like to extend the basic-search in content-area elements to extra records in my own tables.
So I'd like to use the p_mainsearch-urlparameter (which holds the searchtext of a basic search) into a bind variable of my own report. My report will be on an extra tab on the search-page.
Especially I don't know how to transfer the value of p_mainsearch into the bind variable of the report.
Has anyone done that so far?
Example?
Thank you,
JoergI found out the following way:
1.)Report
1.1)SQL-Query:
select * from <owner>.<tablename> where UPPER(column) like '%'||UPPER(NVL(:searchtext,'abczyx123098'))||'%'
(Note: bind variable is :searchtext).
1.2)in "before displaying page"-section in "additional plsql" add the following:
if length(get_value('p_mainsearch')) >= 3 then
portal30.wwv_name_value.replace_value(
l_arg_names, l_arg_values, p_reference_path||'.searchtext,
portal30.wwv_standard_util.string_to_table2(get_value('p_mainsearch')));
end if;
1.3) publish as portlet
2.) Integrate the report-portlet into a new tab on search page. Run basic search.
Change to the tab with the portlet.
For me it is solved.
Joerg. -
Basic Search not working in 9iAS release 2
gurus,
the basic search is not working in 9iAS Release 2.
i created few items in the portal and searched for values in basic search ... it did not return any search results ... i checked the search settings and found the Drop Index button ... thus i assumed that the indexes are created .... is there something wrong here ...?
also, the client wants the search to return in a custom page .... how would i achieve that .... is there an api that i could call in form action and render the search output in my custom page ....?
any help would be appreciated ...
thanxHave you run the job to update the indexes? Please refer to the Configuration Guide for instructions on synchronizing the indexes with your content.
The default Search Results page is defined in the Global Settings, under the Administration tab on the Builder page. Any page can be used for search results, as long as it contains the Custom Search portlet. -
How to change the view of the basic search portlet
Hi,
I want to change the view of the basic search portlet. To be more precise, I just want a text box and a Go button in it. Cananybody advise on how to do this?
Regards,
PriyaIndeed the 'Basic Search Box' item is what you want to use. You can choose what label you want or an icon if desired.
As mentioned in a previous reply, you need to edit the properties of the Page Group where you want to add the item and add the 'Basic Search box' to the list of available items that a user can add to the page group.
Navigator -> Properties (for the desired page group) -> Configure Tab -> Edit link in the 'Content Type and Classification' section -> Item Types section add the 'Basic Search Box'.
Now in a page in that page group, add an item, and from the list of 'Built-In Navigation Item Types' you will see the 'Basic Search Box'. -
Basic Search portlet returns error when Display in New Browser Window set
Ora AS Portal 10G release 2 (10.1.2.x)
Have a region of type Portlets.
The enable users to include content in this region is enabled.
I added a Basic Search Portlet in this region.
Basic search works fine if launched from current area, however if change attributes of region to have a link that displays item in new browzer window, then
basic search portlet opens in new browzer window but returns error "Error: You do not have permission to perform this operation. (WWC-44131)"
The Basic search portlet in the new window contains a link to advanced search. If use advanced search, results are returned.
to test further, I added a advanced search portlet to this region, also with the display option to display item in a new window. In this case, the same error is obtained when doing a search.
Has anyone experienced this?
Any solutions?
Thks in advance.
PauloHi,
Can you clarify what you mean by "change attributes of region to have a link that displays item in new browzer window"?
Are you referring to Edit Region > Attributes tab ? Which of the Available Attributes did you select?
Thanks,
Chris -
Hi,
I'm playing around with the Basic Search Tutorial in the
Dreamweaver CS23 Help files and i cannot seem to get it to work,
even though I'm following it step by step.
When I type in a word, that does exist the search Results
page opens but the page is blank except for ht Dynamic table
Headers.
I'm specifying the GET function, but I have also tried Post
but the same outcome.
Testing the Recordset in the Search results page works fine.
Anyone any hints here please?
Using MySQL with Dreamweaver CS3
cheersFigured it out. The Help files were misiing several key
steps. I used a URL Variable to the mix and now the search
works -
What kind of mac would I need for Nexflix, basic search and email? Also, sounds silly, but can I connect an HDMI from Mac to tv?
Just an FYI. The Macs named PowerMac date from early 2006 and before. Use this tip to discover where to post once you get your Mac:
Site map of Communities and Categories
The cheapest Mac available new is a Mac Mini. It is no bigger than many an external hard drive. But the screen and keyboard and mouse must be purchased separately. They support USB and Bluetooth keyboards and mice, and pretty much any DVI, HDMI, or displayport display. Although the iMac is certainly an attractive option if all you want to deal with is deciding on a printer. I still recommend getting an Apple USB keyboard for the occasional times you may need to troubleshoot startup issues. Normally not a problem, but as it gets older some issues can be fixed at startup or diagnosed at startup. -
How to change layout of KM Basic Search
Hi all,
I have a question about the layout of the KM Basic Search.
I've created a new Search Component Set in System Administration >System Configuration>KM>CM>User Interface-->Search. I've added search_input_indexes as Component for Basic Search function. However this component sets the inputfield, indexes dropdownlist and the search button on one line.
Is there any way to change this so de dropdownlist can be displayed under the inputfield? The reason is that I don't have much space to show this on one line.
Any help is welcome. Thanx.
Kwok WhaHi Kwok
As far as I know there is no search component that meets your requirements.
Perhaps you should consider using search_input_scope instead since that might solve your space problem. But then you dont get a dropdown-indexlist as you'd like.
Kind regards,
Martin -
Basic Search Item javascript error
When I use the Basic Search Item to submit a search, I get a Javascript error:
Error: 'document.mysearchform.p_looplink' is null or not an object
Examining the page HTML shows that submitting the serach runs this function
function fetch() {
var purl;
purl = location.href;
document.mysearchform.p_looplink.value = purl;
document.mysearchform.submit;
but the form mysearchform doesn't have a field called p_looplink
The form fields are
INPUT TYPE="text" NAME="ms" SIZE="15" MAXLENGTH="30"
INPUT TYPE="submit" VALUE="Go"
INPUT TYPE="hidden" NAME="pg" VALUE="33"
INPUT TYPE="hidden" NAME="search_type" VALUE="Simple"
INPUT TYPE="hidden" NAME="ll" VALUE=""
INPUT TYPE="hidden" NAME="p_action" VALUE="SUBMIT"
INPUT TYPE="hidden" NAME="_dad" VALUE="portal"
INPUT TYPE="hidden" NAME="_schema" VALUE="PORTAL"
This bug only appears when you have your browser set to report all Javascript errors - it doesn't prevent the search from working.
Any ideas about what's going on here?
Does the basic Search Item (not the portlet) work properly for anyone else?
Robhi rob,
this problem is reported in bug 3801639. it is fixed in portal 10.1.2.
regards,
christian -
Basic Search & Advanced search in IdM
Hi Experts,
I was searching for one user on IdM UI, and I found that the basic search was not working (I only filled the Unique ID= userXYZ), but when I search for this userXYZ under advanced search, the user was found correctly.
Did you get this behavior in your system, I mean the Basic search in not showing the same results as the Advanced?
I am using IdM 7.2 SP7.
Thank you very much for your comment,
VictoriaHi Matt,
The basic search work fine for other users.
The problem here is that Basic Search can not find my inactive userXYZ only by entering his ID but when I choose Advanced Search and Inactive checkbox now I can find my inactive userXYZ.
So why this inactive user can be shown only by using the combination of Advanced + Inactive checkbox ?
Many thanks,
Victoria -
hi all
is there a way to fully customize the basic search portlet? how can i change the name of the "search" button - i want it to be in my native language, and the portal doens have a translation for it
can anyone help?this is the code of my custom search portlet
Hope it help you
<table cellSpacing="0" cellPadding="0" border="0" id="table1">
<FORM ACTION="http://oasserver2.mici.gob.pa/portal/page?_pageid=6,9553&_dad=portal&_schema=PORTAL" METHOD="POST" NAME="mysearchform" onSubmit="fetch();" style=margin:0;>
<tr>
<td>
<input class="textA" id="Search" size="22" name="ms" style="font-family: Arial; font-size: 10px; color: #3A5B9E">
</td>
<td>
<p align="right">
<a onclick="javascript: return isNotNull(document.searchForm.keyword.value)" href="javascript:document.searchForm.submit()" style="color: #000; text-decoration: none">
<input type="image" src="http://oasserver2.mici.gob.pa/img/search.jpg" border="0" alt="Submit" width="21" vspace="1" border="0">
</tr>
<INPUT TYPE="hidden" NAME="pg" VALUE="40">
<INPUT TYPE="hidden" NAME="search_type" VALUE="Simple">
<INPUT TYPE="hidden" NAME="ll" VALUE="">
<INPUT TYPE="hidden" NAME="p_action" VALUE="SUBMIT">
<INPUT TYPE="hidden" NAME="_dad" VALUE="portal">
<INPUT TYPE="hidden" NAME="_schema" VALUE="PORTAL">
</FORM>
</table> -
Federated Searches from the Basic Search Box
Is there a way to have the portal's basic search facility perform a federated search without having to visit the federated search page? We would like our users to be able to search any location from the simple search box.
Is there a way to have the portal's basic search facility perform a federated search without having to visit the federated search page? We would like our users to be able to search any location from the simple search box.
-
Basic Search Isn't Finding Keyword Metadata
I have a basic search box on my home page. I have a page located in the same page group that has a search word in it for testing. When I input that word into the basic search box, it doesn't find that page. I have Oracle Text enabled in my portal so a basic search box should be able to find text not only in the keyword field but anywhere on the page. Does anyone have any idea why it is not finding it?
Hi,
Have you figured this out yet? I'm having the same problem with the 'basic search item" that i have on all my pages. I doesn't return any item results,..only page results.
Maybe you are looking for
-
Convert char to ascii code and vice versa
HI Is there any function module to convert char to ascii code and vice versa. Thanks in advance
-
How to release the sunidm project from the server while debugging
Hello, I am using NetBean to work on the SunIDM project. Each time I have to restart NetBean if I want to run/debug the project. I have tried to use GlassFish and Tomcat, but both server somehow still holding the project even I stopped debugging in N
-
I have multiple MAC's in my house. I would like to create a file server environmet. I am considering using Time Capsule. Is anyone doing this? Pros/Cons?
-
Create Invoice for rent in 4.7
Hi All, I am working on R/3 4.7 set 2.0, presently I am facing issue with Invoice. Generally for Invoice, the transaction code is RERAIV in ECC 6.0, but in 4.7 itu2019s not working. Is there any other transaction code or any other method please kindl
-
On linux, Acrobat Reader will not open files on SMB server
I try double clicking a file on a network SMB server in Nautilus on Ubuntu and Acrobat reader starts but does not open the file. What's going on? Alex