I want to insert the line under each row except last one
Hi,
How to test it is the last row in the Rich:datalist component?
I want to add the line under each row except the last one.
<x:someUIDataTag binding="#{someBean.someUIDataProperty}" value="#{someBean.someList}">
<x:someUIColumnTag>
<x:someUIOutputTag rendered="#{someBean.someUIDataProperty.rowIndex + 1 != someBean.someListSize}" />
</x:someUIColumnTag>
</x:someUIDataTag>
Similar Messages
-
I want to know what is the code of writing Lines under each other. in visual basic the code is vbcrlf so what is it on cocoa?
for example i want to write "hey" then press a button then it shows then write What's up and press the same button,then i get
hey
what's up?
hope you got me!I would think that you will want a separate entry text field to avoid issues with other chat text winding up in the middle of your reply while you are editing it. Using that approach, you can use something normal like the return key to signal the end of editing, and then post the text into the main chat area.
Also, a multi-line label is normally used for, well, labels - take a look at using a text view, which can have scrollers. -
I want to change guide line color each of them. very difficult work. every same color. please
It looks like you might be using CC, in which case CC 2014.2.2 has a very cool, New Guide layout panel
If you are using CS6 (or CC for that matter) there is the excellent free GuideGuide extension panel. Both would be helpful if you use a lot of guides. -
I have bought a IPhone 4 from Malaysia, my home button is not working. I want to replace the phone under warranty but all service centres mention that its country specific and I need to get it replaced only at malaysia. Can anyone guide me what to do????
The iPhone warranty is not international and as you purchased in
Malaysia the warranty is only valid in Malaysia
You could try taking to an iPhone Authorised service provider
in India but there have been many similar posts to yours
and I am not aware of them assisting with an iPhone from
outside India -
How to remove the line under JMenuBar
Some client requires that the line under a JMenuBar looks ugly and it should be removed. can anybody give me some idea how to do it?
Snap!
JMenuBar menuBar = ...;
menuBar.setBorderPainted(false);Mitch Goldstein
Author, Hardcore JFC (Cambridge Univ Press)
[email protected] -
I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoints along with text box. Can anybody help me in this? Thanks.
Thanks for you reply.
But actually I don't want to show the \ (backslashes) to the user in my text box.
Ok let me elaborate this problem little more.
I want to show my text box as it is in normal editors e.g. In Matlab editor. There is a text box and on left side the gray bar shows the line numbers corresponding to the text. Further more i want that the user should be able to click on any line number to mark specific line as breakpoint (red circle or any graphical indication for mark).
Regards,
Waqas Ahmad -
Let's say I have a document that is 5 pages long. Now I want to insert the page numbers, starting on page 3 with the number "3" and leaving out pages 1 and 2. How do I do that?
I just found the answer myself. I don't know how to delete my question, so I'll just write the reply to the answer - just in case somebody needs to know: Insert a section brake after the second page and then choose "Start on 3".
-
I'm trying to print onto mailing labels, but it won't line up correctly. It looks right on the template and the 1st row even prints correctly. The text keeps moving down a line on each row of labels, so the rest of it will not print correctly.
There are several ways you can go about this.
1. Most labels come with Word templates or downloadable Word templates. Simply open those in Pages.
2. Make a table with extra cells for the thin spaces between the labels and skinny those down to match the spaces. ie You have big fat cells for the actually labels and thin narrow empty ones for the gaps.
3. Make a floating Text box the size of one label, format with dummy text just the way you like it.
+Menu > Format > Advanced > Define as Placeholder text+
You can now drag and drop snippets of text, the addresses etc onto those and it will replace them matching the style of the existing text.
You duplicate that text box into position of the other labels by clicking on it with the command kety held down, then drag copy it up or across with the option and shift keys held down. Fine tune the positions with:
+Inspector > Metrics > Position+
Peter -
during an upgrade to the latest OS version on our IPHONE 4S, it stopped updating about 1/2 way along the line under the APPLE LOGO. what can I do to complete, or restart the update?
Hi ..
Depends on whether you're doing this wirelessley or using iTunes > Update your iPhone, iPad, or iPod touch
iOS: Unable to update or restore -
I'm trying to get the count for each row to total count for each month
Something like this
Hardware | Jan
Monitors | 5
Processors | 137
Printers | 57
etc........
How can I write a query for this. I can get the Hardware column but don't know how to get the next column.If you can provide more data like sample input DML statements it would have been wonderful..
Assuming is , you need a pivot. Here is an article on basic Pivot..
http://sqlsaga.com/sql-server/how-to-use-pivot-to-transform-rows-into-columns-in-sql-server/
something like this may be..
DECLARE @Input TABLE
Hardware VARCHAR(20),
[Date] VARCHAR(20)
INSERT INTO @Input VALUES('Monitor', '01/01/2014'), ('CPU', '01/01/2014'), ('Monitor', '01/03/2014')
, ('ABC', '01/01/2014'),('Monitor', '02/01/2014')
;WITH CTE AS
SELECT Hardware, LEFT(DATENAME(M, [Date]),3) AS [MonthName] FROM @Input
SELECT *
FROM
SELECT Hardware, [MonthName], COUNT(Hardware) AS Count FROM CTE GROUP BY Hardware, [MonthName]) a
PIVOT (MAX([Count]) FOR [MonthName] IN ([Jan], [Feb])) pvt
Please mark as answer, if this has helped you solve the issue.
Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles. -
Need a VB-Script that read a txt-file and only the lines that are new since last time
Hi,
I need help to write a VB script that read all new lines since the last time.
For example: The script reads the textfile at specific time, then 10 minutes later the script read the file again, and it should now only read the lines that are new since last time. Anyone that has such a script in your scriptingbox?
cheers!
DocHo
DocBased on the excellent idea by Pegasus, where is a VBScript solution. I use a separate file to save the last line count read from the file, then each time the file is read I update the line count. Only lines after the last count are output by the program:
Option Explicit
Dim strFile, objFSO, objFile, strCountFile, objCountFile, strLine, lngCount, lngLine
Const ForReading = 1
Const ForWriting = 2
Const OpenAsASCII = 0
Const CreateIfNotExist = True
' Specify input file to be read.
strFile = "c:\Scripts\Example.log"
' Specify file with most recent line count.
strCountFile = "c:\Scripts\Count.txt"
' Open the input file for reading.
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(strFile, ForReading)
' Check if the line count file exists.
If (objFSO.FileExists(strCountFile) = False) Then
' Initial count is 0, so all lines are read.
lngCount = 0
Else
' Open the line count file.
Set objCountFile = objFSO.OpenTextFile(strCountFile, ForReading)
' Read the most recent line count.
Do Until objCountFile.AtEndOfStream
lngCount = CLng(objCountFile.ReadLine)
Loop
End If
' Read the input file.
lngLine = 0
Do Until objFile.AtEndOfStream
' Count lines.
lngLine = lngLine + 1
strLine = objFile.ReadLine
If (lngLine >= lngCount) Then
' Output the line.
Wscript.Echo strLine
End If
Loop
' Close all files.
objFile.Close
If (lngCount > 0) Then
objCountFile.Close
End If
' Ignore last line of the file if it is blank.
If (strLine = "") Then
lngLine = lngLine - 1
End If
' Save the new line count.
Set objCountFile = objFSO.OpenTextFile(strCountFile, _
ForWriting, CreateIfNotExist, OpenAsASCII)
objCountFile.WriteLine CStr(lngLine + 1)
objCountFile.Close
Richard Mueller - MVP Directory Services -
How can can i subtract the value of the column in each row ?
I want to subtract the value of the column in each row if the row is not enough then continue to next row.
For example
ID QTY
A 20
B 40
C 60
I want to update this table by subtract the value of the column (QTY) out 70 so the result i want will be
ID QTY
A 20 - 70 = -50 --> 0 this row will be updated to 0 and 50 will continue to next row
B 40 - 50 = -10 --> 0 this row will be updated to 0 and 10 will continue to next row
C 60 - 10 = 50 --> Stop loop
How can i write the sql query for this operation , ThanksPlease post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You have no idea,
do you? Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect.
This is minimal polite behavior on SQL forums. What did you try on your own before posting? I will bet that you did nothing! You expect other people to do your job or homework for you.
>> I want to subtract the value of the column in each row if the row is not enough then continue to next row. <<
This makes no sense. Rows have no ordering; that is a spreadsheet. There is no such thing as a generic “id” in RDBMS. And an identifier is not a sequence which would have an ordering.
CREATE TABLE Foobar
(something_seq INTEGER NOT NULL PRIMARY KEY,
onhand_qty INTEGER NOT NULL);
Learn how to use the SUM()OVER() and LAG() aggregate functions, post what you tried for yourself and then we will help you.
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Putting buttons at the end of each row of a report
Hi
Was wondering if anyone new of a way to put buttons on the end of each row of a report. Basically i want a button and a LOV box next to the end of each row so that the user could set the value of the LOV box click the button and that would update just that row. Obviously i want to give them the option of batch processing it as well but for now i just want them to be able to update one row at a time.
This does not nessacary need to be with a LOV box it could also work with radio buttons to specifiy the value to update.
If anyone knows a way of doing this or any information where i can read about it then please let me know as i would be very interested.
Or can you make report fields eidtable so that i can just run a massage update on the using all the values in the report?
Thank you for your time
Daniel Stead
Message was edited by:
Dan SteadNo such luck a tabluar updat form shows all the rows for that table. I only want the user to be able to update their rows in the table.
This is bascally what i want to do.
I have two reports that only show records that are realted to the current user that is logged in.
The first report shows all records in the table for the current user where the supervisor (the current user) type is set to confirmed.
The second reprot shows all the records in the table for the current user where the supervisor (the current user) type is set to requested.
That is what i have acheived so far.
I want to be able to make the superviosr type in the second report editable with a list of values requested, rejected and confirmed. The user can then select what he would like the type to be for the specific record in the report and then press a button that updates all the reocrds (or a button at the end of each row that updates each row). If the row is confirmed it moves to the first report, if it is still requested it stays in the second report and if it is set to rejected then it will be in neither report.
Therefore my question is if i make the supervisor type eidtable how can i link it to the id of that row so that it updates it?
If this is not clear please state to me which part i have not made clear.
Thank you for your help.
Daniel Stead -
:new., lob columns and after insert ... for each row trigger
I'm having this little problem with
my update/insert triggers and lob columns.
I have this little trigger:
CREATE OR REPLACE TRIGGER BLOB_DATA_INSERT
AFTER INSERT ON BLOB_DATA
FOR EACH ROW
BEGIN
INSERT INTO BLOB_DATA_CHANGE VALUES(CHANGE_SEQ.NEXTVAL, 'I', :NEW.ID,:NEW.DATA);
END;
Which works except when the DATA column
is a BLOB or CLOB (There is no data in :NEW.DATA. I even tried some of the DBMS_LOB package procedures)
The one thing that is different for the lob columns is that the application updating
the data is using a bind statement with returning, like:
INSERT INTO BLOB_DATA
VALUES(:ID,EMPTY_BLOB())
RETURNING DATA INTO :DATA;
COMMIT;
Thanks for any helpI'm having this little problem with
my update/insert triggers and lob columns.
I have this little trigger:
CREATE OR REPLACE TRIGGER BLOB_DATA_INSERT
AFTER INSERT ON BLOB_DATA
FOR EACH ROW
BEGIN
INSERT INTO BLOB_DATA_CHANGE VALUES(CHANGE_SEQ.NEXTVAL, 'I', :NEW.ID,:NEW.DATA);
END;
Which works except when the DATA column
is a BLOB or CLOB (There is no data in :NEW.DATA. I even tried some of the DBMS_LOB package procedures)
The one thing that is different for the lob columns is that the application updating
the data is using a bind statement with returning, like:
INSERT INTO BLOB_DATA
VALUES(:ID,EMPTY_BLOB())
RETURNING DATA INTO :DATA;
COMMIT;
Thanks for any help -
Hi
My application is generating a 2-dimensional array of data as it performs multiple sweeps. I would like to take the mean of all the data in each row and thereby reduce to a 1-dimensional array. Does anybody have a quick solution.
(Sorry - I am posting many messages at present, I promise to share my acquired knowledge!!!).
Thanks
Ashley.Try this.
Attachments:
Mean.JPG 5 KB
Maybe you are looking for
-
I saw Brett Terpstra's answer in his quickTip fixing the other account issue in the mac app store issue and followed those directions and still have this issue. I have only one apple ID and still can't update the basics such as Iphoto...
-
Function module to find category Guid
Hi all, I need a Function Module to find the 'Category Guid' using 'Category Id' and 'Logical System Name', from table 'COMM_CATEGORY', to update category Guid in the database table ZSRM_BBP_DET_ACC. Please Help. Regards, Abhinay.
-
How to get back all the old sync data in new sync version?
How to get all the back up data from old sync version to the newer sync version?
-
How do I fix footage that was capture in the wrong format?
Hi there, I want to edit footage that was supposed to be captured in 16.9. 720 x 480(1.2121) but once imported onto premiere pro cs4 looks like this according to properties it was captured in 16.9. 720x480(0.9091) How can I convert it to the first s
-
When I tried to purchase whatsapp, an error 'please contact itunes support to complete transaction' How to contact to finish my transaction