I see nothing but 7bit charset in you mail, sorry :)
Pilgrim, Peter a écrit :
Testing using Micro$oft Outlock 200 sp3
I seem to be have problems with my mail sent to google group sent as 7bit
character set. Just want to prove that apache and sourceforge dont
have to the problem, and eliminate
Testing using Micro$oft Outlock 200 sp3
I seem to be have problems with my mail sent to google group sent as 7bit
character set. Just want to prove that apache and sourceforge dont
have to the problem, and eliminate these providers.
--
Peter Pilgrim :: J2EE Software Development
Operations/IT -
Hi All,
I have a JSP page where on the select of a radio button some controls are
disabled/enabled. The form bean associated with this JSP extends
ValidatorForm. I have created rules in validation-xml for each of these
controls which are there on the screen. One rule that is common to all the
Which version of commons-validator are you using.
I'm using Struts 1.2.8 and commons-validator 1.2.0, it validate only the
non disabled field.
Extracted from commons-validator.jar :
function validateRequired(form) {
var isValid = true;
var focusField =
Hi All
Very quickly, we recently held the JAVAWUG (Java Web User Group) BOF XV
at Oracle City of London. Slides are available from here.
http://jroller.com/page/javawug?entry=updated_new_presentation_slides_for
--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group -
Unfortunately i am using Struts 1.1 and commons-validator 1.0
On 2/10/06, Vladislav Pernin [EMAIL PROTECTED] wrote:
Which version of commons-validator are you using.
I'm using Struts 1.2.8 and commons-validator 1.2.0, it validate only the
non disabled field.
As of 20060202 version of clay I cannot specify a method binding as
the value of a symbol.
For example
element renderId=2 jsfid=commandLink
attributes
set name=action value=[EMAIL PROTECTED] /
set name=onclick value=event.cancelBubble=true;/
/attributes
symbols
Hi there!
I'm new to Struts, to Shale and to this list, so excuse if I'm asking
dumb questions.
I have a simple .jsp (personmaintenance.jsp), backed by a backing bean
(PersonMaintenance.class.
In the jsp I have buttons with actions save, edit, delete,
create, for which I defined the
Hi,
I am a long time user of Struts, but am new to the mailing list.
I am using a LazyValidatorForm in Struts 1.2.7 and I am trying to setup
some configuration screens for some interfaces that have a fair number
of weights/properties. Additionally, there are several implementations
of the
In my JSP, there are 4 buttons add, delete, save, return which returns to
previous JSP.
I am trying to use Token, to handle double submit.
My post action is a LookupDispatchAction, and have implemented code for add,
delete, save, return.
I am trying to use isTokenValid(request,true)
in all
I´m using Struts 1.2.8 with Hibernate 3.0.5 and I´m doubt with some concept
designs for ORM with MVC:
A Hibernate session get's instantiated in my DAO constructor (Model). Later
on, the JSP (View) catches the Hibernate persisted objects populated in the
request or session by the
I was messing around with security in the web.xml and tried to implement
authorization restrictions with the struts-blank.war.
I put restrictions on the /pages/* directory.
Funny thing is that it seems that since the index.jsp does a redirect to the
pages directory and the action servlet does
You could use servlet filters to have the hibernate session open until the
request is processed. There are articles in the www.hibernate.org that explains
different patterns to handle situations similar to yours... Hibernate session
needs to be open in order for the objects to load the
From: Ryan Wynn [EMAIL PROTECTED]
As of 20060202 version of clay I cannot specify a method binding as
the value of a symbol.
For example
does not work. Is this something that has been fixed post 20060202?
I could have sworn that the symbol replacement was always being done
being
Hello everybody,
Could you give me some advices?
Assume that I know how to use Struts, Hibernate, iBATIS and know nothing
about Spring, JSF (but willing to learn :) ). Now what should I use if I
have to write a new web application? And correct me if I'm wrong
anywhere please.
I heard that
I'd use JSF/Shale/JBoss/Hibernate/MySQL.
I've never used Spring or Shale (Although I think it'd be worthwhile after
reading about Shale) so I'll let others voice on that one.
I've only used the MyFaces implementation and didn't have any problems on
JBoss.
I've been using struts for 3 years now
Hi,
I have a bean form:
import java.util.*;
import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;
public class CustomSubmitForm extends ActionForm {
private String m_firstName = null ;
private String[] m_countryCode;
The answer is it depends.
I love playing with new stuff, but when my back's against the wall
(corporate deadlines, gotta love 'em) I stick with the tried and
tested. I'm leading a small project right now that we started in
December and we're using Struts. There are a number of reasons for
this:
I have to agree w/ Simon on this: it really does depend on the
project, but tried and true is key - use what you know you can succeed
with. Don't experiment with real projects.
Learning new stuff is great, but getting paid is great, too. :)
I started a project in December, and went with:
- JDK5
because HQL sucks - sounds very scientific
Could you explain that please?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Larry Meadors
Sent: Friday, February 10, 2006 11:27 AM
To: Struts Users Mailing List
Subject: Re: With a new project, what
Larry Meadors wrote:
- iBATIS because HQL sucks, and every coder worth *paying* knows SQL
I'd actually disagree with this... unless we're using different
definition of knows. Many (most?) developers might have the basics of
SQL down, but becoming an expert in SQL is the same as in any other
On 2/10/06, Ryan Wynn [EMAIL PROTECTED] wrote:
java.lang.UnsupportedClassVersionError:
org/apache/shale/test/base/AbstractViewControllerTestCase (Unsupported
major.minor version 48.0)
Does AbstractVCTestCase require java 1.5 now or is this a build
problem? I am using java 1.4 and cannot
I'm new to Shale, but I've been using JSF (and the MyFaces
implementation) for about 18 months now. I'm interested in utilizing
the Test Framework that Shale offers, but I'm unsure about how much that
framework depends upon the rest of Shale. Can I use it in isolation
with a vanilla JSF
On 2/10/06, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
I'm new to Shale, but I've been using JSF (and the MyFaces
implementation) for about 18 months now. I'm interested in utilizing
the Test Framework that Shale offers, but I'm unsure about how much that
framework depends upon the
Sorry, that's what I meant. It's a forward. Not a redirect.
How do I apply my security to /pages/* in this case?
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Friday, February 10, 2006 1:35 PM
To: Struts Users Mailing
On 2/10/06, Garner, Shawn [EMAIL PROTECTED] wrote:
Sorry, that's what I meant. It's a forward. Not a redirect.
How do I apply my security to /pages/* in this case?
If you are talking about container managed security, you cannot ... you'll
have to use a redirect.
If you are using some
Thanks for reading my note.
I have a Shale/MyFaces/ app which i have been using with Tiles. I have
pages home.jsp, search.jsp etc. And since the recommended method is to
have one backing bean per jsp, I have corresponding HomeBean, SearchBean,
etc. and everything works quite nicely.
But now I
I solved it just by setting transaction attribute to true in html:link. Once
I did that everything woked fine like magic.
This forum has been real helpful to me. thankyou all for helping.
From: fea jabi [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To:
On 2/10/06, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
Also, I noticed links to nightly downloads on the Shale project's web
site, but I was not able to locate any release downloads. Are there
release downloads available? If so, are they relatively up-to-date,
or would I be better off
On 2/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Thanks for reading my note.
I have a Shale/MyFaces/ app which i have been using with Tiles. I have
pages home.jsp, search.jsp etc. And since the recommended method is to
have one backing bean per jsp, I have corresponding HomeBean,
Here is the query
SELECT PTI.PARTY_ID AS CUSTID,
PTI.CMA_CUSTOMER_NUMBER AS CUSTNUM,
PTI.SOURCE_ID AS CUSTSOURCE,
PTI.PARTY_CLASS_CD AS CLASS,
(SELECT CMAPSV.STATUS_VALUE
FROM type3 CMAPS,
type4 CMAPSV
WHERE PTI.PARTY_TYPE_INSTANCE_ID = CMAPS.PARTY_TYPE_INSTANCE_ID
AND
Huh...and that runs slow?
Imagine that.
;-)
Sweet mother of mystery, that is one gnarly query. Seems to have a lot
of repetition in it...could it be redone as a stored procedure?
Are you running it as a prepared statement?
Larry
On 2/10/06, Jonnalagadda, Sumithra [EMAIL PROTECTED] wrote:
yes. its a prepared statement. I am not the authour of the query. In
production we started to have performance issues so trying to investigate.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Larry Meadors
Sent: Friday, February 10, 2006 1:03 PM
To: Struts
Everyone,
I have two modules defined (/ /app). I want to use the logic tag
(either redirect or forward) to take me to the URL /myApp/index.htm
when I enter in just /myApp/. I have defined an action within the /
module Struts Config File that is called /index and forwards to a
Tiles
I'm only using servlet 2.3.
I wrote a filter and tried that out but I couldn't ever detect the /pages/*
context. All I could see was index.jsp and /welcome.do.
Shawn
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Friday, February
On 2/10/06, Vu, Thai [EMAIL PROTECTED] wrote:
. Now what should I use if I
have to write a new web application? And correct me if I'm wrong
anywhere please.
It's a little bit like asking a building contractor: What materials
should I use to build a new structure?
Just to pose a few rhetoric
Have you run an explain plan?
Jonnalagadda, Sumithra wrote:
Here is the query
SELECT PTI.PARTY_ID AS CUSTID,
PTI.CMA_CUSTOMER_NUMBER AS CUSTNUM,
PTI.SOURCE_ID AS CUSTSOURCE,
PTI.PARTY_CLASS_CD AS CLASS,
(SELECT CMAPSV.STATUS_VALUE
FROM type3 CMAPS,
type4 CMAPSV
WHERE
On 2/10/06, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
Thanks, Wendy. So where do I look for the weekly Maven repositories?
The Shale PDF document mentions these, but it only gives a url for the
nightly builds, not for a Maven repository.
I'm new to Maven as well (unfortunately), so
jokingly
Wow Ted, that was just about the most cliche-ridden post I've seen in a
while :) If that's what you were going for, mission accomplished! LOL
/jokingly
Of course, every single cliche you used is completely true and applicable
here, so no one minds I'm sure :)
--
Frank W. Zammetti
[EMAIL PROTECTED] wrote on 02/10/2006 03:58:11 PM:
I would clarify this recommended method to have one backing bean per
*Tile* not just for the whole page. That sounds pretty much like what
you
did below.
Ah, I didn't know that! Ok, so my app certainly doesn't follow this rule,
but
[EMAIL PROTECTED] wrote on 02/10/2006 04:54:15 PM:
[EMAIL PROTECTED] wrote on 02/10/2006 03:58:11 PM:
I would clarify this recommended method to have one backing bean per
*Tile* not just for the whole page. That sounds pretty much like what
you
did below.
Ah, I didn't know
Wow, an answer from a prof. :)
Sorry that I didn't give any information about the project I want to do.
Your question showed that I missed a lot of things.
- I am a sole developer building a 3MB source code application in a
reasonable amount of time period (don't laugh at me please :) ).
- The
On 2/10/06, Craig McClanahan [EMAIL PROTECTED] wrote:
The only classes in shale-test.jar that depend on the rest of Shale is the
convenience base classes in the org.apache.shale.test.base package. The
mock object classes have no dependencies on Shale, so you're welcome to use
them to
I have a List of HashMaps (both the key and value are
strings)
List list=new ArrayList();
for(int i=0;i10;i++)
{
Map map=new HashMap();
for(int j=0;j10;j++)
{
map.put(key+j,value+j);
}
list.add(map);
}
This list is in an action form. what is syntax to
get/set values
Hello Craig,
thank you very much, I didn't know that the action method is not
executed when a validation error occurs. That seems to be the problem,
because all of my form input fields are required fields and the messages
get filled.
Is there a way to skip validation on some actions? I would
On 2/10/06, Peter Goetz [EMAIL PROTECTED] wrote:
Hello Craig,
thank you very much, I didn't know that the action method is not
executed when a validation error occurs. That seems to be the problem,
because all of my form input fields are required fields and the messages
get filled.
Is
On Fri, 2006-02-10 at 10:31 -0500, Grant Ingersoll wrote:
I
was wondering if anyone knows of any JSP tags that would allow me to
auto-generate the HTML input tags for the properties to these
interface implementations.
I don't have any code that I can send you, but we do this for LDAP
[EMAIL PROTECTED] wrote:
I'm trying to capture a variable number of records from a JSP page and
place those records into an ArrayList in a form bean. I know I should be
able to figure it out, but I'm stuck.
My jsp page contains:
form name=mailDataForm method=post
vladimir lenin wrote:
I have a List of HashMaps (both the key and value are
strings)
List list=new ArrayList();
for(int i=0;i10;i++)
{
Map map=new HashMap();
for(int j=0;j10;j++)
{
map.put(key+j,value+j);
}
list.add(map);
}
This list is in an action form. what is
Laurie Harper laurie at holoweb.net writes:
http://struts.apache.org/struts-doc-
1.2.x/userGuide/building_view.html#indexed
Thank you for the link.
I tried list[0](key1) to get the value of key1 in the map in the list at
location 1.
but it is not working
Hi all,
I have a form that uses validator to check for simple validation like making
sure that a cash amount is a double. I have the cancel button on the form
set so that if it is pressed that validation does not take place. This is
great except when you type a letter into the cash text box and
51 matches
Mail list logo