How to display iviews dynamically
Hi all,
I am making iView and attaching them to pages, however the iView is displayed with fixed size. Is there any option to display the height dynamically.
Could you please send details or documentation on how to control the size of the iview within a page...
your help is appreciated.
dev
Hi Devara,
There is an option to control height of iview in page. Open the iView in property editor and in Appreance-size property category you will find property called height type change it to automatic.
PS: IF helpful awards points
--Deepak
Similar Messages
-
How to display servlet dynamically generated image ?
Hi,
How to display servlet dynamically generated image ?
I have a servlet generating a buffered image in the doGet. I want to display the image in a jsp page with other information. I'm not able to get it properly displayed.
**Try n# 1 **************************************************************
This displays my image but nothing elle :
ServletOutputStream sos = pResponse.getOutputStream();
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
encoder.encode(img);
**Try n# 2 ****************************************************************
I tried also :
In the servlet :
request.setAttribute("renderedImage", img);
and in the jsp page :
BufferedImage image = (BufferedImage) request.getAttribute("renderedImage");
<img src="<%=ImageIO.write(image,"jpeg",response.getOutputStream())%>" width="300" height="280"/>
This last try draws big crap in the jsp page, thank you in advance.
NelsonCall another servlet from the IMG tag. Have the servlet stream out the image using ImageIO (instead of writing HTML).
-
How to display the dynamic region in full size
Hi,
I'm not able to display the dynamic region in full size.
In my page, i attached a dynamic region which refers a page fragment. This dynamic region contents are showing as small (scroll is there but i want to display fully).
How to do this?
Thanks in advance,
SundarMore than likely it has something to do with your parent layout element. I'd suggest putting your region in an af:panelStretchLayout or similar container that stretches its children. Some of the elements can be a little tricky though, such as af:panelTabbed. It has an attribute that must be set to stretch its first child.
-
How to display Frame Dynamically
Hi friends,
Plz tell me How to Display / Hide or Frame Dynamically in Oracle Forms.
I am Using Oracle Forms 6i
Thanksthanks Francois......but i need to hide only one small frame dynamically......
Do you have any other Option...other than using a frame.....or a Frame alike.....
Thanks -
How to display a dynamic image file from url?
Hey,I want to display a dynamic image file from url in applet.For example,a jpg file which from one video camera server,store one frame pictur for ever.My java file looks like here:
//PlayJpg.java:
import java.awt.*;
import java.applet.*;
import java.net.*;
public class PlayJpg extends Applet implements Runnable {
public static void main(String args[]) {
Frame F=new Frame("My Applet/Application Window");
F.setSize(480, 240);
PlayJpg A = new PlayJpg();
F.add(A);
A.start(); // Web browser calls start() automatically
// A.init(); - we skip calling it this time
// because it contains only Applet specific tasks.
F.setVisible(true);
Thread count = null;
String urlStr = null;
int sleepTime = 0;
Image image = null;
// called only for an applet - unless called explicitely by an appliaction
public void init() {
sleepTime = Integer.parseInt(getParameter("refreshTime"));
urlStr = getParameter("jpgFile");
// called only for an applet - unless called explicitely by an appliaction
public void start() {
count=(new Thread(this));
count.start();
// called only for applet when the browser leaves the web page
public void stop() {
count=null;
public void paint(Graphics g) {
try{
URL location=new URL(urlStr);
image = getToolkit().getImage(location);
}catch (MalformedURLException mue) {
showStatus (mue.toString());
}catch(Exception e){
System.out.println("Sorry. System Caught Exception in paint().");
System.out.println("e.getMessage():" + e.getMessage());
System.out.println("e.toString():" + e.toString());
System.out.println("e.printStackTrace():" );
e.printStackTrace();
if (image!=null) g.drawImage(image,1,1,320,240,this);
// called each time the display needs to be repainted
public void run() {
while (count==Thread.currentThread()) {
try {
Thread.currentThread().sleep(sleepTime*1000);
} catch(Exception e) {}
repaint(); // forces update of the screen
// end of PlayJpg.java
My Html file looks like here:
<html>
<applet code="PlayJpg.class" width=320 height=240>
<param name=jpgFile value="http://Localhost/playjpg/snapshot0.jpg">
<param name=refreshTime value="1">
</applet>
</html>
I only get the first frame picture for ever by my html.But the jpg file is dynamic.
Why?
Can you help me?
Thanks.
JoeHi,
Add this line inside your run() method, right before your call to repaint():
if (image != null) {image.flush();}Hope this helps,
Kurt. -
How to display the dynamic text in the selection screen
Hi All,
I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
EX: If i have the date of today 31st it has to show message like " today date is 31 like some thing " when i execute the report .
Could any one face this sort of requirment, Please let me know.
Thanks in advance.
Reagrds,
BharaniWhere would you like this dynamic text being displayed? As an "message" or in some parameter field?
If first
parameters date type d.
data: text type string.
at selection-screen.
concatenate 'Today is' date into text.
message text type 'I'.
If second
parameters pa_text type c length 50.
at selection-screen on date.
if date is not initial.
concatenate 'Today is' date into pa_text.
enidf.
at selection-screen output.
"show it as read only
loop at screen.
if screen-name = 'PA_TEXT'.
screen-input = abap_false.
modify screen.
endif.
endloop.
Regards
Marcin -
Hi all.... how to display tables dynamically in a JSP page
im trying to display the list of tables in MYSQL datbase into a JSP.... i have a database name link on the page.... once i click on that the list of tables should be listed dynamically in the page as a link...Also is it possible to click on each table link and go to see the table details ...if so how.... please some one help me ...its very urgent........
im trying to display the list of tables in MYSQL
datbase into a JSP.... i have a database name link on
the page.... once i click on that the list of tables
should be listed dynamically in the page as a
link...Also is it possible to click on each table
link and go to see the table details ...if so how....DatabaseMetaData has a method (look in the documentation) to get the list of tables. It also has methods to get information on specific database objects
please some one help me ...its very urgent........It's even urgent that you look in the documentation. -
How to display content dynamically base on the menu selection?
I have only one XML file to populate my menus and display the
content base on the menu selection.
If I select anything by name on the menus, example Math all
the the Math products will display on the dsFeatures region.
I use istinctOnLoad: true, distinctFieldsOnLoad:['name']
function to remove duplicate rows from the data set when it loads.
So far so good.
Once I try to select from the grades menu this does not
display anything.
I'll need to dynamically change the dsFeatures.setPath when I
click on the menus some how.
dsFeatures.setXPath("products/product[grade =
'"+???+"']/features/feature");
Below is my code.
XML used to create the menus and the display the content.
<products>
<product>
<name>Math</name>
<category>Life Math</category>
<grade type="grade">Grade 6 - 8</grade>
<subject>Life Math Grade 6 - 8</subject>
<image>images/math_icon.png</image>
</product>
<product>
<name>Math</name>
<category>Division</category>
<grade type="grade">Grade 5</grade>
<subject>Life Math Grade 5</subject>
<image>images/math_icon.png</image>
</product>
<product>
<name>Science</name>
<category>Life Math</category>
<grade type="grade">Grade 6 - 8</grade>
<subject>Life Science Grade 6 - 8</subject>
<image>images/science_icon.png</image>
</product>
<product>
<name>Social Studies</name>
<category>Studies</category>
<grade type="grade">Grade 5</grade>
<subject>Social Studies Life Grade 5</subject>
<image>images/social_icon.png</image>
</product>
<product>
<name>Language Arts</name>
<category>Life Arts</category>
<grade type="grade">Grade 3 - 4</grade>
<subject>Life ArtsGrade 3 - 4</subject>
<image>images/language_icon.png</image>
</product>
</products>
// Get all the products data and use distinct() to filter the
names.
var dsProducts = new
Spry.Data.XMLDataSet("included/d_products.xml",
"/products/product", { useCache: false, distinctOnLoad: true,
distinctFieldsOnLoad:['name']});
// Get the menu by grade using distinct()
var dsByGrade = new Spry.Data.XMLDataSet(null,
"/products/product/grade", { useCache: false, distinctOnLoad: true,
sortOnLoad: "grade", distinctFieldsOnLoad:['grade'] });
// Create the dsFeatures data set, pass a null for the URL
parameter so that it doesn't load
var dsFeatures = new Spry.Data.XMLDataSet(null,
"/products/product[name = '{dsProducts::name}']/features/feature",
{ useCache: false });
// Define a function that to register as an observer on
dsProducts.
function updateCategoriesAndFeatures(notificationType,
notifier, data)
// Interested in "onPostLoad" notifications.
// If it is any other notification, just bail.
if (notificationType != "onCurrentRowChanged" &&
notificationType != "onPostLoad")
return;
// Received an "onPostLoad" or "onCurrentRowChanged
notification
// from dsProducts! Ask it for its XML document. If it has
one, tell
// dsFeatures to extract its data from that document.
var doc = dsProducts.getDocument();
if (doc)
if (notificationType == "onPostLoad")
dsByGrade.setDataFromDoc(doc);
dsFeatures.setDataFromDoc(doc);
// Register the function as an observer on dsProducts.
dsProducts.addObserver(updateCategoriesAndFeatures);
Menus:
Display by names:
<ul spry:region="dsProducts" id="nameRegion">
<li class="product" spry:repeat="dsProducts"
spry:setrow="dsProducts" spry:select="selected" spry:hover="hover"
>{name}</li>
</ul>
Display by grades:
<ul spry:region="dsByGrade" id="gradeRegion">
<li class="grade " spry:repeat="dsByGrade"
spry:setrow="dsByGrade" spry:select="selected" spry:hover="hover"
>{grade}</li>
</ul>
Content.
Display the features content:
<ul spry:region="dsFeatures">
<li spry:repeat="dsFeatures">{subject} <br />
{image}</li>
</ul>
Any idea on how to go about this or pointer to an example
would be appreciated.
~CheersDoes anybody have idea?
-
How to display dates dynamically in tabular form title
Hi,
I have a requirement of displaying dates of the week as title of each column heading in the tabular form dynamically (or) Is there a way to display the dates for each week as the titles for each column dynamically?Could anyone suggest me on this requirement?
Thanks & Regards,
Balaji.P.K.Hi Balaji,
if you want to be very generic than create a report based on a "PL/SQL Function returning SQL Query" and set the Report Column Headers to "PL/SQL" and specifiy a function returning the Header Titles.
brgds,
Peter
get Syntax Highlighting for the Application Builder: http://apex.oracle.com/pls/apex/f?p=APEX_DEVELOPER_ADDON:ABOUT:0:::::
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.at and http://www.wirsindapex.at -
How to display graphics dynamically in JSP
I use JSP to call a servlet to get the output . The output is in svg format. I do not hope to create a svg file to store the output from servlet. I wope to embed the svg dynamically in the jsp page
Anybody knows the solution. Many thanks in advance
Cheers,
.Because the output from Servlet is in text format not binary.
So the tag <IMAG></IMAG> does not work .
the output is similar as
<svg viewBox="0 0 360 270">
<style type="text/css"><![CDATA[
.aS{ font-family: monospace; text-anchor: middle;
font-size: 35px; stroke: Blue; fill: Red; }
]]></style>
<g>
<text x="60" y="90">+2%</text>
<polyline points=" 110,80 110,80 210,80 210,80" />
<text x="60" y="180">-2%</text>
<line x1="110" y1="170" x2="210" y2="170" />
<line x1="110" y1="120" x2="210" y2="120" />
<text x="280" y="130">4:0</text>
<text x="160" y="200">1</text>
<text x="110" y="150">-</text>
<text x="185" y="50">Sample - Name</text>
<text x="185" y="240">Minutes/km (2003/1/7)</text>
</g>
</svg>
If I keep the output as a **.svg file. then embed it in jsp. it is OK. -
How to display records dynamically by columns of the table?
hi to all,
i'm trying to figure out quite a long time now. is it possible to populate html table with records via columns? (because most of us are familiar with rows up to the last record) i do have a pseudocode below:
print ('<table>');
while (!eof) {
if (cnt % 4 == 0)
// breakline w/c means let's have another row since
// we displayed the records 4x now so we need
// another row to continue
else
// continue column generation
cnt++
print ('</table>');
i don't know if this is quite clear... but i do hope you know what my goal is... i have an app that i need to display (like live.com in searching images) to display all the searched items (and then onmouseover it will get big some sort)... but since the records i have are the ff:
CREATE TABLE "ERA_DB"."PARTS"
( "PARTID" VARCHAR2(15 BYTE) NOT NULL ENABLE,
"PARTNAME" VARCHAR2(75 BYTE) NOT NULL ENABLE,
"RETAILPRICE" NUMBER NOT NULL ENABLE,
"COSTPRICE" NUMBER NOT NULL ENABLE,
"ACTIVE" NUMBER DEFAULT 1,
"CATEGORY" VARCHAR2(2 BYTE) DEFAULT 'NA',
"DESCRIPTION" VARCHAR2(255 BYTE),
"TYPE" NUMBER DEFAULT 1 NOT NULL ENABLE,
CONSTRAINT "PARTS_PK" PRIMARY KEY ("PARTID") ENABLE
i need to display like the ff:
partname
partid
image
description
price
these are inside a box w/ borders (the concept is like live.com in their image search)
thanks so much!This was written for pear::db but I think it should go pretty similar for ADODB.
$result = $db->query ("SELECT PRODUCT FROM INVENTORY WHERE COMPANY='$_SESSION[company]'");
while ($data1 = $result->fetchRow(DB_FETCHMODE_ASSOC))
$data2 = $result->fetchRow(DB_FETCHMODE_ASSOC);
$data3 = $result->fetchRow(DB_FETCHMODE_ASSOC);
$data4 = $result->fetchRow(DB_FETCHMODE_ASSOC);
$rows .= " <tr>\n";
$rows .= " <td width=150 align=right>".$data1[PRODUCT]."</td>\n";
$rows .= " <td width=150 align=right>".$data2[PRODUCT]."</td>\n";
$rows .= ' <td width=150 align=right>".$data3[PRODUCT]."</td>\n";
$rows .= " <td width=150 align=right>".$data4[PRODUCT]."</td>\n";
$rows .= " </td>\n";
$rows .= " </tr>\n";
} -
How to display text dynamically
hello,
i am working in dialog programing i need to display text which is save in a file and i want that whenever each new call screen i should display a text message from my flat file on the new screen ..... is there is a funda of xml?If the text is same for all the screens then copy it into a string or variable type c and write it on all the screens
-
Hi,
I created a JSP that contains a link to a portal iView that should be open in a new window.
The problem is that new window appears with all the framework page.
Is there a way to avoid this ?
Thanks.
Regards.Hi David,
meanwhil I found out how to display iViews without portal masthead, navigation panel, etc. Use the following URL:
http://<server>:<port>/irj/servlet/prt/portal/prtroot/<PCD_PATH>
Replace <PCD PATH> with the pcd path of the iView. But be aware that you have to replace the chars ":" (with !3a) and "/" (with !2f).
In the end it should look like this
http://<server>:<port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fmyfolder1!2fmyFolder2!2fMyiView
Best regards,
Martin -
How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.
What do you mean by dynamically? When yo set up a 2D bar code field you specify which field name/value pairs you want to include, along with other parameters. But be aware that they won't work with Reader unless you Reader-enable the document with LiveCycle Reader Extensions and include the bar code usage right. It will work with Acrobat Standard/Pro.
-
How to display dynamic signature in Smartforms?
Hi,
Someone could help me in displaying dynamic signatures in SmartForms?. The signature is an attached file to the document. I already have the binary file but I don't know how to display this as an image in the Smartforms.
Thanks in advance,
Oliver
Message was edited by: Oliver Vera
Message was edited by: Oliver VeraPlease give me the reply.
I have an image content in one internal table.I want to display that image in the smartforms.
plaese please.
Maybe you are looking for
-
am having deficaulties installing adobe photoshop cs6 and how can i get the serial number
-
How to uninstall messenger mac
how does one uninstall messenger mac?
-
How to transfer from ipad 1 to ipad 2?
Hi Did anybody have ipad1 and bought ipad 2, I need to transfer from ipad 1 to ipad 2, anyway to do it?
-
hi all i am creatin a small application which performs some type of functionallity as any java ide does but i have a problem in one area in my application when i create a demo.java file i compile it through runtime.exec("javac "+filepath) this create
-
IPod Touch 2.0.1
Why is iTunes asking me for a credit card to purchase the update, when I've got an iTunes gift card already loaded?