Re: Struts 2: Does the Indexed List Example Work?

2011-05-03 Thread Joe
Dave Newton-6 wrote: > The above JSP still has parens instead of square brackets. I tried it both ways, parens last, so I only posted the one JSP. Chris Pratt: > If youvare trying to update an existing list make your Action implement > Preparable > and retrieve the existing list so you can re

Re: Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Joe
Dave Newton-6 wrote: Try the square brackets again. Chris Pratt wrote: Try: value="%{name}" That gets the value into the textbox, but when I submit the form, I get either nothing in the action (square brackets) or an exception (using curly brackets): All my save action does is print out

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Joe
Chris Pratt wrote: Oh, duh, I'm not sure why I didn't see it before. You can either just use %{id} and then you don't need the id="bean" on the s:iterate tag. Or, you can use %{#bean.id}. No joy. If I use the tags like so: the page source looks like what I'd expect, but no values in the

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Joe
Chris Pratt wrote: Shouldn't that be: I changed my JSP as indicated and still didn't get values in the text boxes. The source of the page looks like this: which to me indicates that it is having a problem with the "bean.id" part of the equation. Wouldn't square brackets indicate an index

Re: Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Joe
On Apr 29, 2011, Dave Newton-6 wrote: >What does the JSP look like? >Dave Sorry, it is the same as the example with the exception of fixing a minor typo in the textfield tag (the example is missing a colon): <%@ taglib prefix="s" uri="/struts-tags"%> Experimenting with indexed

Struts 2: Does the Indexed List Example Work?

2011-04-29 Thread Joe
/test.jsp If I browse to the prepTest url, I get 3 text boxes, so the iterator is working, but the boxes are empty. Has anyone else had success with this example or accessing List elements by the List element ID's rather than using something like status.id? Thanks,

RE: null and zero issue

2009-07-20 Thread Russo, Joe
I just put a post out on Enterprise Java Community under web services. Thanks. -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Friday, July 17, 2009 6:51 PM To: Struts Users Mailing List Subject: Re: null and zero issue Russo, Joe wrote: > I know this may

null and zero issue

2009-07-17 Thread Russo, Joe
solve this problem. Joe

Removing default mappings in Convention plugin [SEC=UNCLASSIFIED]

2009-05-11 Thread Crombie, Joe - BRS
// do stuff } @Action(value = "second", ...) public String methodTwo() { // ... } } Thanks for any ideas, Joe Joe Crombie Web Application Developer Department of Agriculture, Fisheries and Forestry, Australia "If you type &#

Re: how to re-init / update parameter of an interceptor during runtime?

2009-04-02 Thread Joe Lam
thx for your reply. actually I am not going to change the param regularly. this is more like "just in case I want to change the setting in the future". thx Joe Nils-Helge Garli wrote: > > Why do you need to do that? > > Nils-H > > On Fri, Apr 3, 2009 at 5:05

how to re-init / update parameter of an interceptor during runtime?

2009-04-02 Thread Joe Lam
to change the interceptor behavior. thanks. Joe -- View this message in context: http://www.nabble.com/how-to-re-init---update-parameter-of-an-interceptor-during-runtime--tp22861150p22861150.html Sent from the Struts - User mailing list archive at Nabble.com

RE: logic:iterate issue

2009-03-11 Thread Russo, Joe
Pawel, Thank you very much for responding. I tried the following and it worked. Thanks again, Joe -Original Message- From: Pawel Wielgus [mailto:poulw...@gmail.com] Sent: Wednesday, March 11, 2009 6:46 AM To: Struts Users Mailing List Subject: Re: logic:iterate

RE: logic:iterate issue

2009-03-10 Thread Russo, Joe
- From: Russo, Joe [mailto:rus...@cadmus.com] Sent: Tuesday, March 10, 2009 2:28 PM To: Struts Users Mailing List Subject: logic:iterate issue Sorry forgot to change subject. -Original Message- From: Russo, Joe [mailto:rus...@cadmus.com] Sent: Tuesday, March 10, 2009 2:25 PM To

RE: Convention Plugin and Action Chaining

2009-03-10 Thread Russo, Joe
n existing thread on another topic :) musachy On Tue, Mar 10, 2009 at 2:25 PM, Russo, Joe wrote: > I defined the below code and would like to use the iterate functionality > witin the jsp.  This code does not cause any error, but does not display > any data.  Any ideas why? > > p

logic:iterate issue

2009-03-10 Thread Russo, Joe
Sorry forgot to change subject. -Original Message- From: Russo, Joe [mailto:rus...@cadmus.com] Sent: Tuesday, March 10, 2009 2:25 PM To: Struts Users Mailing List Subject: RE: Convention Plugin and Action Chaining I defined the below code and would like to use the iterate functionality

RE: Convention Plugin and Action Chaining

2009-03-10 Thread Russo, Joe
I defined the below code and would like to use the iterate functionality witin the jsp. This code does not cause any error, but does not display any data. Any ideas why? package com.cadmus.rpm.domain.custom; import java.io.Serializable; import java.util.Date; import java.util.ArrayList; publi

RE: logic:notEqual does not appear to work correctly

2008-11-10 Thread Russo, Joe
This works. if(!artMetId.equals(partMetId)){ For some reason the logic:notEqual tag does not do a dot equals comparision but a ==. -Original Message- From: Russo, Joe [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 9:49 AM To: Struts Users Mailing List Subject

RE: logic:notEqual does not appear to work correctly

2008-11-10 Thread Russo, Joe
Might be Trying now. -Original Message- From: Russo, Joe [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 9:49 AM To: Struts Users Mailing List Subject: logic:notEqual does not appear to work correctly Hi, I am trying to do a comparision on the highlighted code

logic:notEqual does not appear to work correctly

2008-11-10 Thread Russo, Joe
Hi, I am trying to do a comparision on the highlighted code and output in my JSP. For some reason the comparison does not equal 33584. Any ideas why? Thanks, Joe <% System.out.println("artMetId=*" + artMetId + "*"); System

RE: logic tag question

2008-11-05 Thread Russo, Joe
eed to use EL there via the EL tags or JSP 2.0 support, depending on your container. Dave --- On Wed, 11/5/08, Russo, Joe <[EMAIL PROTECTED]> wrote: > From: Russo, Joe <[EMAIL PROTECTED]> > Subject: logic tag question > To: user@struts.apache.org > Date: Wednesday, Novembe

RE: logic tag question

2008-11-05 Thread Russo, Joe
place of the Nested bean:write taglib call. -Original Message- From: Russo, Joe [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 11:52 AM To: user@struts.apache.org Subject: logic tag question Hi, I am trying to use a nested logic tag and I get an error: equal symbol expected

logic tag question

2008-11-05 Thread Russo, Joe
Hi, I am trying to use a nested logic tag and I get an error: equal symbol expected Any help would be appreciated. Thanks, Joe Here is the code: ">

RE: Configure result to go back to page I came from.... [SEC=UNCLASSIFIED]

2008-09-18 Thread Crombie, Joe
Hi Volker, I've used result type httpheader and response-status code 204 for a similar problem: 204 200 HTH, Joe Joe Crombie p. 02 6272 5906 e. [

Javascript error using struts select tag

2008-03-25 Thread Joe Yuen
I am trying to use the tag in my jsp page but am getting the following javascript error, Microsoft JScript runtime error: Object expected. In my jsp page I have: * Here is the javascript funtion that is called when a onchange event is detec

RE: struts 2 vs struts 1+spring

2007-12-22 Thread Joe Yuen
From: [EMAIL PROTECTED] on behalf of Ted Husted Sent: Sat 12/22/2007 6:20 AM To: Struts Users Mailing List Subject: Re: struts 2 vs struts 1+spring On Dec 22, 2007 2:21 AM, Joe Yuen <[EMAIL PROTECTED]> wrote: > Thanks that was a good analogy. I have used Spring and and I like it but then

RE: struts 2 vs struts 1+spring

2007-12-21 Thread Joe Yuen
Thanks that was a good analogy. I have used Spring and and I like it but then let me turn the question around, what do we gain by adding Struts 2 to be used with Spring? -Joe From: Gary Affonso [mailto:[EMAIL PROTECTED] Sent: Fri 12/21/2007 8:27 PM To

RE: struts 2 vs struts 1+spring

2007-12-21 Thread Joe Yuen
iling List Subject: Re: struts 2 vs struts 1+spring Joe Yuen wrote: > I have an application that currently is implemented using struts > 1.2.8 + spring 1.2.8 + hibernate. What would be the advantages to migrate > this > to a struts 2 + hibernate solution? Er, huh? In my experi

struts 2 vs struts 1+spring

2007-12-21 Thread Joe Yuen
I have an application that currently is implemented using struts 1.2.8 + spring 1.2.8 + hibernate. What would be the advantages to migrate this to a struts 2 + hibernate solution?

Latest Opinions on Struts & GWT, and Maven and GWT

2007-12-13 Thread Joe Germuska
to review if anyone challenges me to say what those were!) So again, does anyone have direct experience using Maven and GWT, and if so, how are you going about it? Thanks, Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "I felt so good I told the leader how to follow." -- Sly Stone

[S2] error 404 + sitemesh template

2007-11-22 Thread Joe Lam
only calls an existing file (e.g. a jsp file) or servlet. thank you very much Joe -- View this message in context: http://www.nabble.com/-S2--error-404-%2B-sitemesh-template-tf4855736.html#a13894878 Sent from the Struts - User mailing list archive at Nabble.com

validating a url

2007-09-27 Thread Joe Yuen
What is the right way to validated a url? In my validator.xml file, I have the following entry: allowallschemes true allow2slashes true If I enter a url i.e. http://www.apple.com, the validator complains that it is an invalid url. What else should I be doing??

[S2] regarding "struts.configuration.xml.reload" setting in struts.xml

2007-09-09 Thread Joe Lam
struts.xml configuraton?? Thank you very much Joe -- View this message in context: http://www.nabble.com/-S2--regarding-%22struts.configuration.xml.reload%22-setting-in-struts.xml-tf4412043.html#a12586314 Sent from the Struts - User mailing list archive at

Re: using the action and property tags

2007-09-06 Thread joe bob
sorry, there was a typo in my example, the property value should be " userInfo.displayName". On 9/6/07, joe bob <[EMAIL PROTECTED]> wrote: > > Hello, > I have been using struts 2.0.9 to build my application. In all of my > JSPs I would like to display a welcome p

using the action and property tags

2007-09-06 Thread joe bob
Hello, I have been using struts 2.0.9 to build my application. In all of my JSPs I would like to display a welcome page involving a user name. I already have an action to get/set this value so I would like to do the following in a JSP included in all of my other JSPs: Welcome, However, th

Re: [S2] File Download Example in showcase doesn't work with contentType application/x-download using IE

2007-08-30 Thread Joe Lam
; something useful. > > The exception you quoted is unrelated and caused because you're writing > to the output stream within a JSP that's already doing so. That code is > better suited to its own servlet. > > Hope that helps, > regards, > Jeromy Evans > > J

[S2] File Download Example in showcase doesn't work with contentType application/x-download using IE

2007-08-30 Thread Joe Lam
n in log file ERROR [lina.core.StandardWrapperValve: 250] Servlet.service() for servlet default threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response I think stream result type should be the best solution. but I cant make IE to download the file. Any

Re: [S2] how to get the constants in struts.xml programmatically?

2007-08-22 Thread Joe Lam
Anyone know the answer? Thank you very much Joe Lam wrote: > > In my class, I want to read a constant in struts.xml. > I see some examples using @inject , somehow I cant make it work. > > May someone help me? just wanna to get those constants in struts.xml > (don&

[S2] how to get the constants in struts.xml programmatically?

2007-08-17 Thread Joe Lam
hanks Joe -- View this message in context: http://www.nabble.com/-S2--how-to-get-the-constants-in-struts.xml-programmatically--tf4285007.html#a12197579 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubs

[s2] what is your practice to do Sidebar thing??

2007-08-13 Thread Joe Lam
May I know what is your practice to do Sidebar thing? here the sidebar means a block lets say on the left side showing login form for guest user and showing user menu for logged in user. ? ? or do it in decorator level (sitemesh) ? thank you very much. Joe -- View this message in context

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-05 Thread Joe Lam
This might help http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect Piero Sartini-3 wrote: > > I have the following situation: > a searchfield is on top of a table presenting results. if there is only > one > result

[S2] How to avoid FileUploadInterceptor to save the tmp file?

2007-07-30 Thread Joe Lam
the inputstream (just like using commons fileupload) in my action class and process it in my own way. I hope write a custom interceptor is not the only solution %-| Thank you very much. Joe -- View this message in context: http://www.nabble.com/-S2--How-to-avoid-FileUploadInterceptor-to-save

how to handle unchecking a check box

2007-07-29 Thread Joe Yuen
I am running into a situation where once a user has checked a box and has submitted the form, there is now no way to uncheck the box. What is the proper way to handle this situation? Thanks, Joe

Re: [S2] Multiple Submits with different actions in a Form

2007-07-25 Thread Joe Germuska
button. Things like: work for me in firefox, but don't seem to work in IE. David: Could you provide the rendered HTML that works in one browser but not the other? -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "I felt so good I told the leader how to follow." -- Sly Stone

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
meter("action","create"); actionPerform(); verifyForward("create"); verifyForwardPath("/tiles/PersonEdit.jsp"); verifyNoActionErrors(); } Is that what you mean by initializing struts? Thanks for your reply. -Joe ___

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
asses -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Joe Yuen wrote: > Huh??? What are you talking about? What topic being hijacked??? I am > asking a question. Do you mean that this subject line has already > been used in another thread??? You replied to a message in the "AutoCom

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
Users Mailing List Subject: Re: Advice on unit testing struts action classes -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Do not hijack topics. Please post a new message to user@struts.apache.org to ask a question. - -chris Joe Yuen wrote: > > Can anyone give me any advice on a goo

Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it to work. I get the following error: test: [junit] Testsuite: com.chisq.common.ac

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it to work. I get the following error: test: [junit] Testsuite: com.chisq.common

RE: url validation

2007-06-02 Thread Joe Yuen
? Thanks, -Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Multi lingual web site

2007-05-30 Thread Joe Yuen
- Hash: SHA1 Joe, Joe Yuen wrote: > I'm currently using a > resource file and that all work great except for some select boxes > the data comes from the database where the data is in English. I was > wondering how other people handle this situation? You'll need your table

Multi lingual web site

2007-05-30 Thread Joe Yuen
e the same words in spanish for example? Any ideas?Suggestions? Thanks, -Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Flex front end

2007-04-20 Thread Joe Yuen
, Javascript, etc, is it pretty transparent to migrate your view using Flex or is there alot of work on the backend to get it to work?? -Joe From: Richard Kroll [mailto:[EMAIL PROTECTED] Sent: Fri 4/20/2007 1:01 PM To: Struts Users Mailing List Subject: RE: Flex front

Flex front end

2007-04-20 Thread Joe Yuen
Has anyone had any experience getting Adobe's Flex product to work with struts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] How to handle non UTF characters in XML

2007-04-16 Thread Joe Germuska
discussed much further on the Struts list. Best, Joe On 4/16/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: Hi Here is the code where i read the dom tree and then convert it to a String, then convert this string into Byte array and then user DocumentBuilder().parse to parse it. I get e

Re: [OT] How to handle non UTF characters in XML

2007-04-16 Thread Joe Germuska
actually creates the file as you do in the XML declaration. If your characters aren't UTF-8 then don't use UTF-8. Any decent XML reading software will recognize the encoding when the file is read. Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is tha

Re: problem extending the ComposableRequestProcessor process chain

2007-04-09 Thread Joe Germuska
ckage was first implemented. This should do it, unless you sometimes want the lookup to return Command.PROCESSING_COMPLETE (that is, true) When using "ignoreExecuteResult," LookupCommand always returns Command.CONTINUE_PROCESSING (false). Joe -- Joe Germuska [EMAIL PROTECTED] * http

Is it possible to mix pages that use tiles with those that do not?

2007-03-12 Thread Joe Yuen
I am trying to build an application which some pages use tiles that have a header, body and footer. I've managed to get the pages with those three tiles working but now whenever I want to forward to a page that doesn't have any tiles that page always appears in the body. Could someone explain to

RE: Struts Tiles

2007-03-09 Thread Joe Yuen
lex Wibowo [mailto:[EMAIL PROTECTED] Sent: Thu 3/8/2007 4:54 PM To: Struts Users Mailing List Subject: Re: Struts Tiles Could you post the relevant section of your tiles-config & struts-config ? Cheers. WiB On 3/9/07, Joe Yuen <[EMAIL PROTECTED]> wrote: > > I am using str

Re: Thread.sleep(...) in Struts Action

2007-03-09 Thread Joe Germuska
attacks, you don't want to have to clutter your web application with managing all of that. Why have Apache in the middle if you don't use it for something? ;-) Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: Thread.sleep(...) in Struts Action

2007-03-09 Thread Joe Germuska
ing with Apache than trying to do in your application code. -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Struts Tiles

2007-03-08 Thread Joe Yuen
I am using struts 1.2.9 and am trying to understand how tiles works. I am getting the following error: javax.servlet.ServletException: Can't find Tile context for 'com.chisq.vax.action.VaxAction'. TilesAction subclasses must be called from a Tile What is this "Tile context" that it is complai

Re: How to create an action-mapping to another contaxtPath?

2007-03-05 Thread Joe Germuska
No, the SwitchAction depends on having access to the same ApplicationContext for the destination as that in which it executes. For your purposes, two EARs deployed separately on the same server are no "closer" to each other than if they were on different continents. Joe On 3/5/07, E

Re: How to create an action-mapping to another contaxtPath?

2007-03-05 Thread Joe Germuska
one know about the other. You pretty much have to forget that they are on the same machine. You'd have to use redirects to send users over to the other app, and you'll have to go to some lengths to share any kind of state between the two webapps. Joe On 3/5/07, Edson Alves Perei

Re: What to use instead of tiles in Struts2?

2007-02-26 Thread Joe Germuska
The best way to track this progress is to join the "dev@tiles.apache.org" mailing list. Joe 11/29/2006 08:59 PM 358,273 antlr-2.7.2.jar > 11/29/2006 09:00 PM 118,483 commons-beanutils-1.6.jar > 11/29/2006 09:00 PM90,001 commons-chain-1.1.jar > 11

Re: [S2] Equivalent of Servlet init() method?

2007-02-22 Thread Joe Germuska
ng so... One of the great strengths of Struts 2 is that it does a much better job of hiding the Servlet API, making for components which are much more plausibly unit-testable. Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: [S2] Equivalent of Servlet init() method?

2007-02-22 Thread Joe Germuska
On 2/22/07, Joe Germuska <[EMAIL PROTECTED]> wrote: This page is the place to start on using the Spring plugin with Struts 2: http://struts.apache.org/2.x/docs/spring-plugin.html In short, Spring can instantiate any beans you want, either as singletons or as "prototypes" (tha

Re: [S2] Equivalent of Servlet init() method?

2007-02-22 Thread Joe Germuska
n classes, which would be instantiated by Spring when requested by Struts. Spring would just give you an Action instance with a reference to your factory (although once you start digging in Spring, you might find that you can even hide the Factory and keep your Actions super simple and flexible.)

Re: Action and ActionForm in popup window

2007-02-08 Thread Joe Germuska
reinstall, restart app server, etc? I suggest that not because it's likely to actually fix anything, but sometimes going through the complete process helps you methodically make sure your application is in a consistent state. not sure what else to suggest... Joe On 2/8/07, Yariel Ramos

Re: Action and ActionForm in popup window

2007-02-08 Thread Joe Germuska
tag looks up an ActionForm instance in request or session scope, or creates one if necessary, and uses that bean to "back" the form fields inside which may have values which need to be "filled", as in the case of returning-to-a-form-after-validation-failures. I hope this h

Re: jsessionid appended to URL and page not found`

2007-02-08 Thread Joe Germuska
ly setting this up, but my diagnosis is correct, then the Struts mailing list is not the best place for the question anyway... Joe On 2/7/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Newton wrote: > --- Vinod Kumar <[E

Re: jsessionid appended to URL and page not found`

2007-02-07 Thread Joe Germuska
P proxy in the middle, then what servlet container are you using? I do local development with Tomcat and have for years with it being the HTTP server, and have never had this problem. joe On 2/7/07, Vinod Kumar <[EMAIL PROTECTED]> wrote: Hi All, I have a link to a struts web application in

Re: Struts2, tiles2 and character encoding problem

2007-02-07 Thread Joe Germuska
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: Struts2, tiles2 and character encoding problem

2007-02-07 Thread Joe Germuska
ght kind of monitoring already -- what does Fiddler say if you get a conventional Struts result (ServletDispatcherResult) from your app? What about if you get a JSP directly from the app without going through Struts? Joe On 2/7/07, elin <[EMAIL PROTECTED]> wrote: Thank you for your rep

RE: Using DispatchAction and Struts Tiles

2007-02-06 Thread Joe Yuen
eads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) Any idea of what might be wrong? Thanks. From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tue 2/6/2007 10:17 AM To: Struts Users Mailing List Subject: RE: Using DispatchActi

Re: Struts2, tiles2 and character encoding problem

2007-02-06 Thread Joe Germuska
//issues.apache.org/struts/browse/TILES-28 Joe On 2/6/07, elin <[EMAIL PROTECTED]> wrote: Hi, I use struts2 and tiles2 in my web application. When my tiles result contains data with åäö and I write the data using el, the characters are not displayed correctly. If I write the data wit

Re: Problems with Maven

2007-02-06 Thread Joe Germuska
sary for Mac OS X users (of whom I am one.) Odds are good that your machine has only a JRE installed and not a JDK. The JRE does not include things like tools.jar. Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

RE: Using DispatchAction and Struts Tiles

2007-02-06 Thread Joe Yuen
: Mon 2/5/2007 4:40 PM To: Struts Users Mailing List Subject: Re: Using DispatchAction and Struts Tiles --- Joe Yuen <[EMAIL PROTECTED]> wrote: > Does anyone know if these two can somehow be used > together? Sure, why not? Dave __

Using DispatchAction and Struts Tiles

2007-02-05 Thread Joe Yuen
Does anyone know if these two can somehow be used together? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Producing links

2007-02-04 Thread Joe Germuska
en the question is how to not have duplicate code with the Anchor and Url components. Joe On 2/4/07, Gonçalo Luiz <[EMAIL PROTECTED]> wrote: Hello, Even though the method I'm using to produce links is working, I think of it like a little bit awkward. An example of what I'm sa

Re: struts.xml error - Element type "constant" must be declared

2007-01-31 Thread Joe Germuska
truts 2.0.1 Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: newbie question...struts2, spring and jdbc

2007-01-31 Thread Joe Germuska
t Spring is open source. You could check the code. If anyone can enlighten me or point me to some good documentation on this subject, I would appreciate it. Spring's own documentation (referenced above) is thorough and pretty clear. There are also a number of good Spring books. Hope this he

Re: [S2] User authentication best practice (2nd time...)

2007-01-31 Thread Joe Germuska
right idea, perhaps someone could leverage the plugin framework to provide support for authentication. Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
work/web/context/ServletContextAware.html Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
ce, then you've already accepted the Spring API into your service layer. Does that help? Joe On 1/31/07, Jeffrey Hau <[EMAIL PROTECTED]> wrote: Hi Joe, Thanks for the helpful information. I am just wondering is it possible to get the ServletContext object in my spring applicationContext.x

Re: [s2] getting servletContext in actions

2007-01-31 Thread Joe Germuska
unit test setup, while you'd have a lot more awkward setup to do to make sure that ServletActionContext.getServletContext was prepared to return a usable value. Joe On 1/31/07, Nagraj Rao <[EMAIL PROTECTED]> wrote: were u actually able to get the servletContext Object thru servletC

Re: Struts 2 and tiles

2007-01-30 Thread Joe Germuska
baseline we have to guarantee for the first Tiles 2 release.) Joe On 1/30/07, Sai Nay Thurein Nyo <[EMAIL PROTECTED]> wrote: Hi Joe, I am testing on the tiles 2 to use in my new framework using Struts 2. I tried the following and it doesn't work. The tiles keep looking for the /WEB

Re: Tiles2 and Struts2

2007-01-30 Thread Joe Germuska
ished as official nightly builds: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tiles/ Maybe that will help... -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: [s2] Cannot create a session after the response has been committed: struts or tomcat ?

2007-01-29 Thread Joe Germuska
r much more of a suggestion as to how this should be fixed, but it probably deserves to be filed as a bug. Joe java.lang.IllegalStateException: Cannot create a session after the > response has been committed > at org.apache.catalina.connector.Request.doGetSession( Request.java &

Re: Example of a working tiles-config.xml

2007-01-29 Thread Joe Germuska
sers, but if we only discuss Tiles on the Struts list, it will take longer ! ;-) Joe On 1/29/07, Gonçalo Luiz <[EMAIL PROTECTED]> wrote: Hello comunity, After a couple of hours searching for a working example of tiles2 config file that actually works with struts2 I decided to ask on

Re: Struts 2 and tiles

2007-01-29 Thread Joe Germuska
://struts.apache.org/dtds/tiles-config_2_0.dtd (although I guess we may want to move it to tiles.apache.org before officially releasing Tiles 2.) The main difference I can think of offhand is the XML attribute "path" in the element in Tiles 1 becomes "template" in Tiles 2.

Re: Struts 2 and tiles

2007-01-29 Thread Joe Germuska
ibe to the [EMAIL PROTECTED] mailing list to keep up with status and changes. Joe On 1/29/07, Gonçalo Luiz <[EMAIL PROTECTED]> wrote: Hello, I'm developing a web application using struts2. I'm a struts1 developer and now I'm migrating myself (not a specific app) to struts2. Th

Re: Creating an instance of an action a class

2007-01-26 Thread Joe Germuska
xed mode applications where you want the same basic code to handle both online (web) processes as well as offline (batch file processing, etc). Just something to keep in mind... Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso

Re: Struts 2.0 vs Struts 1.3.5 vs Struts 1.2

2007-01-26 Thread Joe Germuska
also included learning to switch to Struts 2. Joe On 1/26/07, Chetan Pandey <[EMAIL PROTECTED]> wrote: Hi All: We have been using Struts 1.2 for many months in our company. Now we have a fresh project and some of us are confused whether we should use Struts 1.3.5 or Struts 2.0 o

Re: Tiles 2 - problem with putList tag.

2007-01-25 Thread Joe Germuska
ECTED]). I'll stir things up over there and see if people are game for a new SNAPSHOT build based on those changes. Joe On 1/25/07, amboss <[EMAIL PROTECTED]> wrote: Hi, I have problem using putList tag on jsp page. Namely I`m trying to use definition that

Re: [s2] Struts Dependency Injection and EJB3 - support ? or how can i Do it?

2007-01-22 Thread Joe Germuska
. See http://cwiki.apache.org/S2PLUGINS/spring-plugin.html for more on using Spring as your object factory and this Spring documentation on EJBs: http://www.springframework.org/docs/reference/ejb.html Hope that helps. Joe On 1/22/07, Paris Apostolopoulos <[EMAIL PROTECTED]> wrote: Hi again

[S2] question about controlling display with css_xhtml theme and errors

2007-01-19 Thread Joe Germuska
uot;addError" javascript method which actually puts the message in the HTML? That seems a lot harder than it should be. Do I need to tell the designers that they designed it wrong? ;-) Thanks in advance, Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is

Re: combining chain of commands with struts action

2007-01-19 Thread Joe Germuska
that adoption of Struts 1.3.x is probably relatively low -- it hasn't even been six months since we voted 1.3.5 to "General Availability." Keep using it, keep talking about it -- people will hear you and say "maybe I should check that out..." Joe Emanuele. -- View this

Re: combining chain of commands with struts action

2007-01-19 Thread Joe Germuska
of people have been using this feature, so you may well find bugs or even simply find that it could use some refinements. But this is the basic overview of how it's supposed to work. I hope this helps. Joe On 1/19/07, manunixx <[EMAIL PROTECTED]> wrote: hallo guys! I spent a

RE: Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
retreive the variables from the URL? -Original Message- From: Joe Yuen [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 4:12 PM To: Struts Users Mailing List Subject: Passing parameters to a struts action in URL Does anyone have an idea as to why this URL http://localhost:

Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
Does anyone have an idea as to why this URL http://localhost:8080/Chisq/Insurance.do?action=edit&personid=1001 works in Firefox but not in IE6? In my action class, I can see a personid in Firefox but in IE personid is null. I am using struts 1.2.8. Thanks, Joe

  1   2   3   4   5   6   7   8   9   >