Hi
Looking through the source of TilesViewHandler (Shale/Tiles standalone) and
JspTilesViewHandlerImpl (MyFaces/Struts Tiles) I see that the functionality for
mapping a viewId to a tiles definition (through suffix) is missing in
TilesViewHandler. There should be no reason why there is any diffe
Have u tried with restarting or redeploying your app server??
Notice: The information contained in this e-mail message and/or attachments to
it may contain confidential or privileged information. If you are not the
intended recipient, any dissemination, use, review, distribution, printing or
Hi
I took a look at your ShaleNShark1 app. This is not doing what I am talking
about.
Lets take an example. You have a index.jsp that forwards to logon.jsf. This
will then load logon.jsp which in turn insert a /logon tiles-definition.
In my (working) case I have a index.jsp that forwards to /
+1
Try
OR
Cheers,
Thomas Joseph
[EMAIL PROTECTED]
From: "Wendy Smoak" <[EMAIL PROTECTED]>
> From: "Simons Kevin" <[EMAIL PROTECTED]>
>
> > I have used tiles and struts1.2.7 without definitions. The test worked.
> > Now I wanted to test struts and tiles with definitions.
> > This is th
Hi,
I am new to struts development. I have got a sample application from elsewhere.
and if I deployed that one works good. I have changed the files. I have added
one field in to jsp page. for that I have modified form and action classes
also. even it gives the following error. kindly help in thi
From: "Simons Kevin" <[EMAIL PROTECTED]>
I have used tiles and struts1.2.7 without definitions. The test worked.
Now I wanted to test struts and tiles with definitions.
This is the tiles-defs.xml file (stored in my web-app web-inf folder)
I'm think you want 'name' not 'beanName'. Try th
>
Try "definition" instead of "beanName" as in
Faisal,
Why you want to use image, you can use stylesheet. You may refer following
code:
New Document
OPTION.mar{background-color:maroon; color:white}
OPTION.red{background-color:red; color:maroon}
OPTION.blue{background-color:blue; color:maroon}
Select
Sunil
Faisal Mah
I have to update the resource bundle from an Action Class.I found it impossible
as the handle of Resource Bundle is with ActionServlet when it is
intialized.So, in order to update the resource Bundle values i have remove the
handle first.
My Question is it true?If Yes why & if No how it can b
All,
I have used tiles and struts1.2.7 without definitions. The test worked. Now
I wanted to test struts and tiles with definitions.
This is the tiles-defs.xml file (stored in my web-app web-inf folder)
I also tried
this is my test jsp (index.jsp)
<%@ taglib uri="/WEB-INF/struts-bean.t
sorry, the include in my first mail was wrong, it should be:
<%@ include file="../common/header.jsp" %>
and it still can't locate those tld
On 10/20/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> From: "Koon Yue Lam" <[EMAIL PROTECTED]>
>
> > Assume I have 2 jsp(s), header.jsp and content.jsp
> >
Hi Carl,
Mind telling us the cause of your problem?
On 10/20/05, Carl Smith <[EMAIL PROTECTED]> wrote:
> Thank you Martin on this information. This issue was resolved. Basically
> there was another error in my jsp that cause this issue. Now it is working
> fine. Simply put does support form.su
From: "Koon Yue Lam" <[EMAIL PROTECTED]>
Assume I have 2 jsp(s), header.jsp and content.jsp
In content.jsp, I include header.jsp like the following:
<%@ include file="../common/Header.jsp" %>
The include isn't working. Possibly because your file is named 'header.jsp'
and you're including 'H
Hi,
Assume I have 2 jsp(s), header.jsp and content.jsp
In header.jsp, I have:
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld
Use JSTL.
__
Senior Programmer Analyst, Tax Distributed Systems Development
Tax & Compliance Development, ADP IT
Phone: (909) 592-6411 Ext. 3863
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Shyam Anand [mailto:[EMAIL PROTECTED]
Thank you Martin on this information. This issue was resolved. Basically there
was another error in my jsp that cause this issue. Now it is working fine.
Simply put does support form.submit() when correctly code in
onclick.
I will however have another issue with sturts validator when using
f
Hi all,
i am new to this forum.this is my first post.i hope this mailing list helps me.
in the first page in my struts web app, i need to enter the details of 5
persons.
they have proprties name,sex,rollnumber and age
for that i created a bean with these 4 properties which have getter and setter
Referencing
http://struts.apache.org/api/org/apache/struts/taglib/html/BaseHandlerTag.html#triedJstlSuccess
To quote the doc
org.apache.struts.taglib.html.BaseHandlerTag
Base class for tags that render form elements capable of including
JavaScript event handlers and/or CSS Style attributes. This
Shyam Anand wrote:
I have issues with struts-logic tags...I'm not using JSTL.
Whoops.
I'm running 1.4.2 w/o any struts tag issues (including 'logic').
(Tomcat, WinXP, 1.4.2_08)
Why not switch to JSTL anyway, though?
Dave
---
Michael Jouravlev on 19/10/05 00:44, wrote:
On 10/18/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
Secondly, getKeyMethodMap() looks really clunky - is there no way this
can be pushed into the struts-config.xml?
It can be done, but if this to be defined inside existing structures
like , then I wo
I have issues with struts-logic tags...I'm not using
JSTL.
Shyam
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Shyam Anand wrote:
>
> >These don't seem to work with JDK 1.4.2 version.
> >
> >
> I'm running 1.4.2 w/o any JSTL issues. (Tomcat,
> WinXP, 1.4.2_08)
>
> Dave
>
>
>
>
Actually, based on Joe's suggestion, I just threw it together just now.
This is literally hacked together off the top of my head, and only tested
in IE 6... I can see some things I'd want to fix already, but that's what
you get from 5 minutes of hacking! Might make a good candidate for
inclusion
Okay, somewhere in my head I can remember seeing an example of this,
but I can't recall where it was. Sounds like the solution (if one
exists) is non-trivial. Appreciate the ideas and if I do come across
or develop some sort of solution I will post back to this thread.
On 10/19/05, Frank W. Zammet
I was thinking you could build an actual "custom control" to do this, and
that's a good start... add a down arrow to the right of it to show the
dropdown portion and lock the textbox from editing and you'd have a good
start.
Thanks Joe!
--
Frank W. Zammetti
Founder and Chief Software Architect
O
I am forced to use the Websphere Axis libraries, and yes generate
classes just fine. But I can't get them to adhere to MY interface, or
MAKE these Types extend an Abstract Class of my own. At least that I can
see.
I also have about 1,000 different types being generated in our project.
So, is there
Hey everyone.
Thanks for the input on my problems with my LookupDispatchAction.
I was able to get the wizard steps working using the example on page 201 of the
book:
Jakarta Struts Cookbook.
Now I am off to do the business logic. Again, thanks for all the help.
--Brad
-Original Message
At 3:11 PM -0400 10/19/05, Frank W. Zammetti wrote:
This isn's something that is possible in straight HTML. There could be a
way to do it via CSS, but nothing obvious presents itself to me... I tried
setting a background-image, but that didn't work.
Can you find an example of it being done? Un
What I really want to know is how to use and still using onclick
to call javascript to submit the form.
Martin Gainty <[EMAIL PROTECTED]> wrote:Good Morning Carl
excerpted from Craig:
The challenge with doing this is that the JSP tags run on the server (as the
page is being generated), while t
> path="/login"
> type="com.firstenergycorp.hep.LoginAction"
> name="rtpForm"
> scope="session"
> input="login.jsp">
> name="viewPrices"
> path="viewPrices.jsp"/>
>
>
In the above configuration try for the "forward"'s "path" as
"/viewPrices.jsp" instead of "viewPrices.jsp"
And insert a • in front of the text in a larger font size (But same
line height). This will give you a circle, but not a square.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 19 October 2005 20:13
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Sub
On Wed, October 19, 2005 3:20 pm, Dave Newton said:
> Looks funny when you roll over it. Still and all, kinda handy for
> something, I'm sure.
Yeah, I thought so too... might be some CSS tricks you could play to keep
the color the same when hovered over... I just tried some obvious things,
none wo
Frank W. Zammetti wrote:
Just thought of this... one thing you could do is set the text color of
each option. That *does* work. Might serve your purpose alright.
You can actually set the color style attribute or background-color, both
work.
Looks funny when you roll over it. Still and all,
Shyam Anand wrote:
These don't seem to work with JDK 1.4.2 version.
I'm running 1.4.2 w/o any JSTL issues. (Tomcat, WinXP, 1.4.2_08)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Just thought of this... one thing you could do is set the text color of
each option. That *does* work. Might serve your purpose alright.
You can actually set the color style attribute or background-color, both
work.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
This isn's something that is possible in straight HTML. There could be a
way to do it via CSS, but nothing obvious presents itself to me... I tried
setting a background-image, but that didn't work.
Can you find an example of it being done? Unless there's some non-obvious
CSS trick, or perhaps so
Hi,
I'm doing an upgrade from JDK 1.3.1 to JDK 1.4.2 for
my Struts 1.1 applications. I have an issue with the
tags. These don't seem to work with
JDK 1.4.2 version.
I'm using OC4J 9.0.4 as my application server.
For the JSP code snippet shown below , I get an error
message:
quote:
JspServlet: u
Faisal Mahmoud wrote:
I am creating a drop down list using the HTML and
tags. The items in the list will be color names (ex. red, green, blue,
etc..). I would like a small square image to be next to each color
name text in the list. How would I go about this in my jsp file with
my struts tags?
Martin Gainty wrote:
I'm assuming you have already used Axis wsdl2java to automate the
generation of the Java Class?
http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL
Or if that doesn't do what you need, just write a simple script in
Perl/Pyt
Hi,
I am creating a drop down list using the HTML and
tags. The items in the list will be color names (ex. red, green, blue,
etc..). I would like a small square image to be next to each color
name text in the list. How would I go about this in my jsp file with
my struts tags?
-Faisal
--
http:/
Good Morning Mick
Stupid question but I'll ask anyway ..I'm assuming you have already used
Axis wsdl2java to automate the generation of the Java Class?
http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL
Martin-
- Original Message -
From: "
I have a WSDL that is managed and generated by a different group than mine.
This wsdl has many complex types within complex types for each service. Thus
I get composite objects being generated, and we use a flattened version of
these objects in our Struts UI. But Currently, we create an ActionFor
errorStyleClass="errormessage"/>
Css is working except for this.
When I hit the submit button it just forwards to the different jsp. it
doesn't validate the field which I set to be required. I did make it null.
Is there anything else that needs to be done in jsp?
Thanks.
__
On 10/19/05, Michael P. Soulier <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I didn't find this in the archives, so I'll ask.
>
> I have a tomcat app deployed via proxypass from apache (2 in fact, a
> double-proxy through 2 servers). It needs to use relative paths in its
> links to ensure that the com
That's simlar to what I need, except that it's not an indexd property. Can
some of your code or send it to me offline.
thanks,
Saul
> On my current project I've written a validation method that
> dynamically invokes other validation rules depending on the String
> returned by bean.getDepends()
>
Hello,
I didn't find this in the archives, so I'll ask.
I have a tomcat app deployed via proxypass from apache (2 in fact, a
double-proxy through 2 servers). It needs to use relative paths in its
links to ensure that the composed path is correct. Unfortunately struts
doesn't seem to want to u
On my current project I've written a validation method that
dynamically invokes other validation rules depending on the String
returned by bean.getDepends()
It's used with indexed properties where the fields for the form to
fill in are configurable and come from a database.
Is that what you're af
I have noted your comments
Thank You for responding
Good Luck,
Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 19, 2005 2:00 AM
Subject: Tomcat performance - Was Clever trick required
Hi
First of all: Please direct these types of questions to the p
Nilsson Ulf /Konsult wrote:
Anyone else out there using response-manipulating-filters with struts?
I've used the filter from... um... _Core Servlets and JSP_ w/ zero
problems, but IIRC we mapped it to everything.
Dave
-
Hello,
We are in process of moving to different IDE and at same time have decided
to upgrade to Struts 1.2.7.
Started out with a just two pages from an app that is running fine in our
current environment. It consists of a login page and a "viewPrices.jsp"
page. Upon valid login the user is suppos
That's weird... I just threw it in a Struts app and it worked (mapped it
to every request by the way), so I wonder what your app is doing that
breaks both filters... could very well be a flaw in both filter
implementations, that's not at all out of the question.
--
Frank W. Zammetti
Founder and C
Hi All,
I'm wondering if there is a way to define conditional validation for mask,
date, integer etc in validation.xml. I know there is a "validwhen", but it
only checks for the condition as defined by the "test" variable. What I
want is to perform the mask, date validation only some conditions a
Thanks for link! Tried it but same problem.
I'm starting to think that it might have something to do with forwards or the
container... :(
Anyone else out there using response-manipulating-filters with struts?
TIA
Ulf
-Ursprungligt meddelande-
Från: Frank W. Zammetti [mailto:[EMAIL PRO
From: <[EMAIL PROTECTED]>
Weird. I just took one of my working MyFaces/Tiles projects,
and introduced Shale/Clay/Spring configuration to it along
with the approprate .jar files.
After that the tiles definitions stopped working.
What .jar files did you introduce? If you're missing
tiles-core-
Let it never be said that the myriad OT discussions on the Struts mailing
list aren't worth something :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Wed, October 19, 2005 8:50 am,
<[EMAIL PROTECTED]> wrote on 10/19/2005 09:53:55 AM:
> Hi
>
> Weird. I just took one of my working MyFaces/Tiles projects, and
> introduced Shale/Clay/Spring configuration to it along with the
> approprate .jar files. After that the tiles definitions stopped working.
>
> I'll try to make mysel
I *vaguely* remember solving that problem for the CompressionFilter in
Java Web Parts (http://javawebparts.sourceforge.net). IIRC, it had
something to do with... well, never mind, I don't remember! :) The point
is though that the problem affected output from servlets but not
directly-accessed res
Hi
Weird. I just took one of my working MyFaces/Tiles projects, and introduced
Shale/Clay/Spring configuration to it along with the approprate .jar files.
After that the tiles definitions stopped working.
I'll try to make myself a simple sample based on the shale usecases and see if
I can get
[EMAIL PROTECTED] wrote on 10/19/2005 09:49:09 AM:
> <[EMAIL PROTECTED]> wrote on 10/19/2005 09:45:17 AM:
>
> > Hi
> >
> > Are you using the TilesViewHandler from shale-tiles or
> > JspTilesViewHandlerImpl from Tomahawk ?
> >
>
> I am using Shale's org.apache.shale.tiles.TilesViewHandler. But
<[EMAIL PROTECTED]> wrote on 10/19/2005 09:45:17 AM:
> Hi
>
> Are you using the TilesViewHandler from shale-tiles or
> JspTilesViewHandlerImpl from Tomahawk ?
>
I am using Shale's org.apache.shale.tiles.TilesViewHandler. But I am also
using tomahawk and am (so far!) having no trouble..
Geeta
Hi
Are you using the TilesViewHandler from shale-tiles or JspTilesViewHandlerImpl
from Tomahawk ?
-Opprinnelig melding-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 19. oktober 2005 15:29
Til: Struts Users Mailing List
Emne: Re: SV: [Shale] JspTilesViewHandlerImpl and Shale
Shale has it's own tiles viewhandler that uses tiles stand-alone. And
it does allow accessing tiles as pages.
On 19/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote on 10/19/2005 09:24:01 AM:
>
> > Hi Ronald
> >
> > Can you access pages as tiles-definitions? I mean n
<[EMAIL PROTECTED]> wrote on 10/19/2005 09:24:01 AM:
> Hi Ronald
>
> Can you access pages as tiles-definitions? I mean not just using jsp
> pages with tiles:insert?
>
> Hermod
>
..Jumping in.. Ronald, I can access my pages as tiles defintions. What
kind of problem are you running into?
Geeta
> From: Leon Rosenberg
>
> On 10/19/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
> > George
> > Could you explain on how MVC patterns are fractal?
> > Thanks,
> > Martin-
>
> I think there are no fractal patterns, but fractal
> architectures, which follows same pattern in different
> levels. E
Hi Ronald
Can you access pages as tiles-definitions? I mean not just using jsp pages with
tiles:insert?
Hermod
-Opprinnelig melding-
Fra: Ronald Holshausen [mailto:[EMAIL PROTECTED]
Sendt: 19. oktober 2005 15:16
Til: Struts Users Mailing List
Emne: Re: [Shale] JspTilesViewHandlerImpl an
Hi Hermon,
I use tiles with Shale, but Shale uses the stand-alone tiles, so I'm
not sure which view handler is used. But it works ok.
On 19/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi
>
> Has anybody successfully made
> org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl work
On 10/19/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> I think there are no fractal patterns, but fractal architectures,
> which follows same pattern in different levels. Example:
> a typical 3-tier can be considered MVC
> the presentation layer in the 3-tier could itself be an MVC too (jsp
> the
Good Morning Carl
excerpted from Craig:
The challenge with doing this is that the JSP tags run on the server (as the
page is being generated), while the JavaScript runs on the client side. To
integrate the two, you need your tags (and other JSP code) to dynamically
generate the JavaScript func
Thanks to all who responded. I am so much wiser now..:)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Yahoo! Music Unlimite
Hi!
I'm trying to add a compression filter,
http://archive.moreservlets.com/Filter-Code/filters/WEB-INF/classes/more
servlets/filters/CompressionFilter.java
To my web-app.
I want the filter to compress everything that the action servlet returns
(forwards). (mapping = *.do)
However I can't get thi
Paul,
I am dealing with a multiple select tag... Ie
Natalie
-Original Message-
From: Paul Benedict [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 7:11 PM
To: Struts Users Mailing List
Subject: Re: Default values for Multiple Select
Natalie,
Your question isn't clear
Hi
Has anybody successfully made
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl work with Shale?
Meaning that Tiles definitions can successfully be accessed as pages. I.e
somepage.jsf will be mapped to somepage.tiles (a tiles definintion)
Hermod
* * * * * * * * * * * * * * * * *
On 10/19/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
> George
> Could you explain on how MVC patterns are fractal?
> Thanks,
> Martin-
I think there are no fractal patterns, but fractal architectures,
which follows same pattern in different levels. Example:
a typical 3-tier can be considered MVC
[EMAIL PROTECTED] wrote:
Hi Bob, I'll try to give my 1 cent to the topic and also to answer you
more concrete because I believe you want some concrete answers, not
theoretical conversations.
Background: I just started a Struts project with Hibernate. I have chosen to
use the Data Access Ob
I found the solution in a post to another thread from
[EMAIL PROTECTED]
Are you using Windows? Than this it no tomcat specific problem. yout
struts.jar is not deleted because windows locks this file. i had the same
problem. the solution is to add the directory META-INF to your project. put
a file
Have you put *submit()* correctly? It works:
2005/10/19, Carl Smith <[EMAIL PROTECTED]>:
>
> I seem to have a issue using 's onclick. My value of onclick
> is a javascript performing form.submit(), but I found out this is not
> working. However if I chang my button to then the javascript
> is
75 matches
Mail list logo