Show only 1 line a XmlDataModel?
Hello world!
I tried to figure this on my own, but I can't seem to get it. Please take a look, its probably something simple I'm missing. Thank you!
-Ali
I apologize in advance for not knowing how to add code snippets in the message box. If someone could tell me how I will edit it
How the world make a list where I specify what line the XmlDataModel I want to show?
Here's the XmlDataModel (fruitmodel.xml)
Here are the main.qml* *.
and finally my list (FruitListItem.qml) point
Hi citrinetiger,
I am new to this platform. But I think that you need to change your xml file of
<102 name="...." ....="">
<103 name="...." ....="">
....
<101 name="...." ....="">
103>102>101>
TO
....
As you can see, I add tag 'point' and attribute 'what' for each number 101 102...
and then I modify your ListItemComponent like that
{ListItemComponent}
type: 'point '.
{FruitListItem}
visible: {}
If (ListItemData.what == '104') {}
Returns true; For the show only 104
} else {}
Returns false;
}
}
}
}
MAZ
Tags: BlackBerry Developers
Similar Questions
-
Sorting the columns showing only a line
Hello
I have a report of sql query that I helped sort on all columns. When I click on the header to sort a column report shows only one line.
If anyone can help me, I would really appreciate it!
Thank you!Once I met a similar problem like the one you describe. I suspect that the problem was related to the data that the report was released.
I was able to make the problem disappear by disabling "Partial Page Refresh" for the report. Define 'NO' for the attribute "Activate partial Refresh of Page" in the page 'Report attributes' disable PPR for the report.CITY
-
Oracle BI 11. Analysis report shows only 500 lines per Page
How can I extend the Maximum lines per Page for an answer on Oracle BI 11.Hi user,
Set the
parameter to Pivot Table and charts parent in instanceconfig.xml file section,
1000
5000
25
30
300
1000
5000
25
30
2000
1000
2000
25
4096
* Make a backup of instanceconfig.xml file before making the above change
Rgds,
DpKa -
My indicator shows only the first line of the string
Hi all
I'm having some trouble with chains, could you help me?
I use a device connected to my computer in a RS-232 port.
I configured the VISA series correctly. When I write a command to my device, the answer is something like this:
"XXXXX."
YYYYYY
2222
44444
WWWW.
The problem is when I try to read this response. The channel indicator shows only one line at a time every single loop. And the other orders received are stored in the buffer until their time to be displayed to come. I mean:
In the first loop device XXXXX responses.
In the second loop the device responds YYYYYY but now I stored what must appear:
2222
44444
WWWW
XXXXX
YYYYYY
2222
44444
WWWW
In the third loop, the device responds 2222 and stores again:
44444
WWWW
XXXXX
YYYYYY
2222
44444
WWWW
XXXXX
YYYYYY
2222
44444
WWWW
How can I configure my blocks to display the full string?
Thank you
Murilo
Post your code and we can better understand what is happening.
My first is however you spend only the corrent, reading of the indicator.
You use a chain shift reg with a knot to concatenate a String?
Your zip code and we'll have a glance.
-
I can't save. Advance registration line but shows only a few peaks.
I can't save. Advance registration line but shows only a few peaks.
Hello
1 did you do any change on the computer before this problem?
2. which version of the Windows operating system is installed on your computer?If you are using Windows Vista I suggest you to consult the following Microsoft article.
Troubleshoot audio recording : http://windows.microsoft.com/en-us/windows-vista/Troubleshoot-audio-recording-problems
If you are using Windows 7 I suggest you to consult the following Microsoft article
Open the troubleshooting of Audio recording open the troubleshooting of audio :http://windows.microsoft.com/en-US/windows7/Open-the-Recording-Audio-troubleshooterAlso see the following Microsoft article:
Record audio with Sound Recorder: http://windows.microsoft.com/en-US/windows7/Record-audio-with-Sound-Recorder
Audio recording in sound recorder: frequently asked questions: http://windows.microsoft.com/en-US/windows7/Recording-audio-in-Sound-Recorder-frequently-asked-questions
Record sound: http://windows.microsoft.com/en-US/windows-vista/Record-sound
-
Show only items returns Null while watch value
Hello
I have a single display element (P1_ID) on my page in which:
Source: replacement always, value that exists in session state
Source type: SQL (return the unique value) query
Select Max (ID) from User_table
I have a process that will remove data in another table based on the value of this element. (ID is PK in User_table and FK in my_table)
DELETE FROM MY_TABLE WHERE ID =: P1_ID;
Zero or lines will be deleted
However, : P1_ID is null, while this is to show the value... when I do the point as hidden and protected the deletion will work... but I need to show the value on my page as show only...
I use APEX 4.2
so could someone please help me?
Minoo.TK wrote:
Hello
I have a single display element (P1_ID) on my page in which:
Source: replacement always, value that exists in session state
Source type: SQL (return the unique value) query
Select Max (ID) from User_table
I have a process that will remove data in another table based on the value of this element. (ID is PK in the User_table and is FK my_table)
DELETE FROM MY_TABLE WHERE ID =: P1_ID;
Zero or lines will be deleted
However,: P1_ID is null when it indicates the value... when I make the point as hidden and protected the deletion will work... but I need to show the value on my page as show only...
I use APEX 4.2
so could someone please help me?
case 1:-IF you use session state - YES
and dynamically change its value it give error protection session state in the future.
Reference:--
Session state protection violation
display only the item and save session state
case 2:- but if your session set State = no. it ends the session state protection error
but you will not be able to use the value defined in the feature display
Solution:-in your case if you want to use the value in the element displayed only as you say
It works with the value of the hidden Yes it will be.
either use your display for viewing only, and also set the value of element element hidden to remove from the table
because
NOTE:-you cannot set save no. session and its value used in parallel (or it can be used to remove or add that I tested and faced this thing too)
one last thing keep hidden protected point value NO otherwise, it will give error:-manually editing the protected point
Reference:--
HI, Patrick:
We had the same problem that ' "violation of Page protection: this can be caused by a manual editing of a protected page items." " If you don't know what caused this error, contact the administrator of the application for assistance. Contact your administrator for the application. ».
-
Show only distinct values in narrative mode
Hi guys!
Here again, we are trying to reach an ambitious goal.
It is possible to show only distinct values in a narrative view? For example, I have a query that retrieves about 100 lines. In these lines, a few different years, it is something like this:
1-2013, Jhon, 10
2-2013, Brian, 15
3-2013, Pete, 20
...
10-2014, Steve. 5
11-2014, Kevin, 12
...
90-2015, Ray, 24
91-2015, Michael, 2
...
It is possible a mode display narrative only something like that?
Years: 2013, 2014, 2015
If I use the feature number @column, I get as many years the results are retrieved. It is not user friendly.
Any help will be appreciated.
Best regards
Fabian
Hi all!
I found my own solution and I want to share with you. Maybe it helps someone in the future.
I used JavaScript to iterate through each row value. By each line, I'll check if it value is added to the overall picture with unique values. If not added, I add it, otherwise, I do nothing.
Here is my script (pay attention to each code block, it must be in its proper "narrative class"):
Narrative section prefix
var periods = [];
var years = [];
var costCenters = [];
function loadArrays (year, period, costCenter)
{
if(periods.indexOf(period)<0)
{
periods.push(period);
}
if(years.indexOf(year)<0)
{
years.push(year);
}
if(costCenters.indexOf(costCenter)<0)
{
costCenters.push(costCenter);
}
}
//Narrative section
//call functions
loadArrays ('@1','@2','@7');
// postfix Narrative section
document.getElementById('promptText').innerHTML = "[b]Fiscal Year : [/b]" + years.toString() + " [b]Fiscal Period : [/b]" + periods.toString() + " [b]Cost Center : [/b]" + costCenters.toString();
-
need to get only one line when you use between (date columns)
Hi all
create the table SAMPLE_ITEMS
(ITEM_NO, varchar2 (10))
Date DELIVERY_DATE,
Number of QTY_SUM1
Number of QTY_SUM2
Number ITEM_QTY,
Number ORDER_QTY,
Number ITEM_AMOUNT,
Number of SALES_AMOUNT
);
insert into SAMPLE_ITEMS values ('AAA', ' 28 / 04/2014 ',-88, 0,475,262,-123.45,-1188);
insert into SAMPLE_ITEMS values ('AAA', ' 28 / 05/2014 ', 0, - 122, 475, 262, - 10.234,-1647);
insert into SAMPLE_ITEMS values ('AAA', ' 16 / 06/2014. ', 0, 0,475,262,-80.59,-135);
insert into SAMPLE_ITEMS values ('AAA', 19 December 2014 ', 0, 0,475,262,-42.29,-67.5);
Setting out with my own query,
ITEM_NO TRUNC (DELIVERY_DATE) QTY_SUM1 QTY_SUM2 ITEM_QTY ORDER_QTY ITEM_AMOUNT SALES_AMOUNT AAA 28/04/2014 -88 0 475 262 -123.45 -1188 AAA 28/05/2014 0 -122 475 262 -10.234 -1647 AAA 16/06/2014 0 0 475 262 -80.59 -135 AAA 19/12/2014 0 0 475 262 -42.29 -67.5 Every time I question as code
Select * from SAMPLE_ITEMS
where DELIVERY_DATE between April 28, 2014 ' and 19 December 2014 '-> they must pass as a parameter
I need to get only one line
AAA -88 -122 475 262 -256.564 -3037.5 Database 11.2.0.1.0
Note; Please do not use MAX for Date and do not want to display Date columns in the result
Note 1: I want to choose DELIVERY_DATE in select it also and only get a line like above the expected result
SELECT item_no
SUM (qty_sum1),
SUM (qty_sum2),
SUM (DISTINCT item_qty),
SUM (DISTINCT order_qty),
SUM (item_amount),
SUM (sales_amount)
OF SAMPLE_ITEMS
WHERE the DELIVERY_DATE BETWEEN TO_DATE (28 April 2014 ', "dd/mm/yyyy")
AND TO_DATE (19 December 2014 ', "dd/mm/yyyy")
GROUP BY item_no;
I will get
ITEM_NO Trunc (DELIVERY_DATE) QTY_SUM1 QTY_SUM2 ITEM_QTY ORDER_QTY TTEM_AMOUNT SALES_AMOUNT
AAA 12/19/2014 -88 -122 475 262 -256.564 -3037.5
OK fine, I want to choose DELIVERY_DATE as if so I'll have all the lines, but I want to only show one as shown above
Because I do report discoverer in Oracle Apps, without taking the DELIVERY_DATE of the select query, it is not possible to move the date as a parameter
Can you please help me how to do this?
Thank you
Post edited by: Rajesh123 NOTE added in the body of the Message
Post edited by: added test Rajesh123 messages
Maybe you want a single line in all cases
Select si.item_no,
start_date min (d.start_date),
min (d.end_date) end_date,
min (si.qty_sum1) qty_sum1,
min (si.qty_sum2) qty_sum2,
min (si.item_qty) item_qty,
min (si.order_qty) order_qty,
Sum (si.item_amount) item_amount,
Sum (if. Sales_Amount) sales_amount
of (start_date select to_date(:date_from,'dd-MON-yyyy'))
to_date(:date_to,'dd-mon-yyyy') end_date
of the double
) d
left outer join
TR sample_items
on the si.delivery_date between d.start_date and d.end_date
Group of item_no
ITEM_NO START_DATE END_DATE QTY_SUM1 QTY_SUM2 ITEM_QTY ORDER_QTY ITEM_AMOUNT SALES_AMOUNT - 01/01/1900 31/12/2000 - - - - - - Concerning
Etbin
-
Link from Oracle to MySQL database select only one line
Hello
I created a connection to the batabase Oracle 11.2 to a MySQL database via a database link. The following statement shows that 35 lines are in the mySQL table:
SQL > select count (*) from 'main_pages"@MOREWEB;
COUNT (*)
----------
35
But a normal select statement only return 1 row.
SQL > select 'subject' of 'main_pages"@MOREWEB;
Object
------------------------------------------------
Übersicht: references
I use the mysql-connector-odbc driver - 3.51.30 - winx64. One is the newer version be installed because on Windows Server 2008 R2, I get an error with a missing dll file. The DataDirect ODBC driver is not possible, because we like to use the MySQL-database free one only support for DataDirect enterprise edition.
I have also tried to limit the HS_OPEN_CURSORS or do not limit the HS_FDS_FETCH_ROWS, but there is no difference in the result. I always get only one line.
HS Init.ora
# This is an example of initialization file of the agent that contains the HS settings
# necessary for the database to ODBC gateway
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = moreweb
HS_FDS_TRACE_LEVEL = WE
HS_FDS_FETCH_ROWS = 1
#
# Required for the non-Oracle system environment variables
#
#set < varenv > = < value >
HS trace file Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066
Heterogeneous Agent release
11.2.0.1.0
Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066
Version 11.2.0.1.0
HOSGIP to 'HS_FDS_TRACE_LEVEL' returned 'ON '.
HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
HOSGIP to 'HS_FDS_FETCH_ROWS' returned '1 '.
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.
HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.
HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.
HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.
HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.
HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
HOSGIP for "HS_FDS_TRANSACTION_LOG" returns "HS_TRANSACTION_LOG".
HOSGIP to 'HS_FDS_TIMESTAMP_MAPPING' returned 'DATE '.
HOSGIP to 'HS_FDS_DATE_MAPPING' returned 'DATE '.
HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
HOSGIP to 'HS_FDS_RESULTSET_SUPPORT' returned 'FALSE '.
HOSGIP to 'HS_FDS_RSET_RETURN_ROWCOUNT' returned 'FALSE '.
HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
using mpgw as the default value to "HS_FDS_DEFAULT_OWNER".
HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
SQL text of hgopars, id = 1, len = 36...
45 00: 53454 C 43542043 4F554E54 282 HAS 2920 [COUNT (*) SELECT]
10: 46524F4D 20606D 61 696E5F70 61676573 [FROM ' main_pages]
20: 60204131 [' A1]
Delayed open until the first fetch.
Deferred execution open.
SQL text of hgopars, id = 1, len = 40...
45 00: 53454 C 43542041 312E6073 75626 has 65 [SELECT A1.' subje(1)]
10: 63746020 46524F4D 20606D 61 696E5F70 [ct' FROM ' main_p]
20: 61676573 60204131 [ages A1]
Delayed open until the first fetch.
Deferred execution open.
Please can someone help me.
Thank you.
Bianca
Bianca,
Everything I've read on this point to a need to install/reinstall the Microsoft Visual C++ Redistributable Package for windows OS 2008.
You will need to download the appropriate version for your microsoft form system. There is a lot of information on this topic. Just
search on the web, and it should help you in the right direction.
Thank you!
Matt -
Master table shows only 5 rows
Hello
I use Oracle JDeveloper 11 g Release 2 (11.1.2.3.0).
I have a picture of master ADF and a detailed in my application form but the main Table shows only 5 rows, I don't understand what is happening, in my database I have more than 5 lines (exactly 7) but table doesn't show him everything.
Can someone help me with this?
Thanks in advance!
Check the size of the extraction of the iterator (pagedef) connections and check that your relay of query returns more than 5 lines.
What is the code to display the master detail do you use?
Timo
-
Hide the header and show the child lines in the record of decision
Hello
I have this requirement, where I need show only the child report of lines and hide the out line of position. Is this possible?
For example. The report from now looks to below: -.
- The ABC test form is col.
I want to make my report decision to look like below without the line " " The ABC test form is "
Kind regards
Suan
If you set the attribute 'the ABC test form is pass' silent that it will not be displayed in the record of decision, but its subitems will be.
- Make sure that the attribute "the ABC test form is pass" is a properties file
- Double-click it in the file properties, and then select the record of decision.
- Check if Invisible: 'True' option.
See "Hide in a record of decision information" in Oracle user modeling Strategy Guide
-
Dynamic table returns only a line
Hello world
I try to use a Recordset:
"SOME concerts. EventDate, concerts. Location, concerts. Notes
CONCERTS
WHERE the concerts. "EventDate > = CURRENT_DATE.
When I test the Recordset, I get 3 of the 5 records returned, which is exactly as it should.
However, when I try to create a dynamic table to display the results - if I choose to show all records, or the default of 10 at a time, it shows the first line results from the Recordset.
When I try to create a master-detail table and ask him to show one record at a time, it's there for that, but using the next/back navigation links, it takes me to other records, though one at a time. That tells me that he doesn't know that there should be three records, but it only shows one.
What am I doing wrong with the dynamic table, here?
Thank you!
I suggest that you start the page completely from scratch, because it seems that you made the rookie mistake classic to remove a dynamic object in Design view without realizing that any other PHP code is connected with it. When you work with dynamic objects, keep an eye on what is listed in the server behaviors panel. To remove a server behavior, select the referencing in the Panel and click the button "-" to remove it properly.
In fact, you have two sets of records on the same page, that do the same thing. One is called to come, the other is called UpcomingShows. You get only a line showing in your table is because you use the recordset "to come". The Dreamweaver recordset code automatically retrieves the first record and then uses a do... while loop to create the region repeated in the table. What has happened is that your changes to the page have resulted in this line who appear before the repeat region:
mysql_free_result($upcoming);
This destroys the rest of the result of database before using it again. Therefore, only trace never appears.
Dreamweaver always puts mysql_free_result() after the closing tag. Thus, it seems that your changes caused Dreamweaver to lose track of all the relevant parts of the server behavior. If you move this line to the bottom of the page, your table should work. However, as I said before, I think that it is better to start from scratch.
One last thing: your SQL query contains the following WHERE clause:
WHERE gigs.EventDate >= CURRENT_DATE
It is an incorrect syntax for MySQL. It should be like this:
WHERE gigs.EventDate >= CURRENT_DATE()
CURRENT_DATE() is a MySQL function, not a constant.
If all goes well, a little less head banging.
-
Why Flash graphic showing only 15 bars
Hello
I created a flash graphic, a 2-d column chart, but it shows only 15 columns, I checked that this query returns more than 20 lines.
When I created a chart sectors with the same query, it too showing 15 pieces with one total extra, "The other" by calculating the other remaining lines.
Can anyone tell why bar and pie chart display all the lines?
Thank you
-SmithHello
Go to the attributes table and click Edit next to you series in the section "Series of cards.
Change the value of lines max here.
See you soon
Ben
http://www.munkyben.WordPress.com
Don't forget to mark the answers useful or correct ;) -
When I turn on my iPhone 6 screen shows only the background color, the icon usage and the reception icon.
The iPhone's battery is fully charged? Otherwise, load it, and then try again.
If it is busy, go in recovery mode as explained here. You may need to try to get into the mode of recovery once more to succeed.
If you are unable to update or restore your iPhone, iPad or iPod touch - Apple supports
-
4 s phone shows only Apple icon &; black screen.
4 s phone shows only Apple icon & black screen. Computer message said: my phone cannot be updated and I should delete the data to create the space,.
But how if she will not activate?
If your iPhone or iPad does not respond, try the steps here:
Maybe you are looking for
-
Customer may not send me emails, they are be bounce back indicating undeliverabe
-
Text messages randomly all went... . How to get back? !
IPhone 6 was with messages. First of all, I would like to get notification of banner but no number real on the messages icon. After that a bit off and ons, still nothing. IPhone even had a hard time sending messages outs (imessages). I have all the p
-
use of the unit internal greeting vs standard gretting witch CCM param?
Hi, I want to know witch CallManger parameters, use the unit to choose between internal greeting or the standard greeting?
-
BlackBerry Smartphones has new Curve?
Hello world! I had just a small question so its time for a new blackberry and I love the curve series, and I was wondering if he had plans for a new curve (for AT & T) at any time in the near future. I don't want to buy one and get a new one out shor
-
Scenario is,I have a form master detail. I do all the manually.i, e of work, insertion in Master table and inserting into the table of detail all is made by managed bean manual ID Work.Primary time master and detail Table is generated by means of bef