Hi!
On 12/29/05, Rick Reumann [EMAIL PROTECTED] wrote:
I'm still stumped with the best way to handle cases where your nesting
goes a bit deeper than just into one list in your ActionForm (and you
want to use Request scope for your ActionForm). Yes, I know many of you
state that it means you
Hello friends,
I have a ReportAction from which I'm streaming a pdf file to
AcrobatReader(The Action returns null).
When the Action ends - an empty I.E. browser opens and then Acrobat
opens my pdf file.
Is there a way to close the empty I.E. browser? Or prevent it from
opening in the fist
Tamas Szabo wrote:
public void reset(ActionMapping actionMapping, HttpServletRequest
httpServletRequest) {
employees = ListUtils.lazyList(new java.util.ArrayList(), new
Factory() {
public Object create() {
return buildEmployee();
}
});
}
private
First off, a little background. I have started using the 'Struts'
framework about 1 year ago. I have created three apps, and all is
moving along pretty well with the Struts and model 2 approach. I am
just starting to use more design patterns for my business logic, etc.
Anyway, as you may be aware
Hi Jim,
don't make the following mistake:
I use Struts but I want to move on, so I have to use Shale!
Shale is build ON TOP of JSF, so to understand the benefit of Shale you have
to know JSF.
So the first question to ask yourself:
Do I want to move to JSF or is Struts just fine for me?
When
On 12/29/05, Rick R [EMAIL PROTECTED] wrote:
Tamas Szabo wrote:
public void reset(ActionMapping actionMapping, HttpServletRequest
httpServletRequest) {
employees = ListUtils.lazyList(new java.util.ArrayList(), new
Factory() {
public Object create() {
Hi!
On 12/29/05, Rivka Shisman [EMAIL PROTECTED] wrote:
Hello friends,
I have a ReportAction from which I'm streaming a pdf file to
AcrobatReader(The Action returns null).
When the Action ends - an empty I.E. browser opens and then Acrobat
opens my pdf file.
Is there a way to close the
Bernhard is totally right. The choice you are facing is wheter you
want to go for now on with components-based frameworks (JSF/Shale,
Tapestry) or a typical action-based framework (Struts/Webwork). Struts
is supporting the two choices for the moment and I think it's great!
But don't ask for the
Hi there,
I have a requirement like this where i need to remember the user names for a
computer.Can some one suggest me how to implement this using struts based
framework..
Example:
*Username: * *Password: * Remember my BCP username.
Thanks In Advance
Priya
Hi!
On 12/29/05, Priya Saloni [EMAIL PROTECTED] wrote:
Hi there,
I have a requirement like this where i need to remember the user names for
a
computer.Can some one suggest me how to implement this using struts based
framework..
Example:
*Username: * *Password: * Remember my BCP
Hi, I am facing a problem here. Would be great if you´d help me:
In my tiles-defs.xml I defined an attribute selectedCountry with value EN:
definition name=.createUser extends=.base
put name=formContent value=.createUserForm/
put name=selectedCountry value=EN/
Hi Tamas
In my jsp I do:
html:form action=/CreateMsvItemReports target=_new focus=item_no
I want to save the original jsp page - that's why I use target=_new.
When I remove the ' target=_new ' I still get an empty jsp page - so
still it does not solve my original problem!
Thanks
Rivka
Hi
On 12/29/05, Rivka Shisman [EMAIL PROTECTED] wrote:
Hi Tamas
In my jsp I do:
html:form action=/CreateMsvItemReports target=_new focus=item_no
I want to save the original jsp page - that's why I use target=_new.
When I remove the ' target=_new ' I still get an empty jsp page - so
On Dec 29, 2005, at 9:40 AM, Andreas B. Thun wrote:
%@ taglib uri=http://java.sun.com/jstl/core; prefix=c %
tiles:useAttribute id=selectedCountry
classname=java.lang.String name=selectedCountry/
%
String country = selectedCountry + something;
%
Try this:
%
String country =
How can i clear the Action form when i have saved all the information i want,
is there any method in Struts which does that, or do i have explicitly clear
the form.
-Original Message-
From: Greg Reddin [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 11:56 AM
To: Struts Users
U have to use reset method in ActionForm
On 12/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
How can i clear the Action form when i have saved all the information i
want,
is there any method in Struts which does that, or do i have explicitly
clear the form.
-Original Message-
Tamas Szabo wrote:
You will have to use a PhoneNumber object so you will have a reference to
employee[idx1].phoneNumbers[idx2].number in your html:text.
Thanks Tamas! That was exactly the problem. Typically I do exactly that
and use lists of beans, but this time I thought I'd make the
Good catch indeed Tamas! I was just getting around to replying to you
Rick, after some PC problems last night stopped me from doing so sooner,
and I was coming to the exact same conclusion when I saw Tamas' reply. He
beat me to the punch :)
I'm still though thinking about your question
Frank W. Zammetti wrote:
I'm still though thinking about your question regarding how I would do
it... I've never used LazyList, although I can see why you did. Using the
reset() method in this way has been nagging me though because I typically
would never use it except when dealing with
Actually, not to start that holy war, but I'm in the middle of refactoring
my Struts 1.1 app, and am trying to decide whether there's any compelling
reason to upgrade to either 1.2.x, or Shale.
Struts 1.1 has certainly been just fine - and unless there's a good reason
(important security upgrade,
On 12/29/05, Priya Saloni [EMAIL PROTECTED] wrote:
Hi there,
I have a requirement like this where i need to remember the
user names
for a computer.Can some one suggest me how to implement this using
struts based framework..
Example:
*Username: * *Password: * Remember
Priya Saloni [EMAIL PROTECTED] wrote on 12/29/2005 02:50:06 PM:
Sorry for the dumb question but i have to ask ..from where i can get
this
class org.apache.commons.collections.list.LazyList..
from this url
http://jakarta.apache.org/commons/collections/apidocs-
Thanks Geeta,
I have Commons-Collections 2.1.1.Now no problem.
On 12/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Priya Saloni [EMAIL PROTECTED] wrote on 12/29/2005 02:50:06 PM:
Sorry for the dumb question but i have to ask ..from where i can get
this
class
Hello Struts world !
I am new to Struts and was wondering if there is any good short
Struts Tutorial which will help me get jump started with Struts and
also what it best plug-in available for Eclipse for struts .
Thanks in advance !
DJ
This communication is for
Hi Rick,
Iam getting problem while iam trying to use the following code in my JSP
nested:iterate property=skills
nested:text property=skillId/
/nested:iterate
I got that code from the article
http://wiki.apache.org/struts/StrutsCatalogLazyList
Priya
On 12/29/05, Rick R [EMAIL
Hi Daniel,
I think upgrading to 1.2.x *is* compelling, if you decide you want to
stay on the Action-oriented path. There have been enough fixes and
enhancements since 1.1 to warrant that upgrade. I suggest reading
through the history to see what has been done.
The whole Struts vs. Shale
One way to do is do CoR, which is optional for 1.x, built into 1.3+.
CoR mandates a signature, so if you do all the work there, you can call
it from anywhere, as all newer build from Struts come w/ CoR jars.
.V
Any thoughts?
Priya Saloni wrote:
Hi Rick,
Iam getting problem while iam trying to use the following code in my JSP
nested:iterate property=skills
nested:text property=skillId/
/nested:iterate
I got that code from the article
http://wiki.apache.org/struts/StrutsCatalogLazyList
Priya,
[EMAIL PROTECTED] wrote:
Hello Struts world !
I am new to Struts and was wondering if there is any good short
Struts Tutorial which will help me get jump started with Struts
The stuff I have here http://www.reumann.net/struts/main.do is sort of
old, but I'm in the process of
Thanks for your response Rick.Sorry for not specifying the problem
clearly.Ijust copied and pasted the the code in
JSP.I missed the following code in my JSP
*%@ taglib uri=http://jakarta.apache.org/struts/tags-nested;
prefix=nested%*
**
Now it works.
One more thing iam a big fan of your Struts
Plus, it's not accurate to call Struts 1.x a codebase which is no longer being
maintained.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 3:53 PM
To: Struts Users Mailing List
Subject: Re: How does Shale affect my Struts
Hi,
I have a form where the action uses the saveToken/isTokenValid pattern for
preventing double submit. This page also has links that popup another page where
the action uses saveToken/isTokenValid also (this page can be called stand-alone
too, not always from popup link). Problem is that
On 12/30/05, Rick R [EMAIL PROTECTED] wrote:
Tamas Szabo wrote:
You will have to use a PhoneNumber object so you will have a reference
to
employee[idx1].phoneNumbers[idx2].number in your html:text.
Thanks Tamas! That was exactly the problem. Typically I do exactly that
and use lists of
Hi All,
I am facing a problem with Browser Back Button in my struts
application. I didn't maintain cache and whenever i click back it will load the
page from the server. It was unable to load some pages. It is giving Page
Cannot Be Displayed. I don't want to see this Page
There is nothing non-binary about fractals. A fractal is just a
fractional dimension. Maybe you were thinking of Chaos Mathematics,
however, that is not non-binary either. In fact, binary coding has
nothing to do with yes or no questions. This should be obvious when we
realize that Braille and
Hello, Tadeu,
Welcome to the wacky world of computers. 'Hope you do well. There is no
MVC model with networked applications, because there is no immediate
feedback between the controller and the view, i.e., when the controller
changes data the view is not automatically changed because the view
Hi All
I am trying to work with role based permissions using tomcat container based
Authentication.
I am using JDBCRealm and Form Based Authentication.
Problems:
a) I did not find a good working example (like a .war file that I can readily
deploy ) and see.
b) In my struts
Hi bib,
This isn't a Struts question strictly speaking, but I think I can
help... although I don't have a working example you can look at, I can
answer the second part...
Container-based security is an intercept model, meaning you make a
request for a constrained resource, and doing so
Is it possible to have custom tag for the text field on the jsp page
When the data is not entered in the field then the field should be highted
with some color .Please send me the code too
Thanks
Rani
-
Yahoo! DSL Something to write
radha rani wrote:
Is it possible to have custom tag for the text field on the jsp page
When the data is not entered in the field then the field should be highted with some color .Please send me the code too
Why not just use the standard Struts html:textarea tag, along with its
errorClass
40 matches
Mail list logo