Dynamic content in servlets (JDev, iAS)
I build a servlet that print some HTML on output progressively. It looks something like this:
=============================
public void doPost(....)
PrintWriter out = new PrintWriter (res.getOutputStream());
out.println("<html>");
out.println("<head></head>");
out.println("Out1<BR>");
out.flush();
// wait 5 seconds
out.println("Out2<BR>");
out.flush();
// wait 5 seconds
out.println("Out3<BR>");
out.flush();
out.close();
=============================
When I run servlet in JDev (3.2.2), I
saw progress output in my browser, but in
iAS (1.02) I got all content at once.
Probably something is wrong with Apache
configuration. Can you help me?
Thank you
Matic
null
an ias forum was recently added.
you may want to post the question there about the process you're using and what the expected behavior you want is and if it will occur that way in ias.
i'd copy the link to this entry and post it in the ias 9i forum posting if someone wants to look at the code.
i hope this helps ...
Similar Messages
-
Mixing static and dynamic content in a single outputText value causes NPEs
Hi,
I am having a problem and I'm wondering if it is a result of my error or if this is a bug.
I am mixing dynamic and static content in the value attribute of tags (e.g., outputText). On initial page load, everything works fine. However, if the same view is reloaded (e.g., after a failed validation) I get an NPE from JSF:
[#|2006-10-24T08:49:03.756-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at com.sun.faces.el.MixedELValueParser.getNextToken(MixedELValueParser.java:140)
at com.sun.faces.el.MixedELValueParser.parse(MixedELValueParser.java:123)
at com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:60)
at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:201)
at com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:128)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:609)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
at org.apache.jsp.registration_jsp._jspx_meth_h_panelGrid_0(registration_jsp.java:324)
at org.apache.jsp.registration_jsp._jspx_meth_h_form_0(registration_jsp.java:223)
at org.apache.jsp.registration_jsp._jspx_meth_f_view_0(registration_jsp.java:157)
at org.apache.jsp.registration_jsp._jspService(registration_jsp.java:118)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)My code looks like this:
<h:outputText escape="false"
value='<link href="#{myBean.styleSheet}" rel="stylesheet" type="text/css" />' />If I replace this with a much more convoluted set of tags, it works:
<h:outputText escape="false"
value='<link href="' /><h:outputText escape="false" value="#{myBean.styleSheet}"
/><h:outputText escape="false" value='" rel="stylesheet" type="text/css" />' />So is the problem that I am mixing dynamic and static content with a single value? If so, why does it work on the first view, and not after?
If it matters, I'm using the reference implementation version 1.1 (as included with NetBeans 5.5RC2) on SuSE 10.0 w/ JDK 1.5_09.
Thanks,
BillYes, that's how I originally had it, but then changed it to the outputText approach since a single tag could do what I wanted, as long as I was allowed to mix static and dynamic content within a single value.
I think this is a bug in JSF 1.1, since if what I am doing is illegal, it should throw an exception on the first page view, not work on first view and throw an exception on subsequent views. I'm guessing that this has something to do with the fact that on first page view it only runs the restore view and render response JSF phases, while on subsequent requests all of the phases will be run, and it's in one of those other phases that the exception is thrown.
For now, multiple tags is the work-around, I guess.
Thanks,
Bill -
Dynamic content of web pages sample
Dear ALL,
I WANT TO BUILD DYNAMIC CONTENTS OF WEB PAGES/SITE BY
JDEVELOPER 9I/10G. PLS TELL ME WHERE HAVE BEST SAMPLES/EXAMPLES/TUTORIALS.
I KNOW OTN HAVE VSM TUTORIALS. BUT NOT ENOUGH.
BEST REGARDS
BORISBoris
BC4J Toy Store is a very good example.
http://otn.oracle.com/sample_code/products/jdev/bc4jtoystore/bc4jtoystore.zip
success
-Jan -
Caching dynamic content?
any one checked out this dynamic content caching engine called
'dynamai'?
customer (ipix.com) claims 35X performance increase and insures no
browser gets stale content....w/o any mods to his existing web
infrastructure.. and he's already on the akamai net.... expects no less
than a 10X ROI in <1yr... just started reading the whitepaper... very
interesting stuff...
http://www.dynamai.com
b.t.I am confused by your comment. But, version 5.1.1 is expected in June with
this feature.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Olivier Brand <[email protected]> wrote in message
news:[email protected]..
Do you know when will be released this version ? Other J2EE compliantservers
like iPlanet 6 offers this tag already. The same product has a cachingmechanism
at the servlet level too. Will you plan to have something similar ? Ifnot, all
the business logic will have to be moved in the JSP page itself, whichdoesn't
follow the path of separating the content from the presentation...
Any idea ?
Olivier
Michael Girdley wrote:
You should also note a new piece of functionality that will be coming
out in
version 5.1.1 (as planned).
This is a special tag extension for JSP that allows you to cache entireJSP
segments/output.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
b.t. buxsnard <[email protected]> wrote in message
news:[email protected]..
any one checked out this dynamic content caching engine called
'dynamai'?
customer (ipix.com) claims 35X performance increase and insures no
browser gets stale content....w/o any mods to his existing web
infrastructure.. and he's already on the akamai net.... expects no
less
than a 10X ROI in <1yr... just started reading the whitepaper... very
interesting stuff...
http://www.dynamai.com
b.t. -
Problem with "PL/SQL Dynamic Content" and displaying rows
hi,
im new to APEX, and pl/sql [but not web dev or sql].
ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
maybe there's a better option for people who dont know pl/sql? i dont know?
however, i think i can getting working with a little bit of help but im stumbling around in the dark a bit here.
ok so this is the pl/sql ive come up with to show three example values on page 23 of my aplplication:
BEGIN
SELECT ID, NAME, OWNER
FROM COM_MAILSHOTS
INTO :P23_ID, :P23_NAME, :P23_OWNER;
END;
im getting the error:
1 error has occurred
ORA-06550: line 5, column 21: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 4, column 1: PL/SQL: SQL Statement ignored
thanks for reading!Metabaron wrote:
hi,
im new to APEX, and pl/sql [but not web dev or sql].
ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
maybe there's a better option for people who dont know pl/sql? i dont know?
The easiest (and best) way to "display rows" is using a report. Dynamic PL/SQL regions are more complex and are required much less frequently.
The Oracle® Database 2 Day + Application Express Developer's Guide tutorial explains how to create reports and other basic APEX techniques. -
Adding pagination in report build from PL/SQL dynamic content using htp.p
Hi,
I have a requirement for which i used PL/SQL dynamic content to build my report and i displayed my report using a cursor and loop by HTP.P function.
Now problem is I have report with more than 500 rows and I want to add pagination concept for this report.
How can i do that?
Thanks in advance.
Regards,
SmithTo preserve heading on each page for a HTML table you can use the THEADER, TFOOTER and TBODY tags (see example). To force page breaks, try experimenting with these style attributes:
<STYLE TYPE="text/css">
tr.breakhere {page-break-before: always}
</STYLE>
<tr class="breakhere">Table Example:
htp.tableopen;
htp.print('<THEAD style="display:table-header-group">');
... your table headers here
htp.print('</THEAD>');
htp.print('<TFOOT style="display:table-footer-group"><TR><TD></TFOOT>');
htp.print('<TBODY>');
... your rows here
htp.print('</TBODY>');
htp.tableclose;Edited by: crokitta on Apr 8, 2009 2:07 PM -
Print PLSQL Dynamic content region in PDF format in Oracle Apex
Hi All,
I have created a report region by selecting "PLSQL Dynamic Content".This region calls the procedure with some parameters.So i want this plsql dynamic content to be in PDF format.
For an easy understanding, I have created an application in Apex.Oracle.Com where i have created a Plsql Dynamic content which calls procedure do display in region.
Step 1: http://apex.oracle.com/pls/apex/f?p=4550:1:15635986742760:::::
Step 2: Workspace : dev_dilip
Username: [email protected]
Pwd : 123456
Step 3: Open PRINT_PDF application and Run the application.
Step 4: Username: [email protected]
Pwd : 123456
The procedure code can be viewed by object browser.
Once user cliks PDF (button inapplication) a new tab should open and that plsql region should in PDF format.
I kindly request all to check and advice me with your valuable suggestion.
regards,
Doddi Dilip.SO, you want to print the output of the procedure in pdf format? If so, you can try apex Report Query feature. You can find a number of examples for the same in this forum and in the internet:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/apexprnt/apexprnt_otn.htm
Or, have a IR based on a collection; the collection based on a function returning query. And then, use the IR's generic download option to print reports.
http://www.oracleapplicationexpress.com/tutorials/71 -
Adding PHP pages, not showing dynamic content?
Hi all,
I'm new and hoping I don't get ripped apart for a question that seems simple. I've looked a lot though and can't seem to find an exact scenario like this. I recently took over a PHP site for a friend that was built in Dreamweaver CS3.
There's a master page (main.php) that includes a header and footer and middle area of dynamic content. Thus, all of the pages appear like: http://www.SITENAME.com/main.php?mod=about (for the 'about' page) or www.SITENAME.com/main.php?mod=welcome (for the landing/home page), etc.
In main.php, there's a section of: // Include Multiple Static Pages that looks like this:
$mxiObj->IncludeStatic("about", "about.php");
for every static page.
All of this makes sense to me. Here's my problem:
When adding a new page now, I can't get it to show any of the dynamic content on the live site. I just get the static header and footer to show.
In the main.php file, there's this section:
</div>
<div id="mainContent">
<p>
<?php
$incFileName = $mxiObj->getCurrentInclude();
if ($incFileName !== null) {
mxi_includes_start($incFileName);
require(basename($incFileName)); // require the page content
mxi_includes_end();
?></p>
</div>
that's supposed to pull in the dynamic content. It's doing this just fine on the older pages, but not on the ones I'm trying to build now.
I guess I'm asking if there's some type of file in an 'includes' folder that I'm missing where I need to make sure the FileName is also listed (not just in the static section on main.php)? What's the mising link that will get this dynamic content to show up?
Thanks for any help in advance and for reading this!The quickest way to add new pages is to
copy the template (index.php) to a new document (newdoc.php or similar)
remove the PHP stuff - stuff that is not required for the new content
if there are inludes for the menu, header, footer or similar, then you can link those back into the document using standard includes
add the new content to the newly created document
This will give you a stand-alone document. At a later stage you can convert these documents into a DW-template system. -
Can LC Designer produce a flat PDF, not form, as a template for dynamic content?
Can LiveCycle Designer produce a flat PDF, not form, as a template for dynamic content?
Yes that means LiveCycle Designer .....the XDP is an XML file that describes the template that you want. It is turned into a PDF by the Designer as well as the LC Server I mentioned. The Designer creates interactive content (not what you asked for), the server can do the same as well as flat PDFs. I mentioned the batch mode because that is how people generally use it or they use it for real time creation of the reports but it tends to be high volume (it is a server product so it will bepriced that way). You can create an XDP that has text and "floating fields" on it. Floating Fields are special in that you can merge data with the template and once the data is put into the field it is turned into text (non-interactive). This woudl be useful for testing (requires a hands on approach) but if there is any kind of volume that you are looking for this will not be useful. The server side can be automated so that no human intervention is required.
Paul -
Is there a reason why the lightning bolt that lets you add dynamic content to a <select> list box has disappeared? Is there some other way of doing this now?
David_Powers wrote:
Yes, there is a reason. Unfortunately, I'm not at liberty to tell you what it is. That information needs to come from Adobe.
How nice for you to have inside info.... Can you at least hint as to "when" this reason might come to light? I have a book of business to attend to, and the changes like what's mentioned at the start of this thread are making that a lot more challenging. I have been following the Adobe blog for Dreamweaver, among other things, and they've never mentioned they were going to remove dynamic data features like that.
You also say: "Web design and development are changing at a rapid pace. The changes mightn't suit you, but Dreamweaver will die if it doesn't keep pace with the industry."
While I totally agree with you that Dreamweaver needs to keep pace with the industry, I am a little confused by your comment because it sounds as if you are saying that the industry is changing in a direction away from working with dynamic data. In that case, I couldn't disagree with you more. If anything, static content is going extinct; replaced with data driven content management solutions and other dynamic sources. And it's in this regard where I'm baffled at Dreamweaver removing features that help the users who can't code from scratch build sites with these capabilities. I've been running a business for over 15 years because of the dynamic data tools and capabilitites of Dreamweaver and add-on extensions. -
Building a report using "PL/SQL Dynamic Content" can I have it output PDF?
Hi,
I build several reports using the "PL/SQL Dynamic Content" region and htp.p().
The output is exactly what the customer wants but they would now like to have it go into PDF document.
Is there a way to do it?
BillBill,
You can integrate APEX with Oracle BI Publisher and have your report generated to PDF.
If you're just interested in saving what is on a web page in PDF, have a look at CuteFTP (Windows), which is a free print driver that allows you to "print" to a PDF file as if it were a printer. On the Mac, you can save to PDF and do not need any additional software.
Thanks,
– Scott –
http://spendolini.blogspot.com/
http://sumnertech.com/ -
Error in displaying dynamic contents in tableview?
Hi Experts,
I am developing a jspDynpage which displays dynamic contents in a tableview. ie, the contents are retrieved from LDAP Active directory. But i am getting wrong number of results. For example,
If i give last name as Name1,
MAIL COMPANY NAME PHONE
UsrMail Company1 Fnm,Name1 +1 23456 397
Line 1 / 1
Displays the name one time.
first name - name2
MAIL COMPANY NAME PHONE
UsrMail Company2 Fnm,Name2 +1 789654 397
UsrMail Company2 Fnm,Name2 +1 789654 397
UsrMail Company2 Fnm,Name2 +1 789654 397
UsrMail Company2 Fnm,Name2 +1 789654 397
Line 1 / 4
Repeating the name 4 times.
Lastname - name3
MAIL COMPANY NAME PHONE
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
UsrMail Company1 Frstnm,Name3 +1 654321 356
Line 1 / 10
Repeating the name 10 times.
But in Active directory the names are unique .Please Guide me.
Thanks in advance.
Regards,
KrishnanHi
The problem is with Vector which i used to store the retirved information.
After cleared that i got the proper result.
I thought the problem is with tableview.But it is not.
Note: To clear the vector i used Vec.clear() method. It doesn't work. So i created that vector newly inside the loop.
Regards,
Krishnan -
How to define a dynamic content in EP6.0
Hi,
For a customer we need to define dynamicly the different iwiew in a page depending on criteria .
Does somebody know how to do it ?
Best Regards,
Bertrand .there is no official way to create dynamic content (e.g : LDAP attributes dependant).
You always have to create the content in advance and assign this preexisting content to workset/roles.
What you might investigate is automatic assignement of LDAP groups based on LDAP attributes.
BTW , Anyone any ideas ?
A.G -
PHP dynamic content for form list field on tabbed panel
I have been trying to use PHP dynamic content to populate a
form list field. Works fine on a regular page, but doesn't seem to
work (or works very erratically) if the form is on a tab of a Spry
tabbed panel. Erratically means (as I've observed) the values will
appear if the list field is the second on a tab but not the first.
Haven't tried three on a tab... Anyone know if this is supposed to
work?Thank You !!! to both of you above.
Shant,
The scheme youv'e proposed makes sense and I had thought of the same before posting the question. I already did a little POC on it but then realised this works if I can use complete list of values of 1st Field to decide the value of 2nd and so forth. But I rather need to know which one among those was clicked. Moreover, my right side list is usually not null when page loads for the first time (bcoz Field name is a path exp).
Also, the real problem here is that, when I click on different values on the right side of multi-select(already selected values) of 1st Field, allowedValues and Derivation of 2nd should change. That GUI event is not capturable from whatever I've been able to read (onClick is not applicable for MultiSelect, and onChange doesn't serve my purpose, coz I need to know what value was clicked on).
The solution I thought and implemented was to take the right side of multi-select, into an extra (read redundant), single-select Field. And then have the 2nd multi-select depend on it via Derivation and allowedValues.
Having two redundant single-selects, isn't the most elegant solution but I can't think of anything better. Any thoughts ???
If I'm not really overlooking something MultiSelect class should have an extra Property exposed....
- AndyDev
Edited by: AndyDev on Nov 6, 2007 2:04 PM -
Creating a dynamic content link in Eloqua HTML editor
I'm using dynamic content to populate a link on an HTML landing page. I drag and drop the dynamic content, and the following code shows up:
<a href="<span title="Dynamic Content - Member Station Donation Page URL" elqid="18" elqtype="DynamicContent" class="remove-absolute" style="display: block"><span class="eloquaemail" style="-moz-user-select: all; -webkit-user-modify: read-only" unselectable="on">Member_Station_Donation_Page_URL1</span></span>">
But when I save the page, the editor changes the HTML to this:
<a href="<span title=" dynamic="" content="" member="" station="" donation="" page="" url"="" elqid="18" elqtype="DynamicContent" class="remove-absolute" style="display: block"><span class="eloquaemail" style="-moz-user-select: all; -webkit-user-modify: read-only" unselectable="on">Member_Station_Donation_Page_URL1</span>">
which breaks the link. How can I format the dynamic content so the Eqolua editor doesn't screw it up?Hi Cootis,
You can simply take one conatiner and create the textInput dynamically at runtime in ActionScript. Check the sample simplest code below..
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
private var arrayCollectionList:Array = new Array();
private function addTextInputToForm() : void
var textInput:TextInput = new TextInput();
textInput.width = 250;
textInput.height = 25;
boxContainer.addChild(textInput);
]]>
</mx:Script>
<mx:VBox verticalGap="5" horizontalCenter="0">
<mx:VBox id="boxContainer" verticalGap="5">
<mx:TextInput id="txtInput" width="250" height="25" />
</mx:VBox>
<mx:LinkButton id="lnkButton" label="Add Another Item" width="250" click="addTextInputToForm();" />
</mx:VBox>
</mx:Application>
Thanks,
Bhasker
Maybe you are looking for
-
Error while executing the WorkBook
Hi, While executing WorkBook, I am facing an error "A critical program error has occured. The program will now terminate.Please refer to the trace for further information". When I check in the trace, the error description is "System.NullReferenceExce
-
Audio crossfade tool doesn't work?
Hi , Maybe its a well known bug but reading in the Apple pro training book by Martin Sitter , I noticed that the fade tool in the Arrange window doesn't work. Or am I doing something wrong? (B.t.w. This tool isn't discribed in the standard manual??)
-
Setting up login Authorization
I was setting up Login Authorization using step by step instructions from http://obieeblog.wordpress.com/2009/06/18/obiee-security-enforcement-%E2%80%93-external-database-table-authorization/ At the "Edit Execution Precedence" step, when I click on t
-
How to Install CA Certificates in B2B
Hello I am new to B2B and I got CA and trusted certificates from our client. I used KeyStore tool and loaded all CA and trusted certificates and generated .jks file and used in the B2B certification section. With this I am able to connect to the clie
-
Started with 20 mb broadband on 18 May 2011, prior to this I was on 8 mb and getting about 6mb which was ok. I am now currently getting 8mb on a 20mb package?. Also it is not very stable. Latest speedtest results are below. Result done at 07.59 Tue 1