I've spent FAR too much time trying to figure this out...PLease help!
The goal of the following code is to retrieve a very simple arraylist
and display it in a drop down menu. The reason I am doing it this way
is because the selections need to be stored in the DB and the code that
comprises them to work. Anyway, this is the code:
This one WORKS!
<tr>
<td align="left">
<label:label key="branchingR uleBean.type" message="Operan d"
resource="false " />
</td>
<td align="left">
<html:select property="branc hingRuleBean.ty pe">
<c:forEach var="branchingR uleOperand" items="${operan dsList}">
<html:option
value="${branch ingRuleOperand. operandComponen tPath}">
<c:out value="${branch ingRuleOperand. operand}"/>
</html:option>
</c:forEach>
</html:select>
</td>
</tr>
This one Doesn't....
<tr>
<td align="left">
<label:label key="branchingR uleBean.relatio nship"
message="Relati onship" resource="false " />
</td>
<td align="left">
<html:select property="branc hingRuleBean.re lationship">
<c:forEach var="branchingR uleRelationship "
items="${relati onshipList}">
<html:option
value="${branch ingRuleRelation ship.relationsh ipPath}">
<c:out value="${branch ingRuleRelation ship.relationsh ip}"/>
</html:option>
</c:forEach>
</html:select>
</td>
</tr>
What the JSP page SHOULD display is a drop down menu with the options
"and" and "or". Just above this one in my code I have another-
identical to this- obviously the "name" is different, but it works just
fine- and I can't figure out why this one doesn.t I've checked
everything I can possibly think of- case sensitivity, exc and am
finding nothing. What am I missing??? PLEASE HELP! 7 5684
JumpingOffPlace wrote on 28 Sep 2006 in comp.lang.javas cript:
I've spent FAR too much time trying to figure this out...PLease help!
The goal of the following code is to retrieve a very simple arraylist
and display it in a drop down menu. The reason I am doing it this way
is because the selections need to be stored in the DB and the code
that comprises them to work. Anyway, this is the code:
This one WORKS!
<tr>
<td align="left">
<label:label key="branchingR uleBean.type"
message="Operan d"
[...]
>
What the JSP page SHOULD display is a drop down menu with the options
"and" and "or". Just above this one in my code I have another-
identical to this- obviously the "name" is different, but it works
just fine- and I can't figure out why this one doesn.t I've checked
everything I can possibly think of- case sensitivity, exc and am
finding nothing. What am I missing??? PLEASE HELP!
Wrong NG, not about Javascript!
What does JSP mean?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. wrote:
What does JSP mean?
:) Java Server Pages
web.dev wrote on 29 Sep 2006 in comp.lang.javas cript:
Evertjan. wrote:
>What does JSP mean?
:) Java Server Pages
;-} What does Java mean?
[Except of course that marvelous island we drove through
last year and did many times before]
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. said the following on 9/29/2006 4:39 AM:
web.dev wrote on 29 Sep 2006 in comp.lang.javas cript:
>Evertjan. wrote:
>>What does JSP mean?
:) Java Server Pages
;-} What does Java mean?
That's what my wife drinks 8 gallons a day of, right?
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Randy Webb wrote on 29 Sep 2006 in comp.lang.javas cript:
Evertjan. said the following on 9/29/2006 4:39 AM:
>web.dev wrote on 29 Sep 2006 in comp.lang.javas cript:
>>Evertjan. wrote: What does JSP mean? :) Java Server Pages ;-} What does Java mean?
That's what my wife drinks 8 gallons a day of, right?
I wouldn't know.
What is a gallon ?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. wrote:
Randy Webb wrote on 29 Sep 2006 in comp.lang.javas cript:
Evertjan. said the following on 9/29/2006 4:39 AM:
web.dev wrote on 29 Sep 2006 in comp.lang.javas cript: Evertjan. wrote: What does JSP mean? :) Java Server Pages
;-} What does Java mean?
That's what my wife drinks 8 gallons a day of, right?
I wouldn't know.
What is a gallon ?
:) approx. 3.784 Liters
web.dev wrote on 29 Sep 2006 in comp.lang.javas cript:
>
Evertjan. wrote:
>Randy Webb wrote on 29 Sep 2006 in comp.lang.javas cript:
Evertjan. said the following on 9/29/2006 4:39 AM: web.dev wrote on 29 Sep 2006 in comp.lang.javas cript: Evertjan. wrote: What does JSP mean? :) Java Server Pages
;-} What does Java mean?
That's what my wife drinks 8 gallons a day of, right?
I wouldn't know.
What is a gallon ?
:) approx. 3.784 Liters
Sure, a bit more, 3.785411784 liters, but are you certain?
Methinks it is more like 4.54609 liters.
36.36872 liters, what a wife, Randy,
is this with or without inline comments?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stephen |
last post by:
I have been getting on well with help from this forum trying to create an
array list and work with it. Everything is working fine apart from
displaying my array list items into the labels in my asp table.
The asp table has numerous rows and each row has a label item within it.
Im finding it impossible to get something to work which adds the newest item
in the array list to the next row in the asp table. the first time the
button is...
|
by: Stephen |
last post by:
I have got an event below to remove items from an arraylist and then to
rebind the arraylist to the datagrid subsequently deleting the appropriate
row. My problem is that my code makes sense and I think my logic seems fine
but when I click the button on my datagrid nothing seems to happen. Have you
any idea where Im going wrong. Was thinking it might have something to do
with my page load/ postback but not really sure. Can someone please...
|
by: Stephen |
last post by:
I've been working on some code which will hopefully allow me to transfer the
contents of an arraylist on one page over to another page. The Arraylist is
held in the viewstate object as it is populated on the on-click event of a
button. Im trying to move to another page and carry over the items in my
arraylist and write them to the page. The code ive been trying to work with
to achieve is detailed below. I am getting an error and im not...
|
by: Stephen |
last post by:
Im trying to carry work out an else if clause in the below method but i'm
having a lot of difficulty getting the correct code which allows me to check
and see if an arraylist items has text in it containing Address not supplied.
Im trying to do something below but its not working properly. Can someone
help me do this please. the code i use is below.
private void checkArrayList()
{
ArrayList alSearchaddress;
alSearchaddress =...
|
by: Irfan Akram |
last post by:
Dear Friends,
I'll be glad if you guys could help out. I am currently doing a web project
in asp.net using c#. An ArrayList object in my code contains element records
containing 3 fields. In a particular portion of the code, I am trying to edit
my ArrayList object, i.e. edit a particular field in the list, but am unable
to do that succesfully. To illustrate my point further please see the code
below: -
| |
by: vbportal |
last post by:
Hi,
I would like to add BitArrays to an ArrayList and then remove any duplicates
- can someone please help me forward. I seem to have (at leaset ;-) )2
problems/lack of understanding (see test code below):
(a)When adding BitArrays to the ArrayList and then looping through the
ArrayList I seem to access only the latest added BitArray and I'm not exactly
clear on best way to access each BItArray in the ArrayList
(b)When I try to remove...
|
by: Brad |
last post by:
I would like to serialize an arraylist of objects to xml so I can store the
xml in a database column. How would I code the serializing and
deserializing? Below is a (overly) simple, incomplete example of what I'd
want to accomplish.
Thanks
Brad
Example
|
by: Dave |
last post by:
Hi all,
I have a listbox that is complex bound by an arraylist. The problem is that
when I delete an object from the arraylist, the listbox does not reflect
those changes. I tried refreshing the listbox with no luck and, because it
is already bound, I can't just delete the item directly from the listbox
without an error (because it already has a datasource, you are not allowed
to delete/add anything to the listbox directly).
The...
|
by: Allen |
last post by:
I have a class that returns an arraylist. How do I fill a list box from what
is returned? It returns customers which is a arraylist but I cant seem to
get the stuff to fill a list box. I just learning and really need some help
bad.
Public Shared Function GetAll() As ArrayList
Dim dsCustomer As New DataSet()
Dim sqlQuery As String = "SELECT Name, Address, PhoneNo " & _
"FROM CustomerTable"
Try
|
by: JohnR |
last post by:
From reading the documentation, this should be a relatively easy thing. I
have an arraylist of custom class instances which I want to search with
an"indexof" where I'm passing an instance if the class where only the
"searched" property has a value. I expected to get the index into the
arraylist where I could then get the entire class instance. However, the
'indexof' is never calling my overloaded, overrides Equals method. Here is
the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |