I don't know it this is the case, but I think you missed the
"tiles-defs.xml" file.
I think the best place to start is Cedric Dumoulin's tutorial:
http://www.lifl.fr/~dumoulin/tiles/doc/tutorial.html
And I think you should start directly from chapter 6.
>
> 1) have a page with classic 4 tile layou
vinod wrote:
Thankyou very much Mr.Joe Germuska u've given enough information for me.
regards
vinod
On 4/26/05, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 5:19 PM +0530 4/26/05, vinod perla wrote:
> >vinod wrote:
> >Is it possible to create the Action Mapping Definitions dynamically?
> >If so pl
Hi, how do I create layout tile hierarchies so that one layout extends
another and contributes additional content to it? What I'd like to have
is a base layout which contains markup common to every page, and then
'child' layouts that extned the base layout and add section-specific
additional ma
From: "Ivan Jouikov" <[EMAIL PROTECTED]>
> What is that you talking about not allowing direct access to JSP? Can
> you be more clear please?
Just that every request must go through a Struts Action, there are no URLs
that end in ".jsp". This gives you the chance to do whatever setup you need
to d
I'm dragging this over to the user list from a Bugzilla ticket:
http://issues.apache.org/bugzilla/show_bug.cgi?id=34612
in which Ivan wrote (in part):
> in my form in the reset() I set the checkbox to "on".
>
> If the user turns it off, I'd expect that despite my reset's actions, a
> setCheck
Now doesn't Struts Layout seem like the presentation layer of JSF?
Just an opinion.
Regards,
David
-Original Message-
From: Günther Wieser [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 1:57 PM
To: 'Struts Users Mailing List'
Subject: RE: gui html
looks very interesting, has a
Scott,
>From what you have included, your understanding of struts seems incorrect.
The /*.do Struts mappings only work with "Actions", not "forwards." The
forwards are used internally by your actions (which return ActionForwards)
and cannot be seen over the web as a direct url. So, to reach
/uni
Drop in WEB-INF\lib and refer needed classes in import?
On 4/26/05, T. B. <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I currently wants to use some external APIs provided
> by a jar file withing the Action Object in struts
> framework. Can we configure web.xml or
> struts-config.xml to use the ja
Hi all,
I currently wants to use some external APIs provided
by a jar file withing the Action Object in struts
framework. Can we configure web.xml or
struts-config.xml to use the jar? If so, do you know
how?
Thanks very much for your advice,
Thong Bui
--
Dave Newton wrote:
In the struts configuration file. Instead of using a path to the JSP you
use the name of the tile. You must also be using the Tiles plugin, as
detailed in:
i had defined it as that. and the error i get is below. menuAction is
the name of tile definition
Error :: Path menuActi
Brian,
While Nick's solution certainly works, it doesn't follow best
practices, MVC in particular (No offense Nick). Technically a view
component such as a Servlet or JSP should be responsible for writing
the response back to the client. The Action is responsible for flow
control and interacting
Hi,
I'm wondering if it's possible to specify multi-level indexed property
validation in Struts validation.xml file. I used indexListProperty
attribute inside , which works for one level of indexed property.
For multiple nested level indexed properties like
company[].it.project[].projectName, I wo
Here are the other support methods. You can choose the one that works
best for you.
private void setHeaders(HttpServletResponse res, File f, String mimeType) {
res.setContentType(mimeType);
res.addHeader("Content-Disposition", "attachment; filename="
+ f.getName())
Nevermind. Dumb question. I got it.
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 4:01 PM
To: Struts Users Mailing List; Nick Heudecker
Subject: RE: PDF Streamed To Client
Follow Up: This works but im having a little trouble outputting
Follow Up: This works but im having a little trouble outputting the content
type appropriately.
-B
-Original Message-
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 1:47 PM
To: Struts Users Mailing List
Subject: Re: PDF Streamed To Client
Brian:
This is
This would be very easy to do via a Struts Plugin. You would need to add
some additional criteria in the key for sorting and other optional tests,
but by the time you finish, you would have practically rewritten
struts-menu.
http://struts-menu.sourceforge.net/
--
James Mitchell
Software Engine
C'mon folks, there has to be some sort of relatively clean way to do this.
- rob
On 4/25/05, Robert Sanheim <[EMAIL PROTECTED]> wrote:
> I want to do something fairly simple which I haven't seen a good
> example for yet: iterate through all messages from my default
> application.resources file t
rmanchu wrote:
this is probably very simple but someone please tell me.
i've got the tile-defs set up - [name="classicLayout",
page="/mypage.jsp"]. i've got the jsps set up. my problem is getting
from the action to the tile-def page.
currently my myAction extends struts.Action
where's the connec
thanks jeff. I need something just a bit more scalable cause my app needs to
handle uploads and downloads of "n" number of pdfs.
But thanks all the same.
-B
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 2:39 PM
To: Struts Users Mail
I have successfully used the following technique for file download via an
action:
Set the mimetype in the web.xml
Do nothing action always returns 'success' points to tiles def for file to
be downloaded
action-map:
tiles-def:
-Jeff
I'm wondering if anyone has any tips on how to
Or use the new DownloadAction - it is in the Struts 1.2.6 beta version,
Details on the wiki
http://wiki.apache.org/struts/StrutsFileDownload
http://svn.apache.org/dist/struts/v1.2.6/
Niall
- Original Message -
From: "Nick Heudecker" <[EMAIL PROTECTED]>
Sent: Tuesday, April 26, 2005 6:4
After some additional research, IE is failing to submit HTTP
parameters. This error doesn't occur with Firefox. Guess I'll have
to keep digging.
On 4/19/05, Michael J. <[EMAIL PROTECTED]> wrote:
> 1) You checked that button value does not contain whitespaces? By the
> way, cannot action strip wh
Thanx
It works,
Ashish
--- "Karr, David" <[EMAIL PROTECTED]> wrote:
> From a JavaBeans point of view, the "dyna"
> attributes are not attributes
> of the DynaValidatorForm, they are entries in a
> "map" that is an
> attribute of the DynaValidatorForm. So, the
> following should work:
>
>
>
Hi,
I'm trying to validate an input that doesn't allow a particular string,
just wondering how to construct the validation mask. Say, the input
shouldn't have the string "microsoft". I tried [^(microsoft)], or
[^m][^i][^c][^r][^o][^s][^o][^f][^t], neither work. Any help is
appreciated.
thanks,
Sa
looks very interesting, has anyone experience in using it? is it stable?
would save a lo of time for if so...
kr,
guenther
-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 5:46 PM
To: Struts Users Mailing List
Subject: gui html
has anybody see
hi,
My doFilter method looks like that:
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain arg2) throws IOException, ServletException {
arg2.doFilter(arg0,arg1);
try{
HibernateSessionFactory.commitTransaction();
System
great.. its the return null part i was missing.. thanks.!
-Original Message-
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 1:47 PM
To: Struts Users Mailing List
Subject: Re: PDF Streamed To Client
Brian:
This is pretty simple. Just get the output stream f
Brian:
This is pretty simple. Just get the output stream from the response
object and stream the file down. Return null from the Action's
execute method:
private void returnFile(File f, OutputStream out) throws IOException {
FileInputStream fis = null;
try {
fis
I'm wondering if anyone has any tips on how to render a pdf with struts. I
want to mask the name of the pdf and just stream it to client.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
this is probably very simple but someone please tell me.
i've got the tile-defs set up - [name="classicLayout",
page="/mypage.jsp"]. i've got the jsps set up. my problem is getting
from the action to the tile-def page.
currently my myAction extends struts.Action
where's the connection ???
thanx
has anybody seen http://struts.application-servers.com
waiting for coments...
Lucas
-
250MB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
Abrí tu cuenta aquí
No. It is the fact that once I up the field length to display the whole
value on the screen, "PRM,WS,CORNER,24X48", it only displays
"PRM,WS,CORNER,24". and I was mistaken, Firefox displays it correctly.
> -Original Message-
> From: Abdullah Jibaly [mailto:[EMAIL PROTECTED]
> Sent: Tue
so you're saying that:
and
are rendered the same size on your browsers?
-Original Message-
From: Andy Dailey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 10:33 AM
To: user@struts.apache.org
Subject: [OT] html:text field is getting truncated
This looks to be an html iss
>From a JavaBeans point of view, the "dyna" attributes are not attributes
of the DynaValidatorForm, they are entries in a "map" that is an
attribute of the DynaValidatorForm. So, the following should work:
> -Original Message-
> From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
>
> H
I'm not familiar with DynaValidatorForm but what does this give you:
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 10:15 AM
To: user@struts.apache.org
Subject: question about jstl tag c:if
Hi
I have a struts tag like below
I tried
This looks to be an html issue and not a struts issue. I have a problem
where I have an html:text field on my jsp that will not allow me to set
the size of the displayed input field.
The value that should be displayed is PRM,WS,CORNER,24X48
The value that is displayed is PRM,WS,CORNER,24 with the
Hi
I have a struts tag like below
I tried to use jstl c:if tag as below
i get error
An error occurred while evaluating custom action
attribute "test" with value "${loginForm.singlesignon
== '1'}": Unable to find a value for "singlesignon" in
object of class
"org.apache.struts.validator.DynaV
hi
tiles newbie.
am trying to incorporate Tiles to my existing struts project. can
someone please explain to me how the following is supposed to work?
1) have a page with classic 4 tile layout (header, menu, body, footer)
2) on selecting a menuitem, the body and menu tiles change.
if i submit to a
Hi all!
We are using Struts for the view in a "intranet" application. After
one year of developing the application, we need to improve the way we
do the JSPs, since we put many many scriptlet in the JSPs to check
whenever we should show the attributes, and when these attributes
shoud be read-on
You generate your charts on the server end and use AJAX to call a backend
action to access your session objects and stream the chart content back to
your javascript.
-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 8:51 AM
To: Struts Users Mailin
oh oh oh!...
AJAX, i have heard about that, but some requirements limit me to use it, i HAVE
to generate the chart on the server side
( would jave been wonderfull!!!, but, clients )
"Yu, Ed" <[EMAIL PROTECTED]> wrote:
AJAX?
-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTE
AJAX?
-Original Message-
From: Lucas Bern [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 8:39 AM
To: Struts Users Mailing List; Michael Jouravlev
Subject: Re: graphics
Yes, that is a good advise, thanks Michael!...
...but, what i have to do is a litle more complex. Does anyone k
Yes, that is a good advise, thanks Michael!...
...but, what i have to do is a litle more complex. Does anyone know how to
acces the page context form a dataProducer in the cewolf tag library???...
I really need it, i have objects in session, objects needesd to create de
chart, but de interface
Hello,
I am trying to create two modules. I am following the docs here:
http://struts.apache.org/userGuide/configuration.html
What I have done, is create both entries in my web.xml file like the example
shows:
unique
org.apache.struts.action.ActionServlet
config
/WEB
At 5:19 PM +0530 4/26/05, vinod perla wrote:
vinod wrote:
Is it possible to create the Action Mapping Definitions dynamically?
If so please help me how to do this.
To do this, you're really going to have to dig into Struts' code; as
it is now, you can't dynamically add new ActionMappings to the
M
Hi,
I´m using struts 1.2.4, I use GenericValidator.isDate(), when I try to
validate with the pattern "dd/MM/" works well, but when I use the
pattern "dd/MM/ hh:mm:ss", doesn't work well, it returns false when
checks a valid string. How I can validate this pattern date?. Is there
any t
vinod wrote:
Is it possible to create the Action Mapping Definitions dynamically?
If so please help me how to do this.
Thanks in Advance,
Vinod.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
Your build is probably not correctly including a
copy of the DTD in the JAR. Struts uses
commons-digester to read the web.xml to learn
the servlet-mapping so that it can properly
expand action paths to resolvable URLs. Digester
allows you to register local copies of DTDs so as
to support v
Hi to everyone. I'm trying do develop a jsp page using tabs ( Ditchnet
JSP
tabs taglib). I've followed the example located at
http://209.61.157.8:8080/taglibs/ . It works, but the look and feel is not
the same as the example. In fact, the titles of the tabs appears one under
the other, ins
Also, check these out:
https://whirlycache.dev.java.net/
http://www.opensymphony.com/oscache/
Erik
temp temp wrote:
Is it similar to sessions ie each user will have his own cached
Object or all the users share the same
Cached object .
I have a jsp with multiple submit buttons .Each submit
butto
Hi,
I have compiled struts 1.2.4, because I had obtained an error, I put
traces in the code of struts, re-compiled and when the application loads
in Tomcat I obtain the next error.
2005-04-26 08:47:21,557 ERROR org.apache.struts.action.ActionServlet - The
/WEB-INF/web.xml was not found.
java.i
You can also change the locale by mapping
org.apache.struts.actions.LocaleAction to locale.do in your struts-config.xml,
using a dynaform.
The user can then switch language using somthing like
locale.do?language=fr&country=be&page=/jsps/myjsptogoto.jsp
country and page are optional arguments.
52 matches
Mail list logo