On Click of Search button, display the results in new tab or window
When i click on the search button on the top right in sharepoint 2010, i want to open the search page in either new tab or window,
By default, when we click on search icon it redirects to the OOB search result page. the only thing i need to change is to open the result page in new window or tab. so the users remains on the same page & will see the search results in new page.
Thanks, Kunal Govani
Hi,
You need to change the XSL of the Search Core Results WebPart.
This article describes how to achieve this:
http://blog.henryong.com/2007/10/27/how-to-make-moss-2007-search-results-open-in-new-window/. It is written for SharePoint 2007 but it can be used for SharePoint 2010 as well.
HTH!
Regards, Sjoukje
Web: http://sjoukjezaal.com | LinkedIn:
http://www.linkedin.com/in/sjoukjezaal | Twitter:
@SjoukjeZaal
Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
Similar Messages
-
When I click a link to open the page in new tab, it open the new page beside my page.
After I update FireFox to version 3.6.8, I could not open the new page in the last tab, it always opens the new page in beside the tab.
Mmm…I could not make sure the new page or new tab I said is the same with you…?? (I use Chinese version so that I don’t know if it’s the same or not…)
A window could open several pages with different tabs, and I could click different tab to different page, right?
If I right clicked a link to open the page to “new tab” in the same window, the new tab opened in the last tab of my window.
But after I update FireFox to version 3.6.8 and I click a link to open the page to “new tab” in the same windoe, the new tab will open beside my page. (Mmm…Open on right of my page.)
I would like the “new tab” open to the last tab in my window, not “beside” the tab I used. How could I change the setting??)
== This happened ==
Every time Firefox opened
== After I update FireFox to 3.6.8That feature isn't new to 3.6.8, it was changed in 3.6.
Type '''about:config''' in the URL bar and hit Enter.
''If you see the warning, you can confirm that you want to access that page.''
Filter = '''browser.tabs.insertRelatedAfterCurrent'''
Double-click that preference to change the value to '''''false''''' -
Web Viewer - getting buttons to open in a new tab or window
I am trying to get a button to open in a new tab or window in the DPS web viewer.
The options when creating a button are:
Open link in folio
Open link in device browser
Both which do not work when we export the web viewer.
I know it is possible as Adobe are using this function for their Inspire magazine. This does not seem to be html either that they are using. See link here - at the bottom of the page: Adobe Inspire Magazine October 2014: The Truth in a Face
Any help with this issue would be highly appreciated.There is a parameter on creating the iFrame called externalLinksOpen. They can set it to 'window', as it defaults to inline, which opens it in the current window. It's documented here:
http://www.adobe.com/devnet-docs/digitalpublishingsuite/ContentViewerForWebSDK-2.0/classes /FrameService.html#method_createFrame
There is also a demo linked from our 'What's New' section under 'External Link for Embedded Viewer' at http://www.adobe.com/devnet-docs/digitalpublishingsuite/ContentViewerForWebSDK-2.0/modules /What's%20New.html. -
Results displayed b4 click of search button
I have defined parameters in my read only vo query which has a join condition on multiple tables
Declared bind variables for that with the same name
I have dragged and dropped my params on to th jspx from datacontrol execute with params section and my vo as read only table
Everything is working fine
But when the page loads before i click search button all the results are being displayed
Any idea of what needs to be doneI have set the refresh condition as mentioned above but still it doesn't work
My query is
select ms.state_name,
sum(decode(mp.status,'12',1,0)) cnt_active,
sum(decode( mp.status,'12',mh.chargesheet_name,0)) sum_active,
sum(decode(mp.status,'18',1,0)) cnt_inactive,
sum(decode( mp.status,'18',mh.chargesheet_name,0)) sum_inactive,
sum(decode(mp.status,'',1,'5',1,'16',1,'17',1,0)) cnt_expired,
sum(decode( mp.status,'',mh.chargesheet_name,'5',mh.chargesheet_name,'16',mh.chargesheet_name,'17',mh.chargesheet_name,0)) sum_expired
from mst_pindetails mp,
mst_batchno mb,
mst_chargesheet_hdr mh,
mst_state ms
where mp.swhbatchcode=mb.swhbatchcode
and mb.chargesheetno = mh.chargesheet_code
and trim(ms.state_id) = mb.statecode
and ((:from_date is null) or (trunc(mp.attribute_date1)>= :from_date))
and ((:to_date is null) or (trunc(mp.attribute_date1) <= :to_date))
and ((:status is null) or ( mp.status = :status))
and ((:state is null) or (trim(ms.state_id) = :state))
group by state_name order by state_name -
How to display the results in order by based on search value
Hi All,
how to display the results in the below order.
CREATE TABLE TEST( SONGID NUMBER, TITLE VARCHAR2(200))
INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
SELECT *FROM TEST WHERE INSTR (TITLE, 'MADONNA') > 0
output:
SONGID TITLE
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
11 CICCONE, MADONNA (CA)
12 DALLIN, MADONNA LOUISE/STOCK
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
16 MIRWAIS AHMADZAI, MADONNA
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
18 MADONNA (CA),CICCONE
Expected output :
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
...if user searches with 'MADONNA' , I have to display the results like title starts with 'MADONNA' first then rest of the records.
Please let me know is it possible to display the results in that order.
Regards,
RajasekharThis may be a bit more accurate:
SQL> SELECT *
2 FROM TEST
3 WHERE INSTR (TITLE, 'MADONNA') > 0
4 ORDER BY INSTR (TITLE, 'MADONNA')
5 ,TITLE
6 ;
SONGID TITLE
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
12 DALLIN, MADONNA LOUISE/STOCK
11 CICCONE, MADONNA (CA)
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
16 MIRWAIS AHMADZAI, MADONNA
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA) -
How To Make Search Query Showing the Result As List of Buttons.
Can some one give me an idea how to start to make a Search Query showing the results as list of buttons.. i have already have my buttons with names. i just dont know how to make a search query.
this is my on screen keyboard i made..
im making a system that the result were a list of buttons.. showing like this
This was supposed to be the output of the query that i need to do..
Please help me.. i just need a idea or tips how to make this one.Here is code I posted recently for another question
Public Class Form1
Const BUTTON_SIZE As Integer = 20
Const SPACE As Integer = 5
Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim buttons As New List(Of List(Of MyRadioButton))
For row = 1 To 6
Dim newRow As New List(Of MyRadioButton)
buttons.Add(newRow)
For col = 1 To 6
Dim button As New MyRadioButton()
button.row = row
button.col = col
button.Height = BUTTON_SIZE
button.Width = BUTTON_SIZE
button.Left = col * (BUTTON_SIZE + SPACE)
button.Top = row * (BUTTON_SIZE + SPACE)
button.Name = String.Format("radGr1{0}_{1}", row.ToString(), col.ToString())
Me.Controls.Add(button)
newRow.Add(button)
AddHandler button.CheckedChanged, AddressOf Radio_Change
Next col
Next row
End Sub
Private Sub Radio_Change(ByVal sender As Object, ByVal e As System.EventArgs)
Dim button As MyRadioButton = CType(sender, MyRadioButton)
Dim row As Integer = button.row
Dim col As Integer = button.col
End Sub
End Class
Public Class MyRadioButton
Inherits RadioButton
Public row As Integer
Public col As Integer
End Class
jdweng -
When i search for something it displays the results in babylon search
my firefox displays the results of babylon which is too slow and in diffrent languages
Try to change your deafault search provider on settings or download another firefox that is on yahoo so that your results will be viewed on yahoo + yahoo theme.
-
Google Advanced Search only displays 10 Results per page in Firefox 3.6.10
In Google Advanced Search, choose any value for Results per page greater than 10 and do a search. When using Firefox 3.6.10, only 10 results are displayed on each page of results. 10 results per page is the Google default, and the Results per page selection apparently has no effect.
This problem also happens in Google Chrome 6.0.472.63.
The Results per page feature of Google Advanced Search is working properly in other browsers, such as Safari 4.1.2 on a PowerPC Mac and IE 7.0.5730.13 and IE 6.0.2900.5512.xpsp3_gdr.100427-1636 on a PC running Windows XPGoogle recently made some changes to the Google search site with the addition of Instant search and that made the setting of the number of results in the Google settings to stop working.<br />
<br />
If Instant search is enabled on the [http://www.google.com/preferences?hl=en Google Search settings] page (link at the top right) then you only get 10 results.<br />
You have to disable instant search and reload the result page and then set the number of results to your preferred choice.<br />
It may not work if you make both changes at the same time.<br />
<br />
There is a link directly to the right of the Google search field on the Google results page.<br />
That is a button with a drop down list: Instant is On/Off.<br /> -
How to close the detach popup on click of a button in the panel collection
Hi,
I'm using Jdeveloper 11.1.2.3.0.
I have an af table surrounded by panel collection. There is a button on panel collection to commit the changes in the table.
Clicked detach button to view the table in full browser.
On click of Commit button, the detach popup is not closed. I have set partialSubmit of that button to false. Then also detach popup is not closed.
Can anybody suggest me how to close the detach popup on click of a button in the toolbar.
Thanks,
VinodHi Frank,
Thanks for your response. Popup is not closed.
I tried this approach, when the view tree is navigated on the Detach, I see that the tree is same as if it is traversed on the page without detach.
Printed client id and UI component class in the while loop, result is as below.
r1:0:pc1:t3 class oracle.adf.view.rich.component.rich.layout.RichToolbar
r1:0:pc1 class oracle.adf.view.rich.component.rich.output.RichPanelCollection
r1:0:ph2 class oracle.adf.view.rich.component.rich.layout.RichPanelHeader
r1:0:pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
r1 class oracle.adf.view.rich.component.rich.fragment.RichRegion
pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
db2 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
db1 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
psl1 class oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout
ps1 class oracle.adf.view.rich.component.rich.layout.RichPanelSplitter
f1 class oracle.adf.view.rich.component.rich.RichForm
Tried with setting partialsubmit property to false on the command button, still the popup is not closed and my Faces Message are shown behind the detach popup.
Thanks,
Vinod -
Glass Pane( preventUserInput when user clicks on Search button in af:query)
Hi,
We are using glass pane implementation on a search screen.
When I click on Search button in af:query component (having selectInputDate (Date Picker) components)., glass pane is firing correctly,
but second time when I am trying to select date using Date Picker (and Change the Month), glass pane is fired (entering into handleBusyState function) and calendar popup is not opening.
I folled the below article for implementation.
url: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/27-long-running-queries-169166.pdf used for glassPane implementation.
Can any one help me for this issue.Hi am using the following code (javascript) -- Jdev(11.1.1.3)
function preventUserInput(evt){
var eventSource = evt.getSource();
var popup1 = eventSource.findComponent("showGlassPanePopup");
if (popup1 != null){
AdfPage.PAGE.addBusyStateListener(popup1,handleBusyState);
evt.preventUserInput();
//JavaScript call back handler
function handleBusyState(evt){
var popup = AdfPage.PAGE.findComponentByAbsoluteId('r3:0:r1:0:showGlassPanePopup');
if(popup!=null){
if (evt.isBusy()){
popup.show();
} else if (popup.isPopupVisible()) {
popup.hide();
AdfPage.PAGE.removeBusyStateListener(popup, handleBusyState);
... End of Code..
This line .. (popup.isPopupVisible()) removes the Popup , if popup is visible...
If u want the view am using..
SELECT EMPNO , DEPTNO , HIREDATE FROM EMPLOYEE (sample Application i have created), created a view criteria for this..
( (EMPNO = :empNum ) AND (DEPTNO = :deptNum ) AND (TO_CHAR( TO_TIMESTAMP(HIREDATE), 'yyyy-mm-dd hh24:mi:ss.ff') = :hireDts ) ) (View Criteria)
.. <af:clientListener method="enforcePreventUserInput" type="query"/> (added for af:query)
Popup Used: <af:popup id="showGlassPanePopup" contentDelivery="immediate">
<af:dialog id="d2" type="none" closeIconVisible="false">
<af:panelGroupLayout id="panelGroupLayout1" layout="vertical">
<af:outputText value="Processing......Please Wait.." id="ot97"/>
</af:panelGroupLayout>
</af:dialog>
</af:popup>
1. When i click search for first time.. it is showing like -- Processing .. Please Wait'
2. When i click select Date picker it is show -- Processing .. Please Wait'
and show a calender popup window.. If we change the month ... it will again show like -- Processing .. Please Wait'
and it will not open calender window.
Please Help me on this..Am facing trouble due to this.
Thanks in Advance.
Edited by: user10115793 on Nov 15, 2011 12:58 AM -
Had Search Criteria and the result is displayed in the table in a panel header . I want to get the selected row value and parse the value to next Vo in next page for a bind variable . So i need to handle the tbale value by biniding to the bean , but there was no option to bind the table for a bean.So how can i get the value selected .
Regards,
K M Krishna.First of all tell us your jdev version, please.
to get to the selected row you don't need to bind the table to a managed bean. You can e.g. drag the needed attributes from the VO onto the page and drop them as inputText components. the Framework then generated the attribute bindings and sets the values of the current row to them. As you don't really need the inputText components switch to source mode (!this is essential!) and remove them. This will remove the visual component but the attribute bindings are kept.
Know you can access the values via their EL or like you get the value from an attribute via it's binding.
Timo -
I'm trying to modify the appearance of the search box, the search button, and the submit button for web forms by modifying the CSS on Stylesheets. None of the tags I'm using (e.g. .webform .cat_button) seem to be working. What are the correct tags for those three elements?
When you generate the help you can select / deselect the buttons that are displayed.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
"Save Search" button displays above SubTab region for QueryRN
I've created a subTab layout and on the first tab, a QueryRN with resultsBasedSaearch, I've enabled simple, views, and advanced panels. The QueryRN is on the first tab, I have other details on the subsequent tabs.
The "Save Search" button displays above the subTab bean. This means that when I navigate to another subTab, I still see "Save Search".
Can I move this button declaratively? or do I need to show and hide it with controller code?
thank you,
Jerry.hmm. the other tabs do not have query beans. It seems this button defaults to a page level button even though I do not have a page level button layout. btw, I'm using the OASubTabBarBean declaratively.
--Jerry. -
Just a couple days ago all of a sudden the "Open a new tab" button wasn't working and even going into "file" and then "open new tab" it doesn't open a new tab. I have to go into my bookmarks and right click "open in new tab" for any new tab to open. I've checked my settings and nothing is there about it. Is there anything that I can do to fix it?
You're welcome
-
When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.
Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.
Maybe you are looking for
-
In my iTunes on computer, I have several smart play lists. Within each playlist, songs are set to a certain order. Some playlist songs order are organized by name, some playlists are organized by Album, some playlists are organized by artist etc. Whe
-
I had not updated my Itunes in a while. when i got my mac i updated it to the latest version and i guess i set up i cloud but I have no idea how to use it. i have 1163 songs in my itunes library but they literally only show up some times and others t
-
Inner Join with For All Entries - Performance ?
I am using following the following <b>Select using Inner join with For All Entries in.</b> SELECT kebeln kebelp kvbeln kvbelp FROM ekkn AS k INNER JOIN ekbe AS b ON kebeln = bebeln AND kebelp =
-
No Subscriptions for copy of R/3 site creation in SMOEAC
Hi, I have a R/3 site in SMOEAC for replicate customers and B2C processes to ECC. And subscriptions for this Site are : BUPA_MAIN, BUPA_REL and BUS_TRANS_MSG. But now I need to transfer BUPA_MAIN and BUPA_REL from another RFC connection to ECC. I cop
-
File size in finder ' get info' does not refresh
I'm moving files about and need to check how large the folders are (in preparation for burning a dvd). 'Get info' is not refreshing the file size (and it's not just enormous folders). I have installed 'Refresh Finder' but it doesn't make any differen