How to setup a dynamic jump menu field
I attempted to setup a normal drop down with a button to
excute the values,
but that doesnt seem to work very well... even though the
database has the
correct links within the tables, regardless of what selection
you make you
are taken to the same page all the time.
Is there a way to use the jump menu dynamically? I want the
menu to be
populated from my table, i dont want to have to manually
build the menu....
When i try to use it, it doesnt have the dynamic radio button
to chose a
recordset.. its all manual entry
Man that took a long time to come back with?
But this should work for you.
Add a standard List Box to your page. Click 'List Values' in
your Property
inspector at the bottom of the page. Click the 'lightning
bolt' to add the
labels that you want to display from your recordset, and then
click the
'lightning bolt' in the values column. Choose the recordset
and the field
that contains the ID you want to pass to the detail page. Now
click ok, and
Dreamweaver will have put some code in the value column for
you. You need
to add a
prefix to this that will tell it what page and the name of
the URL parameter
you want to pass.
ie
mydetailpage.asp?ID=<%=the code Dreamweaver Created%>
Ok so you now have the correct values in the list box.
Now open up a second page, and add a Jump Menu to it. Just
add one item
containing anything.
Go to the code view and copy into the clipboard the
JavaScript code that
Dreamweaver created to make the JumpMenu work. Make sure that
you get
everything
including the <script> tags.
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
some more code here!!!
//-->
</script>
Paste this into a similar place on your other document. (just
above the
</head> tag).
All you need to do now is modify the List Menu you created to
use the Jump
Menu code.
You will have something that says:
<select name="select">
Change this to:
<select name="select"
onChange="MM_jumpMenu('parent',this,0)">
That should do it!!!
Dave
"Daniel" <[email protected]> wrote in message
news:[email protected]...
> DWMX / ASP / SQL
>
>
> "Baxter" <baxter(remove:-)@gtlakes.com> wrote in
message
> news:[email protected]...
> > What server language are you using?
> > Dave
> > "Daniel" <[email protected]> wrote in
message
> > news:[email protected]...
> >> I attempted to setup a normal drop down with a
button to excute the
> > values,
> >> but that doesnt seem to work very well... even
though the database has
> >> the
> >> correct links within the tables, regardless of
what selection you make
> >> you
> >> are taken to the same page all the time.
> >>
> >> Is there a way to use the jump menu
dynamically? I want the menu to be
> >> populated from my table, i dont want to have to
manually build the
> > menu....
> >>
> >> When i try to use it, it doesnt have the
dynamic radio button to chose
a
> >> recordset.. its all manual entry
> >>
> >>
> >
> >
>
>
Similar Messages
-
Dynamic Jump Menu???
I am trying to create a dynamic jump menu (populated from a database). I have a column in th DB named "url" that contains the path of the page of each option. Any ideas on how to make it so that when the option is selected and the "go" button is pushed it takes the user to the page specified in the "url" of the database? Any help is greatley appriciated.
"kevinrogers2006" <[email protected]> wrote
in message
news:go4va9$lr2$[email protected]..
> when i click the
> button to jump to page the .php is missing therefore i
get page
> cannot be
> found.
It's missing because it's not in the code. The problem lies
here:
> <option value="<?php echo
$row_menuselect['ID']?>"<?php if
> (!(strcmp($row_menuselect['ID'],".php"))) {echo
> "selected=\"selected\"";}
> ?>><?php echo
$row_menuselect['Name']?></option>
Change it like this:
<option value="<?php echo $row_menuselect['ID'] .
'.php'?>">
<?php echo $row_menuselect['Name']?></option>
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com -
Dynamic Jump Menu Problem in CS3
I'm trying to create a link in a Jump Menu to a Detail Page.php by setting the parameters in the menu item to match a value in a recordset. When selected from the menu, a new page should open with a subset of the original php page. So far I haven't found a method to transfer a value in the menu to a url parameter which can be used by the target php page. Any suggestions appreciated.
Regards to the ListNevermind. I was over-thinking the problem and adding dynamic parameters, when a simple solution was all that was required.
Regards to the list. -
Hello Guru's, How to setup default value to a field
Hello Guru's,,
will anyone guide me the procedure how to setup a default value to a field in mm01 SAP STD Transaction.
example: material description ' xxxxxxx ' , it should be constant for all materials.
full points for the answer
PVHi,
Pls look into it
These are the way to set the default values.
Step 1 :
CONSTANTS : P_MAKTX TYPE MAKT-MAKTX VALUE 'DESCRIPTION'.
STEP 2:
SET PARAMETER ID 'MAT' FIELD 'DESC'.
CALL TRANSACTION 'MM01' AND SKIP FIRST SCREEN.
If it is useful reward points. -
How can I center a 'Jump Menu' on the page?
Help!
I have created a 'Jump Menu' to serve as the navigation for my website.
However, I cannot seem to center it on my page?!
Does the Jump Menu need to be contained within a div tag, in order for me position it precisely? At the moment it is contained within a 'Form' (I think), and not a div tag.
I have attached a relevant screengrab.
When I do try and center a div, I set the margins to auto in the CSS correct? e.g margin: 0 auto;
This does not always seem to work, am I doing something wrong? Sorry, I am very new to this.
Many thanks in advance,
JPresumably you have some space on the web where you plan this website to finally be viewed by everyone?
Upload your broken page there and give us the website address. -
How to setup infotype menu in OM
how to setup our own infotype menu in OM?
inputs plz.
regardsHi Sathi,
I hope hope your problem is not solved yet, so find my input.
If you want to maintain a OM infotype menu the you can do that through OOIT tcode. Here you have to map each infotype with the Objects in which you want them to appear.
Award points if useful.
Regards,
Bhupesh -
Jump Menu/Database question
Greetings all. I have a contact management database for
different departments. As it stand right now, I have a one page on
my site with a list of each department, and when you click on a
department it takes you to a webpage that populates with
information pertaining to the selected department. What I'm trying
to do is replace the list with a jump menu. I know how to populate
the jump menu with dynamic data, but how do I pass a URL variable?
Also, I'm wanting the site to go to the same page regardless of
which department the select. How do I tell the jump menu to go to
page x if the labels are pulled dynamically from a table? The best
example I can think of is a webpage with that caters to different
countries. REgardless of which country you select it takes you to
the same page, but the data on the page is pulled from a database
containing the language that corresponds with the selected country.
Thank you in advance for the help.Moved to the Dreamweaver Application Development forum.
To display the selected option, you need to add a conditional statement to each <option> tag.
<option style="background-image:url(img/flags/icon1.gif);"
value= "main.php?city=tx"
<?php
if (isset($_GET['city'] && $_GET['city'] == 'tx') {
echo 'selected="selected"';
?>
>Texas</option>
Do the same for each <option>, changing 'tx' to 'ut', 'ny', and 'nj' as appropriate. -
Accessing Dynamic Internal table fields
Hello All,
I have one internal table ep_tabx having 138 columns whose data is getting displayed
by using function module reuse_alv_grid_display.
Now my query is, i have created one custom button on the appl toolbar to download ep_tabx data.
IF the user changes the the layout of the output at runtime and then presses that custom button
then i have created one dynamic internal table using call method cl_alv_table_create=>create_dynamic_table suppose <dyn_table> whose struc will be that of
dynamic fieldcatalog returned by using FM REUSE_ALV_GRID_LAYOUT_INFO_GET.
And then I have put a loop on the int table ep_tabx and move corresponding to the int table
<dyn_table>. But when i download the <dyn_table> data through GUI_DOWNLOAD the
date fields data is not getting downloaded correctly. I have 4 date fields in my ep_tabx.
In the alv grid output the date is getting displayed like 08/30/2004(ie mon/date/yr) but in download
file it comes like 20040830(ie yr/mon/date and that too without /).How to access the dynamic
internal tables fields separately so asto convert them in the pgm before the download.
Kindly Help.
Thanks in advance.
MansiHi,
Search in SDN you would get loads of info on accessing dynamic itab's .
in order to convert your date format use WRITE stmt to convert the value in your itab before passing it to download FM.
Regards,
Raghavendra -
Trying to get the jump menu to display correctly in a css
sheet. I notice you cannot add any attributes like padding or
margin as the div shows up as a * symbol but you can change the
text and size. Was wondering how I can have a jump menu n a box 50%
jump menu left and 50% text or jpg right?
rdereJust recognize that nobody here can channel your code. Please
include it or
a link to your page in your posts.
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
==================
"mentlity" <[email protected]> wrote in
message
news:gfmqp7$kal$[email protected]..
> Hello Murray, after experimenting I was able to put a
few jump menus on
> the
> same line as I had problems before. I found the text
needs to be within
> the div
> and I can change the text in the menu as well as the
size.
>
> thx
>
> rdee
> -
How to get the co-ordinates of a dynamically created input field
Hello Frn's
i have created a dynamic text view . but this text view is not appearing at proper position . I want palce it infront of a dynamically created input field . how can i do this ?
as i am thinking ...i should first of all get info about the co-ordinates of dynamaclly creatd input field . and with respect to these co-ordinates ...set the position of text View .
Please suggest your thoughts .
Thanks and Regards
Priyank DixitHi,
There is no provision in WD for getting screen coordinates and then placing the UI element.
You to add the UI element to layout editor and based on the layout type it will add the UI element to respective position.
I would advice not to create dynamic UI elements( instead you can create them statically and then play with visibility status through context binding ). This will be more effective way and less error prone. This is also recommended practice.
still,For dynamic creation you can refer to following wiki:
http://wiki.sdn.sap.com/wiki/display/WDABAP/CreatingUIElementsDynamicallyinAbapWebdynpro+Application
regards
Manas Dua -
how to setup a function is cannot print out if didn't fill up all the required field on PDF form?
No way with just the free Reader. It may be done with Adobe Acrobat.
-
How to populate dynamic internal table fields with data??
Hi Folks,
How to assign a particular internal table field to a dynamically assigned internal table?
I have an excel sheet, and i upload the excel sheet data into an internal IT_EXLOAD table using FM ALSM_EXCEL_TO_INTERNAL_TABLE
Now i created a dynamic internal table which has the same column as in my DB table.
I have to fill the dynamically created Internal table with the IT_EXLOAD data dynamically.
Suppose in future if i add some field in DB table and for that field if i add some column in excel sheet there is no need to change in the program.
Looking for reply...
Best Regards,
Sayakhi,
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = p_path
i_begin_col = '1'
i_begin_row = '2'
i_end_col = '2'
i_end_row = '1000'
TABLES
intern = intern
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
*declare intern_tmp as internal table tb_data in wich you want the data
*and declare a field symbol <fs_123>
LOOP AT intern.
ASSIGN COMPONENT intern-col OF STRUCTURE
intern_tmp TO <fs_123>.
IF NOT <fs_123> IS ASSIGNED.
CLEAR intern.
CLEAR intern_tmp.
CONTINUE.
ENDIF.
<fs_123> = intern-value.
AT END OF row.
CLEAR tb_data.
MOVE-CORRESPONDING: intern_tmp TO tb_data.
APPEND tb_data.
CLEAR intern_tmp.
ENDAT.
CLEAR intern.
ENDLOOP.
**paste this code and you can see the data in ur tables dynamically.
Thanks
Nitin Sachdeva -
How do I make a selection on a jump menu open in a "blank" or secondary window?
Please (anybody) if you can help me with this issue, I would greatly appreciate it!
I am attempting to use the jump menu form feature in Dreamweaver. Everything in the feature works fine until I get to "Open URLs in: ....". For some reason only the option for "MAIN WINDOW" drops down and not an option for "NEW WINDOW". At this point I have spent way to much time searching for a solution, even to the point of reinstalling Dreamweaver to no avail. Can someone please take a look at my code and tell me how I can alter the code to make each jump menu link items open in a separate (blank) window. I'm not the best with code, but if you tell me exactly where to put each line of code I can do it!
Again, any help would be greatly appreciated. Trying to meet a deadline and ran into this unexpected issue.
Here is the link: http://www.graphicmechanic.com/DEKALBCOUNTY/portals/visiting-dekalb/index.html
Just in case it helps with the explanation of my problem, I've attached an image of what I'm seeing in the DW jump menu window.This technote may help:
http://kb2.adobe.com/cps/161/tn_16166.html
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates | Tutorials | SEO Articles
http://www.DreamweaverResources.com
Web Design & Development
http://www.perrelink.com.au
http://twitter.com/nadiap -
How we can generate dynamic menu in jsp page
Hi all,
how we can generate dynamic menu in jsp page.
Thanks
Manjinderby reading more about them on the web or in a good book, OR BY HIRING SOMEBODY TO DO SO. ;)
-
How to dynamically hide the Field Label in the overview page's form view?
Hi Experts,
How to dynamically hide, for certain condition, the Field Label in the overview page's form view?
Please reply me.
Regards,
VishalHi Vishal,
It is not possible to dynamically hide/display fields if the UI is build using configurations.
The work around is to have multiple configurations, and based on the condition, load the
corresponding configuration at runtime.
The other approach is to code the complete htm view(htm coding) without using the configuration provided by the framework.
Regards,
Leon
Maybe you are looking for
-
Particular Vendor Account assignment in Financial Statement Version
Hello, I am preparing Financial Statement Version. There are around 50 vendors and out of that 2 vendors have been paid in advance. I need to show that 2 particular vendors in Financial Statement Version, the problem is there is only one reco
-
Want to change pic sizes in a pdf slideshow...
Hi, I've been round & round trying to figure a way to make my 4x6 jpeg images that have been downloaded from my camera smaller in a slideshow. Right now they either appear top to bottom with black on the sides when it's a vertical shot, or completely
-
Where to find my downloads to install, using Windows XP?
Using Windows XP, once I download, there's no indication of where to find what I downloaded, for installation.
-
Database character set migration rules
We have an application which migrates various entities from one database to the other. These databases could have different character sets. The migration process is automated. What character set rules should we follow while migration? Can we use the
-
Can't instal photoshop CS5 extended because of "subscription error"?
Hi everyone! I recently downloaded Photoshop CS5.1 on adobe.com and everything went well. I entered my serial number but at the end of the installation it says: "We are unable to start your subscription for Adobe Photoshop CS5.1 Extended Subscription