JSON data in HTML table
I'm new to jQuery, animate edge and this Forum... and pretty novice to HTML5 and CSS3, so I could really use a help please :-)
I have a JSON file with many records. I wish that each record to represent a row in an html table. The JSON file gets written each night courses, and the number of records in the JSON file will often change. I want to write the values of the file in a dynamic html table and then use different animations to set the table on the stage! Possible? Or is there a better way?
My JSON example:
[{'id': 1,}]
'Division': 'Austin ',.
'txt_one': 9,.
'txt_two': 5,.
'txt_three': 20,.
"txt_four": 5
},
{"id": 2}
'Division': 'Houston ',.
'txt_one': 0,
"txt_two": 4.
'txt_three': 0,
'txt_four': 7
},
{"id": 3}
"Division':"Phoenix. "
'txt_one': 1,.
'txt_two': 2.
"txt_three": 3.
"txt_four": 6
}]
(1) the html option (table symplistic).
(A) code:
var myList = {lines: []}
{'id': 1, 'Division': 'Austin', 'txt_one': 9, "txt_two": 5, "txt_three": 20, "txt_four": 5},
{'id': 'Division' 2: "Houston", "txt_one": 0, "txt_two": 4, "txt_three": 0, "txt_four": 7},.
{'id': 3, 'Division': 'Phoenix', 'txt_one': 1, 'txt_two': 2, 'txt_three': 3, 'txt_four': 6}
]};
var lines ="";
.each $(myList.rows, {function(index,item)}
"lines += '.
"; '+' + item.id "+ point. "Division. '+ item.txt_one +' '+ item.txt_two +' '+ item.txt_three +' '+ item.txt_four +' } );
.html ("$("Text") sym.
"+ lines +".
");SYM. $("table") .css ("width", sym.$("Text").width ());
SYM. $("table, td") .css ({'border': "1px solid black", "border-spacing": "5px"})
SYM. $("tr") .css ("background", "#acc5a0");
SYM. $("td") .css ("text-align", "center") .css ("color", "white");
(B) back on stage:
(2) the display option.
Could you please send a file with your model of symbol?
I mean your line template.
Tags: Edge Animate
Similar Questions
-
How can I filter the data and display it in the html table?
Hello
How do I filter data that contains the database table and already displayed in html table, then when the user write a data to filter or search, it will automatically display the data in html table. ?
can someone help me to do this? Here is my php code for the table that will display the data:
<?php $servername = "localhost"; $username = "root"; $password = "pass"; $dbname = "ses"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "SELECT No, Calon, ID, Jurusan FROM candidates"; $result = $conn->query($sql); ?> <?php if ($result->num_rows > 0) { echo "<table > <tr> <th>NO</th> <th>Candidate</th> <th>ID Number</th> <th>Programme</th> <th>Edit</th> <th>Delete</th> </tr>"; // output data of each row while($row = $result->fetch_assoc()) { echo "<tr> <td align='center'>" . $row["No"]. "</td> <td>" . $row["Calon"]. "</td> <td>" . $row["ID"]. " </td> <td>" . $row["Jurusan"]. "</td> <td align='center'><a href='main2.php?edit=".$row["No"]."'>Edit</a></td> <td align='center'><a href='delete.php?del=".$row["No"]."'>Delete</a></td> </tr>"; } echo "</table>"; } else { echo "0 results"; } $conn->close(); ?>
hope someone can help me with this.
Thank you.
You must first create a search form for the user to enter a search word:
Then create a page named search_page.php and insert the following code into it and save it. The code in red below Gets information from the search form field name = "Calon" and the SQL query finds in the "Calon" database field for a game.
<>
$servername = "localhost";
$username = 'root ';
$password = "pass";
$dbname = 'his ';
Create the connection
$conn = new mysqli ($dbname, $servername, $username, $password);
Check the connection
If {($conn-> connect_error)
Die ("connection failed:".) $conn-> connect_error);
}
$Calon = trim($_POST['Calon']);
$sql = (' SELECT no, Calon, ID, Jurusan candidates WHERE Calon = "'.") $Calon.' » ") ;
$result = $conn-> Query;
?>
<>
If ($result-> num_rows > 0) {}
ECHO '.
"; ";NO. Candidate Identification number Program Edit Delete each line output
While ($row = {$result-> fetch_assoc())}
ECHO '.
";" . $row ["no"]. " " . $row ["Calon"]. " " . $row ['ID']. " " . $row ["Jurusan"]. " Edit Delete }
ECHO '.
} else {}
echo "0 results."
}
$conn-> close();
?>
-
Data from the table to html, word doc
I have a word doc search kind of Bill that I would use to make a report of the apex. The word document includes a table with all the digital data for the invoice, pretty simple. I saved the doc word to HTML and used a program to remove all excess html. I put the html code in a report of the apex as a region of html, and it seems perfect. What is the best way to get SQL data in the html table in the region.
What I need to create a region of SQL and html data, and then put in the header and footer, am I missing something simple?
Thank you794181,
I take the HTML code and use it as the framework for a model of column name. This will allow you to put your query data in correct places it has to go.
To make a column named model, go to components shared, models, create, report; for "model Type:", select "Named column (model line).
Named column templates are fairly easy to implement, but that also seems to mean that it is difficult to find documentation for them. Basically, set up your query and then use # < nom_de_colonne > # in your HTML code, replacing < nom_de_colonne > with the actual names of the columns in your query.
Oh, and as a general rule, you want to set up a model column header in your model of column named - I almost always just fill in model 1, before the lines and online after lines.
-David
-
Help with several ListItemComponents with the JSON data
I can't find a way to use a specific ListItemComponent for a specific type of element JSON. I can only find examples for XML data that works. But I tried to do the same thing for JSON and does not work.
The examples that I found (nothing for JSON):
- https://supportforums.BlackBerry.com/T5/native-development-knowledge/ListItemComponent-types-when-us...
- https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__listview.html
Basically, I want to display a specific ListItemComponents for the JSON element in a table. One of the Photos, videos, etc...
QML
listItemComponents: [ ListItemComponent { type: "photos" content: Container { horizontalAlignment: HorizontalAlignment.Fill background: Color.Green Label { text: ListItemData.text horizontalAlignment: HorizontalAlignment.Fill } } }, ListItemComponent { type: "videos" content: Container { horizontalAlignment: HorizontalAlignment.Fill background: Color.Yellow Label { text: ListItemData.text horizontalAlignment: HorizontalAlignment.Fill } } }, ListItemComponent { type: "status" content: Container { horizontalAlignment: HorizontalAlignment.Fill background: Color.Blue Label { text: ListItemData.text horizontalAlignment: HorizontalAlignment.Fill } } }, ListItemComponent { type: "link" content: Container { horizontalAlignment: HorizontalAlignment.Fill background: Color.Red Label { text: ListItemData.text horizontalAlignment: HorizontalAlignment.Fill } } } ]
JSON
[ { type : "photos", text: "this is a photo" }, { type : "video", text: "this is a video" }, { type : "status", text: "this is a status" }, { type : "link", text: "this is a link" } ]
This works fine if I add it to a ListView dataModel. GroupDataModel or ArrayDataModel.
Can someone please help? Thank you very much in advance!
Redefine the itemType for the data model.
// Item type mapping function itemType(data, indexPath) { if (indexPath.length == 1) { return 'header'; } else { switch (Number(data.type)) { case 0: return 'this_item'; break; case 1: return 'that_item'; break; case 2: return 'another_item'; break; case 3: return 'whos_item'; break; case 4: return 'item_item'; break; case 5: return 'yet_another_item'; break; case 6: return 'last_item'; break; } } }
DataModel is a GroupDataModel
dataModel: {StatisticsModel}
Class ExampleModel: public bb::cascades:GroupDataModel
-
Display HTML table in the BBUI screen
I want to write an application that displays a custom calendar (month view). Now, I use java script to render an HTML table, and insert this code in the data screen as below.
function viewSelectedMonth() will make only the HTML for the table. But when I run the action menu does not work. Could you tell?
Help
On
Parameters
Home
Toast
Today
Hi there, I don't have an exact answer as to why your code behaves like that.
The best thing I can say is that you use Web Inspector to debug your application. If there are errors as they appear in the Console of the Web Inspector, and you will be able to solve much better.
More info @ https://developer.blackberry.com/html5/documentation/v2_2/getting_started_web_inspector.html
-
Hello
I'm almost done to convert my application to use XML to JSON; the last thing I need to reconfigure is my field of research (which is looking the listView data source).
In XML, I would fix the query:
query: "/root/continent"
looking for this file:
XML
Brazil vs Croatia Thursday 12 June 2014 17:00PM (Local Time) Arena de Sao Paulo So now, I have converted more of JSON and instead use the title of listItem, I use fixtureInfo just as they were both providing the same information.
JSON
[ { "type":"item", "id":"1", "dateNumber":"12/06/2014", "fixtureInfo":"Brazil vs Croatia", "dateInfo":"Thursday 12 June 2014", "timeInfo":"17:00PM (Local Time)", "timestamp":"1402603200000", "stadiumInfo":"Arena de Sao Paulo" } ]
Data source:
DataSource { id: dataSource1 property string sQuery: "" onSQueryChanged: { dataModel1.clear() load() } source: "asset:///JSON/Fixtures.json" type: DataSourceType.Json remote: false onDataLoaded: { //create a temporary array tohold the data var tempdata = new Array(); for (var i = 0; i < data.length; i ++) { tempdata[i] = data[i] //this is where we handle the search query if (sQuery == "") { //if no query is made, we load all the data dataModel1.insert(tempdata[i]) } else { //if the query matches any part of the country TITLE, we insert that into the list //we use a regExp to compare the search query to the COUNTRY TITLE (case insenstive) if (data[i].listItem.title.search(new RegExp(sQuery, "i")) != -1) { dataModel1.insert(tempdata[i]) //Otherwise, we do nothingand donot insert the item } } } // this if statement below does the same as above,but handles the output if there is only one search result if (tempdata[0] == undefined) { tempdata = data if (sQuery == "") { dataModel1.insert(tempdata) } else { if (data.listItem.title.search(new RegExp(sQuery, "i")) != -1) { dataModel1.insert(tempdata) } } } } onError: { console.log(errorMessage) } }
Therefore, what set that the query - for my data source - so that it will pick up the JSON data as before with XML?
Thanks in advance.
Like many I know THAT JSON does not use a query. Check out these https://developer.blackberry.com/native/documentation/cascades/device_platform/data_access/working_w... https://developer.BlackBerry.com/native/reference/Cascades/bb__data__jsondataaccess.html
-
QNetworkReply running into the problem of loading JSON data
Hello
I am a beginner with C++ and QT, but so far I'm starting to love the NDK waterfall!
I'm trying to load a json data file that is extracted via a http request. Everything goes through, but my json data simply would not load in the QVariantList. So after a few hours of poking arround, I noticed finally that the json returned by the http request data is missing two brackets [] (an @ beginning and an end @).
When I load the json data into a file with the two brakets included, the QVariantList load properly and I can debug through the records...
Now my question is... how C++ can I add those parentheses []... See the code example below:
void MyJSONReadClass::httpFinished() { JsonDataAccess jda; QVariantList myDataList; if (mReply->error() == QNetworkReply::NoError) { // Load the data using the reply QIODevice. qDebug() << mReply; myDataList = jda.load(mReply).value
(); } else { // Handle error } if (jda.hasError()) { bb::data::DataAccessError error = jda.error(); qDebug() << "JSON loading error: " << error.errorType() << ": " << error.errorMessage(); return; } loadData(myDataList); // The reply is not needed now so we call deleteLater() function since we are in a slot. mReply->deleteLater(); } Also, I would have thought that the jda.hasError () have captured this question... but guess not!
I use the wrong approach or wrong classes? The basic example used is the WeatherGuesser project.
Thanks for your help...
It is perhaps not related to media. Try to recover data from QNetworkResponse as a QByteArray then load it into JsonDataAccess using loadFromBuffer:
myDataList = jda.loadFromBuffer(mReply.readAll()).value
(); If this is insufficient, you can add media in this way (not tested, please see the documentation for the names of functioning if it won't compile):
QByteArray a = mReply.readAll(); a.insert(0, '['); a.append(']'); myDataList = jda.loadFromBuffer(a).value
(); Note that if the response data are zero end (most likely it is not, but there is a possibility of it), you will need to check if the last symbol in byte array is '\0' and insert the capture media.
QByteArray docs:
-
How to upgrade the json data in 12.1.0.2
XmlType support copy editing xml update, as I have found no json update guide in Oracle XML DB Developer Guide (chapter 39 JSON in Oracle Database)
I have a json data column named info in the table of tjson as below:
{
"'name': 'tom ', '.
ID card': 12,.
"addr':"an address. "
'Phone': ['6574573', '2375899']
}
Can I use sql to query a key value (property) of the column of json:
Select t.info.name from tjson t where t.info is not null and t.info is json (strict)
But how can I insert (perhaps to update or delete) key (property) in tjson.info, as the copy edit the thing of the xmltype
There is still no equivalent to the language XQuery Update for JSON. The only form of update, we support is to replace the whole document. At least for XML, for small documents, up to 1 MB in size a complete replacement is often less expensive than the cost of the computation of an update...
-
How to insert CLOB data in tha table in my database
I create a table called (annual NUMBER, name VARCHAR and CLOB doc) html page
IsqlPlus I have run the following procedure
P4_FIRE_HTML_TRIGGER_ARG EXEC ("OLBA + LEGAL + PSOA + OEJN", file); file: came the CLOB parameterthe result parameter is set to the queue:
< ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 / / IN" "http://..." >
< HTML >
< HEAD >
< TITLE > ADDS - METARS results form < / TITLE >
"< LINK REL ="StyleSheet"type =" text/css"HREF="/layout/awc/mystyle.css ">
< / HEAD >
< BODY BGCOLOR = "#FFFFFF" >
< TABLE SUMMARY = "this table is used for formatting only" BORDER = 0 CELLPADDING = 3 CELLSPACING = 0 >
< TR VALIGN = "top" >
< TD ALIGN = "left" COLSPAN = "2" >
< H2 > Aviation digital data Service (ADDS) < / H2 >
Produced by form of METAR (1858 & #160;) 11 February 2014 UTC) < BR >
" located at < A HREF =" http://AV .............................
< Table >
< /TR >
< TR VALIGN = "top" >
< TD ALIGN = "left" COLSPAN = "2" >
< FONT FACE = "Monospace, Courier" > OLBA 111800Z 01006KT 7000 FEW026 16/11 Q1022 < / POLICE > < BR >
< FONT FACE = "Monospace, Courier" > LEGAL 111830Z 34005KT 8000 NSC 13/11 Q1021 NOSIG < / POLICE > < BR >
< FONT FACE = "Monospace, Courier" > PSOA 111830Z 21009KT 9999 - RA BKN016 06/03 Q1003 NOSIG < / POLICE > < BR >
< FONT FACE = "Monospace, Courier" > OEJN 111800Z 34004KT CAVOK 25/20 Q1012 NOSIG < / POLICE > < BR >
< Table >
< /TR >
< /table >
< / BODY >
< / HTML >I try inserting the above result in my HtmlPage of the table by a simple insert:
Values inserted INTO HTMLPAGE (annual, doc)
(5, 'meatr_taf', ' <!) DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 / / IN" "http://... "
... < / HTML > ') values are not inserted just I got a message:
SP2-0863: iSQL * more treatmentCan someone help me to insert CLOB data in my table HtmlPage above
Thank yousoftware:
Form [32 bit] Version 9.0.2.9.0 (Production), oracle JInitiator: Version
1.3.1.9, WebUtil Version 1.0.2 (Beta), window xp service pack 2 build 2600, Internet Explorer 8
LOOP
UTL_HTTP. READ_LINE (RESP, File_Metar, TRUE);
p2_putlines (File_Metar);
USING_CLOB. ADD_MORE (1, File_Metar);
USING_CLOB. LOB_INS (1, 'Metar_taf', File_Metar);
END LOOP;
UTL_HTTP. END_RESPONSE (resp);You should not use USING_CLOB. LOB_INS (1, 'Metar_taf', File_Metar) inside the Loop.You must use
LOOP
UTL_HTTP. READ_LINE (RESP, File_Metar, TRUE);
p2_putlines (File_Metar);
USING_CLOB. ADD_MORE (1, File_Metar);
END LOOP;
-
How to export data from the table with the colouring of cells according to value.
Hi all
I use jdeveloper 11.1.1.6
I want to export data from the table with a lot of formatting. as for color cells based on value and so much. How to do this?
You can find us apache POI-http://poi.apache.org/
See this http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html
-
APEX_MAIL send results in an HTML table
Apex 3.2
I've written a procedure that sends an email with the data of the apex_workspace_activity_log.
I would try to display that data in a table in the email.
All the world done this before?
See you soonCREATE OR REPLACE PACKAGE BODY EFSAPX.p_monitor_page_times AS procedure pr_checkelapsed(p_elapsed in number, p_toemail in varchar2) is v_text clob; begin wwv_flow_api.SET_SECURITY_GROUP_ID; for x in (select application_id, application_name, page_id, elapsed_time from apex_workspace_activity_log where application_id = 103 and elapsed_time > p_elapsed and trunc(view_date) > trunc(sysdate-1) order by elapsed_time desc) loop v_text := v_text || 'Application No: ' || x.application_id ||chr(10); v_text := v_text || 'Application: ' || x.application_name ||chr(10); v_text := v_text || 'Page Id: ' || x.page_id ||chr(10); v_text := v_text || 'Elapsed Time: ' || x.elapsed_time ||chr(10); v_text := v_text || utl_tcp.crlf; end loop; apex_mail.SEND(p_to => p_toemail, p_from => '[email protected]', p_body => v_text, p_subj => 'Elapsed Time Metric Warning'); apex_mail.push_queue('localhost', 25); end pr_checkelapsed; END p_monitor_page_times;
GusAs says below, the real HTML involved is very simple, and there's a lot of documentation available for it.
I normally use SQL/XML for generating HTML fragments with the embedded data:
select xmlserialize( content xmlelement( "table" , xmlconcat( xmlelement( "tr" , xmlconcat( xmlelement("th", 'Application No') , xmlelement("th", 'Application') , xmlelement("th", 'Page ID') , xmlelement("th", 'Elapsed Time'))) , xmlagg( xmlelement( "tr" , xmlconcat( xmlelement("td", application_id) , xmlelement("td", application_name) , xmlelement("td", page_id) , xmlelement("td", elapsed_time))) order by elapsed_time desc))) indent size=2) html_table from apex_workspace_activity_log where application_id = :p_app_id and elapsed_time > :p_elapsed and trunc(view_date) > trunc(sysdate-1)
This avoids a lot of tedious messing about with concatenation or substitution in the PL/SQL code and translates the own and valid HTML mark-up with all the tags and attributes in the right place. However as apex_mail API docs notes, the p_body_html parameter must be a complete HTML document (and you will probably need to include any other content and style as well as the table). It's a bit tedious to nest this structure in the query, so a combination method of the lower model for the structure of the base HTML document and this approach to SQL/XML query to generate the table with data structure would be a good idea.
I guess from the wwv_flow_api of . SET_SECURITY_GROUP_ID call that you intend to execute outside a session of APEX? Another option to consider is to create a public page in this app, or as a stand-alone application in the workspace with this query as a region of simple aid report pages/templates, and all the required style embedded in the page. The mail procedure can then use httpUriType.getCLOB to retrieve this page as a complete document which can be passed as p_body_html to apex_mail.send.
Note the requirement that each line in the content cannot exceed 1000 characters. Whatever method you use will have to be built around model/applications are used (where the dash in the code above), or you need to process the content and insert CRLF at the appropriate places before calling apex_mail.send.
-
DeserializeJSON - is there a limit on the size of the JSON data that can be converted?
, I have a few valid JSON data which are converted successfully by DeserializeJSON... until it gets to a certain size, or is certainly what seems to be the case. The breaking point seems to be somewhere in the neighborhood of 35 000 characters... about 35 KB. When the conversion fails, it fails with a "JSON parsing failure: unexpected end of the JSON string" message. And if the conversion fails, the JSON data are deemed to be valid by tools like this: http://www.freeformatter.com/json-validator.html.
So, is there a limit on the size of JSON data can be converted by DeserializeJSON?
Thank you!
Thank you, Carl.
The JSON is presented in its entirety, confirmed by Fiddler. And it is in fact being recorded successfully to a SQL Server nvarchar field too. I can validate that saved JSON.
I'm actually grabbing the JSON to convert directly from SQL Server and your comments / ideas drove me on the path of resolution.
It turns out that the JSON is truncated before going to the DeserializeJSON command, but it was the attraction of cfquery which was truncated. The difficulty was to allow the 'long text retrieval (CLOB)"for this data source in CF Admin. I would never forward or even knew that he had this setting.
Thanks again for your comments!
-
HTML Table tag...
Dear all,
I have an obligation to have simple tabular data.
If I managed to do it like this
You can see that there are a lot of style...<f:verbatim> <table width="100%" border="1" class="column" cellpadding="3" cellspacing="0"> <tr bgcolor="#ECEDF0"> <td><af:outputText id="ot2" value=" " escape="false"/></td> <td><af:outputText id="ot3" value="Status" inlineStyle="margin:4.0px;"/></td> <td><af:outputText id="ot4" value="Date" inlineStyle="margin:4.0px;"/></td> <td><af:outputText id="ot5" value="Upd By" inlineStyle="margin:4.0px;"/></td> <td><af:outputText id="ot6" value="Co-ordinator" inlineStyle="margin:4.0px;"/></td> </tr> <tr> <td bgcolor="#ECEDF0"><af:outputText id="ot12" value="Overall" inlineStyle="margin:4.0px;"/></td> <td bgcolor="#FFFDFD"><af:outputText id="ot8" value="#{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : bindings.xx.inputValue } #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : '(' } #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : bindings.xx.inputValue } #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : ')' }" inlineStyle="width:150px; margin:4.0px;"/></td> <td><af:outputText id="ot9" value="#{bindings.xx.inputValue}" inlineStyle="margin:4.0px;"> <af:convertDateTime pattern="#{bindings.xx.format}"/> </af:outputText></td> <td><af:outputText id="ot10" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue}"/></td> <td><af:outputText id="ot11" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue}"/></td> </tr> <tr> <td bgcolor="#ECEDF0"><af:outputText id="ot22" value="Tech" inlineStyle="margin:4.0px;"/></td> <td><af:outputText id="ot13" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : bindings.xx.inputValue } #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : '('} #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : bindings.xx.inputValue} #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : ')'}"/></td> <td><af:outputText id="ot14" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue}"> <af:convertDateTime pattern="#{bindings.xx.format}"/> </af:outputText></td> <td><af:outputText id="ot16" value="#{bindings.xx.inputValue}" inlineStyle="margin:4.0px;"/></td> <td><af:outputText id="ot15" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue}"/></td> </tr> <tr> <td bgcolor="#ECEDF0"><af:outputText id="ot17" value="Legal" inlineStyle="margin:4.0px;"/></td> <td><af:outputText id="ot18" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : bindings.xx.inputValue } #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : '(' } #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : bindings.xx.inputValue } #{bindings.xx.inputValue == null || bindings.xx.inputValue == '' ? '' : ')' }"/></td> <td> <af:outputText id="ot19" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue}"> <af:convertDateTime pattern="#{bindings.xx.format}"/> </af:outputText></td> <td><af:outputText id="ot20" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue}"/></td> <td><af:outputText id="ot21" inlineStyle="margin:4.0px;" value="#{bindings.xx.inputValue}"/></td> </tr> </table> </f:verbatim>
I decided to use h:panelGrid but it doesnot give me much comfort wrt style... especially if I want to do for a cell.
It is for me a correct output... no errors except under the direction of jdeveloper gives me redmarks...
I know this isn't a code of good practice and not recommended but is at - it another alternative...?
Any idea on 3rd lib left... as (html:table... html:td... html:tr. ike stuff).
Kind regards
Sicard.
JDeveloper 11.1.1.4.0Arrrrrrrgs! ... your code looks like a recipe from hell (Smiley)
Instead, try to Trinidad
TRH:tableLayout
TRH:rowLayout
TRH:cellFormatYou can add libraries of the Trinity to your ADF Faces project by mosue right click in the Compoennet Palette and choosing "Edit tag libraries". Select the 'Trinity HTML' library
Frank
-
Hello. Is it possible to export data from a table in Oracle using SQL Loader? If Yes, can you tell a good examples?
Hello
Hello. Is it possible to export data from a table in Oracle using SQL Loader?
No, with SQL * Loader, you can load data from external files into tables not export.
coil c:\temp\empdata.txt
sqlplusabc.sql (assumes that abc.sql runs select * from emp)
spool offIt cannot work like this, because the declaration of the COIL is not recognized outside the SQL * Plus the term.
But, you can include the statement of the COIL in abc.sql like this:
spool c:\temp\empdata.txt select * from emp; spool off
Then, you just have to run the SQL script as follows:
sqlplus
@abc.sql However, I advise you to use Oracle SQL Developer, this is a free tool and with it you can export a Table in several types of format (html, xml, csv, xls,...).
Please find attached a link to this tool:
http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/Overview/index.html
Hope this helps.
Best regards
Jean Valentine -
Selection of data in the table in a table
I use apex 3.2
I have a report where he returnts say 3 rows.
I need to select data from a table in and table and then use the data in this table in a body of email
or select the data in the table and use the data in the body of the sub form of e-mail
How can I do this. ?
something like below
Empno name e-mail address
1 XX [email protected]
2 bb [email protected]
3 [email protected] aaHello
You can take the values in the table in the cursor and use it in the part of the email.
It will be like,Cursor c1 is
Select Empno, emp email;In the part of the body
Hardcode the values of the columns inside html tags
l_body: = '
'; ';EmpNo I'm in c1
loop
l_body: = l_body | » ';i.EmpNo i.Name i.email
end loop;
l_body: = l_body | »then use the variable 'l_body' inside your share email.
I hope this helps.
Kind regards
LIBERATOR
Maybe you are looking for
-
The problem of migration - how to reverse?
I tried to migrate data from another user on my McBook Pro, so that I could have all the data through my profile, sign in. Conflicts re log in names reported Migration Assistant and I changed the. Then, the migration has taken place but included all
-
All my drop-down menus are distorted by the change, the menus and menus on my browser websites. The distortion is so bad that I can't read the menu or choose a selection from the menu without moving my cursor around and sometimes not even then. The m
-
How can I delete my computer max. should I do this or it won't hurt my computer?
-
What is the maximum size of hard drive can be installed in a 13 inch mid 2012 MacBook Pro?
-
My old Apple TV has been connected to my receiver via optical audio input that is not my generation new Apple TV. Now I don't have that sound no sound from my speakers surround sound stereo. An idea for a work around so I can return my surround sound