Take a look at the html:options tag (as distinct from the html:option
tag). I think that will do what you are looking for.
--
Martin Cooper
- Original Message -
From: Gogineni, Pratima [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 2:18 PM
Subject: html:select
Title: Referer pages and structs
Hi
Shunhui,
It
sounds like you need to be looking at the struts templete tags as these can use
'roles' to push differentcontent into a page.
Hope
this helps
Jon
-Original Message-From: Shunhui Zhu
[mailto:[EMAIL PROTECTED]]Sent: 22 May 2001
Hi Andreas,
For complete instructions on setting up Struts to work with VAJ check out
http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocumentSubMast=
1
Hope this helps,
Jon.
-Original Message-
From: Andreas Dejung [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 09:31
To:
Hi
I`m building a site that uses a application form that spans over several
pages. How should I design this application?
1. With formBeans for every page
2. One formBean for the entire application form
All suggestions appreciated
Jan Fredrik
___ Jan Fredrik Øveraasen | Senior Systems
I`m building a site that uses a application form that spans over several
pages. How should I design this application?
1. With formBeans for every page
2. One formBean for the entire application form
What I find I am doing is building a separate form bean for each page
that just represents the
hi
in my opinion, have a bean for every page. in case a page has only one/two
fields you might consider clubbing it with some other relevant page.
The point is if you have only one bean, it would eventually be more like a
procedural programming concept.
Consider if ther was only one bean, The
There was a thread in the mail archive recently about exactly this, but I
don't know if it came to a conclusion. May be worth a look though. (
http://www.mail-archive.com/struts-user@jakarta.apache.org)
Search the archive for Iterating a resultset. There should be 10 or 11
messages come up.
Hi all,
I'm pretty new to struts. One of my forms needs to handle a Date attribute
on the bean it represents, and I was wondering what the best solution for
handling dates is - do you have to have a String attribute on the ActionForm
as a proxy for the real date value? and if so, where should
Jim,
We're following a pattern that I read about on the struts-dev list.
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg01340.html
Here's a summary from our JSP/Struts standards document.
Form Beans should be String Beans
o The EJB tier will return beans and properties in the
What is the return Object for? Or have I mis-understood what the entity
object passed in is? ( thought it is the EJB to populate or take data from)
Sean
--
Dr Sean Radford, MBBS, MSc
Senior Consultant
Agora Professional Services Ltd
[EMAIL
Hello,
I am in a jsp preceded by an action and I want to display the form of
the action but not within form html tags.
For instance :
My Form :
public class SearchForm extends ActionForm {
public SearchForm() {}
private String mKeyword = ;
public String getKeyword() { return
Title: A bean for connection pooling in struts
Hi All,
I am using struts framework for my project.
In the project I am using the controller classes,
model classes(beans) and jsp pages
pages.
I am using connection pooling in struts for database
connectivity using oracle thin driver.
I
A, you're right. (typo)
The import should be:
public void formImport( Object entity,
HttpServletRequest request,
ActionErrors errors) throws ServletException
The export does have the Object as an argument it is returned.
public Object
Hi Everybody,
I would really like the opinion of the big heavyweights who designed
this framework. I have a small but important suggestion to make for the
struts 1.1 todo list.
So far struts does not implement a filtering technology for incoming
requests which is very important in this
I believe taglibs has a tag which does this for you. Search Jakarta taglibs
and viola you got your tag.
cheers,
Amar..
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 7:08 AM
To: [EMAIL PROTECTED]
Subject: Tag to iterate a ResultSet
Do you just want to display the index? If you do, I just wrote a custom tag that does
that. It allows me to remove one of the last instances of scriptlets that I have in my
jsps. It's seems overkill to have a tag that just displays the iterate counter but oh
well. If nothing else, you can use
Character Filter Donation
- Original Message -
From: Nanduri, Amarnath [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 9:39 AM
Subject: Suggestions for Struts 1.1 TODO LIST Request Filtering
technology for Struts
Hi Everybody,
I would really like
Jonathan,
Nice answer :) I learnt a lot from you today.
Amar..
-Original Message-
From: Jonathan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 3:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Donating Xml Configurable Character filter
If you look closely, you will first
I've started a new piece about building a Strut's application from
scratch. I'm now thinking about how to work the J2EE patterns into what
I started. The work in progress is at
http://husted.com/about/struts
under Coming Soon.
Any notes or ideas people might have about this would be
If you're running Struts from within VAJ, then you need to add the DTDs to
the resources page. The best way I know of is to go to the Resources page,
select the Struts project, add the following folder strucutre:
org.apache.struts.resources, and add the DTD files from struts\src\conf.
That
Hello,
I am planning a struts app and I would like to know please if there is a
way to set the text of a submit button, based on a key from the
ApplicationResources.properties file.
Thank you
Neil Blue
Hello,
I would like to know if there is a limit in the
number of forward allowed for a given request.
I have a case where the original request goes
through 3 actions before reaching the final JSP.
My problem is that at the third action, I get a
new jsessionid -- and so the objects stored in
Hello All,
Can anyone help me with this problem? I'm
trying to have a link open up a custom browser window using a struts html:link
tag, but I'm getting a Non-matching extension tags error. Here is my
code:
html:link href="window.open("/title.do" +
"?MOVIEID=%=MOVIEID%", "title",
Ted,
Sounds good.
Let me know once you've started to incorporate the patterns and I'll have a
look.
Thanks,
-dm
Ted Husted wrote:
I've started a new piece about building a Strut's application from
scratch. I'm now thinking about how to work the J2EE patterns into what
I started. The work in
Hi
Steven,
Try changing the following:
%
String url = "window.open('/title.do?MOVIEID="+ MOVIEID +"',
'title', 'fullscreen=no, toolbar=no, status=no, menubar=no, scrollbars=no,
resizable=no, directories=no, location=no, width=550, height=350, left=200,
top=200'"; //There is a ' followed
hi,
I am trying to make use of struts framework in our application. But can I
implement the frame work without using its Tag libraries? If so how can
I do it? Basically I do not wnat to use Struts TAG LIBRARIES in my JSP
pages.
thanx
regards
sanjay
I disagree with this proposal. Your so called disallowed characters could
be perfectly reasonable in certain contexts. For example, question marks
are perfectly valid for capturing dailog. Parens are perfectly valid when
capturing phone numbers, etc.
There is some merit to your basic idea,
I have many cases in my application where I use a nested property in an html
form field (i.e. - order.customer.id). If one of the nested properties is
null Struts throws an exception. Is there any way around this? What I
thought would happen in the above example is if the customer bean was null,
Michael,
First thing to say is we are only just starting to devlop our first Struts
app after first prototyping vanilla Struts and then trying out various
customizations to create a more productive environment.
I try to answer your points in the message below.
-Original Message-
Good point, were still developing our first Struts system. The Transport
object could just store the DataSource, retrieved from the servlet context
and let the actions get and close connections from the Transport object, if
thats an issue for you.
With the number of users we are planning for and
Michael
You need to use a set-property tag is Struts-config.xml
For example:
action path=/this name=myForm type =myPackage.myAction
forward name=success path=/next.jsp/
forward name=fail path=/prev.jsp/
set-property property=processAction value=whatever/
/action
Niall
-Original
look at it closer Jeff. It does not touch the escaped url string itself,
but rather the actual characters de-coded from the url using the decoding
you specify. Also, you decide the appropriate mapping. Go to the xml file,
make your own mapping, and call it instead of the one I did called
32 matches
Mail list logo