Steve Beaver wrote:
Let me give everyone a major hint. What most programmers are doing today
is NOT
even close to Innovative. The guys that did the real work, started in this
IT business back
in the 1960' and 1970's, when his business WAS Rocket Science
I'd have to agree. We're building on
Lombart Vincent (DBB) wrote:
Dear all,
Does anybody know why the following JSP code does not work:
table border=1 cellspacing=0
tbody
c:forEach items=${monitorBean.rows} var=irow
tr
c:forEach items=${irow.columns} var=icol
tdhtml-el:link action=monitor
Lombart Vincent (DBB) wrote:
That's the kind of solution I was looking at, although using c:url with
included c:param might be more robust. But I would prefer to use the action
name rather than the direct url.
Eh, good call! I was trying to quickly relay a point and I don't
remeber the
Hello Everyone,
I've got an easy one, that is stupifying me because of my tiredness.
I've got a POJO with a List in it. The List is a list of beans. In my
JSP page I'm trying to iterate over the list of beans. Here goes:
public class Information {
private String name = null;
private
Hubert Rabago wrote:
You might find the nested tags interesting:
%@ taglib uri=/WEB-INF/struts-nested.tld prefix=nested %
nested:root name=information
nested:write property=name/br/
nested:write property=addr/br/
nested:iterate property=school
nested:write
Hubert Rabago wrote:
You might find the nested tags interesting:
%@ taglib uri=/WEB-INF/struts-nested.tld prefix=nested %
nested:root name=information
nested:write property=name/br/
nested:write property=addr/br/
nested:iterate property=school
nested:write
Marcelo Epstein wrote:
Thanks Jeff,
But it is not working. I inserted :
table { empty-cells: show; }
inside my css file.
But the cells when the attribute of the bean is null still appears no
border. :-(
Any sugestion? Or sample code?
You'll have to make sure that the table you're
Brian McGovern wrote:
I have a situation where i need to have a multi screen form, lets say 3 steps.
On the successfull validation of the 3rd step. I want to save the data into
the DB. This data would have been collected starting on step one, through
step 3 and ecapsulated in 1 or more
Brian McGovern wrote:
Sounds good. I think I want to only have 1 write to the db at the end of
Action3, and im hoping to not use the session cause this app is gonna have
alot of users. By saving it on the page, are you talkin about using hidden
form fields across the 3 pages or can i set the
Bernd Schiffer wrote:
Hi Leon.
I did what you mentioned as the second approach and used a token
(precisely: locking mechanism, because in my case it's not delete
but edit) to avoid F5 problems. But I'm not happy with that,
because, you already said that, the user sees edit.do in the URL and
Abdullah Jibaly wrote:
Hi all,
I want to have two cancel buttons in a form, however I run into the problem of
not being able to distinguish which one is being pressed (one cancels the
whole operation and the other returns to the first screen). The reason is that
they both use the
Jack Perrett wrote:
I'm trying to create a form that will be validated over a series of jsp's. I'm
using the page property with individual fields to specify whether they should
be validated on a particular page and then setting the hidden page property to
whatever the corurrent jsp page.
This
I'm effectively submitting a form with the
hidden page property set to 2.
any ideas what else could be stopping it?
- Original Message -
From: Brandon Mercer [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, March 22, 2005 4:04 PM
Subject: Re: multi-page
more help. Good luck!
Brandon
property
http://struts.apache.org/userGuide/dev_validator.html
- Original Message -
From: Brandon Mercer [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, March 22, 2005 4:29 PM
Subject: Re: multi-page validation form
David Johnson wrote:
Related question. Isnt spring sort of an alternative to Struts? Can
they work together? How? :)
Yes, struts+spring is the default for the appfuse toolkit. And they
play together WONDERFULLY. For instance, lets say that you have a view
you'd like to use... Jasper Reports
Mathew, Manoj wrote:
Hi guys
I am in the design face of a huge J2ee web application. Though my application is a very good candidate to go for EJBs, I am so reluctant to go with it, based on my previous bad experiences. I was looking at Spring. What you guys think about that?
Spring is great.
Slattery, Tim - BLS wrote:
Yes, I can. The limitation is that for every post or get,
you can only have ONE multipart/mime file. When you
have multiple file elements you actually perform multiple
posts to submit each one.
I disagree. You can have any number of input type=file...
Joe Hertz wrote:
Curious as to which concept Struts/Hibernate implementers like more for
implementation:
#1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate
Session object into the httpServletRequest. Every action has a fresh
Hibernate Session raring to go if it needs it. Then
Joe Hertz wrote:
I've been hearing this from the Spring set. I'm waiting for a good book to
come out on it.
www.springlive.com a REALLY good book for more than just spring. It's
30 bucks online, money WELL spent.
Brandon
-
Frank W. Zammetti wrote:
Ok, let me play a bit tonight and see what I can come up with. I'm
more worried about the server-side processing than the front-end, but
even that shouldn't be terrible. I'll let you know what I come up
with tomorrow...
The problems you all are talking about are
Metin Erksan wrote:
hi
what are its advantages ? what did you use before ?
It's a very cleanly laid out tool (which is basically a build script on
steriods) that creates validation, jsp forms, form, action, managers,
DAO, test classes, database tables and everything like that just from
one
Hello Everyone,
I found this really useful development tool and wanted to share it for
anyone who hasn't already found it. It's called AppFuse.
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse
great documentation and it works really well too. Have fun
Brandon
Does anyone in here have any experience converting existing struts
applications to work on wireless? If so, I'd appreciate any docs/advice
you could give. Also, if anyone knows of a linux emulator that I could
test these apps out on as I go, I'd really appreciate it.
I've already found the
Kalluru Uma. Maheswar wrote:
What is this Token System? How to use it?
Two lines of code really! When you create the form you'll do
public ActionForward yourForm(
final ActionMapping mapping,
final ActionForm form,
final HttpServletRequest request,
final HttpServletResponse
is processing.
On Thu, 03 Feb 2005 07:39:57 -0500, Brandon Mercer [EMAIL PROTECTED] wrote:
Kalluru Uma. Maheswar wrote:
What is this Token System? How to use it?
Two lines of code really! When you create the form you'll do
public ActionForward yourForm(
final ActionMapping mapping,
final
Ok, I've officially NOT followed some standard somewhere. :-( Shame on
me! Can somebody help me with the following predicament? I've got a
table of transactions that need to be processed. In that table I have a
column for that persons account number... which gets assigned in a
different
Larry Meadors wrote:
On Tue, 1 Feb 2005 21:09:46 +0100, PA [EMAIL PROTECTED] wrote:
Static inner classes, static. Those are simply an extension of the
namespace. Contrast this with the sorry freak of nature which are plain
inner classes.
HAHAHAH! I just inherited some code with a pile of
Hello,
I've got Ted Husted's book Struts in Action and I really like it. I've
also got another book Professional Jakarta Struts. They both talk about
accessing information from a database and DAO and DTO and all that jazz
and quite frankly I don't understand it. :-P Right now I'm in the
Brad Balmer wrote:
I am using the 1.2.4 release and am finding that when I submit a form to a
plain Action, a new HttpSession is automatically created and replacing the
session that I already am using.
I have a simple search form where when the form is initially brought up, the
reset() function
Hello,
I've got a slighty off topic question for the group. I've got a pop-up
window that I use in my application where my client can create a new
contact. I wish to have the information write to the database, and
close the pop-up window, and then refresh the page it came from. I know
this
[EMAIL PROTECTED] wrote:
There's probably a couple of ways to do this, here's one...
I think you can handle the submitting on the popup and closing the window no
problem, but before you do the close, call a Javascript function in the parent
of the popup that will submit a form to do the refresh
Cedric Levieux wrote:
Here what you want in the page retrieved after the submit action and reached
via this action :
html
head
/head
body
script language=JavaScript
!--
window.opener.location.reload();
window.close();
// --
/script
Thanks, it works BEAUTIFULLY :-D
Brandon
Hello,
Ok, I've got another off topic question :-P. That's two in a day!
Three strikes and I'm out. lol Anyhow, I am inserting information into
a database and I need to get the auto_increment value from my first
insert and use the value it returns to create an entry in another
table. Does
Barnett, Brian W. wrote:
What rdbms are you using?
Sorry, that would have been helpful huh! lol MySQL Connector/J
(obviously) 3.0.x. I think I know how to get the last id... but do I
create another insert the same way I did the first?
Thanks,
Brandon
Erik Weber wrote:
Sorry for all those local disk links and other junk. Cut and paste.
Thanks everyone this article
http://dev.mysql.com/tech-resources/articles/autoincrement-with-connectorj.html
was the ticket for me. We all know how it gets when you're writing code
all day long and you start
Will Stranathan wrote:
Hello again,
I've found this interesting and seemingly useful piece of information
in a struts book I recently obtained. Dynamic Forwards
ActionForward forward = new ActionForward(/do/itemEdit?action=edit);
Then it goes on to tell me to use the runtime parameter techniques
Will Stranathan wrote:
snip
My apologies for not reading first - yeah - use a dynamic one like
jack said. I would PROBABLY subclass Action with an abstract subclass
- something like:
public ... execute(...) {
// This overrides Action.execute()
// Do whatever up-front checking
...
//
Will Stranathan wrote:
On Wed, 19 Jan 2005 22:16:34 -0800
Dakota Jack [EMAIL PROTECTED] wrote:
snip
2) Specify a forward / for the Action that sends the user back to
from whence they came.
I don't think I can do this because they may come from a number of
pages.
/snip
You can specify a
Is there a way to have an action return to the page that it was
submitted from? This is what I have and what I'd like to do: I've got
a page that has a template in it for looking up account numbers. This
template goes in EVERY page in my application. I also have other pages
that perform
Will Stranathan wrote:
Not positive I completely understand the question, so I'll make a very
vague response.
Yeah, after I read it I didn't make much sense to myself either. :-P
You can:
1) Use the input attribute of an Action to specify the page that fed
it - if the validate() method on the
out
each value) if I need to use the second example to work with
DynaActionForms. I'm using multi-page forms, but I insert the values
into the JSP page for each new page in the wizard. Thanks for any help,
as I'm fresh with struts. Brandon Mercer
Ashish Kulkarni wrote:
Hi
How do i display a drop down box from hashtable data
here is my form definiation
form-bean dynamic=true name=loginForm
type=org.apache.struts.validator.DynaValidatorForm
form-property name=as400list
type=java.util.Hashtable /
/form-bean
in my html i define
html:form
42 matches
Mail list logo