RE: struts 1.2.9 and cancel button

2007-12-07 Thread Garner, Shawn
, 2007 4:55 PM, Garner, Shawn [EMAIL PROTECTED] wrote: Yeah, I had to step through. Alright I found the problem and if you ask me it is a bug with struts request processor. It does read in the cancellable on the action for the page I press the cancel button on, skips validation, hits the action

RE: struts 1.2.9 and cancel button

2007-12-07 Thread Garner, Shawn
in your method controller), however it's worth considering since 1.3.8 solves a lot bugs and security fixes. Garner, Shawn wrote: Yeah, we have preprocessing to do. I've hardly ever went right to a JSP page and this seems to be pretty common from the Struts Apps I've seen. I'd say after

struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
We trying to use the htm:cancel button but it is not working. I've followed the instructions here http://wiki.apache.org/struts/StrutsUpgradeNotes128to129#head-e417741603 dac43bb4fbde589271c568309643e4 but we are still getting a org.apache.struts.action.InvalidCancelException We're

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
input type=submit name=org.apache.struts.taglib.html.CANCEL tabindex=2 value=Cancel onclick=bCancel=true; class=cancelbutton Which there is no bCancel variable in the source Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent:

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
Subject: Re: struts 1.2.9 and cancel button Did you add set-property to the correct action mapping? On Dec 6, 2007 9:42 AM, Garner, Shawn [EMAIL PROTECTED] wrote: We trying to use the htm:cancel button but it is not working. I've followed the instructions here http://wiki.apache.org/struts

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
is attempted). - If the property attribute is not set then validation does not occur and the isCancelled() method will pick it up. Hope this helps! Alberto Garner, Shawn wrote: We trying to use the htm:cancel button but it is not working. I've followed the instructions here http

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at -Original Message- From: Garner, Shawn Sent: Thursday, December 06, 2007 12:39 PM To: Struts Users Mailing List Subject: RE: struts 1.2.9 and cancel button I verified it was the right action, the one in the JSP form

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
Looks to me like you are using once constant and checking for a different one. Looks like a bug to me. That you meant it to be org.apache.struts.action.CANCEL instead of org.apache.struts.taglib.html.CANCEL Is -Original Message- From: Garner, Shawn Sent: Thursday, December 06, 2007

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
From the stack track it looks like the Mapping.isCancellable is returning false. How can this be? It is in the struts-config.xml under the right action. Shawn -Original Message- From: Garner, Shawn Sent: Thursday, December 06, 2007 1:27 PM To: Struts Users Mailing List Subject: RE

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
(in struts config) with a similar path action path=.../ are overrideable. Garner, Shawn wrote: From the stack track it looks like the Mapping.isCancellable is returning false. How can this be? It is in the struts-config.xml under the right action. Shawn -Original Message- From

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
] On Behalf Of Paul Benedict Sent: Thursday, December 06, 2007 4:38 PM To: Struts Users Mailing List Subject: Re: struts 1.2.9 and cancel button Have you attempted to set a breakpoint in the Controller and step through the cancellable check? On Dec 6, 2007 4:17 PM, Garner, Shawn [EMAIL PROTECTED

RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-14 Thread Garner Shawn
I am not explicitly calling the reset anywhere. I've also debugged it and can not find anything out of the ordinary. From I can tell it is the request processor that is resetting my form prior to the page displaying that ends up with the checkboxes not checked. Any help? Shawn

[HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-13 Thread Garner Shawn
I reset my checkboxes and a multibox in a form reset method but then when I come back to the page the values arn't checked. If I don't reset them then it won't register them as not checked anymore. How do I fix this? Shawn -

RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-13 Thread Garner Shawn
1. Yes 2. Yes 3 In ActionForm.reset If I comment out my reset method then it populates the checkboxes based on the form values like I want however I then loose the ability to only get the checked value put into my action form after the page is submitted.

Re: Subject: Struts 2.0 vs JSF

2006-10-24 Thread Garner Shawn
I was using MyFaces JSF/Tomahawk/Facelets with Tomcat. I like some features of JSF but not all. Plus I kept running into bug after bug between JSF, Tomahawk, Facelets, and Tomcat. I finally ran into troubles with JSTL and Facelets so I switched to Struts 2 and sitemesh. I had to write my own

struts-config.xml maintenance question

2006-10-23 Thread Garner Shawn
I was wondering if there was any easy way to find which global forwards and which actions are not being used. I work on a rather large project with a giant struts-config.xml and I worried that I will have to search each one in the entire application to see if it is used. I'm also worried about

Re: Re: [Struts 2] s:url method attribute being ignored

2006-10-10 Thread Garner Shawn
Shawn -- Forwarded message -- From: Don Brown [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Date: Mon, 9 Oct 2006 19:33:58 -0700 Subject: Re: [Struts 2] s:url method attribute being ignored What is the url the tag generates? Don On 10/9/06, Garner Shawn

[Struts 2] s:url method attribute being ignored

2006-10-09 Thread Garner Shawn
I set the action and method attributes on the s:url tag and it's still calling the execute method. Any help? Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[struts2] request.isUserInRole

2006-10-08 Thread Garner Shawn
Is there an easy way to call this using a s:if tag in a JSP? Right now using a JSP scriptlet but though I should be able to do it with some tags instead. Also is there a way to apply this to actions in the struts.xml config file? Shawn

[struts2] setting a value to be set in another action

2006-10-08 Thread Garner Shawn
I'm in my login action and want to set a value so that it gets set in my user action. I've tried all the maps and nothing seems to work. Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[struts2] redirecting to a struts action in a filter

2006-10-04 Thread Garner Shawn
I have a filter and I'm trying to check a session value is set for security. I'm putting my filter to the /admin/* url mapping. My filter is getting hit but then if I try to do a redirect to a struts action it seems like I get some kind of infinite filter loop and is choking, I'm kind of new is

[s2] calling defferent methods in action on submit button press

2006-10-03 Thread Garner Shawn
I'm trying to calldefferent methods in action on button press. I filled out the action attribute on the s:submit buttons to be myAction!update myAction!add myAction!delete which I'm expecting it to call the add, update, and delete methods in my action. Is this all I need to do because I'm

[s2] form template

2006-10-01 Thread Garner Shawn
I just did my first form in a JSP and it has some kind of default format being applied to it. I'm not sure where it's comming from but I'd like to know how to override/remove it. I assume it's some kind of velocity or freemarker template being applied but I don't know how to get rid of it or

[help] struts 1.2.9 exposing struts resource bundle to jstl

2006-09-28 Thread Garner Shawn
I want to be able to refer to the struts resource bundle using the fmt:message tag. I've been looking at the reference and I'm not sure the JSTL LocalizationContext is interchangeable with a MessageResources. Is there an easy way to do this?

[Struts 2][Sitemesh] how do you use org.apache.struts2.sitemesh.TemplatePageFilter

2006-09-27 Thread Garner Shawn
Can somebody show me an implementation of this class? I'm not sure what I'm suppose to do with the abstract method. Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Struts 2] strange behavior on s:url

2006-09-27 Thread Garner Shawn
I'm seeing some kind of inconsistent rendering and I don't know why: a class=credit href=s:url value='/backHome.action' includeParams='none'/Home/a | a class=credit href=s:url value='/products.action' includeParams='none'/Products/a renders as a class=credit

[Struts 2][Sitemesh] s:url in decorator file and html file

2006-09-25 Thread Garner Shawn
I'm still not sure why my decorator JSP has scriptlet values not evaluated when decorating a HTML file. I think it is the same reason the s:url doesn't render the context path too though. I'm not exactly sure how it can evaluate the decorator:applyDecorator but then the scriptlet doesn't know

RE RE: [Struts 2][Sitemesh] s:url in decorator file and html file

2006-09-23 Thread Garner Shawn
I can't get to the page without sitmesh. It decorates all the navigation. I really think it's a struts 2 problem. I worked around it by changing to s:property and using a JSP scriptlet to get the context path. Is there a way to get the context path using a struts 2 tag? Shawn

[Struts 2][Sitemesh] s:url in decorator file and html file

2006-09-21 Thread Garner Shawn
I have a subdirectory with an html file when I click on a link it takes me to the html file. A decorator with navigation links decorates the html page. The navigation links are relative to the current directory instead of the context path. I didn't think it was suppose to du this with s:url

[Struts 2] dynamic mapping in struts.xml config file

2006-09-21 Thread Garner Shawn
Is there any wat to map to dynamic results? action name=product class=com.age.j.soft.action.ProductAction result/product/%{dynamic_product}/default.jsp/result /action - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[Struts 2] problem with s:set and s:if

2006-09-17 Thread Garner Shawn
I'm not sure what I'm doing wront but I only want to write out the table row and table data tags if it is a new milestone different than the last one. I seem to get either all or none here. Can somebody help me? table border=1 cellspacing=0 cellpadding=4 bordercolor=#00

Re: RE: [Struts 2] link not rending from iterator

2006-09-14 Thread Garner Shawn
I figured it out finally. I was using url as my bean property name when it was actually url. I must have gotten it switched around somehow. Thanks for the help. Shawn On 9/13/06, Garner Shawn [EMAIL PROTECTED] wrote: Also I just saw that the s:a tag doesn't support the target attribute. I

[Struts 2] link not rending from iterator

2006-09-13 Thread Garner Shawn
s:iterator value=#session.downloadsList tr td s:property value=name/ /td td

RE: RE: [Struts 2] link not rending from iterator

2006-09-13 Thread Garner Shawn
Doesn't the a tag work via XMLHttpRequest instead of normal HttpRequest? I did consult the tag reference before posting. I have it bookmarked. I'm not sure about the differences but I think I'd like to stay with HttpRequest if I can. Shawn -- Forwarded message -- From: David

Re: RE: [Struts 2] link not rending from iterator

2006-09-13 Thread Garner Shawn
Also I just saw that the s:a tag doesn't support the target attribute. I want my link to open in a new window. Shawn On 9/13/06, Garner Shawn [EMAIL PROTECTED] wrote: Doesn't the a tag work via XMLHttpRequest instead of normal HttpRequest? I did consult the tag reference before posting. I

Re: Re: [Struts 2] setting spring bean from action

2006-09-11 Thread Garner Shawn
but I think it'd be just as easy to set the bean back into spring. Also are spring beans scoped? Application, Session? Shawn 2006/9/10, Ted Husted [EMAIL PROTECTED]: On 9/9/06, Garner Shawn [EMAIL PROTECTED] wrote: I want to set the value of the spring bean defined in the spring xml file. I

[help] html-el:select in logic:iterate loop

2006-09-11 Thread Garner Shawn
I have a html-el:select in a logic loop and the values are not being retained after submtitting the form and returning with a validation action error. The html-el:text fields values are being retained and they are in the exact same object. logic:iterate id=address type=mypackage.AddressVO

Re: [help] html-el:select in logic:iterate loop

2006-09-11 Thread Garner Shawn
, Garner Shawn [EMAIL PROTECTED] wrote: I have a html-el:select in a logic loop and the values are not being retained after submtitting the form and returning with a validation action error. The html-el:text fields values are being retained and they are in the exact same object. logic:iterate id

[Struts 2] setting spring bean from action

2006-09-09 Thread Garner Shawn
I want to set the value of the spring bean defined in the spring xml file. I have the value in the action but I want to set the spring bean's value with it. Any help? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[HELP][Struts 2] problem initializing hibernate in spring xml file

2006-09-08 Thread Garner Shawn
ERROR main org.hibernate.tool.hbm2ddl.SchemaExport - Access denied for user: '[EMAIL PROTECTED]' to database 'agejsoft' ERROR main org.hibernate.tool.hbm2ddl.SchemaExport - Unsuccessful: create table products (product_id integer not null auto_increment, product_name varchar(255), product_desc

RE: RE: [HELP][S2] spring configuration of hibernate

2006-09-07 Thread Garner Shawn
What is all this hibernate.c3p0 stuff and where can I find documentation on what to use? Where can I find the spring-hibernate3 examples at? Last I knew the props were just suppose to be prefixed with hibernate. Thanks, Shawn -- Forwarded message -- From: David Friedman [EMAIL

[HELP][S2] spring configuration of hibernate

2006-09-06 Thread Garner Shawn
I'm getting the following: SEVERE: Error listenerStart I know it's the spring file because if I comment everything out it works fine. ?xml version=1.0 encoding=UTF-8? !DOCTYPE beans PUBLIC -//SPRING//DTD BEAN//EN http://www.springframework.org/dtd/spring-beans.dtd; beans default-autowire=no

[HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread Garner Shawn
I am trying to use sitemesh with struts 2. I tried to merge the sitemesh blank in with the struts blank wars. I get the Struts is up and running page but I can't tell that sitemesh is working at all. Can somebody tell me what I'm doing wrong? From what I can tell the home.jsp should be getting

RE: RE: [HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread Garner Shawn
/decorators/main.jsp look like? Have you tried changing your mapping from * to /* as the documentation suggests? And yes, I've used SiteMesh a few times and had no problems with it. Regards, David -Original Message- From: Garner Shawn [mailto:[EMAIL PROTECTED] Sent: Saturday, September 02, 2006

RE: RE: [HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread Garner Shawn
For some reason I had to add the dispatchers to the following: filter-mapping filter-namesitemesh/filter-name url-pattern/*/url-pattern dispatcherFORWARD/dispatcher dispatcherREQUEST/dispatcher /filter-mapping I also had to upgrade from 2.3 xml

Re: Re: [Struts 2] Templating available like Tiles

2006-08-28 Thread Garner Shawn
Many WW/S2 developers use SiteMesh as an alternative to Tiles. * http://today.java.net/pub/a/today/2004/03/11/sitemesh.html Sitemesh sounds cool, I tried to figure it out by the examples and docs but came up a little short on figuring it out. Can somebody give me a simple example how to do

[Struts 2] Templating available like Tiles

2006-08-25 Thread Garner Shawn
Is there templating available like Tiles where I can define a template JSP with a header,side menu, body, and footer and then just reuse it accross pages? I see there are themes and templates in the documentation but it usually is simple pages or bits of code generated so I'm not sure if this

[HELP] html-el causing jrunx.compiler.DefaultCFE: Compiler errors

2006-08-24 Thread Garner Shawn
html-el:text used the indexed=true ... This works fine in two development environments and doesn't work in the system test machine and one development environment. jrunx.compiler.DefaultCFE: Compiler errors: Found 3 semantic errors compiling

Struts 2.0 GA Production Ready Release

2006-08-17 Thread Garner Shawn
When is there going to be a Struts 2.0 GA Production Ready Release? I was looking over it and it looks pretty cool. Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9

2006-07-14 Thread Garner Shawn
I'm not sure the JRun which is only J2EE 1.3 compliant supports the requirements for Struts 1.3.x or 2.0. Also I'm not looking to upgrade to the latest or greatest which might introduce more bugs. I'm not trying to get artificial reasons. I'm trying to get real reasons that others know of off

[HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9

2006-07-13 Thread Garner Shawn
I need to come up with some reasons to upgrade from Struts 1.1 to 1.2.9 in production. These need to be business reasons that will convince my program manager it's worth my time. I would like to do this and thought people on this list might be able to come up with some reasons pretty easily.

[HELP] info [axis] Initializing, config='ApplicationResources', returnNull=true

2006-06-28 Thread Garner Shawn
We are getting the following statement a bunch of times in our JRun's logs: info [axis] Initializing, config='ApplicationResources', returnNull=true I thought it only did this once before when the web application started up but now we see it in the log all the time and the log is getting huge

Re: [HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
action=/someAction name=paramsMapSome Where/html:link -Adam -Original Message- From: Garner Shawn [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 11:24 AM To: user@struts.apache.org Subject: [HELP] bean:define and Map bean:define id=paramsMap type=java.util.Map/ I get a can

Re: [HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
with a default constructor, so why duplicate that functionality in a Struts specific tag? -Adam -Original Message- From: Garner Shawn [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 12:02 PM To: Struts Users Mailing List Subject: Re: [HELP] bean:define and Map Thanks, this works. Can you

Re: Help on Validation

2006-06-15 Thread Garner Shawn
I like to put any basic validations like required fields, field size, and content (alphanumeric, date format) into the form. Anything that requires a database call or extended business logic I do in the action and delegate it off to a business/DAO class. I find it is easier to manage things if

RequestUtils.message in struts 1.1

2006-04-24 Thread Garner Shawn
I'm trying to get my Spanish text using the RequestUtils.message method. I get my English just fine when using the following but when the locale is set to Spanish in the action class then this doesn't work: RequestUtils.message(pageContext, Globals.MESSAGES_KEY, Globals.LOCALE_KEY, (String)

Re: Re: [OT] Best way to serve PDF with iText

2006-04-05 Thread Garner Shawn
@struts.apache.org Date: Tue, 04 Apr 2006 17:48:57 -0400 Subject: Re: [OT] Best way to serve PDF with iText Garner Shawn wrote: Only think I can think of is that as a servlet the it wouldn't have access to the struts user session data Why not? Is there more than one session? Dave

[OT] Best way to serve PDF with iText

2006-04-04 Thread Garner Shawn
I was wondering if anyone could give me any pros or cons of serving a dynamically generated PDF file via a servlet or a struts action. Only think I can think of is that as a servlet the it wouldn't have access to the struts user session data and would have to post necessary information for it to

[tiles] tabsLayout.jsp location

2006-03-24 Thread Garner Shawn
Is the tabsLayout.jsp a page that comes with the struts binary distribution in a jar somewhere or is this a file I have to actually create? Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: problems with html:image enclosed by a html:link

2006-03-14 Thread Garner Shawn
Check out the api here: http://struts.apache.org//struts-doc-1.2.8/userGuide/struts-html.html html:image is a submit button on a form with an image instead of a button. html:img is your standard image that is not a button 1) you can use html:link with html:img or 2) you could just use html:image

layout:form and request scoped forms

2006-03-06 Thread Garner Shawn
Is layout:form the best approach for doing tabbed forms in struts? I was also curious how it saves the data enterred in one tab when you switch another tab if the form is request scoped? SHawn

[OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Garner, Shawn
Can anyone give me pros and cons of using Ruby on Rails verses a Java Base Web Application (Struts, JSF, etc)? Seems like Rails is moving towards less or no configuration files while JSF/Shale is leaning towards more. Shawn

RE: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Garner, Shawn
on rails VS Java Based Web Applications Well RoR is a wonderful thing if you are playing. But you can't develop and you have no chance to maintain a serious application with it. So the proper question would be RoR or php and php would probably win :-) Leon On 2/20/06, Garner, Shawn [EMAIL PROTECTED

RE: [OT] Ruby on rails VS Java Based Web Applications

2006-02-20 Thread Garner, Shawn
available without ever rebooting or touching xml again. Between that and the Spring/Hibernate/Middlegen love boat and you'll think twice about Rails. -- James Mitchell EdgeTech, Inc. http://edgetechservices.net/ 678.910.8017 Skype: jmitchtx On Feb 20, 2006, at 2:10 PM, Garner, Shawn wrote: Can

RE: Cannot find bean message in any scope

2006-02-14 Thread Garner, Shawn
Make sure you have a form-bean and action defined in your struts config and that they map to actual classes by checking the class names and package names. The JSP page will reference the form-bean in the struts config through the action declaration on html:form. Make sure all your controls with

RE: memory usage

2006-02-14 Thread Garner, Shawn
Yeah, but there is a weight class to it. Shawn -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:20 AM To: Struts Users Mailing List Subject: Re: memory usage LOL! That's like buying a truck from Ford, and then asking them how much

RE: memory usage

2006-02-14 Thread Garner, Shawn
You can tell him numbers with how many actions and how many form-beans. The memory the Servlet itself should be pretty constant. Shawn -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 12:28 PM To: Struts Users Mailing List Subject:

security struts action servlet

2006-02-10 Thread Garner, Shawn
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

RE: With a new project, what technologies should I use?

2006-02-10 Thread Garner, Shawn
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

RE: security struts action servlet

2006-02-10 Thread Garner, Shawn
List Subject: Re: security struts action servlet On 2/10/06, Garner, Shawn [EMAIL PROTECTED] wrote: 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

RE: security struts action servlet

2006-02-10 Thread Garner, Shawn
10, 2006 2:35 PM To: Struts Users Mailing List Subject: Re: security struts action servlet 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

RE: Struts Form Population

2006-02-06 Thread Garner, Shawn
I believe it is the get method. So if you're property is named testProperty then you need a public String getTestProperty() and a public setTestProperty(String szTestProperty). When the JSP page is displayed it calls getTestProperty to populate the value. When the page is submitted it calls

RE: Switch between applications

2006-02-06 Thread Garner, Shawn
I think contextRelative=true is deprecated and you need to use module=neoAdmin and module=neoLetter instead. Shawn -Original Message- From: Marcio Ghiraldelli [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:35 AM To: user@struts.apache.org Subject: Switch between

RE: Switch between applications

2006-02-06 Thread Garner, Shawn
http://struts.apache.org//struts-doc-1.2.8/api/index.html Looks like it has to start with a / also so module=/neoAdmin and module=/neoLetter -Original Message- From: Garner, Shawn Sent: Monday, February 06, 2006 2:42 PM To: 'Struts Users Mailing List' Subject: RE: Switch between

[tiles] question on tiles functionality

2006-02-03 Thread Garner, Shawn
I was looking at the examples at http://struts.apache.org/struts-tiles/examples.html http://struts.apache.org/struts-tiles/examples.html and I didn't really see a good example of what I was looking for. I'm doing something like this for every page: file: somepage.jsp %@ taglib

RE: [OT] Re: Image not getting displayed !

2006-02-03 Thread Garner, Shawn
Try img src=%=request.getContextPath()%/images/struts-power.gif align=right border=0/ Shawn -Original Message- From: Jitendra Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 10:54 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Image not getting displayed ! I

RE: [OT] Re: Image not getting displayed !

2006-02-03 Thread Garner, Shawn
Or try the html:base tag. Not sure what it does exactly. Shawn -Original Message- From: Jitendra Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 10:54 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Image not getting displayed ! I will try to be clearer

[OT] Serving an pdf file in a struts action

2006-02-01 Thread Garner, Shawn
Is there any trick in sending the user a pdf by setting the content type to application/pdf and then using the response.getWriter() to write out the data? Shawn This email may contain confidential material. If

RE: Action Form error.

2006-01-27 Thread Garner, Shawn
action path=/sectorSetUp name=sectorForm Is sectorForm declared in the top of your struts-config file? Make sure the type is valid. form-bean name=sectorForm type=web.form.SectorForm / Also check that your JSP has htm:form action=/sectorSetUp.do... Shawn

RE: [HELP] Can't not get parameter when submit a form form metho d=POST enctype=multipart/form-data

2006-01-27 Thread Garner, Shawn
parameters from url address. http://something.do?u=nothing. - Original Message - From: Garner, Shawn [EMAIL PROTECTED] To: 'Struts Users Mailing List ' user@struts.apache.org Sent: Friday, January 27, 2006 10:33 AM Subject: RE: [HELP] Can't not get parameter when submit a form form method

RE: Action Form error.

2006-01-27 Thread Garner, Shawn
I think there is a ConsoleAppender for log4j. Otherwise I believe you can do a System.out.println. Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 7:22 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re:

RE: [HELP] Can't not get parameter when submit a form form metho d=POST enctype=multipart/form-data

2006-01-26 Thread Garner, Shawn
Use an html hidden property to get this value. Shawn -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, January 25, 2006 1:31 PM To: user@struts.apache.org Subject: Re: [HELP] Can't not get parameter when submit a form form method=POST

RE: [HELP] Can't not get parameter when submit a form form metho d=POST enctype=multipart/form-data

2006-01-26 Thread Garner, Shawn
/form-data hidden tag input type=hidden ? You can not get that html hidden property in reset method of FormBean ... any solution :( - Original Message - From: Garner, Shawn [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Friday, January 27, 2006 12:38 AM

[JSF] rt tld

2006-01-25 Thread Garner, Shawn
How come there isn't a rt.tld for JSF that takes in runtime expressions? I understand that views may return xml or html views instead of jsp but arn't tld's basically a JSP thing? I understand this isn't a concern with JSP 2.0 but I'm still using JSP 1.2. Shawn

RE: A util class for EJB tier similar to BeanUtils?

2006-01-25 Thread Garner, Shawn
I don't see why this would couple the web tier to the ejb tier. All it would couple you to is the commons-beanutils.jar which you should be able to use even if you don't use struts. Shawn -Original Message- From: Sharon Jolly [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006

RE: rt tld

2006-01-25 Thread Garner, Shawn
. Shawn -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 12:06 PM To: Struts Users Mailing List Subject: Re: rt tld On 1/25/06, Garner, Shawn [EMAIL PROTECTED] wrote: How come there isn't a rt.tld for JSF that takes in runtime expressions

el tags and regular struts tags

2006-01-24 Thread Garner, Shawn
I see the bean-el has the same shortname as bean. So if I want to use the bean-el tags then should I just use the el tags instead of the regular tags? I was declaring both the regular struts tags and el tags in the web.xml file until I saw they had the same shortname when declaring them in jsp.

difference between x.tld and x-rt.tld

2006-01-24 Thread Garner, Shawn
What is the difference between x.tld and x-rt.tld or any other tag that has version of the tld with or without the rt suffix? Shawn This email may contain confidential material. If you were not an intended

RE: difference between x.tld and x-rt.tld

2006-01-24 Thread Garner, Shawn
between x.tld and x-rt.tld On 1/24/06, Garner, Shawn [EMAIL PROTECTED] wrote: What is the difference between x.tld and x-rt.tld or any other tag that has version of the tld with or without the rt suffix? Using Google nowadays is scary, eh? ;-) Come on, they will not come to you unless you

RE: el tags and regular struts tags

2006-01-24 Thread Garner, Shawn
: el tags and regular struts tags Garner, Shawn wrote: I see the bean-el has the same shortname as bean. So if I want to use the bean-el tags then should I just use the el tags instead of the regular tags? I was declaring both the regular struts tags and el tags in the web.xml file until I

tabs struts tutorial

2006-01-23 Thread Garner, Shawn
Is there a way to do page tabs in struts? I seem to recall somebody saying there was. Also does anyone know of a good struts tutorial/refresher? I'm starting up a project with a person who hasn't worked with struts for a few years. Shawn

[Struts EL JSTL]

2006-01-23 Thread Garner, Shawn
I'm not sure what exactly is Struts EL and how it compares to the JSTL tags. I've used JSTL 1.0 tags and see how there is overlap between some of the Struts logic/bean tags but I fail to see what exactly Struts EL is. I've read http://struts.apache.org/struts-el/index.html

RE: [OT]Query and update LDAP

2006-01-20 Thread Garner, Shawn
I believe this is handled at the J2EE server level. Shawn -Original Message- From: Priya Saloni [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 2:47 PM To: Struts Users Mailing List Subject: [OT]Query and update LDAP Hi There, As per the requirement in my project i need to

RE: Generating dropdown lists using html tag

2006-01-19 Thread Garner, Shawn
Isn't there an options tag that takes in a collection? Wouldn't that be more optimized and easier? Shawn -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 10:16 AM To: Struts Users Mailing List Subject: Re: Generating dropdown lists using

RE: [shale] starting server errors

2006-01-14 Thread Garner, Shawn
Users Mailing List user@struts.apache.org Sent: Friday, January 13, 2006 1:38 AM Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED] wrote: Googled and couldn't find anything and not sure what to try and still have this error: 01/12 16:16:18 error Error

RE: [shale] starting server errors

2006-01-13 Thread Garner, Shawn
an updater on JRun. They might have added that support after the original version was released. Shawn -Original Message- From: [EMAIL PROTECTED] To: Struts Users Mailing List Sent: 1/13/2006 12:38 AM Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED

RE: [shale] starting server errors

2006-01-13 Thread Garner, Shawn
List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED] wrote: Googled and couldn't find anything and not sure what to try and still have this error: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled

[OT JSF/Shale]

2006-01-12 Thread Garner, Shawn
I want to use a link in one view page to go to another view without going through a bean action. Something like this? I thought maybe I could just use the jsp:forward tag and put the name of the jsp page. view1.jsp f:view h:commandLink forward=/view2.jsp h:outputText

[JSF/SHALE] 403 error

2006-01-12 Thread Garner, Shawn
http://localhost:8101/totwcf/totwcf07/ http://localhost:8101/totwcf/totwcf07/ I have a faces-totwcf.xml file that is bound in jrun to totwcf context. When I visit http://localhost:8101/totwcf/totwcf07/ http://localhost:8101/totwcf/totwcf07/ I get a 403 error (You are not authorized to view

[shale] starting server errors

2006-01-12 Thread Garner, Shawn
I found one reason it wasn't working. I had to go back to this version of web-app. !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2.3.dtd; After that though I'm getting some errors upon startup: 01/12

  1   2   >