See intermixed
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]
====
I read the paper
http://www.browsermedia.com/devcorner/whitepapers/tiles201.jsp
which explains how to add attributes into a tile of a
definition then it
invokes the page.
Unfortunatly
You need to deploy the new validator-rules.xml as well. Most of the shipped
validations method signatures have changed and without the new
validator-rules.xml you are probably getting a whole load of exceptions in
your logs, as well as the validators not working.
As the release notes for 1.2.7
Hi all, I have a configuration like this one below:
action path=/SubmitDrawingUpload type=SubmitDrawingUploadAction
name=DrawingUploadForm
forward name=showParentForm path=/DrawingUpdate.do/
/action
now inside the SubmitDrawingUploadAction class usually i just need the
following statement to
Hello Craig:
Using Shale, could you show how to code simple container-managed login
form with j_username, j_password, and j_security_check and shed some
light on the following attempt.
Specifically, i am attempting to use simple tomcat 5.5.9 SingleSignOn to
dynamically switching between SSL
Ah, ha. I see now. I checked the upgrade page, but it did not
say anything about an upgrade from 1.2.6 to 1.2.7. We had been
running 1.2.6 for several months.
--- Niall Pemberton [EMAIL PROTECTED] wrote:
You need to deploy the new validator-rules.xml as well. Most
of the shipped
I think I already said Yes to this one.
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
-Original Message-
From: Don Brown [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 17:44
To: Struts
Hello,
I'm trying to get working html:errors/ tag but I fail in this task...
The webapp has the following files:
- LoginAction.java (extend Action)
- LoginForm.java (extend ActionForm)
- Login.jsp
Here an extract of the struts-config.xml:
form-beans
form-bean name=loginForm
In your code in action classes, call the form.validate(mapping, request)
method
Hope this helps.
- Original Message -
From: EROL TEZCAN [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Friday, June 10, 2005 9:30 AM
Subject: enabling server-side validation
Hi,
How can I enable
Something like this:
ActionForward af = mapping.findForward(showParentForm);
return new ActionForward(
actionForward.getName(),
actionForward.getPath() + ?drawing_id=24,
actionForward.getRedirect()
);
You must create a new instance of ActionForward, you cannot change
existing one, since it
Hi,
I am trying to preview a piece of html content. but the c:out with
escapeXML=false can not handle space char correctly.
is there an easy way to replace the ' ' with html special space char ?
thanks
lixin
-
To unsubscribe,
What does the term normalize mean in this context?
I thought the issue being discussed was parsing an uploaded filename to
get just the filename sans path, as IE sends... where uploads from Windows
to a Unix server means that if you use the File.pathSeparatorChar to parse
the name, you would
I appreciate people responding to let me know who can make it. I'm
sure it generates more interest when people find out that Craig and
other Struts Committers (e.g., Don Brown) are planning to attend.
Which is good.
For the majority of the folks on this list that won't be attending the
gathering,
See intermixed
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]
====
I read the paper
http://www.browsermedia.com/devcorner/whitepapers/tiles201.jsp
which explains how to add attributes into a tile of a
definition then it
invokes the page.
Unfortunatly
Thanks for the information, I have a demo to give on Monday so I took the
easy road and hacked a solution. It turns out tiles:insert supports
beanName, beanProperty, beanScope so I added a property to an already
existing bean that is in request scope that returns the right string after a
couple
On 6/10/05, Duong BaTien [EMAIL PROTECTED] wrote:
Hello Craig:
Using Shale, could you show how to code simple container-managed login
form with j_username, j_password, and j_security_check and shed some
light on the following attempt.
The JSF standard form and input components don't
Thanks Laurie,
I tried to set it up this way, but wasn't able to make it work. My
struts-config file defines the message-resources parameter like so:
message-resources parameter=ApplicationResources
null=false/
So I tried putting that in, and also tried some variants like
Hi Madigan !
Thnx for ur solution.
It is working now with styleId
-Jeevan
-
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news more. Check it out!
Hi,
Does struts1.1 support multiple validation files and multiple resources
ThksRgds
--Venkat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The html:errors/ will always look for an ActionMessages (in any context)
identified by the key property configured in the exception element in
your struts-cfg, if no such object is found then nothing is done.
Have you configured your application init-param in your web.xml?
Perhaps you might
You want to use the name of the attribute the resource bundle is stored
under, not the name of the properties file. You're not specifying it in
your Struts config so you want the following:
logic:present name=org.apache.struts.action.MESSAGE
property=%=directionToUserKey.toString()%
If a redirect rather than a forward is acceptable, you can also look at
ActionRedirect (new in 1.2.7).
ActionForward fwd = mapping.findForward(...);
ActionRedirect ar = new ActionRedirect(fwd);
ar.addParameter(name, f.getString(name));
return ar;
L.
Michael
Hi all!
I have a html:select tag and in the onchange I need pass a little
javascript, till here no problem, but, I need put in the middle of this
javascript a string from my formbean.
I thought some thing like this:
html:select property=myProperty name=myFormBean
Leandro
Read this article about accessing a bean via JavaScript via home interface
JNDI name
http://docs.jcu.edu.au/pm/manual/bg/ejbscrip.htm#35920
HTH,
Martin-
- Original Message -
From: Leandro_Dorileo/[EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Friday, June 10, 2005 2:55 PM
What's an 'html special space char'?
Lixin Chu wrote:
Hi,
I am trying to preview a piece of html content. but the c:out with
escapeXML=false can not handle space char correctly.
is there an easy way to replace the ' ' with html special space char ?
thanks
lixin
On 6/10/05, Duong BaTien [EMAIL PROTECTED] wrote:
Hello Craig:
Using Shale, could you show how to code simple container-managed login
form with j_username, j_password, and j_security_check and shed some
light on the following attempt.
Specifically, i am attempting to use simple tomcat
Leandro_Dorileo/[EMAIL PROTECTED] wrote:
html:select property=myProperty name=myFormBean
onchange=javascript:form.action='c:out
value=myFormBean.myProperty/';form.submit();
You can't nest JSP custom tags like that. If you can use JSTL, this will
work:
html:select property=myProperty
Hi,
I would like to use alternate resources file for errors
Any option available to pass bundle attribute to ActionError class or
ActionMessage object
ThksRgds
--Venkat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
hihi Leandro,
if you are using Tomcat 5 you should be able to use EL (Laurie's first
suggestion)... make sure your web.xml is declared with version 2.4 dtd
to have EL on by default.
if you don't have EL, you can use the Struts-EL tags which give you the
EL support! (these are available in the
Thanks again, Laurie, but for some reason it still returns false every
time, even if there is something under that key. I'm pretty sure I
followed your directions exactly:
tiles:useAttribute id=directionToUserKey
name=directionToUserKey scope=request classname=java.lang.String
Hi,
would like to clarify with those who use displayTag:
is it a must to put list of objects into session to be able sue sort
and export function ?
thanks
lixin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Duong BaTien wrote:
First, thanks for an extra help.
No problem... I hope I can help further :)
The whole idea is to use SSL for confidential pages such as logon,
change username / password, edit profile with confidential data. Other
time some resources may just be protected by roles. The
31 matches
Mail list logo