Menu/List Dreamweaver
Hi guys,
I have a table called agents I want to show the name of the agents in a menu in order to select one agent from that list.
I added in a form the menu/list and added the value dynamically with a recordset, I have 14 items in that table but the menu/list is only showing 10.
I would like to show the name of all the 14 agents.
This is the code dreamweaver is generating, do I need to add something there?
<select name="agente" id="agente">
<?php
do {
?>
<option value="<?php echo $row_nombreagenteingresar['nombre']?>"<?php if (!(strcmp($row_nombreagenteingresar['nombre'], $row_nombreagenteingresar['nombre']))) {echo "selected=\"selected\"";} ?>><?php echo $row_nombreagenteingresar['nombre']?></option>
<?php
} while ($row_nombreagenteingresar = mysql_fetch_assoc($nombreagenteingresar));
$rows = mysql_num_rows($nombreagenteingresar);
if($rows > 0) {
mysql_data_seek($nombreagenteingresar, 0);
$row_nombreagenteingresar = mysql_fetch_assoc($nombreagenteingresar);
?>
</select>
Regards,
Looks like you either...
1. Haven't uploaded the re4.jpg image
2. Uploaded it to the wrong location (the link says it should be in your site root)
3. Uploaded the image with the wrong name (RE4.jpg and re4.jpg are the same on your local system, but on a server they're separate files)
Actually, #3 is true, I found the image as RE4.jpg, but the link is to re4.jpg
To avoid this in the future, make sure your files all use lowercase, alpha-numeric names. Avoid using spaces (use hyphens and underscores instead) and avoid special characters like #&$ all together.
Similar Messages
-
Multiple Menu List Selection question.
In a form I have a multiple select list that's populated dynamically from a table, e.g. label = full name, value = name_id. I need to be able to insert both label and value into another table. Normally, selecting a label will insert the value, but what technique (short example, please) can I use to extract the label itself as well as it's value from the list?
Thanks!Hi there,
If you are prepared to consider a commercial solution then
you might
like to take a look at the WebAssist extension "Database
Search"
To learn more about this extension please visit the web
address I have
included below:
http://www.webassist.com/professional/products/productdetails.asp?PID=72
You might also like to consider our Dynamic dropdowns
solution. To learn
more about this product, take a look at this URL:
http://www.webassist.com/professional/products/productdetails.asp?PID=1
Feel free to contact me off list, if you would like to learn
more about
either of these or any other WebAssist software.
Regards,
Mark
Mark Fletcher
WebAssist.com
MacPMH wrote:
> Hi All,
>
> I am looking for a dreamweaver and/or PHP/MySQL tutorial
and/or extension
> and/or tool that can walk me through creating an
advanced search page. For
> example, I have multiple search criteria which allow
users to select various
> criteria:
>
> Menu/list #1 (Allows multiple)
> Option 1, 2, 3?25
>
> Menu/list #2 (Allows multiple)
> Option 1, 2, 3?50
>
> Menu/list #3 (Allows multiple)
> Option 1, 2, 3?10
>
> Radio button (allows user to select the way the
information is displayed)
> By Date
> By State
> By Score
> By whatever?
>
> Drop down (allows user to select how many records to
display)
> View 25
> View 50
> View 75
> View 100
> View ALL
>
> Any comments and suggestions would be greatly
appreciated. BTW, I consider
> myself a step above the beginner level - could consider
myself an intermediate
> user of Dreamweaver, PHP/MySQL so please be gentle
>
> -
Advanced Searching - Multiple Menu/List/Radio Button Criteria
Hi All,
I am looking for a dreamweaver and/or PHP/MySQL tutorial
and/or extension and/or tool that can walk me through creating an
advanced search page. For example, I have multiple search criteria
which allow users to select various criteria:
Menu/list #1 (Allows multiple)
Option 1, 2, 3…25
Menu/list #2 (Allows multiple)
Option 1, 2, 3…50
Menu/list #3 (Allows multiple)
Option 1, 2, 3…10
Radio button (allows user to select the way the information
is displayed)
By Date
By State
By Score
By whatever…
Drop down (allows user to select how many records to display)
View 25
View 50
View 75
View 100
View ALL
Any comments and suggestions would be greatly appreciated.
BTW, I consider myself a step above the beginner level - could
consider myself an intermediate user of Dreamweaver, PHP/MySQL so
please be gentleHi there,
If you are prepared to consider a commercial solution then
you might
like to take a look at the WebAssist extension "Database
Search"
To learn more about this extension please visit the web
address I have
included below:
http://www.webassist.com/professional/products/productdetails.asp?PID=72
You might also like to consider our Dynamic dropdowns
solution. To learn
more about this product, take a look at this URL:
http://www.webassist.com/professional/products/productdetails.asp?PID=1
Feel free to contact me off list, if you would like to learn
more about
either of these or any other WebAssist software.
Regards,
Mark
Mark Fletcher
WebAssist.com
MacPMH wrote:
> Hi All,
>
> I am looking for a dreamweaver and/or PHP/MySQL tutorial
and/or extension
> and/or tool that can walk me through creating an
advanced search page. For
> example, I have multiple search criteria which allow
users to select various
> criteria:
>
> Menu/list #1 (Allows multiple)
> Option 1, 2, 3?25
>
> Menu/list #2 (Allows multiple)
> Option 1, 2, 3?50
>
> Menu/list #3 (Allows multiple)
> Option 1, 2, 3?10
>
> Radio button (allows user to select the way the
information is displayed)
> By Date
> By State
> By Score
> By whatever?
>
> Drop down (allows user to select how many records to
display)
> View 25
> View 50
> View 75
> View 100
> View ALL
>
> Any comments and suggestions would be greatly
appreciated. BTW, I consider
> myself a step above the beginner level - could consider
myself an intermediate
> user of Dreamweaver, PHP/MySQL so please be gentle
>
> -
Open PDF from menu/list box?
I would like to be able to have site visitors view a list of
PDF's in a menu/list box and then be able to open the PDF they
select. Now, I have the menu box in a form. Selecting a PDF, then
clicking the forms submit button, brings up another form. the
second form shows the record (the PDF which was selected) - and
clicking the submit button brings up the PDF. I would like it to be
a one-click process versus what I have now.
I don't know what code to palce for the 'action' attached to
the first submit button.
I would appreciate any help. I am using ASP js.
ThanksYou still need to have a single action on the first form to
handle the
selection but what I would do is send it to a page and use a
Response.Redirect to send them to the write page. The
following is vb script
by you should be able to convert it to js.
<%
dim gotoPDF
gotoPDF = request.form("SelectName")
Response.Redirect gotoPDF
%>
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"MontanaBill" <[email protected]> wrote in
message
news:f3sb74$fm7$[email protected]..
>I would like to be able to have site visitors view a list
of PDF's in a
> menu/list box and then be able to open the PDF they
select. Now, I have
> the
> menu box in a form. Selecting a PDF, then clicking the
forms submit
> button,
> brings up another form. the second form shows the record
(the PDF which
> was
> selected) - and clicking the submit button brings up the
PDF. I would
> like it
> to be a one-click process versus what I have now.
> I don't know what code to palce for the 'action'
attached to the first
> submit
> button.
> I would appreciate any help. I am using ASP js.
> Thanks
> -
Drop down list created by fireworks MX disappears behind Flash movie. Is there a way to have the menu list displays in front of Flash movie, pls. let me know what I should do to have the drop down menue not disappear behind the Flash movie.
Thanks,
[email address removed by host]Wrong forum... this is to discuss the operation of the forums, not products
You need a forum for Fireworks or Flash or maybe Dreamweaver
Go to the index at http://forums.adobe.com/index.jspa to find the correct forum for your question -
PHP: Dynamic Menu/List
I have a database that has a bunch of locations and I have
created a page using PHP that has a Dynamic Menu/list that pulls
the locations. Users have the option to select a location and
perform a search returning information. My problem is, I want to
create an option "Search All Locations." I have tried every special
character that I can think of and all results bring back nothing. I
am using Dreamweaver 8. I have pasted some of my code below:
<form id="form1" name="form1" method="get"
action="resultslocations.php">
<label></label>
<p>
<label>
<select name="neighborhood_list"
id="neighborhood_list">
<option value=""%"">Search by
Neighborhood</option>
<?php
do {
?>
<option value="<?php echo
$row_Location['Location']?>"><?php echo
$row_Location['Location']?></option>
<?php
} while ($row_Location = mysql_fetch_assoc($Location));
$rows = mysql_num_rows($Location);
if($rows > 0) {
mysql_data_seek($Location, 0);
$row_Location = mysql_fetch_assoc($Location);
?>
</select>
</label>
</p>
<p>
<label>
<input name="neighborhood_submit" type="submit"
id="neighborhood_submit" value="Submit" />
</label></p>
</form>Here's the code again, it seems it was cut off.
<?php
require_once('../../Connections/ResturantsDatabase.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
"'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_ResturantsDatabase,
$ResturantsDatabase);
$query_Location = "SELECT Location FROM Locations ORDER BY
Location ASC";
$query_LocationFindAll = "Select * FROM Locations ORDER by
Location ASC";
$resultalllocations=mysql_query($query_LocationFindAll);
$Location = mysql_query($query_Location, $ResturantsDatabase)
or die(mysql_error());
$row_Location = mysql_fetch_assoc($Location);
$totalRows_Location = mysql_num_rows($Location);
mysql_select_db($database_ResturantsDatabase,
$ResturantsDatabase);
$query_Cuisine = "SELECT * FROM Cuisine ORDER BY Cuisine
ASC";
$Cuisine = mysql_query($query_Cuisine, $ResturantsDatabase)
or die(mysql_error());
$row_Cuisine = mysql_fetch_assoc($Cuisine);
$totalRows_Cuisine = mysql_num_rows($Cuisine);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Wigz Menu Venu Homepage</title>
<script src="../../Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<style type="text/css">
<!--
body {
background-image:url(../images/background.jpg);
background-repeat:repeat-x repeat-y;
background-position:top left;
a:link {
color:#FFFFFF;
text-decoration:none;
</style>
<link href="navigation_menu_class.css" rel="stylesheet"
type="text/css" />
</head>
<body>
<table width="70%" height="522" align="center"
bgcolor="#FFFFFF">
<tr>
<td height="206" colspan="2" valign="top"><div
align="center">
<table width="100%" border="0">
<tr>
<td width="80%"><div align="left"><img
src="../images/logo2.png" width="613" height="192" alt="Wigz Menu
Venue Logo" /></div></td>
<td width="20%" align="right" valign="top"><img
src="../images/menu2.jpg" alt="menu2" width="277"
height="201"/></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td width="20%" height="270" valign="top"
background="../images/menu_back.jpg"><div id="navigation">
<ul>
<li><a href="search.php">Browse
Menus</a></li>
<li><a href="#">Home</a></li>
<li><a
href="advertise.php">Advertise</a></li>
<li><a
href="recommendations.php">Recommendations</a></li>
<li><a href="media.php">Media
Kit</a></li>
<li><a href="map.php">Site
Map</a></li>
<li><a href="about.php">About
Us</a></li>
<li><a href="contact.php">Contact
Us</a></li>
</ul>
</div></td>
<td width="80%" valign="top"><table width="100%"
border="0" background="../images/background.jpg">
<tr>
<td width="50%"><div id="browsebyheaders">Browse
by Neighborhood</div></td>
<td width="50%"><div id="browsebyheaders">Browse
by Cuisine </div></td>
</tr>
</table>
<table width="70%" border="0" align="center">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2"><font size="+2"><b>Wigz
Menu Venu.com </b></font> is your one-stop-shop to
locate resturants, menus, and bars in the Arlington, VA region.
Here you will be able to find your favorite resturant's contact
information along with viewing or downloading their current menu.
To begin your search, select one of the two search options below.
You may search by neighborhood or by food cuisine. </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="50%"><div align="center">
<form id="form1" name="form1" method="get"
action="resultslocations.php">
<label></label>
<p>
<label>
<select name="neighborhood_list"
id="neighborhood_list"></label>
<option value=""SearchALL""><Search by
Neighborhood></option>
IF (option value=="SearchALL")
{<?php echo$resultalllocations ?>
while ($row_Location = mysql_fetch_assoc($Location));
$rows = mysql_num_rows($Location);
if($rows > 0) {
mysql_data_seek($Location, 0);
$row_Location = mysql_fetch_assoc($Location);
?>
<?php
do {
?>
<option value="<?php echo
$row_Location['Location']?>"><?php echo
$row_Location['Location']?></option>
<?php
} while ($row_Location = mysql_fetch_assoc($Location));
$rows = mysql_num_rows($Location);
if($rows > 0) {
mysql_data_seek($Location, 0);
$row_Location = mysql_fetch_assoc($Location);
?>
</select>
</label>
</p>
<p>
<label>
<input name="neighborhood_submit" type="submit"
id="neighborhood_submit" value="Submit" />
</label></p>
</form>
</div></td>
<td width="50%"><div align="center">
<form id="form2" name="form2" method="get"
action="resultscuisine.php">
<label>
<select name="cuisine_list" id="cuisine_list">
<option value="'Cuisine'LIKE'*'">Search by
Cuisine</option>
<?php
do {
?><option value="<?php echo
$row_Cuisine['Cuisine']?>"><?php echo
$row_Cuisine['Cuisine']?></option>
<?php
} while ($row_Cuisine = mysql_fetch_assoc($Cuisine));
$rows = mysql_num_rows($Cuisine);
if($rows > 0) {
mysql_data_seek($Cuisine, 0);
$row_Cuisine = mysql_fetch_assoc($Cuisine);
?>
</select>
</label>
<label>
<br />
<br />
<input name="cuisine_submit" type="submit"
id="cuisine_submit" value="Submit" />
</label>
</form>
</div></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
<blockquote> </blockquote>
</body>
</html>
<?php
mysql_free_result($Location);
mysql_free_result($Cuisine);
?> -
Why in ALV report, menu List- Export- Spreadsheet,must save in local file
Hello everyone .
in FBL3N (GL line item) that is ALV report.
i want to export data to excel.
but when i go to menu List->Export-> Spreadsheet
system want to save file in local drive.
when i use menu List->Export-> Spreadsheet
it's should show data in excel , not save file to local drive.
please advice.Hi,
Before savind into the system browse the location and rename the file for word format that means
After pressing spread sheet it show like this
Directory file:
File Name:
Encoding:
In the File name it will shows the default file name and you have change that document file>
Eg:- It shows .xls and you want as word format change as .doc
It shows .xls and you want as txt format change as .txt
It shows .txt format and you want as excel format change as ..xls
Hope this will understand
Regards,
Kanike -
How do i create a styled spry mysql driven menu using dreamweaver cs4?
How do i create a styled spry mysql driven menu using dreamweaver cs4?
I have cs4. I gave up on using MS sql as a datasource. I finally got a php successfull connection in my PHP web page.
I would like a nice video tutorial for creating a dynamic menu.
I guess i can style it by attaching a css file to the page. Are their any already designed css files out there in some online area?
i am not a good designer. so i would like to simply have a collection of menu_style.css files and choose what looks good.
But first i need to build the spry menu from the mysql database.
Any help is apprechiated.
My first choice was to maintain the data in an MS sql server file. If i could directly attach to an ms sql datasource then that would be the best option.
I dont think i want to have to re-generate an XML datasource each time i add or modify the menu. I would like to maintain the MS Sql or mySql file instead.
If i could generate an XML datasource from the MS Sql database then I may even prefere that, but i have spent a lot of time trying to figure out how to do that and not had any success. So i prefere working in MS sql but would settle for mySql if i had to.
Thanks
JerryTo create a dynamic menu take a look here http://labs.adobe.com/technologies/spry/samples/menubar/MenuFromNestedData.html#
The XML file for the above menu looks like this
<?xml version="1.0" encoding="utf-8"?>
<items>
<item id="0001" type="donut">
<name>Cake</name>
<ppu>0.55</ppu>
<batters>
<batter id="1001">Regular</batter>
<batter id="1002">Chocolate</batter>
<batter id="1003">Blueberry</batter>
<batter id="1003">Devil's Food</batter>
</batters>
<topping id="5001">None</topping>
<topping id="5002">Glazed</topping>
<topping id="5005">Sugar</topping>
<topping id="5007">Powdered Sugar</topping>
<topping id="5006">Chocolate with Sprinkles</topping>
<topping id="5003">Chocolate</topping>
<topping id="5004">Maple</topping>
</item>
<item id="0002" type="donut">
<name>Raised</name>
<ppu>0.55</ppu>
<batters>
<batter id="1001">Regular</batter>
</batters>
<topping id="5001">None</topping>
<topping id="5002">Glazed</topping>
<topping id="5005">Sugar</topping>
<topping id="5003">Chocolate</topping>
<topping id="5004">Maple</topping>
</item>
<item id="0003" type="donut">
<name>Buttermilk</name>
<ppu>0.55</ppu>
<batters>
<batter id="1001">Regular</batter>
<batter id="1002">Chocolate</batter>
</batters>
</item>
<item id="0004" type="bar">
<name>Bar</name>
<ppu>0.75</ppu>
<batters>
<batter id="1001">Regular</batter>
</batters>
<topping id="5003">Chocolate</topping>
<topping id="5004">Maple</topping>
<fillings>
<filling id="7001">
<name>None</name>
<addcost>0</addcost>
</filling>
<filling id="7002">
<name>Custard</name>
<addcost>0.25</addcost>
</filling>
<filling id="7003">
<name>Whipped Cream</name>
<addcost>0.25</addcost>
</filling>
</fillings>
</item>
<item id="0005" type="twist">
<name>Twist</name>
<ppu>0.65</ppu>
<batters>
<batter id="1001">Regular</batter>
</batters>
<topping id="5002">Glazed</topping>
<topping id="5005">Sugar</topping>
</item>
<item id="0006" type="filled">
<name>Filled</name>
<ppu>0.75</ppu>
<batters>
<batter id="1001">Regular</batter>
</batters>
<topping id="5002">Glazed</topping>
<topping id="5007">Powdered Sugar</topping>
<topping id="5003">Chocolate</topping>
<topping id="5004">Maple</topping>
<fillings>
<filling id="7002">
<name>Custard</name>
<addcost>0</addcost>
</filling>
<filling id="7003">
<name>Whipped Cream</name>
<addcost>0</addcost>
</filling>
<filling id="7004">
<name>Strawberry Jelly</name>
<addcost>0</addcost>
</filling>
<filling id="7005">
<name>Rasberry Jelly</name>
<addcost>0</addcost>
</filling>
</fillings>
</item>
</items>
Then remains the manner in which you create the XML file which can be found here http://labs.adobe.com/technologies/spry/samples/utils/query2xml.html
One you have your menu up and running, you will be able to apply styles and effects -
I have an iPod Classic 4th Generation and my click wheel connection is broken and so does not work. I can still play music on my Bose dock station but I cannot choose which album I want to play because I cannot scroll down the playlists. I can just play the first tune in the list or from where I last paused a tune. Is there a way to scroill down the list, including the top menu list, without using the click wheel?
Index Values, I think, is the property you are looking for. Set the index to 0 to be at the top.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Font Size Change works on all except menu & Lists
Hi folks. I've searched the forum and gone through about 100 pages of issues with Font size and font changes but have not found an answer that fixes the issue i'm having.
Issue: I change the font size in Menu, options, screen/keyboard. This changes the font on everything in the system EXCEPT the email listing, SMS listings, BBerry Messenger Listings, Menu Lists (like the options menu, etc...
i have seen answers to similar questiions that says that these items might be theme controlled. Is there a way for me to fix without deleting my theme?
i've seen many people telling developers how to allow users to change the font but nothing that addresses this issue.
finally, i've seen some answers that say a person should upgrade to the latest software OS. i ahve the latest OS 5.0.0.654 on a sprint curve 8530...
so to sum up... when i actually see the lsit of emails in my inbox, that font stays constant. when i open a specific email that font is what i chose within Screen/Keyboard option in settings/options menu... Same with SMS, same with almost everything...
Any help would be appreciated. Thanks tons.
daveIf it is a theme issue, the only way to fix it would be to contact the developer and see if they can develop a fix (or adjust it for you). The catch is that when I played around with themes, it seemed that most of these sorts of settings were set within the theme itself and it wasn't easy to be able to adjust it. It's not to say it wouldn't be possible - just that I couldn't figure out how during my efforts.
I'm glad you were able to figure out the source of the problem. I just wish there was something more that you could do to directly fix it yourself.
If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
If your issue is resolved, don't forget to click the Solution button on the resolution! -
Using a Menu List to dynamically set text
Hi,
I want to create a menu list and depending on the selected
element in the list, set some related text in a variety of
different text fields. I've been looking at the various behaviours
available on a menu list and I've noticed the attribute
spry:selected as well both of which look relevant.
I've been trawling the web to find some guidance but so far
haven't found much. I guess I'm looking for some general guidance
on best practice for achieving this. If anyone can point me in a
good direction that would be great.
Wisdom greatfully received.
ChrisLet's see your form. Tell us what you are trying to set and
which field you
are trying to affect.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"cjdanson" <[email protected]> wrote in
message
news:gpmn85$1hn$[email protected]..
> Hi,
>
> I want to create a menu list and depending on the
selected element in the
> list, set some related text in a variety of different
text fields. I've
> been
> looking at the various behaviours available on a menu
list and I've
> noticed the
> attribute spry:selected as well both of which look
relevant.
>
> I've been trawling the web to find some guidance but so
far haven't found
> much. I guess I'm looking for some general guidance on
best practice for
> achieving this. If anyone can point me in a good
direction that would be
> great.
>
> Wisdom greatfully received.
>
> Chris
> -
How to change color of DHTML sub menu list
Hi all,
In my application i am using DHTML submenu list. But I have to change the color of
the menu list which is selected currently.
In interactive report how to fix the column width , because if one column has big string it's going to the right side. My requirement is after fixed column width it has to come in the second line.
pls help me. I am in urgent need.
thnks
pnrim a bit confused with the post so hopefully this will help you, if not then let me know.
I think the problem is that in your renderer your saying
setBackground(header.getBackground());which is setting the backgound of the renderer rather than the selected item, please see an example below, I created a very simple program where it adds JLabels to a list and the renderer changes the colour of the selected item, please note the isSelected boolean.
Object "value" is the currentObject its rendering, obviously you may need to test if its a JLabel before casting it but for this example I kept it simple.
populating the list
public void populateList(){
DefaultListModel model = new DefaultListModel();
for (int i=0;i<10;i++){
JLabel newLabel = new JLabel(String.valueOf(i));
newLabel.setOpaque(true);
model.addElement(newLabel);
this.jListExample.setModel(model);
this.jListExample.setCellRenderer(new RowHeaderRenderer());
}the renderer
class RowHeaderRenderer extends JLabel implements ListCellRenderer
JTable theTable = null;
public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus){
JLabel aLabel = (JLabel)value;
if (isSelected){
aLabel.setBackground(Color.RED);
}else{
aLabel.setBackground(Color.GRAY);
return aLabel;
} -
No Image - Pull Down Menu List with Image
HI.
i am using Pull Down Menu List with Image (Custom 1). but when i run the application i can't see any image. below is the link to my application
[http://apex.oracle.com/pls/otn/f?p=49167:1|http://apex.oracle.com/pls/otn/f?p=49167:1]
SagarHello Sagar,
If you change the template for the list to 'Pulldown menu with image' the images show up.
Greetings,
Roel
http://roelhartman.blogspot.com/ -
Interactive Reports and menu list translations
Can anyone tell me how to translate the menu items contained in the interactive reports menu list (ie Select Columns, Filter, Sort....) ? I have translated an application into french and when I switch to that language the menu items in the interactive reports are still displayed in english yet the rest of my application is french. The translation file does not contain these items to translate. Can I make these french somehow? Its a pretty powerful tool, but not not if you can't make it language specific. Our french users would not accept this in english.
Hello,
>> Can anyone tell me how to translate the menu items contained in the interactive reports menu list …
The following section of the documentation explains exactly that - http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/global.htm#BABHCAAH .
For complete translation of the IR, you’ll need to translate all the string messages in table 16-4.
Regards,
Arie.
Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all. -
My account keeps asking for Region but the drop down menu lists Cities in China. I can,'t cange the region in my account because it asks me to check the date and time but these are correct. Any answers please?
Look, I understand I still need a card attached to the account. The problem is, it won't accept my card because I only have 87 cents in my bank account right now.
If I had known there would be so much trouble with the iTunes card, I would have just put the cash in my bank account in the morning instead of buying an iTunes card (I didn't expect the banks to be open on Thanksgiving of course).
Apple will only accept cards that have a balance. The balance is so small in my account that it won't accept it as a valid card.
I'm going to have to contact Apple anyway to reset the security questions. That's obvious. Your answers were not exactly helpful. You didn't tell me anything I don't already know, but thanks for trying to be helpful.
Maybe you are looking for
-
Unable to install Oracle VM Manager 3.0.2 on OEL 5.9 64 bit
Hi, I am attempting to install Oracle VN Manager 3.0.2 on OEL 5.9 64 bit. I follow the instructions published in Installation and Upgrade Guide Release 3.0 for x86 (E18548-02). I use the "Standard Install", using a database on another server. This is
-
Hi all, I have a minor problem in that since installing 10.5 all my iTunes tracks are read only, if I want to change an album or track name I can't. This is only on the tracks that were on my Mac prior to the upgrade, everything that I have put since
-
Facing syntax error in this simple code snippet
select case when to_number (to_char(sysdate,'mm')) < 7 then (to_number(to_char(sysdate,'yyyy')) - 1) from dual --while if in block works fine declare year number; begin year := to_number(to_char(sysdate,'yyyy')); if (to_number(to_char(sysdate,'mm'))
-
Internationalization for Local Langauges
Dear All, Can we design applications for Local languages like (Telugu,Tamil ,marathi ) using Internationalization Concept in Webdynpro for java. pls anybody suggest me in clarifiying the issue. Regards Subash
-
Lighthouse 3.6 and Nikon D3200 raw images
I have Lighthouse 3.6. What do I need to do in order to read/edit Nikon D3200 camera's raw image?