Stuts 1.2.9 and 1.3.1+ will include EventActionDispatcher, which is
the main asset of Struts Dialogs 2.0. See here for more discussion:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38343
http://wiki.apache.org/struts/EventActionDispatcher
http://wiki.apache.org/struts/DataEntryForm
Therefore
On 3/7/06, news.gmane.org <[EMAIL PROTECTED]> wrote:
>
>
> What are the recommendations for dealing with ActionForms that contain or
> represent complex nested data structures, preferrably using JavaBeans that
> already exist within the application?
In addition to understanding current design pat
I am going to use Struts Dialog for new project. Thanks Michael.
rukka
Michael Jouravlev wrote:
The new version of Struts Dialogs library does not contain new
features. Instead, it cuts a lot of fat. Well, all of it.
The library consists of only two Struts-related classes:
EventDispatcher
I am revisiting the internals of Struts after quite a while of not working
with it. I'm working on a webapp that is currently still using Struts1.1,
but it may be upgraded. My questions revolve around best practices and
patterns for using the ActionForm to do what I really want. If any of this
Folks,
I was wondering if someone could please share some recommendations on a good
beginner book on the topic of OO analysis and design.
Thanks.
ATTA
I have a form where the properties to be displayed are dynamically generated
with the format of the properties is defined in the database. Base on the
the format I can change how the page is rendered (e.g. show a date, text,
select box)
Is it possible to leverage the validation rules defined for t
PETER BLIZNAK wrote:
Hi there,
I run into something I cant figure perhaps someone
here can help me to shed some light on it.
Basically I have dynamic table - meaning I iterate
over supplied colection and build up table. No problem
there that is simple stuff. Confusion starts when one
of the co
On 3/7/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote:
> When I execute my application in Mozila Firefox, pressing Enter in the input
> area, it works fine and forwards to showSearch correctly. But when execute it
> in Internet Explorer, I get the following exception:
>
> SEVERE: Servlet.servi
Hello:
I'm developing a web application using Struts 1.1 and Tiles. I have a tile for
searchs consisting in a JSP with the following code:
.
Buscar Noticias
>From: "Craig McClanahan" <[EMAIL PROTECTED]>
>
> On 3/7/06, James Reynolds wrote:
> >
> >
> > >There is a subtle but important issue. Container managed security
> > only
> > >operates on the original URL to which a GET or POST was directed ... it
> > does
> > >*not* apply to RequestDispatc
http://developers.sun.com/prodtech/javatools/jsenterprise/reference/pres
entations/jse8/jse8_avk.html
> -Original Message-
> From: Raghuveer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 07, 2006 1:44 AM
> To: user@struts.apache.org
> Subject: JavaT Application Verification Kit (AVK) :
On 3/7/06, James Reynolds <[EMAIL PROTECTED]> wrote:
>
>
> >There is a subtle but important issue. Container managed security
> only
> >operates on the original URL to which a GET or POST was directed ... it
> does
> >*not* apply to RequestDispatcher.forward() calls. In JSF terms, that
> means y
Hi there,
I run into something I cant figure perhaps someone
here can help me to shed some light on it.
Basically I have dynamic table - meaning I iterate
over supplied colection and build up table. No problem
there that is simple stuff. Confusion starts when one
of the columns must be list of op
>There is a subtle but important issue. Container managed security
only
>operates on the original URL to which a GET or POST was directed ... it
does
>*not* apply to RequestDispatcher.forward() calls. In JSF terms, that
means you can protect the form submit, >but it is up to the application
to
Now I get it completely (I'm still getting up to speed on a lot of
this). Thanks!
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 1:26 PM
To: Struts Users Mailing List
Subject: RE: [OT] RE: Shale & Container Managed Security
>From: "James
>From: "James Reynolds" <[EMAIL PROTECTED]>
>
> >If you are using J2EE container managed security, why not use the
> standard
> >declarative security constraint on a url-pattern? You then assign
> roles
> >to the constraint and to groups and/or users.
> >
> >Gary
>
> Thanks Gary,
>
> May
On 3/7/06, James Reynolds <[EMAIL PROTECTED]> wrote:
>
> >If you are using J2EE container managed security, why not use the
> standard
> >declarative security constraint on a url-pattern? You then assign
> roles
> >to the constraint and to groups and/or users.
> >
> >Gary
>
> Thanks Gary,
>
> Mayb
>If you are using J2EE container managed security, why not use the
standard
>declarative security constraint on a url-pattern? You then assign
roles
>to the constraint and to groups and/or users.
>
>Gary
Thanks Gary,
Maybe I'm misunderstanding Craig's response (below). Perhaps he is
referring
It worked now!
I was using this taglib declaration:
<[EMAIL PROTECTED] prefix="c" uri="http://java.sun.com/jstl/core"; %>
According to a forum, with Tomcat 5 (my case) I should use this (with a
jsp in the URL):
<[EMAIL PROTECTED] prefix="c" uri="http://java.sun.com/jsp/jstl/cor
This is exactly the behavior I need:
but the above code shows me the same error. The taglib doesn't accept
expressions in url value.
I am new in JSTL, but I got all libs instaled. How can these RT and RL
help me?
Thanks!
- Original Message -
From: "Michael Jouravl
On 3/7/06, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote:
> worked ok, it keep the request values and integrate ok the
> output, but:
>
> " />
> "According to TLD, the attribute URL can“t accept any expression"
You can copy request parameter to request attribute (say, to "action")
and
appears doesn't fit ok with Struts with another action.
When it's called, the response output stream is overrided by it, supressing
the template content.
besides
worked ok, it keep the request values and integrate ok the
output, but:
" />
"According to TLD, the attribute UR
>From: "James Reynolds" <[EMAIL PROTECTED]>
>
> Thank you Craig, that's very helpful to understand.
>
> There are two things I was hoping to accomplish with Container Managed
> Security.
>
> 1. Ensuring that a user is logged in before serving up protected pages.
> I believe this is handled e
Do or not work for you?
On 3/7/06, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote:
> Hello,
> I am including an Struts action inside an JSP file, passed by GET as an
> "action" attribute, exposing with bean taglib:
>
> GET: template.jsp?action=List.do
>
> template.jsp:
>
> (...
Thank you Craig, that's very helpful to understand.
There are two things I was hoping to accomplish with Container Managed
Security.
1. Ensuring that a user is logged in before serving up protected pages.
I believe this is handled easily by using a Servlet Filter to check for
a required session o
Hello,
I am including an Struts action inside an JSP file, passed by GET as an
"action" attribute, exposing with bean taglib:
GET: template.jsp?action=List.do
template.jsp:
(...)
page="<%=request.getParameter("action")%>" />
(...)
but I ne
Basic cofig file set up uses LazyValidatorForm for the bean
Associate the lazy bean with your action.
if you want all of the parameters then you can loop over the map or you can
get them by param name indiv
O.k. if I understand correctly this can also be achieved by map-backed
Action Form.
In the how-to you referenced the JSP contains only html:text elements
with previously knows field names (like custNo, custName etc).
But what if the fields number and names come from the database and the
types are
http://java.sun.com/j2ee/avk includes links to installation and release
notes, as well as a user guide etc...
Raghuveer wrote:
I am new to Using AVK for my JSP web Application.
My Environment:
jdk1.4
Struts 1.2
hibernate3
OC4J 10g (9.0.4)
SQL server2000
LDAP
Plum tree portal.
I am new to
Theres also a in Struts
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-bean.html#size
Niall
- Original Message -
From: "Ed Griebel" <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2006 2:48 PM
If you're using a JSP 2.0 container you can use fn:length(), see
http://www.onjava
The link I gave does that - it also has a link to some additonal "how tos"
which give more details. Essentially though any properties can be added
"dynamically" to a lazy dyna bean at run time - they don't have to be
defined in advance.
Niall
- Original Message -
From: "Rivka Shisman" <[
If you're using a JSP 2.0 container you can use fn:length(), see
http://www.onjava.com/pub/a/onjava/2003/11/05/jsp.html?page=last and
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fn/length.fn.html
If you're not using a JSP 2.0 container, you can use a taglib in the
Jakarta Taglibs sandbo
Hi Niall,
Can you please explain how do lazy dyna beans solve my problem?
Thanks
Rivka
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 3:54 PM
To: Struts Users Mailing List
Subject: Re: dynamic input form
You could use lazy dyna beans:
Hi,
you can't use scriplet whith taglib. The aim of taglib is not use scriptlet.
So, for your problem, tou can use EL syntax. With EL syntax, you wille able
to do
But, if you want use EL syntax, you must use taglib of Struts EL
see http://struts.apache.org/struts-el/index.html
regards
Angelo
You could use lazy dyna beans:
http://struts.apache.org/struts-action/userGuide/building_controller.html#lazy_action_form_classes
Niall
- Original Message -
From: "Rivka Shisman" <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2006 1:46 PM
Hi friends,
I need to present my user an html fo
Hi friends,
I need to present my user an html form whose fields are built
dynamically using data I get from the database.
I need your advice on how to do that.
Thanks
Rivka
Hi friends,
I have a problem in displaying a link. I am using tabs in one of my
jsp's. I have a link which is a property in my form bean.
<%
TaskForm taskForm = (TaskForm) request.getAttribute("TaskForm");
String *objectLink *= taskForm.getObjectLink();
%>
Encoding and decoding of query parameters is the job of container
(tomcat, jboss, websphere, what ever you are using). The only struts
related exception is for multipart/form-data (used for file uploads).
There it's common-fileupload library which does the decoding. Why would
you want to do the dec
Hello,
I want to use Struts Tiles to do this:
It doesn't work, I get following exception:
javax.servlet.jsp.JspException: ServletException in
'/jsp/columnLayout.jsp': /jsp/columnLayout.jsp(31,1)
According to TLD or attribute directive in tag file, attribute attribute
does not accept any expre
Hi All,
It is a common practice to encode special characters such as ' ', %, #, :, $
etc.. when sending parameters in the query string along with the URL. We
have a similar requirement. Some of the query parameters can contain special
characters and therefore we went for UTf-8 encoding.
Before us
40 matches
Mail list logo