On Sat, 09 Oct 2004 11:39:41 +1000, Zoran Avtarovski <[EMAIL PROTECTED]> wrote:
> Thanks guys,
>
> In the end I stuck with the logic tag. But I do think this highlights a
> deficiency in the JSTL tags.
>
> Is sun open to suggestions on this topic? I think there is a need for a
> security/authoris
Thanks it worked. Also, by mistake I had given the name of the Message
resource as LoginMessageResources.properties instead of
LoginMessageResources in my struts-config.xml.
I have been wondering as to why we cannot use:
instead of
Could anybody clarify. Thanks again.
-
Thanks guys,
In the end I stuck with the logic tag. But I do think this highlights a
deficiency in the JSTL tags.
Is sun open to suggestions on this topic? I think there is a need for a
security/authorisation tagset as part of JSTL.
Zoran
> I couldn't find a way in JSTL/EL using the standard ta
I have narrowed the behaviour down somewhat - it appears to be related
to using capital letters in properties.
If I change the name of the LocationID String in the LocationBean from
locationID to LocationID I get the following error:
[ServletException in:/WEB-INF/jsp/admin/location/locselect.jsp]
While I 100% agree with the theory and separate the layers as much as
possible in my own code, I can't say I've never broken the rules (and I
doubt any of you can frankly). I also know that in development,
especially in a corporate environment where the emphasis many times is
on just getting t
Hi Gabriel,
As many of struts people here i think that the less error prone approach is using
only String properties in your custom ActionForm classes. So, it will be quite easy
to handle invalid data and whatelse you need to. After validating your form (calling
your validate() method from your
Hi Pedro,
I'd like know how i work to java.sql.Date, in my form bean I'm know
work to fields String , but in Specification of DynaValidator show
that DynaValidator support java.sql.date, but I have the problem show
in e-mail number one, Somebody help me
Thanks,
On Thu, 07 Oct 2004 21:18:46
It may not have been the answer the original poster was looking for, but
it is the correct way to solve this problem. Action methods should only
be used as direct responses to a single user action. Business delegate
behaviors should be aggregated and reused by different actions.
> -Original
Or, you can use the FormDef Struts plugin, which supports these
localization features, including localized dates and numbers. =p
On Fri, 8 Oct 2004 14:51:17 -0700, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On Fri, 8 Oct 2004 10:17:17 -0500, David Suarez
> <[EMAIL PROTECTED]> wrote:
> > Hello
On Fri, 8 Oct 2004 10:17:17 -0500, David Suarez
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've been through the same recently with dates formatting. Sounds like
> we did exactly the same thing, seen on the web where others have also
> done the same. Do you remember the reasoning for not handling i
I am unclear as to what you want to do. I realize you have two web
applications and want in some sense one to port to the other, but beyond
that cannot tell what the requirements are. You could have many
different requirements in that situation and which you do have is not clear.
On frames, t
Thank you very much for your reply and your code. My
check boxes and other requirements are working now.
-Caroline
--- [EMAIL PROTECTED] wrote:
>
>
>
>
>
> I'll assume you have an iteration in your JSP that
> goes like this:
>
> id="client">
> ...
>
>
>
> where "clients" corresponds
On Fri, 8 Oct 2004 12:54:07 -0700 (PDT), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Well, if you do decide to go the frames rate, feel free to contact me directly
> (probably no need to keep this on the mailing list) with any questions you may have.
> I've done three large and rather complex
Well, if you do decide to go the frames rate, feel free to contact me directly
(probably no need to keep this on the mailing list) with any questions you may have.
I've done three large and rather complex apps, all frames-based, so I've probably
dealt with whatever issues you may run in to.
[
On Fri, 8 Oct 2004 12:46:01 -0700 (PDT), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Frames probably would in fact be your "path of least resistance". Frames have, for
> some reason, gotten a very bad rap, probably because it's so easy to abuse them (or
> architect them poorly and have all so
Frames probably would in fact be your "path of least resistance". Frames have, for
some reason, gotten a very bad rap, probably because it's so easy to abuse them (or
architect them poorly and have all sorts of trouble because of it). However, when
used properly, I fail to see why anyone has a
I have two web applications. App A is a finished, working web
application. App B, a work in progress, is using Struts and Tiles, and
has a requirement to essentially 'put App A in a content Tile' for use
in App B. This will in affect produce a 'portal-like' function, with
App A working as normal wi
I like using pager taglibrary myself...
http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html
... although display tag is also cool if you need the sorting and
exporting stuff.
-Yves-
On Fri, 08 Oct 2004 13:05:58 -0400, Bill Siggelkow
<[EMAIL PROTECTED]> wrote:
> Or you could do it yo
I am trying to use the paramaterized bean:message tag with an
ActionMessage object and am wondering why there is no way to put the the
values array from the ActionMessage into the bean:message tag. If i try
to use the arg0, arg1, etc, it uses those as hard values, it does not
get the value from th
I have an Action defined as:
Within the Action class itself I want to get at the path attribute, i.e.
/myaction/**.
I can get the requested path, for example /myaction/somepath/xxx.do via
actionMapping.getPath() but not the original path to which the action was
mapped. Is there an
I have an Action defined as:
Within the Action class itself I want to get at the path attribute, i.e.
/myaction/**.
I can get the requested path, for example /myaction/somepath/xxx.do via
actionMapping.getPath() but not the original path to which the action was
mapped (/myaction/**
Or you could do it yourself with JSTL:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %>
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
Paging Example
Prev
Try keyboardmonkey.com
It has good stuff on nested tags which is what probably need.
-Yves-
On Fri, 08 Oct 2004 11:39:27 -0400, Bill Siggelkow
<[EMAIL PROTECTED]> wrote:
> There is no such restriction -- please provide some code so we can help
> diagnose your problem.
>
> -Bill Siggelkow
>
>
From: "Appel, Jeremy" <[EMAIL PROTECTED]>
> Question: If I have sorting on the page as well, how do I relate the
multibox array to entries in form?
> As for the syntax, it is for a Map-backed form. I am actually iterating
over a list of Map-backed forms.
Sorry, you should probably ignore me-- I u
Question: If I have sorting on the page as well, how do I relate the multibox array to
entries in form?
As for the syntax, it is for a Map-backed form. I am actually iterating over a list
of Map-backed forms.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday,
From: "Appel, Jeremy" <[EMAIL PROTECTED]>
With multiple checkboxes, you probably want , not
.
What is the syntax with parentheses in your 'property' attribute? I've
never seen that before. Most people who use JSTL will use Struts-EL with
it, which gives you expressions within the Struts tags.
Hi,
I have a page that lists a set of DB records and I am giving the user the
ability to edit any number of these records and do a multiple update by using
checkboxes to signify what rows have been modified. I am using a session-scoped form
that has a List of Map-backed Forms with each
There is no such restriction -- please provide some code so we can help
diagnose your problem.
-Bill Siggelkow
Chris Stavrianou wrote:
HI all,
I am having a problem with collections of beans nested within beans.
I have found that I can only nested beans and get property names if
the property name
Hello,
I've been through the same recently with dates formatting. Sounds like
we did exactly the same thing, seen on the web where others have also
done the same. Do you remember the reasoning for not handling it within
struts? I wanted to see if maybe there was a good reason for this that
I ma
Hi,
I just starting working on a project at work that is using a very old
version of Struts (1.0). Having used the newest version of Struts, I am
desperate to upgrade this application to use the newest version, but I
have fixed all I can fix without a little assistance.
The application has man
Hi,
Let me try to complicate it a bit more! ;)
Have you thought about just not coding at all (the DAO implementation, that
is)?
Take a look at sql2java. With that, you'd have a nice DAO implementation and
be able to implement just about anything you want over it.
HTH,
Freddy.
-Mensaje orig
Hi, Jeroen.
That's also the way I'd do it. However with XQuery you can combine the query part and
the formatting (to HTML) in one step.
Information and samples can be found here:
http://tamino.demozone.softwareag.com/demoXQuery/XQueryDemo/reference.jsp
Creating a tag that executes the query and
Hi Yoni,
|| -Original Message-
|| From: [EMAIL PROTECTED]
|| [mailto:[EMAIL PROTECTED]
|| Sent: vrijdag 8 oktober 2004 16:13
|| To: [EMAIL PROTECTED]
|| Subject: RE: Struts - XML - XSL - Xquery
||
||
|| Hi,
||
|| in fact, I already know about XML and XSL syntaxes and not
Hello,
My 2 cents.. go for the interface... it will make your life
Easier for the future when you want to change implementation
Regards
marco
-Original Message-
From: atta-ur rehman [mailto:[EMAIL PROTECTED]
Sent: 08 October 2004 15:13
To: Struts Users Mailing List
Su
Hi,
in fact, I already know about XML and XSL syntaxes and not about XQuery
But what interests me now are examples/sources/... with struts and
XQUERY (no many examples on the web...)
Regards
-Message d'origine-
De : Marco Mistroni [mailto:[EMAIL PROTECTED]
Envoye : vendredi 8 octo
Dear all,
I've contemplated two ways of implementing DAO pattern; and I'm unable
to decide which is better :) Any comments on pros and cons of these
two approaches will be greatly appericiated.
Implementation 1: Have IDAO interface and let all the DAO objects
implement this interface; with probab
Hello,
You may want to check apache xalan / xerces / jaxp for samples
of using XML and XSL.
Then you can integrate them with struts...
Regards
marco
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 08 October 2004 14:53
To: [EMAIL PROTECT
OK
-Mensaje original-
De: Erik Weber [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 08 de octubre de 2004 14:46
Para: Struts Users Mailing List
Asunto: Re: cleaning session
I can't promise when, but whenever I find myself working on it again,
I'll try to remember to contact you guys, or
Hi,
I would like to integrate all the mechanism about Struts and XML management
(XML database)
I have just got adocument about stxx (Struts for transforming XML with XSL)
using XPath but I would prefer XQuery.
However, I am not yet closed to XML, XPath and XQuery in Struts, so have you
got so
One of the main motivations for moving Struts to a TLP was the fact that as
a TLP Struts can have sub-projects - each with their own release cycle. The
plan was/is to split Struts into modules/components such as core, tiles,
tags etc. - and then hopefully releasing new component versions would be
e
HI all,
I am having a problem with collections of beans nested within beans.
I have found that I can only nested beans and get property names if
the property names are unique across the entire application.
Is this a usual quirk of the way Struts uses reflection?
Are there restrictions on reusin
Thank you for replying, I believe that your idea of using the hashMap is
probably the best one. Is it possible for you to provide me some assistance
with a sample jsp tag to accomplish this? e.g. lets say that I have a
hashMap with rules x, y and z defined (where x, y and z are the keys. Whi
Jeff Beal wrote:
Have you tried
?
Ahaaa! No I haven't. Thanks!
L
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi, Jean.
Maybe I missed a bit, but do you not always have page flow coded in JSP AND Action
classes?
In the action the server decides what to do with user input and what page to go next.
This page will be presented to the user. There may be several buttons on it allowing
the user to choose how
The Apache Software Foundation, which has ultimate authority and
responsibility for projects developed anywhere within the Apache
community, realized that the large size of the Jakarta community led
to some difficulties in ensuring that all of the formalities (which
are invisible to most Apache
None of the 4 ways described in the user guide suits me...
1- Using means page flow
is coded in JSP
2- Using ActionMapping means you are coding a Action class
3- Using global-forwards means you are coding a Action class or
referencing it in a html:link => hard coded page flow in JSP
4- Using
I can't promise when, but whenever I find myself working on it again,
I'll try to remember to contact you guys, or at least I'll repost. Right
now I'm working on Swing stuff, but I'll be doing another web app soon,
and maybe I can try something better then.
Erik
Freddy Villalba A. wrote:
Ok guy
Hi
Welcome to the ugly world of Struts, Commons and Internationalization. I
also had this problem, but solved it by rewriting some of the Struts
tags, registering my own version of DoubleConverter with BeanUtils, and
a couple og other places that I have forgotten. Nevertheless it works. I
had a ma
Hi, Freddy.
- Use string properties in your for bean.
- If you use the validation framework, check whether that supports different number
formats (for dates it does)
- parse the number according to the user's locale in your action class and pass that
double on to your delegate
Hiran
--
Oppss... make that:
European = ','
US = '.'
-Mensaje original-
De: Freddy Villalba A. [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 08 de octubre de 2004 13:49
Para: Struts Users Mailing List
Asunto: Localization
Hi,
I'm having troubles getting a Double property correctly processed b
Hi,
I'm having troubles getting a Double property correctly processed by Struts.
The problem: I'm passing values with European number format (decimal
separator = '.') but Struts seems not to understand this. The bizarre part
is that, instead of throwing an Exception, it assigns 0.0 to the property
The trick is to make your action classes very "thin" i.e. implement as much
logic as you possible can in your delegate without violating separation of
concerns. This way it becomes less of a problem making your actions fine
grained and have a number of actions reusing logic in your delegate lay
Hello,
Shame on me :-(
It was enough to extend XAction to get the method that gets the data
And put it into the session..
Sorry all
Regards
marco
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: 08 October 2004 12:33
To: 'Struts Users Mailing List'
Greetings:
Perhaps you can help me with a real problem I am having using Tiles.
I have an understanding of how to use Tiles; I have several pages that
use several parts of JSPs, as illustrated by the example below:
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
The
Hi
Call
ActionForward af=yourActionClass.method(maaping,form,request,response);
>From your class
-Opprinnelig melding-
Fra: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sendt: 8. oktober 2004 13:33
Til: 'Struts Users Mailing List'
Emne: Struts /silly question
Hello all,
I am sure
Hello all,
I am sure this is a very easy question, but I cannot
Figure out the solution...
I have a XAction class which is in charge of calling a business
delegate,
Get some data and put it into the session..
Now, I want to be able to call this XAction class from different action
class (t
Did you put in the JSP ?
-Original Message-
From: Satish Talim [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 12:51 PM
To: Struts Users Mailing List
Subject: Unable to display Errors
Hello all,
I am new to Struts and experimenting with a simple Login screen using Struts 1.2
Hi,
I wanted to apply the ideas of the "Html Buttons and Struts - The Right
Way" tutorial (http://j2ee-01.lagnada.com/struts/html-buttons.htm) to my
struts app, but it does not work at all. Here's the JSP snippet :
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
<%@ taglib uri="/WE
Or you coud use displaytag.
http://displaytag.sf.net
It's pretty ok from what I can see.
On Fri, 8 Oct 2004 14:32:58 +0530, Viral_Thakkar
<[EMAIL PROTECTED]> wrote:
> Use ValueListHandler design pattern ..
>
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent:
Use ValueListHandler design pattern ..
-Original Message-
From: Sebastian Ho [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 1:21 PM
To: 'Struts Users Mailing List'
Subject: iterate paging
hi
anyone has codes on how to display paging?
i.e. display 10 rows per page with 'next' /
XMoon is a dynamic OO (Object Oriented) opensource extension released
under * Lgpl License* for Jakarta Struts, powerfull and easy to use.
XMoon lets you develop business logic classes following a fully Java
compatible scripting language allowing execution of Java code at runtime
without any ac
hi
anyone has codes on how to display paging?
i.e. display 10 rows per page with 'next' / 'back' functions.
Thanks
sebastian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
The reservation for the BOF IV at The Furnace has been confirmed
yesterday. The following people are attending so far:
Peter Pilgrim
Alan Mehio
Christopher Marsh-Bourdon
Thomas Pluempe
Tim Penhey
Charles Cordingley
Marco Mistroni
Hi all,
Why Struts got its own host in apache.org. Also it seems that it is
renamed from Jakarta Struts to Apache Struts. Is there any particular
reason for it ?. If popularity is the reason then why Tomcat is not
promoted ?
rgds
Antony Paul
Hello all,
I am new to Struts and experimenting with a simple Login screen using Struts 1.2.4
with JBoss 4.0 and J2SDK 1.4.2.
The problem I am facing is that I am unable to display any error messages on my Login
screen (login.jsp), in case the user does not enter any data on the Login ID and/or
I want to implement an application specific exception handling for my struts
application. So, I defined my own Exception class that extends a "normal"
Exception by an error code and the filename where the exception occured:
public class MyException extends Exception
{
private int errorC
66 matches
Mail list logo