Calendar Display Column Content Ordering
I would like to order the items returned to be displayed for a day by their values or a different column? The executing SQL wraps my source and adds an order by for the date. I don't see a way to modify that in 3.1.
e.g.
select date, name, name_sort from table order by date, name_sort
becomes
select * from (select date, name, name_sort from table order by date, name_sort) where <date range test> order by date
I can have 0 to 88 different names for any given date. I want to display the name, but order the names by the name_sort column.
Thanks,
Ed
Ed,
Your query for the calendar could look like this
SELECT ename, hiredate + rownum / 24 / 60
FROM (SELECT ename, hiredate
FROM emp
ORDER BY ename)which will sort the values in ascending order.
SELECT ename, hiredate + 1 / rownum / 24 / 60
FROM (SELECT ename, hiredate
FROM emp
ORDER BY ename)See this example:
http://htmldb.oracle.com/pls/otn/f?p=31517:124
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------
Similar Messages
-
How to change "Display column content" on a uploaded file link?
Hi,
I based my portal form on a table with a field of type BLOB. I used this to upload any type of file. I have no problem in uploading my file, when I query the information, a link comes up with the words "Display column content". I can click on that link to see the content of my file. But is there a way to change the wording "Display column content"?
nullYoy can change the link by editing the generated package
-
Span columns problem with Table of Contents order
Hello,
I'm having a strange issue with headings that span columns and Table of contents order. My document has a heading paragraph in a coloured box, which is then inserted in-line into a 2-column text box. The paragraph style for the box (set to in-line) is set to span all columns, so that the 2-columned text doesn't get messed up.
When I create a table of contents, the Heading style that is inside the coloured box is being picked up fine, but even though it is inserted before the headings below it, it is showing up after the level 2 headings, instead of before.
I have confirmed that the insertion of the blue bar is before the text below it, as when I remove the span columns option, the TOC works as it is supposed to. Is this a bug?Hi there, thanks for the reply.
The only way I could move the inline box to the left was to make a custom anchor and change the X value, this did not affect the TOC unfortunately. I also checked the location of the invisible marker indicating the location of the inline text box, and it is definitely before the heading that follows. I confirmed this by removing the span columns option for that paragraph, and the TOC displayed properly after doing that, meaning there is likely some problem with the span columns option not properly recognizing the order of content.
Regards, -
Displaying Filter Content in defined order
Hi all,
I have a Filter component and would like to display the content as user-defined way...Any idea?
Thx.
Eddy.ya You can do it
column a column b
B 10
C 20
F 40
A 50
Now youR user defined this order
column z
A
B
C
F
Now we will take two filter
In filter 1
*If you double click the component it will show the properties -
>in general tab
*mark the labels cells column z
*INSERTION TYPE select label
*DESTINATION cell A1
In filter 2
*If you double click the component it will show the properties -
>in behaviour tab
SELECTED ITEM -->ITEM->select cell A1 (which is destination of filter 1
*in in general tab
*LABELS--->BIND THE COLUMN A
*INSERTION TYPE--->row or filtered row
*SOURCE---->BIND THE COLUMN B
*DESTINATION---->A2
NOW DISPLAY THE A2 CELL Through spreadsheet or some component.....
Now hide the filter 2 by changing the colour .......
Edited by: Kannan Balamurugan on Jun 20, 2011 4:34 PM -
How to display the content of a BLOB column in a ADF/BC pages ?
How to display the content of a BLOB column in a ADF/BC pages ?
There is some image in database table blog column. And we want to display image on the screeen.
There is some example about upload and dowload blog columns.
(steve not yet document example page etc...)
But We want to display blog picture in a image component...
is there any basic way to do it ?
Thanks a lot...Ali,
You could just download the sample app... but... here is the servlet code from the demo (look at it just for technique - you'll obviously have to change it for your needs)...
John
package oracle.fodemo.storefront.servlet;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.*;
import javax.servlet.http.*;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Key;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
import oracle.jbo.client.Configuration;
import oracle.jbo.domain.BlobDomain;
import oracle.jbo.domain.DBSequence;
import oracle.jbo.domain.Number;
import oracle.jbo.server.ViewObjectImpl;
public class ImageServlet
extends HttpServlet
private static final String CONTENT_TYPE =
"image/jpg; charset=windows-1252";
public void init(ServletConfig config)
throws ServletException
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
response.setContentType(CONTENT_TYPE);
response.setContentType(CONTENT_TYPE);
String detailProductId = request.getParameter("detail");
String thumbnailProductId = request.getParameter("thumbnail");
boolean thumbnail = true;
String productId = null;
OutputStream os = response.getOutputStream();
String amDef = "oracle.fodemo.storefront.store.service.StoreServiceAM";
String config = "StoreServiceAMLocal";
ApplicationModule am =
Configuration.createRootApplicationModule(amDef, config);
ViewObjectImpl vo =
(ViewObjectImpl) am.findViewObject("ProductImages"); // get view object (the same as used in the table)
if (detailProductId != null)
productId = detailProductId;
thumbnail = false;
else
productId = thumbnailProductId;
vo.defineNamedWhereClauseParam("paramThumbnail", null, null);
vo.defineNamedWhereClauseParam("paramProductId", null, null);
vo.setWhereClause("DEFAULT_VIEW_FLAG = :paramThumbnail AND PRODUCT_ID = :paramProductId");
vo.setNamedWhereClauseParam("paramThumbnail", (thumbnail? "Y": "N"));
vo.setNamedWhereClauseParam("paramProductId", productId);
vo.executeQuery();
Row product = vo.first();
BlobDomain image = (BlobDomain) product.getAttribute("Image");
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[10 * 1024];
int nread;
while ((nread = is.read(buffer)) != -1)
os.write(buffer, 0, nread);
os.close();
vo.setWhereClause(null);
vo.removeNamedWhereClauseParam("paramProductId");
vo.removeNamedWhereClauseParam("paramThumbnail");
Configuration.releaseRootApplicationModule(am, false);
} -
How to display Column List (Search Bar - Do Not Display) in Ascending Order
Hi,
I am having a Interactive Report..
In the Search Bar we have Select Columns, under that we have Do Not Display.
where all the columns (currently not displayed) are listed.
How can we display these columns in Ascending order
Thanks,
DeepakDo you want to display these columns in the IR?
If yes. Select the column you want to display and click the the '>'.
In the interactive report regions - source, where you have your query to select the columns use order by to sort them in assn order.
Do you want to keep these columns as 'Do not display' and have them in assn order there?
Select all columns to display and move the columns back to the 'Do not display' region one by one making selections in assn order.
Or in the query select the columns in the order desired.
I don't know if I am helping. I fell like I got your question all wrong. Still...
Edited by: machan on Dec 11, 2009 11:01 AM -
How to Customize Calendar displayed content
Hi Listers,
I have easy question. How to control the displayed hyperlink content in the calendar?
Thanks in davance for your help.
BenHi Ben,
You can customize the calendar application in many ways. Please review the various links in the how-to for the details but for starters review the following. The various view provided by default provides additional data, etc...... Provide details if you prefer of the specific data that you would like to display. Keep in mind the default attributes required for the calendar component as well.
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_calendar.htm#CHDIJJAJ
Thanks,
Dana -
Change Column content of ALV Variant
Hi,
I need to add a field in an existing variant for the layout of an ALV report. What I did was to add a field in a structure using Append Structure. The text that I first entered was wrong (field label of the data type of the field). Now, when I run the ALV Report, then when I choose to add a hidden field in the variant(setting>display variant>Current...), the wrong text is appearing even if I've already modified the field label of the data type.
Do I need to adjust something in order for the "Column Content" of the variant to be displayed properly?After you made the change to the ALV catalog, try to re-create the variant again.
Thanks & regards,
Hadiman -
Dynpro Table Control Column's Order
Hi everyone,
I am facing a strange issue in a Dynpro Table Control with the order of the columns.
I had to add a new key filed in a standard view. When I am running the Table Maintenance Generator in SE11, the Dynpro Table Control is generated correctly and the new column appears at the right place with the other key fields. But when I display the view data with either in SE11 or using the Customizing link in SPRO, the new key field appears at the complete right end of the Dynpro in between two normal fields.
I tried to delete the screen and to generate it again, I tried to use the same screen number and also a new screen number but the result is always the same. The column's order is not correctly displayed when executing the Dynpro.
The only way the columns are correctly displayed it's if I created a new screen in a new Z program but this solution cannot be consider since we are talking about standard Dynpro / Table / Function Pool. Using a Z program would not permit to use the standard SPRO link no more.
I know that sometimes the Table Maintenance Generator does not work properly but I never saw this kind of behavior before. Can someone help me?
Thank you in advance for your answers,
Sylvainhi,
r u making through wizard?
it is good practice.
Otherwise first take I/O field, give name and than u can take text field for column heading.
Reward if useful. -
How to display the contents of a 2D array which is bound to a data table
Hi ,
I have a backing bean which returns me a 2D array of Strings . Now I have bound this to a data table .
Something like this
<h:dataTable styleClass="dataTable" id="dstable" var="dbArray" value="#{pc_MyApp.dbProperties}">
Now when I say dbArray[i] it will give me the ith column of the current row. I want to display these dbArray[i] contents in a proper table format.
What I am doing at present is something like this
<h:dataTable styleClass="dataTable" id="dstable" var="dbArray" value="#{pc_MyApp.dbProperties}">
<h:column id=id1>
<h:facet name="header">
<h:outputText value="Heading"/>
</h:facet>
<h:outputText id="text1" value="#{dbArray[0]}" ></h:outputText>
<h:outputText id="text1" value="#{dbArray[1]}" ></h:outputText>
<h:outputText id="text1" value="#{dbArray[2]}" ></h:outputText>
</h:column>
</h:dataTable>
This is able to display the contents of 2D array on the screen, but everything for the current row comes in just a single column...I want each column value to be in diff column and it should look like a table.
Can anyone please guide me in this respect..
Thanks
MahajanDoes doArray always have at most three elements?
If so, you can specify three <h:column>s each displays doArray. -
Audiobooks are not displaying in numerical order on iphone. all mixed up.
audio book contents which are in order from 1 to whatever number in itunes are now displaying in different orders on iphone now. how do I fix this? they are already in the order I want in itunes but not on the iphone
I created a playlist (not a smart playlist) for the audiobooks I transfer to the iPod and they're STILL playing as if I had shuffle mode on. I've reported this as a bug, but who knows when Apple will get around to fixing it!
I was hoping someone would have come up with a workaround but nothing works. -
Document library items are not displaying in sorted order in sharepoint 2013
Hi,
I have a document library , I am storing document sets on it.
28326 items are there in the library.
I have configured sort on Name columns. Initially items are displaying in sorted order like (A,B,C,D,E...)
Now Items are not displaying in a sorted order it is displaying like (A, B,C,D,E,A,C...) like this.
Please help me on this sorting issue.
Thanks,
SamirAre the documents displaying in your image inside the document sets? If so then your sets (folders) are displaying in alphabetical order and the documents inside the sets are displaying in alphabetical order. This is what i would expect.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can see the the firefox button on the top left corner, when I go to it the drop down list drops and there is no text, if I move down the drop down I hit where there is a slide out in that drop down and no text is there. So, to start in safe mode you need to go to the firefox button, and click on start in safe mode. I can't See safe mode or click on anything were safe mode should be.
hello, close all firefox windows & hold the shift-key while opening firefox in order to launch it in safemode. in the first dialog just choose "continue in safemode" and go to firefox > options > advanced > general. in there disable hardware acceleration, restart firefox normally again and see if this has changed anything.
also see [[Upgrade your graphics drivers to use hardware acceleration and WebGL]] -
How do I set the column content to automatic break lines
Hello Guys,
I have a problem with the column width and the column content of a standard report. Within the report are hugh entries which aren't interrupted by an space character. I set my column width to a special value by usingen "css style: display block; width: 300px;". Now the problem is that some of the column entries have a longer width than the column width is setted. So they overlock the entries of the column next to them.
My question is: How do I set the column content to automatic break lines after a certain count of characters?
After researching a couple of websites and discussion thread I found maybe a reference to the solution. I hope it help you to give me an answer.
COLUMN LAST_NAME FORMAT A4
regards
wderrWderr,
PDFs are another animal entirely. Try adjusting the width of the column under the Print Attributes tab of the report.
If that doesn't work you'll probably need to create custom XSL-FO layouts which, depending on the tools you have at your disposal, could take some time.
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/ -
Does not display all content after first loading of page
Hello all,
I am having quite strange problem which is hard for me to figure out.
I have 8 buttons on my web site. Each button will display different content. My page is: www.itconnect.co.nz
When you go to my page first time, by default "Design & Software" button will be active. Here when you look on first photo you can see that the bottom part is missing - logos.
However when i click again on "Design & Software" button the missing content will appear.
What could be the problem ?
Thank you to everyone who would like to help.I am little confused as i don't use flash - only for the Captcha.
The way i did is:
<div class="sp">
<div class="tabs">
<span class="repairs">Repairs</span><span class="design">Design & Software</span>
<span class="security">Security</span><span class="networking">Home Networking</span>
<span class="communication">Communications</span><span class="cloud">Cloud Solutions</span>
<span class="maintenance">Maintenance</span><span class="remote">Remote Support</span>
</div>
<div class="panel_container">
<div class="panels">
<div class="panel repairs">
<div class="panel_content">
HERE GOEST THE CONTENT
</div>
</div>
<div class="panel design">
<div class="panel_content">
HERE GOES THE CONTENT
</div>
</div>
AND SO ON FOR THE OTHER PANELS
</div>
</div>
</div>
For my CSS I have:
.sp {
width: 960px;
position: absolute;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 10px;
margin-left: 0px;
.sp .tabs {
width: 41%;
float: left;
height: 450px;
display: table-column;
.sp .panel_container {
width: 58%;
float: right;
overflow: hidden;
position: relative;
And for the animation I use JavaScript.
Thanks in advance
Maybe you are looking for
-
Officejet pro 6830 & windows home server 2011
Our Officejet Pro 6500 just died, and I replaced it with an Officejet Pro 6830. The printer is connected to our server, which runs Windows Home Server 2011. While installing I learned there is not a driver for Home Server 2011? I also discovered t
-
How to change the capitalization date
Hi , I carried out WBS to AUC settlement on 31.12.2009, due to which AUC cap. date becomes 31.12.2009. Now i want to change the cap date to 01.12.2009. How do i do it? Reversing the settlement using CJ88 can only change the first Acq date but not the
-
ITunes Library File Damaged; How Do I Get My Playlists Back?
My PowerMac G4 was in Sleep mode, and the power went out in my house for two seconds. iTunes was open when the computer went down as was Stickies. Upon starting up my computer, I found all of my Stickies memos were gone, but worst of all, I got a win
-
Trying to install inDesign CS6 on my imac. But everytime I try at end of install I either get a problem with install error, or if it does show up in my applications folder, it has a "no" sign and when clicked I get: "You can't open the application Ad
-
Print outs have thin border when -default-background-color is set
Hey everyone. In my application the print out have this very thin border. The -default-background-color is set to #333333 (dark grey) and this is the problem. When I set the color to #FFFFFF (white), the thin borders go away. When I set the defaul