Dynamic HTML filters
HelloIs it possible to create filters for a report dynamically, but what I mean is this, my database has the following line in a table:
FILTER_ID FILTER_NAME FILTER_TYPE FILTER_QUERY
1 MyList LIST SELECT * FROM table1
I know it seems strange, but is it possible that I could load this information and create html filters of this somehow.
For example, I load the first line and it says I need t create a pick list called MyList, it will load the values with the specific request of the filter_query column.
I just want to know if it is possible, if you maybe have some info from the place where to begin the search, if it is not possible, just know to to ensure that it is not possible.
Thanks in advance.
>
Please update your forum profile with a real handle instead of '985136 '.
Is it possible to create filters for a report dynamically, but what I mean is this, my database has the following line in a table:
FILTER_ID FILTER_NAME FILTER_TYPE FILTER_QUERY
1 MyList LIST SELECT * FROM table1
I know it seems strange, but is it possible that I could load this information and create html filters of this somehow.
For example, I load the first line and it says I need t create a pick list called MyList, it will load the values with the specific request of the filter_query column.
I just want to know if it is possible, if you maybe have some info from the place where to begin the search, if it is not possible, just know to to ensure that it is not possible.
Yes, it is possible by using apex_item API, specifically the methods select_list_from_query * . These methods can be used in a report or dynamic PL/SQL area to generate elements whose values are used as filters in other reports. The values of apex_item- generated items are returned and processed using paintingsapex_application.g_fxx tables.
-----
When you have a problem, you will get an answer faster, more efficient including information as much information as possible from the outset. This should include:
With APEX, we also had the chance to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproduce things is the best way to solve most of the questions, particularly those relating to the layout and Visual formatting. If you expect a detailed response it is appropriate that you take on an important part of the effort by getting as much as possible with an example of the problem on apex.oracle.com before asking for help on specific issues, then we can see firsthand.
Tags: Database
Similar Questions
-
Microsoft (r) dynamic HTML ending control
I have windows xp service Pack 3. Can I download movies on a memory card or USB without this dynamic HTML end control of Microsoft (R). I keep showing up to download. When I went to the microsoft site for more information on what this was, this is for Windows Vista, I did not witch. Can I still download with it.
Thank you
Alvinizer
Yes, you can download...
http://www.wilderssecurity.com/showthread.php?t=251791
http://msdn.Microsoft.com/en-us/library/ms537834%28V=vs.85%29.aspx
-
Help! >; How to send a dynamic HTML table as an email?
Hello
I want to send a dynamic html table as an email
I'm using php/mysql and I have a mysql database
I have a table dynaimc restrained some data from the database
I have a form with a text box to write the email and a button "submit"
I want to send the picture (or the information in the table) when I send the form
is this possible?
Help, please!
OK, now I have you. You create a queary to select the data you want, and then copy the following code
$data = mysqli_query ($dbc, $query) or die (mysqli_error ($dbc));
While ($row = {mysqli_fetch_array ($data))}
Mail to the owner of the form
$header = "from: [email protected]\n".
. "Reply-To: $email\n";
$subject = 'DB in emails data';
$email_to = "[email protected]";
$message =
$row ["FirstName"].
$row ['last_name']
;
}
mail ($email_to, $subject, $message, $header);
So, for each column, you will enter in this
$row ["FirstName"].
So if the column reported, you would put
$row ["State"].
I hope this is the answer you are looking for.
Gary
-
Dynamic HTML formatting in flash
Hello
I am trying to add html hyperlinks in the form of a body of text in dynamic flash through xml. I have read many other messages using the CDATA but it doesn't seem to work for < a href > tags. I just stumbled upon this site:
http://www.anovadesign.com/
which does exactly what I want on the homepage news section. Any ideas on how this was achieved?> For some reason, the text field then reads "a link".
> Any ideas?
This is because you use CDATA, it prevents the content of this node under analysis. But you * want to be seen as HTML, then abandon the CDATA and just use the parent together (in your example,) as htmlText tag. -
Dynamic html content in a film?
Hello
Can someone tell me if it is possible to dynamically load an HTML file into a flash movie without opening the content
in a separate browser window? that is to load the HTML code in a container in the window of the film itself. The name of file real HTML itself could be hardcoded in the film if that helps...
I am totally new to Flash and Action Script, but am a developer, so go figure if you can point even just me to an API.
Thanks in advance.
BrianThanks for the quick reply by the way.
-
Lists numbered with dynamic content filtering
I couldn't find this information anywhere, although I imagine that I'm probably not the first person to experience this problem...
I have a few issues where the steps in the procedures are present numbered lists. I use the conditional tags build on some of the numbered steps to filter the when specific filters are applied in the output of Responsive HTML5. When I look at a topic in preview mode and apply filters, list numbers automatically renumber to avoid skipping numbers. However, when the output and then apply the filter, the lines disappear as expected, but numbered lists jump filtered numbers.
For example:
This filter as indicated in the overview:
But in the generated output, the numbering is far:
Is it possible to get this number right?
Yes, just tested on my end with a multiple numbered list. And in this type of list, things go to pot!
Seems that the solution is to avoid using this type of list. Pretty easy to accomplish. Select the first and the last bit of list and click the multilevel. then simply apply numbers.
See you soon... Rick
-
Reading an AS3 possible dynamic html page?
Hello
I have a small question, I have this html page that contains a cat, the cat is built in html. It's a chatline:
< class li = 'line chat_from_duplin' data-sender = "duplin" >
< p > < span class = "small" > 10:39 </span >
" < a class ="timeout mod_button"title ="Timeout duplin"> < img alt ="Timeout"src =" http://www-CDN.jtvnw.NET/images/XARTH/g/g18_clock-00000080.PNG "> < / a > .
" < a class = 'prohibition of the mod_button' title ="Ban the duplin"> < img alt ="Ban"src =" http://www-CDN.jtvnw.NET/images/XARTH/g/g18_ban-00000080.PNG "> < / a > .
< a class = "unban mod_button" style = "" display: none; "title ="Unban the duplin"> < img alt ="Unban"src =" " http://www-CDN.jtvnw.NET/images/XARTH/g/g18_unban-00000080.PNG "> < / a > .
< a class = 'nick' href = "" / duplin ' id = "chat-line-883893694" style = "color: #FF4500" > < /a > duplin: "
< span class = "chat_line" > there should be an icon of ravage, do you know if she plans to make text icons? </span > < / p >
< /li >
So, would it be possible to have an open stand-alone swf file with Flash to play this content? Whereas the cat scrolls, and only a part of the cat is visible in the html code of the page.
Concerning
you don't need javascript if you just want to 'read' the html code.
reading the code html in flash is not difficult. You can use the urlloader class to load an html page.
the hardest part is the display which is coded in the html page. you will need to parse the HTML (using flash/string array methods) and take appropriate action to display content encoded in the page html manually.
-
Add dynamic html - InnerHTML as implementation of the components of the Adf.
Hello
I need to view the html code on the jsff page which is backing bean.
I need to display html code on page jsff dynamics. I'll put the html code in a requestMap attribute that must be added and displayed on the jsff page.
For example,.
BackingBean
requestMap.put ('DetailText', ' < p > This is sample text for description < /p > < img src=\"test.png\" > "");
JSFF Page
< af:panelGroupLayout layout = "vertical" >
< af:outputText value = "#{requestScope.DetailText}" / >
< / af:panelGroupLayout >
Above code is the hardcoded value display / plain html code.
I need to do something like innerHTML style in the components of the adf.
Is it possible to apply this? help you enjoy!Hello
This would require JavaScript and the access to the HTML code that is generated in the user interface. For example usually the content of a component is represented by an element with the ID of the componentId::content HTML. In this way it can be found on the DOM using findElementById. However, this isn't really a future prove way and fights the idea of development based on the JSF components when you make a hypothesis on the output stream. So was wondering if using f: verbatim for the included HTML help
Frank
-
Best way to generate dynamic html in apex
Hi all
I need to create a complex page as html with tables in tables, ajax and a very large number of elements (text fields).
Would like to have your opinion to know what the best solution to create this page. The HTML code in PL / SQL, it is difficult to manage in the future. There is another way to generate code HTML, without being inside PL / SQL?Hi 819517,
You should be able to get your desired using regions and sub-regions effect.
As you create your own custom for both templates.You can find issues with more than 50 fields on your form.
You can work around this by re using domain names (as in a form of multi line).If you submit several hundred fields, you will need to look at settings for modplsql in apache (if you use it) because the maximum number of form fields is a parameter in the conf file.
Concerning
Michael
-
DWMX. Hi, I have a recordset with a ProductID field and I'm trying to insert this ProductID in the name, if the Source image, then it becomes dynamic - but I failed miserably...
It does not work:
< td > < img src = "Pix/Hadi" < % = rsOneProduct.Fields.Item("ProductID") % > ".jpg" width = "150" height = "200" > < table >
It works:
< td > < img src = "Pix/tn_CDR12345.jpg" width = "150" height = "200" > < table > "
Any help appreciated. Thank you. Dave (UK)Probably all of these quotes causing syntax errors. You need concatenate the name of the image source.
Try adding between the TD tag and the IMG tag:
<%x = "Pix/tn_" & rsOneProduct.Fields.Item("ProductID") & ".jpg"%>
Then change the VBScript inside the SRC attribute for:
<%=x%>
-
Hello
I try to make a dynamic array that will return the topics, all rows in the emp table. Let's say I made the process on the page what contect back simple table.
-The processes on the laundry after region-
DECLARE
totalRows INT;
Str VARCHAR2 (300);
CURSOR c_emp
IS
SELECT ename, empno, mgr
EMP;
BEGIN
HTP.p ("< table style =" border: 1px solid; ' > ' ");
I'm IN c_emp
LOOP
HTP.p ("< tr >");
HTP.p ("< style td =" border: 1px solid black; "> ' |") i.EmpNo | "< table >');
HTP.p ("< style td =" border: 1px solid black; "> ' |") i.Ename | "< table >');
HTP.p ("< style td =" border: 1px solid black; "> ' |") i.Mgr | "< table >');
HTP.p ("< /tr >");
END LOOP;
HTP.p ("< /table >");
END;
-----------------------------------------------------------------------------------------------------
How to include the titles of the columns dynamically? And how to make more intelligent?
Thx for the help and good ideas!Hello
An example
DECLARE l_cursor INTEGER := dbms_sql.open_cursor; l_qry VARCHAR2(32000); l_status NUMBER; l_cvalue VARCHAR2(32000); l_col_cnt NUMBER; l_desc_t dbms_sql.desc_tab2; l_desc_c dbms_sql.desc_tab; BEGIN l_qry := 'SELECT * FROM emp'; dbms_sql.parse (l_cursor, l_qry, dbms_sql.native); dbms_sql.describe_columns( l_cursor, l_col_cnt, l_desc_c ); htp.p('
'); htp.p('
'); IF dbms_sql.is_open(l_cursor) THEN dbms_sql.close_cursor(l_cursor); END IF; EXCEPTION WHEN OTHERS THEN IF dbms_sql.is_open(l_cursor) THEN dbms_sql.close_cursor(l_cursor); END IF; RAISE; END;'); htp.p(''); FOR i IN 1 .. l_desc_c.count LOOP NULL; htp.prn(' '); htp.p(''); dbms_sql.describe_columns2( l_cursor, l_col_cnt, l_desc_t ); -- FOR i IN 1 .. l_desc_t.count LOOP dbms_sql.define_column( l_cursor, i, l_cvalue, 32765); END LOOP; l_status := dbms_sql.execute( l_cursor ); LOOP EXIT WHEN (dbms_sql.fetch_rows( l_cursor ) <= 0 ); --l_row_cnt := l_row_cnt + 1; htp.p('' || l_desc_c(i).col_name || ' '); END LOOP; htp.p(''); htp.p(''); FOR i IN 1 .. l_desc_t.count LOOP dbms_sql.column_value( l_cursor, i, l_cvalue ); htp.prn(' '); END LOOP; htp.p(''); htp.p('' || l_cvalue || ' '); END LOOP; htp.p(' -
How can I create in RoboHelp 2015 dynamic content filtering?
I would like to know step by step.
I tried already several times, without success.
My idea is that end users can see content according to the options chosen by them. I tried to apply conditional build tags to topics, but it did not work.
I also tried to create expressions for my build labels (for example, see one, but do not show B and C), but something was wrong in the process.
To set this feature is perhaps more difficult than I thought. If someone could help me, I appreaciate it.
Thanks in advance!
Hello again
I just uploaded a short video showing the process. See if it helps to make sense of things.
See you soon... Rick
-
Dynamic problem with images in HTML
Hi gurus!
I made a page with a dynamic HTML area. In the content area, I use the PL/SQL (anonymous block) and just put source htp.p(:P33_CONTENT), where the P33_CONTENT element is filled with a table in a process.
If the HTML content has just text, appears ok, but the images do not appear. It is because in a static, engine HTML tag APEX replaces #WORKSPACE_IMAGES #, #APP_IMAGES # and #IMAGES_PREFIX # channels with the appropriate values. But seems that dynamic HTML comes as no replacement.
It's strange because the address replacing is done rightly, as a link
a href = "f? p = 100: 1... »
is converted to
a href = "http://localhost:7777 / pls/apex/f?" p = 100: 1... »
Is this correct? Am I missing something? Is there a solution?
Thanks in advance
OscarWorkaround: htp.p (REPLACE (: P33_CONTENT, ' #IMAGE_PREFIX #', V ('IMAGE_PREFIX')))
-
Hi all
I have the form based on the table issues.
In this form, there is an issue_summary point.
and also on the same page, there are interactive report.
I want to, when the user enters the issue summary, then he must find in the table and
populate IR with related issues.
Can you please help me anyone, how we can do this?
Thanx
OMyHello Omy,
Find out what...
http://anthonyrayner.blogspot.com/2010/07/report-filtering-with-Apex-40-dynamic.html
Thank you
Machaan -
Hello
what I want to do is to dynamically load the HTML an application Web layout. Which means that I generate an HTML fill it with a string and then put this with some style options in the qml Web view option.
I am new to BlackBerry applications development and I do not know how to start here. Can anyone give me a tip?
This is really another question and which I think needs you to play with the creation of your own custom control classes until I understand the concept.
However, the key will be;
Create a class derived from QObject
Add a QProperty something like myHtml
Write dynamic html code in the class
Expose the class to QML
Include your library in the QML page
Add your QObject class myHtml property to property html WebView
It seems probably complicated at first, but there are many examples in the samples, so I suggest you download a few of these and work with their understanding.
Maybe you are looking for
-
I've been using Firefox as my default browser for years. However, beginning with FF11 and continues with FF12, it became so slow to load web pages that it has become practically unusable. IE, Opera, and Chrome are all must faster. If someone knows a
-
How can I disable Picasa so that when I save my images from the camcorder, or export them to the library that they enter my Windows instead of Picasa library.I can't find an option in Picasa to do this.
-
Profile of Stimulus of departure of LabVIEW
Hello I created 4 profiles of stimulation with the editor, and now I want to be able to start them with LabVIEW. Unfortunately most of the screws on the palette works with sequences instead of profiles. My profiles are configured with the parameter a
-
We plan to buy some m90 and use them with 2 monitors each, working independently. What I have to install any special NVIDIA or the graphics processor integrated graphics card is enough?
-
Hoe erase files with Windows Media Player
When I try to delete a song in the media player, it is not deleted. Most of the time I find a song here two or three times, but I cannot delete them. [Moved from comments]