Hi,
I got the above error when I ran my struts app. I am
not
using a form for this action since I only need to
diaply it. And I am using Tiles framework for this.
Appreciate any help.
__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Is it absolutely necessary to use a form bean for
every
action? I will only let user to click on a link and
forward it to another page while sending a value.
Should I define a form bean for this? And how can I do
it?
regards,
--- victor gusz [EMAIL PROTECTED] wrote:
Hi,
I got the above
Hi,
I am using nested forms to populate my pages and set
up
input forms. but selected items cannot be sent or
previously stored values are sent. Once I set all
previous values to null in my parent form or nested
forms, null is sent, selected items are ignored. If
anyone knows what's wrong with my
:
After extensive analysis, I have determined that
your
code is behaving exactly as written.
-jeff 'kreskin lives!' kyser
On Thursday, October 2, 2003, at 08:01 AM, victor
gusz wrote:
Hi,
I am using nested forms to populate my pages and
set
up
input forms. but selected items cannot
Hi,
I have a tricky problem:
I will have a loop that iterates through a list
of inputs. The input formats will be either textfield
or
drop downbox. I will only know the number of or input
formats during runtime. For example, my page will
display a text filed, a drop down box; or two drop
down
Hi,
I have the following flow:
Action1--page1--Action2
in Action1, I put a object in session:
session.setAttribute(myObj, myObj);
page1 then can retrieve this object from session and
display it on the page.
After I click on a button on page1, user will be
forwarded to Action2. I try to get
Hi, guys:
I have two methods in a DispatchAction class: save,
delete
and I have two buttons in a jsp page: save, delete.
In order to successfully save and then forward to
another
page, I can do the following:
html:submitbean:message
key=button.save//html:submit
html:hidden property=method
value=save/
html:submit
bean:messagekey=button.save/
/html:submit
html:submit
onclick=document.formName.method.value='delete'
bean:message key=button.delete/
/html:submit
-Original Message-
From: victor gusz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 13
Hi, Guys:
I want to learn Hibernate, Hibernate site does not
seem to provide good examples. Has anyone have this
kind simple running example for starters to follow?
regards,
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
Hi,
Has anyone used display taglib from the following
address:
http://edhill.its.uiowa.edu/
It seems this tag does not have data-formating ability
to
align titles or data. Does anyone konw a workaround
about this?
regards,
__
Do you Yahoo!?
Yahoo! SiteBuilder
--- Yansheng Lin [EMAIL PROTECTED] wrote:
Yes it does.
style type=text/css
.tableRowHeader {
align:center;
}
.tableRowOdd {
align:center;
}
.tableRowEven {
align:center;
}
...
/style
-Original Message-
From: victor
Hi,
Has anyone used display taglib from the following
address:
http://edhill.its.uiowa.edu/
How do you specify the requestURI parameter of
display:table if I want to display multiple pages
if number of results is huge? The taglib's examples
seem to link results pages to different pages,
Thanks,
You are right. But it seems it only renders internal
stylesheets.
regards,
--- Yansheng Lin [EMAIL PROTECTED] wrote:
It's the default classname for the rows and columns,
etc. if you take a look at
the source code.
Presentation in html should be separated from the
content,
Hi,
I define a reset function and seset every form
variables to null, since I want to reset all inputs to
null after I hit submit button. I also put the
following
line before I return ActionForward in my action class:
request.setAttribute(mapping.getAttribute(),
sampleForm);
But its not
checkboxes.
What you need is some ActionForm.setEmpty() method
to
call before forwarding to whatever code renders your
HTML.
m
--- victor gusz [EMAIL PROTECTED] wrote:
Hi,
I define a reset function and seset every form
variables to null, since I want to reset all
inputs
to
null
Thanks, Amit, its working now.
--- Amit Kirdatt [EMAIL PROTECTED] wrote:
Have you tried
request.setAttribute(mapping.getAttribute(), new
SampleForm()); ?
Although I do agree with Michael.
-Original Message-
From: victor gusz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30
Thanks, Wendy:
Sorry, I did not make it clear. I actually got the
collection directly from database using JSP scriptlet.
I just do not know how to correctly display options
this way.
--- Wendy Smoak [EMAIL PROTECTED] wrote:
Rick wrote:
If I have a collection of employees, an employee
has a
Thanks, Cecile:
You are absolutely right, I should use html:options. I
actually used that for the other box. But this one is
a dependent box, I am trying to use a JavaScript
function to dynamically fill the second box. I am
stuck here. I am not sure how I can get the
selectedItem from the first
Thanks,
Yes, there are 8 implicit varibales available in
scriptlets. I also have a dilemma about this: I have
to create a empty box when user is directed to this
page. So, I use request.setAttribute(employees,
employees) in action class to init a empty box. If I
do
this again in my scriptlet,
19 matches
Mail list logo