thanks for the good information :)
Julian
Original-Nachricht
Datum: Wed, 5 Jul 2006 06:55:33 -0700
Von: Wendy Smoak <[EMAIL PROTECTED]>
An: Struts Users Mailing List
Betreff: Re: Using the c-tag with Struts?!
> On 7/5/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
>
> > I'd
Yeah, thatz ok, but am using a dynaactionform for this and there is no
seperate form. Moreover, am retrieving the values using
request.getParameter("sss"). whatever the parameter may be since i have select
boxes also in my jsp.
Paul Benedict <[EMAIL PROTECTED]> wrote: Do not use automatic v
Do not use automatic validation. Set validate="false" and call form.validate()
in your execute method. Then you should determine if you need to invoke your
database again and reset the form with whatever fields you want. -- Paul
Medicherla Lakshmi <[EMAIL PROTECTED]> wrote: Hi all,
I have
Hi all,
I have a problem of maintaining the state of the jsp which is entered with
some values. In my jsp, i have some text boxes and select boxes. I enter all
the values and submit it, but if the name of any of the text boxes exist in the
database already, it fires an alert and refreshe
On 7/5/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
Ever since the web site redesign, I cannot find the to
get started with. Anyone know where it is? Been searching struts site
for a bit. No luck.
The example apps would be included in any of the release distributions.
* http://struts.apache.or
You looking for the jar or the war? In either case, there isn't one that I
know of. However, an exploded examples app come with Struts and the classes
you would expect to find in an examples.jar file can be found in the
WEB-INF\classes subdirectory of the exploded WAR.
On 7/5/06, Jim Reynolds <
Ever since the web site redesign, I cannot find the to
get started with. Anyone know where it is? Been searching struts site
for a bit. No luck.
Thanks,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
When invoking a tile through a JSP, one can do a
to bring a bean named gridC into the tile (under the name headerInfo),
where said bean was defined elsewhere (with a
request.setAttribute("gridC",grid).
How do you do this when you're using tile definitions (centralized into
one file)? This
In my JSP, I passed a number of parameters inside the
JSTL core c:url tag. This is the way I coded:
Click
How do I retrieve the respective values of param1 and
param2 in MyAction.java?
String parameter1 = request.getParameter( "param1" );
String parameter2 = request.getParameter( "param2" )
Here is my own opinion, which cannot be considered an "official" or a
"best" practice, but nevertheless:
[ Approach 1 ]
You use one action class to display the page (render phase) and to
process input (submit phase). In this case I suggest not to use
"input" property entirely, and not to use auto
I have two related questions... I can probably figure out ways to hack
around these issues, but I'm hoping for a "best practices" solution.
My requirement is pretty simple: you click on a category link, the
action builds the List of items for that category, and the JSP iterates
them and shows qua
On 7/5/06, Rodrigo Barreiros <[EMAIL PROTECTED]> wrote:
Hi,
I need use client-side validation in my application. I am using Shale
Validator (shale-core-1.0.2) with Myfaces 1.1.1. The validation works
fine,
but messages appears encoded in wrong way.
For example, for message (in portuguese):
er
On 7/5/06, Adam Gordon <[EMAIL PROTECTED]> wrote:
Can anyone point me to a working example of how to render an array of String
objects as a list box in a JSP such that the contents of the list box can
come from a property set on the request and not the bean mapped to the
struts Action?
It seems
Adam Gordon wrote:
Can anyone point me to a working example of how to render an array of String
objects as a list box in a JSP such that the contents of the list box can
come from a property set on the request and not the bean mapped to the
struts Action?
Use the 'name' attribute on the Struts
For example, for message (in portuguese):
errors.required={0} ? um campo obrigat?rio.
Should appear: "Nome ? um campo obrigat?rio." in alert window, but appears:
"Nome 233; um campo obrigat 243;rio."
The same happens using corejsf-validator tag.
Any suggests?
Thanks, Rodrigo
--
View thi
In a table in one of the columns there are
is it required that each input item has a corresponding form-bean property?
by using the below does it take all the user entered values in the column??
Each row is an object and sessionScope.Form.hrs is the list of these
objects.
requestURI="Prepa
Hi,
I need use client-side validation in my application. I am using Shale
Validator (shale-core-1.0.2) with Myfaces 1.1.1. The validation works fine,
but messages appears encoded in wrong way.
For example, for message (in portuguese):
errors.required={0} ? um campo obrigat?rio.
Appears: "Nome é
yeah, it's called Google. You can find pretty much anything there.
On 7/5/06, Gomathi <[EMAIL PROTECTED]> wrote:
how to create ajax application using dwr in myeclipse5.0
Is there is any site to follow this
Kindly regards
gomes
Hi All
I would like announce the twentieth birds-of-a-feather (BOF 20) of
the Java Web Users Group. The event will take place at
Oracle City Of London
One South Place
London,
England
EC2M 2RB.
The feature speakers:
Emmanuel Okyere
Before I mention ant, were there any further error messages indicating the
line, section, or attribute causing your web.xml parsing problem? Are you
sure you are using the appropriate container? I.E. Your web.xml file states
a 2.3 servlet config so are you sure the container you are using support
Yes, that's the same link I tried, but without success...
On 7/5/06, Adam Brod <[EMAIL PROTECTED]> wrote:
Well, I haven't actually used the Spring 2.0 scopes yet (I'm using
Shale-Tiger for our "scoped" objects). However, if you google 'Spring 2.0
scope session', there are a couple good links l
You could try storing the output of html:rewrite into a variable (or
using c:url), then use the variable as the value of the page attribute.
jsp:include's page attribute will allow expressions (EL or scripting)
http://java.sun.com/products/jsp/syntax/2.0/syntaxref2020.html#8828
Adam
-Origin
Well, I haven't actually used the Spring 2.0 scopes yet (I'm using
Shale-Tiger for our "scoped" objects). However, if you google 'Spring 2.0
scope session', there are a couple good links like this one:
http://forum.springframework.org/showthread.php?t=26302
Adam Brod
Product Development Team
You cannot include one JSP tag into another JSP tag.
On 7/4/06, Spin <[EMAIL PROTECTED]> wrote:
Hello,
I want to use the bridge together with the jsp:
<%@ taglib
uri="http://portals.apache.org/bridges/struts/tags-portlet-html";
prefix="html"%>
This line is only for practice,
Hi Adam,
How do you declare a Spring bean to be session scoped? I've tried:
but I get an IllegalStateException.
Please note that I'm not using the container yet, as I'm just preparing the
control logic for JSF in a isolated way through Shale testing framework ;-)
On 7/5/06, Adam Brod <[EMAIL
If you use modules rather than just multiple config files the action
name is relative to the module name, so you can use the same path. If
you are not using modules, you need to name them differently so that the
RequestProcessor knows which Action instance to invoke.
Adam
-Original Message---
Hi,
I have two struts-config.xml :
struts-config.xml tha has an action called : getMessages
struts-config-coi.xml that has an action called : getMessages
this two actions have the same name but they are difined different in each
struts-config file .
Do I have to rename one of
Hi,
thank you David for your time and helps, but what is maven war package ?
Thank you
David Friedman <[EMAIL PROTECTED]> wrote:
Forget the maven war package idea. I must have been mistaken because it
didn't work. (I had a moment to try before I leave)
Regards,
David
-Original Message-
it works as ear project with access to the ejbs by prewriting the
ear-archive name
2006/7/1, stephan opitz <[EMAIL PROTECTED]>:
i've looked hours for it and it didn't work... using eclipse... also
examples from inet whicht i imported in eclipse...
out-of-container ejb shouldn't be that problem
Can anyone point me to a working example of how to render an array of String
objects as a list box in a JSP such that the contents of the list box can
come from a property set on the request and not the bean mapped to the
struts Action?
It seems like this should be straight forward based on the ex
best is if you do this and create an enterprise project...
all ejbs in the ejb project including the meta-inf + persistence.xml
the web project should be the one created with maven2
import for access to the ejb is that you have to the name of your ear-archive
earArchiveName/EJBNname/local or re
On 7/5/06, Julian Tillmann <[EMAIL PROTECTED]> wrote:
I'd like to use the
c-tag of the core tag library as it seems
to be powerful.
For example "else if" is not implemented in
Struts-logic and this is often needed.
Are there any disadvantages of doing so
or can also you recommend it?
No disadv
Forget the maven war package idea. I must have been mistaken because it
didn't work. (I had a moment to try before I leave)
Regards,
David
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 9:39 AM
To: Struts Users Mailing List
Subject: RE:
I already tried that. My Eclipse Callisto (3.2 stable) parsed it and found
no typing errors. I quickly checked the order of the elements and they are
in the correct order, according to the BEA docs (I always reference them
because they come up first on my searches for some reason) at
http://e-do
Hi Enrique-
I don't believe there is any way to register the same bean instance with
both Spring and JSF. If you look at Spring 2.0, it has the ability to
register a bean with Request or Session scope, so perhaps that would be
your best bet. Of course you wouldn't be able to use Shale-Tiger.
A. Lotfi asked:
> Hi, I have a web.xml , I am using Netbeans, I got this error :
> The content of element type "web-app" must match
>
> Here is my web.xml , I will appreciate if you can help me :
>
>
[snip]
Generally that means that something is out of order or misspelled.
Some things to consider:
1) Is the calendar popup using Struts to create the calendar? Is it a 3rd party
tag library or something? This would affect getting the Struts locale, if it is
not aware of it.
2) If popping up a window loses the session, then consider the session never
existed. Someti
Hi All,
I am facing a strange problem and have no clue about it. As soon as I
invoke my application, instead of the requested page I see a lot of
weired code like:
* @param form The form validation is taking place on. */ function
validateFloatRange(form) { var isValid = true; var focusField
Hi,
There is a requirement in my application where i need to open a calendar popup
from a link. The application that i am taking about here is a J2EE application
where struts is being used which i18n complaint. The session object holds the
locale information and that is what is used to determi
Hi,
Thank you a lot, that is exactly the reason. I changed domain to String and it
works.
Regards,
Halgurt
-Ursprüngliche Nachricht-
Von: Laurie Harper [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 4. Juli 2006 21:27
An: user@struts.apache.org
Betreff: Re: AW: Object field validation
Hi
I’d like to use the
c-tag of the core tag library as it seems
to be powerful.
For example "else if" is not implemented in
Struts-logic and this is often needed.
Are there any disadvantages of doing so
or can also you recommend it?
Thanks for your suggestions!
Julian
--
Der GMX Sm
Hi all,
I am new to sturts and tried to execute a sample application
but I am getting exception as
" org.apache.jasper.JasperException: /index.jsp(4,0) Unable to find setter
method for attribute: name
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:3
Hi all,
I am new to sturts and tried to execute a sample application
but I am getting exception as
" org.apache.jasper.JasperException: /index.jsp(4,0) Unable to find setter
method for attribute: name
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java
43 matches
Mail list logo