Dynamic content in JList renderer
Hi all
I've got a gui with a JList with rather complex content. I render that content with a custom ListCellRenderer that uses a JPanel. This works perfectly well for "non animated" things like text, JLabels etc.
Now I want to add to these panels in that JList a JProgressBar in "indeterminated" state (that is constantly sliding back and forth). The proglem is that the whole JList only does a repaint when the JList itself needs to do so (when resizing the window for example) and not when that Jprogressbar wants to repaint (in only gets rendered once)
Can I solve this, or will I have to implement my own JList-like panel.. That would mean I also have to implement the whole "selection" thing, which was why I choose JList in the first place.
thanks in advance
camickr suggested a way to solution. Notifying list of its contents change is the way to present change to the user, for example ProgressBar change. You could not to use Timer and instead notify your list immediately its item have changed.
For a perfomance you could not to re-create your Renderer instance for each item but save it and reuse. The renderer will be repainter either way.
Denis Krukovsky
http://sourceforge.net/projects/dotuseful/
Similar Messages
-
Alternative scrollpane to load dynamic content
I'm trying to load jpgs to my scrollpane dynamically. I
noticed the compiled scrollpane component in flash 8 is very large
in size (> 130kb) which i cannot afford to use. Instead I'm
using the flash 6 scrollpane which is not precompiled and only
several kbs after compiling to swf. However, I have problem
rendering loaded dynamic contents onto the pane. The first load
after starting flash 8 was always successful. After that, it fails.
In case anyone's interested, I have simple test code to demonstrate
the problem, and have uploaded it to
http://www.filesend.net/download.php?f=1c5d80093f0b68cdcf7fe4cca0e0c923
(you'll need to wait for 10 secs before the download button appears
on that linked page)
I'm just wondering what is the best choice of a small size
scrollpane that handles dynanimic MovieClip.loadMovie() well. Any
suggestions?i just found out that scrollpane component is not that huge
(only 38kb). Does anyone know why when I add it to my project my
swf increases by 130kb? -
DataGrid Not Resizing to Dynamic Content
Hello,
I'm using Flex 3.2. I have an editable DataGrid with no with
and height specified. I do specify rowCount to something like
rowCount="dataProvider.length". Everything looks good when the
datagrid is first rendered with data in it. However, if the data in
it changes after rendering, then the grid doesn't resize
accordingly. Actually the grid may resize, but the border/frame
doesn't.
Example:
I have a special TextArea component that grows (vertically)
as the user types in more lines of text. I use this component as
one of my item editors. If a cell is first rendered with only one
line of text, then the user goes in and types additional lines, the
grid row grow within it's border, but the not the border itself...
causing some undesired scrollbars.
I need a way to tell the datagrid to re-calibrate sizing just
like it does when it's first created. Is there a way to do this? I
tried datagrid.invalidateSize() and related procedures, but nothing
happens. What do you think?
Thanks"bfargo" <[email protected]> wrote in
message
news:gmcsal$34d$[email protected]..
>I finding this datagrid sizing to be extremely
frustrating as to say, HTML
> tables. I just want it to look good. Anytime I do
anything with dynamic
> content, it doesn't size right, or I end up with a bunch
of ugly
> scrollbars,
> etc. I just want to be able to add some content, and
have the datagrid
> grow
> with it.. at least in height.
> VariableRowHeight is set to true, I try setting rowcount
to my
> dataprovider
> length. Event though the length may be 5, it'll randomly
throw a bunch of
> other rows in there. The behavior is just completely
incoherent (at
> least to
> me). Nobody else has these problems? .
Post code -
After Effects + Flash - Dynamic Content. How to integrate special effects.
Hello World of Adobe.
I am currently working on a project involving data driven dynamic content. This data is being incorporated into the video at runtime.
I have done these types of projects before, with success, and am looking to step up my game.
So the question:
How can I use effects such as - Blur, wiggle, distort, shatter etc. on dynamic content.
For instance:
John Doe puts his information into a text feild. That data is sent to flash environment, where it is "injected" into the video at the proper time and location. His name appears in fancy lettering surrounded by fancy environment factors. The name however, blurs in and out of focus.... maybe distorts a bit, then shatters.
An example:
These guys over at XMPie seem to have this figured out.
http://www.xmpie.com/PEVideo
"Starting with either an original After Effects movie or an existing template from an online library, the user can incorporate variable text, images, and other footage with exciting special effects like animate, wiggle, shatter, blur, warp, distort, and more"
Any help is appreciated.
Thank you!Thank you for your feedback.
So essentially there would be a After Effects project template on a server waiting for certain input data. Then it would be rendered and .flv encoded and sent to the video player.
Do I have that right?
This could be a problem given the render time, as my client wants the video shown soon after user data in inputted. But may be a solution for a more rich experience, not generated at run-time.
Are there any plugins or specific scripts you can point me to?
Also, regarding flash, if I were to export cue point data for these custom feilds, does flash support any additional effects... such as blur, opacity etc. That can be placed within the .flv metadata? -
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. -
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 -
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 -
JList renderer for mouse motion
Hello gurus ....
I have a jlist inside jframe. i want to change the background color of jlist items on mousemove event over jlist. I want same behaviour as one can seen on normal menus, where mouse move changes the menu-items color to blue. I think of something like jlist renderer, but don't know how to do it from there. Plz any help would be greatly appreciated.
Raheel.Hello gurus ....
I have a jlist inside jframe. i want to change the
background color of jlist items on mousemove event
over jlist. I want same behaviour as one can seen on
normal menus, where mouse move changes the menu-items
color to blue. I think of something like jlist
renderer, but don't know how to do it from there. Plz
any help would be greatly appreciated.
Raheel.Hi Raheel,
This is a bit 'quick and dirty', but may give you some ideas ...
Code created with JDK 1.3.1
cheers,
dave
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class JListTest extends JFrame
private JList myList;
public JListTest()
Object[] stuff = {
"item #1", "item #2", "item #3", "item #4", "item #5",
"item #6", "item #7", "item #8", "item #9", "item #10"
myList = new JList(stuff);
JScrollPane sp = new JScrollPane(myList);
myList.setVisibleRowCount(5);
getContentPane().setLayout(new BorderLayout());
getContentPane().add(sp, BorderLayout.NORTH);
pack();
myList.addMouseMotionListener(new MouseMotionAdapter()
public void mouseDragged(MouseEvent e)
int pos = myList.getUI().locationToIndex(myList, e.getPoint());
if (pos >= 0 && pos != myList.getSelectedIndex())
myList.setSelectedIndex(pos);
public void mouseMoved(MouseEvent e)
int pos = myList.getUI().locationToIndex(myList, e.getPoint());
if (pos >= 0 && pos != myList.getSelectedIndex())
myList.setSelectedIndex(pos);
public static void main(String[] args)
JListTest jt = new JListTest();
jt.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
jt.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent event)
System.exit(0);
jt.setVisible(true); -
Find out if the content will be rendered in "edit" mode programmatically
I need to use redirect to send user to different page for certain reason. I use HttpPortletRendererUtil.sendRedirect() to accomplish the task. It works fine. The problem is I do not want it redirect in page modes other than "show" mode. Is there a way to know if the content will be rendered in "edit" mode? Or is there other way to accomplish the task?
I tried and in both "show" and "edit" view getMode() return 1. I notice that the urls to access "edit" view is different from the one to access "show" view by an additional parameter _mode=16. It is not available to portlet. Probably portlet is not suppose to know the display mode.
-
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. -
Add Content button not rendered inside Portlets on edit mode
Hi,
I have a requirement where administrators will add some external content(Add content) either from taskflow or portlet and that external content (along with taskflow output) will be shown to the users based on some logic performed inside the taskflow/portlet bean code.
This PanelCustomziable should render AddContent button inside the portlet when pressing ctrl shiftE, but its no doing so? Where as the same PanelCustomizable renders AddContent button inside the taskflow on edit page? Any settings or changes needs to be done to make it work in porlet when consumed in portal?
a)taskflow cannot be selected for this purpose, as there will be only a single instance of the taskflow across the portal and it cannot retain runtime MDS changes to a specific instance (Unless we design the ADF taskflow with MDS customization layer). By default, any runtime change in one taskflow instance will be propagated to all the other taskflow instances of the portal.
(For eg.. Admin drops this taskflow onto a page1 and adds a image(external content) using the button AddContent inside the taskflow because of PanelCustomizable and close the page. He drops the same taskflow from RC only to find that the changes he done on page1 is being retained here ..its not resuable because of no MDS per instance)
So we selected Portlet for this purpose, as it has the inbuilt personalization framework. Admin can personalize each portlet instance and drops on the the same page and diff page again. But with portlets, Add Content is not rendered.
Its not just external content, the taskflow / porltet has some logic to perform and displays some output based on the ruleId which is the input parameter.
Taskflow or jsff code
==================
<cust:panelCustomizable id="pc1">
<cust:showDetailFrame text="rules content" id="sdf1"
shortDesc="rules content">
<af:panelGroupLayout id="pg1" >
<af:outputText label="RuleId" id="ot1" clientComponent="true"/>
</af:panelGroupLayout>
</cust:showDetailFrame>
</cust:panelCustomizable>Can you please post this question to weblogic.developer.interest.portal
newsgroup.
Thanks
"Lodewijk Spijker" <[email protected]> wrote in message
news:3f165945$[email protected]..
Hi,
i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
feature) with respect to the beta version.
i have created a simple portlet with a view mode and an edit mode. When i
place the portlet on the very first page of a one book portal, it works
perfectly. However, i have a book with three pages and placed the portleton
the second page. Now when i put the portlet in edit mode, by clicking the
edit button, i am directed to the first page of the portal and the portlet
will not show.
Inspection learned that the URL generated for the edit button, didn't
contain the _pagelabel parameter. When i added the parameter manually it
works fine.
A final remark is that the buttons in the titlebar have no icons thebrowser
can load.
hope someone can help me out,
Lodewijk -
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/
Maybe you are looking for
-
HT1694 Can I have more than one email account and if so, how?
Can there be two different email accounts for two users? If so, how do I set them up. Do I Ned two Apple ID accounts?
-
AT&T - Instore and Online Ordering (Some Questions Answered)
I ordered (upgraded) 3 existing 3g iphones on a family plan on June 15 around 5:45 EDT, and printed out an order number and receipt. All three show up in "order status" at AT&T if you log in and use the main wireless number on the account and the zip
-
How do I transfer photos/music between my MacBook Pro & Samsung S8000 Jet
With my new Samsung S8000 Jet mobile I was supplied with Samsung's PC Studio Application on disc for install on my laptop. However, this is only compatible with Windows 2000/XP/Vista PCs. When buying Samsung mobile I was clear in asking them if it wo
-
In outlook 2010 can you change the meeting organizer?
I need to subsitute a co-worker as the organizer of a meeting setup in Outlook 2010. Can/How do I do that?
-
How do I delete some of my music from iphone 4s so I can get the new update?
My phone says I don't have enough room to upload the new update 7.1 or anything else for that matter. My music is what is taking up so much room. How do I get rid of some of my music so I have more room on my phone?