RE: struts 1.2.9 and cancel button

2007-12-07 Thread Garner, Shawn
can handle your use case 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 S

RE: struts 1.2.9 and cancel button

2007-12-07 Thread Garner, Shawn
nt for your expectation. Paul On Dec 6, 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

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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]> wrote: >

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
: struts 1.2.9 and cancel button Can you confirm that your form is pointing to the right path? Also, check that you are not overriding the same path (in struts config) with a similar path are overrideable. Garner, Shawn wrote: >>From the stack track it looks like the Mapping.isCancella

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: 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
6) 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

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 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 > > htt

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
Which there is no bCancel variable in the source Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: Thursday, December 06, 2007 12:24 PM To: Struts Users Mailing List Subject: Re: struts 1.2.9 and cancel button And what does the

RE: struts 1.2.9 and cancel button

2007-12-06 Thread Garner, Shawn
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

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 using

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 --

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.

[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 - To

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 cust

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 in

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

2006-10-10 Thread Garner Shawn
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 <[EMAIL PROTECTED]> wrote: I set the action and method attributes on the s:url tag and it's still calling

[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] 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 P

[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] 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 t

[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 getting

[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 ove

[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] 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: Home | Products renders as Home | Products Any help? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[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][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 any

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] dynamic mapping in struts.xml config file

2006-09-21 Thread Garner Shawn
Is there any wat to map to dynamic results? /product/%{dynamic_product}/default.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[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 It render

[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? MilestoneTentative Release DateFeatures

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 a

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 be

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 F

[Struts 2] link not rending from iterator

2006-09-13 Thread Garner Shawn

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

[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.

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

2006-09-11 Thread Garner Shawn
value 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 defin

[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 co

[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 varc

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" <[EM

[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. http://www.springframework.org/dtd/spring-beans.dtd";>

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: sitemesh /* FORWARD REQUEST I also had to upgrade from 2.3 xml definition to the following for 2.4 http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc

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

2006-09-02 Thread Garner Shawn
ot;/*" 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 9:56 AM To: user@struts.apache.org Subject: [HELP][Struts

[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: [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 a

[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 can

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

2006-08-24 Thread Garner Shawn
*** Error: No match was found for method "setIndexed(java.lang.String)". 459. _tag18.setIndexed(__constantTable.getString(9)); <-> *** Error: No match was found for method "setIndexed(java.lang.String)". 535. _tag21.setIndexed(__constantT

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 han

[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. Th

[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 i

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 th

Re: [HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
any class 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,

Re: [HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
value pairs using the tag from JSTL. You MUST to use a concrete implementation of java.util.Map, not the interface. Some Where -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

[HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
I get a can not set null value form paramsMap. How do I specify the key, value pairs? This is to pass into html:link name="" for request parameters when they click on the link. Thanks. Shawn - To unsubscribe, e-mail: [EMAIL

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) keyTab

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

2006-04-05 Thread Garner Shawn
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 s

[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: [EMAIL

RE: problems with enclosed by a

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 i

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

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

2006-02-20 Thread Garner, Shawn
instantly 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, Shaw

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

2006-02-20 Thread Garner, Shawn
Re: [OT] Ruby 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,

[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: 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: Re:

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: 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 pro

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

2006-02-13 Thread Garner, Shawn
Hibernate says it can call stored procedures in it's documentation. I've never done it though. Shawn -Original Message- From: Vu, Thai [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 5:05 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: With a new project, what t

RE: security struts action servlet

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

RE: security struts action servlet

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

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 an

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 the

[shale/JSF] hosting recommendations?

2006-02-08 Thread Garner, Shawn
I was thinking of buying some hosting for a website for my business/projects. I would like to experiment with JSF and Shale and was wondering what others recommended. I was thinking maybe http://www.eapps.com/ because I could get the Tomcat hosting (Virtual Hosting Pla

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 Mailin

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 appli

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 setTe

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 this

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

2006-02-03 Thread Garner, Shawn
Try 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 this time !! I am developing a Struts project using myecl

[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 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 uri="http:

[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 y

RE: Need some advice

2006-01-31 Thread Garner, Shawn
Why would you need to do this? Seems like a strange design to me. Shawn -Original Message- From: Sony Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 9:42 AM To: user@struts.apache.org Subject: Need some advice Hi Friends, I have an ActionForm and this ActionForm conta

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: Ac

RE: [HELP] Can't not get parameter when submit a form

2006-01-27 Thread Garner, Shawn
ng.do?u=nothing. - Original Message - From: "Garner, Shawn" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List '" Sent: Friday, January 27, 2006 10:33 AM Subject: RE: [HELP] Can't not get parameter when submit a form > Why woul

RE: Action Form error.

2006-01-27 Thread Garner, Shawn
>>>path="/sectorSetUp" >> name="sectorForm" Is sectorForm declared in the top of your struts-config file? Make sure the type is valid. Also check that your JSP has ... Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thurs

RE: [HELP] Can't not get parameter when submit a form

2006-01-26 Thread Garner, Shawn
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'" Sent: Friday, January 27, 2006 12:38 AM Subject: RE: [HELP] Can'

RE: [HELP] Can't not get parameter when submit a form

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 Pham Anh Tuan wrote

RE: rt tld

2006-01-25 Thread Garner, Shawn
s an extra step. 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

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 12

[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: 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 i

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

2006-01-24 Thread Garner, Shawn
rence 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

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 recip

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.

[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

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 **

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 acc

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 ht

RE: [shale] starting server errors

2006-01-14 Thread Garner, Shawn
AIL PROTECTED]> To: "Struts Users Mailing List" 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

RE: [shale] starting server errors

2006-01-13 Thread Garner, Shawn
iling 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 Fil

  1   2   >