RE: HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag.

2006-05-20 Thread David G. Friedman
to:[EMAIL PROTECTED] Sent: Saturday, May 20, 2006 6:16 AM To: Struts Users Mailing List Subject: Re: HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag. Pity to notice you that I give up struts-menu to ensure the display-tag can display properly. On 5/20

RE: HELP:I've got a new problem when I tried to use struts-menu in my Tiles using display-tag.

2006-05-19 Thread David G. Friedman
Have you asked this question on the struts-menu forum/mailing list at Sourceforge? That list might have more specific experience merging these packages. See: http://sourceforge.net/forum/forum.php?forum_id=160189 Regards, David -Original Message- From: M.Liang Liu [mailto:[EMAIL PROTE

RE: Another problem of Tiles:the display-tag can NOT display using paging.

2006-05-19 Thread David G. Friedman
Your errors suggests a tile error, not a displaytag error. How are you tiles defined and what is the 1st table page url and the "next page" url shown in your browser window? Regards, David -Original Message- From: M.Liang Liu [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 12:25 PM

RE: I've got a big problem:Can NOT insert flash into jsp---using struts 1.1 and Tiles

2006-05-17 Thread David G. Friedman
Funny, but it almost seemed like D.J wrote a fancy way of saying this: "If you don't have the Flash plugin installed in your browser then it won't work" What a practical answer (add sarcasm here). Regards, David / [EMAIL PROTECTED] On 5/17/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > Actuall

RE: Cannot find bean under name __APPLICATION_CONTAINER_KEY.area

2006-05-17 Thread David G. Friedman
Jorge, 1. I believe Struts PlugIns were initially created because, at the time, the servlet spec didn't have ServletContextListeners. So, why are you mixing the two instead of just using a ServletContextListener? 2. Did you define the PlugIn in your struts-config.xml (or similar file that you

RE: URL needs www appended

2006-05-09 Thread David G. Friedman
Scott, How about adding a filter that checks the url and if it does not see "www.sitename.com" then it causes a redirect to the same PATH on the "www.sitename.com" path. The only problem might be any bookmarked or outside form submission pages if they have parameters to go with them. But there

RE: ERROR 500: javax.servlet.ServletException: Cannot retrieve definition for form bean

2006-05-07 Thread David G. Friedman
Rajan, Your form name "LoginForm.do" and the action's form name of "LoginForm" do not match exactly. I recommend you change your form-bean from: I expect the ".do you added to your form-bean name to be the problem: to: Regards, David -Original Message- From: rajan pahuja [mailto:[

RE: Shale's dialog manager is driving me nuts!

2006-05-06 Thread David G. Friedman
Sounds like you need (da da da) Faces Trace: http://www.jroller.com/page/cagataycivici?entry=rise_of_the_faces_trace Okay, so I've never used it but it sounds like it might just help you figure out where, when and why your JSF + Shale application is stuck. Regards, David -Original Messag

RE: Tiles vs. + XHTML/CSS

2006-04-25 Thread David G. Friedman
Michael, Why would you advocate the overhead of invoking struts *.do actions inside a JSP? After all, doesn't that force a complete reinvocation of the request process for each Struts action you call? For example, your below template would parse one for the original request, then (#2) once for "

RE: Books on JSF

2006-04-19 Thread David G. Friedman
I'm afraid I have to +1 Niall's comment. I got more from most online tutorials that I found than I did from that book. I would recommend plenty of the articles at the jsftutorial site: http://www.jsftutorials.net Regards, David -Original Message- From: Niall Pemberton [mailto:[EMAIL PRO

RE: Error deploying struts webapp to iPlanet

2006-04-03 Thread David G. Friedman
Just to nitpick, do you care that your below HTML has an opening TR, opening TD, then another opening TR and opening TD BUT NO TABLE declaration between them? Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 11:53 AM To: user

RE: SV: SV: [Shale] Backingbean beeing created twice -Solved!!!!

2006-04-01 Thread David G. Friedman
Hermod, You should really set this to be a blank or transparent pixel image. Setting things to a blank source should re-invoke the current page so that makes perfect sense to me that your bean is being called twice: because the src="" makes your page calls itself! This isn't a clay issue but (

RE: Java (O/T) thing

2006-03-14 Thread David G. Friedman
I could swear we've seen that before on this list. I think it means the JDK that compiled a class is NEWER than the JRE you are running it on. For example, a class (or jar) may have been compiled under JDK 1.5 without compatibility flags yet you put it on a 1.4.X JRE so it is complaining to you

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
exact way. I'm wondering if this is some trouble with tiles. I see using my debugger that the internals of the Response object in a Controller seem different then it does in an Action. On 2/21/06, David G. Friedman <[EMAIL PROTECTED]> wrote: > Have you tried it without the domain setti

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
new cookie is nowhere to be found. As I said in the original post, in my application it's working fine when I set the cookies in Actions, but not in Controllers. On 2/21/06, David G. Friedman <[EMAIL PROTECTED]> wrote: > Brian, > > When and where are you looking for a value ch

RE: using tiles and setting a cookie

2006-02-21 Thread David G. Friedman
Brian, When and where are you looking for a value change with your debugger? You do know that the cookie won't be seen until the response ends, right? The NEW cookie is given to the client's browser and won't be seen by the server until the client's next request. Can you give the controller me

RE: [shale]Help needed for Clay

2006-02-15 Thread David G. Friedman
I have replaced it with a new one. Hermod -Opprinnelig melding- Fra: Hermod Opstvedt [mailto:[EMAIL PROTECTED] Sendt: 15. februar 2006 18:36 Til: 'Struts Users Mailing List' Emne: SV: [shale]Help needed for Clay Hi That would be the "default page". Use index.jsp instead

RE: [shale]Help needed for Clay

2006-02-15 Thread David G. Friedman
Hermod, I put the jars in there and have no startup Tomcat errors but I am seeing this message, for a file not in your zip: javax.servlet.ServletException: Unable to find file /index.xml. javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) org.apache.myfaces.component

RE: [Tiles] Definition with extends and path attributes

2006-01-31 Thread David G. Friedman
Antonio, Could you use a Controller class to change the path="..." attribute for yourself based upon some criteria or variable you set in scope (request/session). With that method, you could have one base class instead of using the same name twice in two different files. If you are interested

RE: [FRIDAY] You might be a pointy-haired-boss if ...

2006-01-27 Thread David G. Friedman
> - You used to use grep to change strings in a file... > > 'back in the day' (seriously, he thinks he did) sed 's/grep/sed/g' sed 's/back in the day/when we had punch cards/g' -D - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Forcing URL Rewriting over Cookies in an existing application.

2006-01-24 Thread David G. Friedman
ECTED] Sent: Tuesday, January 24, 2006 3:26 AM To: 'Struts Users Mailing List' Subject: AW: Forcing URL Rewriting over Cookies in an existing application. > -Ursprüngliche Nachricht----- > Von: David G. Friedman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 23. Januar 2006 18

RE: A couple of simple questions

2006-01-23 Thread David G. Friedman
I bet you wish more web servers were like WebLogic which have provisions for. allows Servlets to be used for welcome pages. If interested, the link is: http://e-docs.bea.com/wls/docs81/webapp/components.html#109211 I remember trying this on Tomcat 5.X after reading that note but I really don't r

RE: Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread David G. Friedman
ard > -----Ursprüngliche Nachricht- > Von: David G. Friedman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 23. Januar 2006 17:28 > An: Struts Users Mailing List > Betreff: RE: Forcing URL Rewriting over Cookies in an existing > application. > > > The same thing (disable

RE: Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread David G. Friedman
t I'm interested, is this available im Tomcat too? Thanks Bernhard > -Ursprüngliche Nachricht----- > Von: David G. Friedman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 23. Januar 2006 17:08 > An: Struts Users Mailing List > Betreff: RE: Forcing URL Rewriting over Cookies

RE: Forcing URL Rewriting over Cookies in an existing application.

2006-01-23 Thread David G. Friedman
http://access1.sun.com/techarticles/sessions.iws.html Regards, David -Original Message- From: Jay [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 10:53 AM To: user@struts.apache.org Subject: Forcing URL Rewriting over Cookies in an existing application. Hi all, I have an applic

RE: multi-step user registration ?

2006-01-17 Thread David G. Friedman
Harish, How about Struts Flow? I haven't used it but I have seen a post or two about it so I thought you might want to know about it. http://struts.apache.org/struts-flow/index.html Regards, David -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Tuesday, Januar

RE: Struts UTF-8 [Off Topic for a second]

2006-01-17 Thread David G. Friedman
James, I think we need to get those guys out on tour more often. And maybe put up a Calendar section on the Struts website so we know when/where speakers are headed since some Internet technologies work extremely well with Struts or Shale. Or maybe just a generic Jakarta Technology speaker cale

RE: Struts UTF-8

2006-01-17 Thread David G. Friedman
+1 on Struts in Action. The cheesy thing was I ALMOST brought it in for the author to sign when he was talking last week but I decided not to at the last minute. LOL. Now, wouldn't you be better off buying "WebWork in Action" since Webwork 2.2 will be the base for Struts (Action) 2.0? I bought

RE: FormFile file type validation

2006-01-16 Thread David G. Friedman
Daniel, I remembered reading about a Java class which could do that using a file's "magic numbers." I think this library was the one I am thinking about. Using it, you could determine the file information in your Form bean, I think. It was called "ffident — Java metadata extraction / file for

RE: more on wicket

2006-01-16 Thread David G. Friedman
More wicket articles? I'm getting a message here: I bet you wish Struts Action 2.0 was really Struts "Wicket" 2.0. LOL. Personally, I had trouble with how it implements zero configuration files and how the URLs look freaky in the current version. Regards, David Friedman / [EMAIL PROTECTED] ---

RE: wicket's #1 ??

2006-01-14 Thread David G. Friedman
Like I believe that one. Have you ever read wicket? *yuck* -David, full of personal opinions and obviously not a Japanese Wicket promoter like that blog sampled -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of netsql Sent: Saturday, January 14, 2006 9:29 AM To: user@st

RE: [OT] JSF-Shale-Facelets orthogonality

2006-01-12 Thread David G. Friedman
Since no one else has answered, I'll give this a try: JSF is the base for everything you asked about. Only AFTER you are comfortable with JSF implementation (the Sun JSF RI or the MyFaces runtime) would I recommend you try Facelets, Shale or both. Facelets and Shale bring extra functionality on

RE: Tomcat issues

2006-01-12 Thread David G. Friedman
Bogdan, There is an ant task you can add to your build.xml file which will restart your Tomcat webapp for you as it builds and copies everything over. Or you could ook into setting autoreload on your webapp's context. Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[

RE: [OT] Re: Advice for Struts expert wanting to try Shale?

2006-01-11 Thread David G. Friedman
> There's a reason why executioners wore a mask. Because they couldn't stand the smell of Dakota Jack? *snicker* Well, I've said my two snide comments as the moon nears full so I'll return you to your regularly scheduled code discussions. Regards, David P.S. Struts-Shale, that means you! ;) <

RE: [OT] Re: Advice for Struts expert wanting to try Shale?

2006-01-11 Thread David G. Friedman
>Let me get this right, he _told on you_ ... as in tattletale??? Opinion... If I were his employer, I would like to know what how he was behaving if: 1) He was doing/posting things from a corporate email address that might reflect badly on my company. 2) Spreading inflammatory comments while

RE: [FRIDAY] [Shale] Potential ADF Donation (was ... You might be a geek if ...)

2006-01-02 Thread David G. Friedman
Ted, I like your subtle way of saying you don't know how streamlined or easily maintainable a corporate code donation "might" be. I'll have to bring that up as a heckler question at the Boston JUG on Thursday the 12th. Regards, David Friedman / [EMAIL PROTECTED] -Original Message- Fr

RE: Need bean class from RequestProcessor?

2005-12-28 Thread David G. Friedman
Jim, What's wrong with object.getClass() or are you looking for the action's "form=''' name which would be more specific to Struts? Regards, David -Original Message- From: Jim Reynolds [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 10:55 AM To: user@struts.apache.org S

RE: [OT] customizing JSF view management (was [shale][struts-faces] structured URLs with JSF (reprised))

2005-12-22 Thread David G. Friedman
I've also been thinking about the ViewHandler approach for a day or two but haven't tried anything with that yet. Your code is much simpler than what I'd been daydreaming/pondering in between other tasks today. Regards, David -Original Message- From: news [mailto:[EMAIL PROTECTED] Beha

RE: [shale][struts-faces] structured URLs with JSF (reprised)

2005-12-21 Thread David G. Friedman
I'm trying to do something similar with a lifecycle. My goal is to virtual host but retain the viewId of /about.jsf while building off the main file /somehostname/about.jsf. Here's what I have done so far, added a lifecycleFactory to my faces-config.xml file. My own factory's init method is the

RE: Want dynamic menus----struts menu tutorial?

2005-12-14 Thread David G. Friedman
Is this what you are looking for? http://struts-menu.sourceforge.net/userguide.html Regards, David -Original Message- From: Shivani Sawhney [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 11:39 PM To: Struts Users Mailing List Subject: RE: Want dynamic menusstruts menu t

RE: generel tiles question..

2005-12-14 Thread David G. Friedman
-taglib as well? Thanks, Martin- - Original Message ----- From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, December 14, 2005 5:26 PM Subject: RE: generel tiles question.. > If you are using the menu for all pages and

RE: generel tiles question..

2005-12-14 Thread David G. Friedman
ay i know how sitemesh is different from Tiles? Thanks again for your response Priya On 12/14/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > > If you are using the menu for all pages and also want to use many static > pages, I suggest you also look at SiteMesh. > http:/

RE: generel tiles question..

2005-12-14 Thread David G. Friedman
If you are using the menu for all pages and also want to use many static pages, I suggest you also look at SiteMesh. http://www.opensymphony.com/sitemesh/ Regards, David -Original Message- From: Priya Saloni [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 5:09 PM To: user@st

RE: OT: OutOfMemory

2005-11-29 Thread David G. Friedman
Eric, Is this what you are looking for? It is from the Exadel Forum site http://forum.exadel.com and the exadel HELP pages: http://www.exadel.com/exadelstudio/help/servletToolbar.html The toolbar under "Running" has a tomcat section where you should be able to add "JVM" arguments like the "-X

RE: Ok, I'll bite. Struts + Webwork = Struts Ti?

2005-11-28 Thread David G. Friedman
That's why I'm probably going to a (Boston) New England Java Users group in January so I can get help with that: Struts 2006: An embarrassment of riches. Ted Husted Overview: Apache Struts is a hotbed of activity. Struts Classic 1.3, Struts Shale, Struts Ti, Struts OverDrive. Why so many framew

RE: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-28 Thread David G. Friedman
And... (+1 on the devil's advocate theme) Don't forget how much time those abstraction tools can save you if you EVER had to change your database schema, but not your objects, OR your database product (like if someone went out of business or you desperately needed a feature from another database

RE: A question about hibernate query with special chracters

2005-11-28 Thread David G. Friedman
This isn't the place for it. However, I see you also posted it to the correct place: http://forum.hibernate.org I recommend you go back to your Java documentation. Sun's Java documentation online has a possible solution for you but it requires the latest JDK (1.5): http://java.sun.com/docs/bo

RE: Tiles Again - Can anyone help?

2005-11-24 Thread David G. Friedman
Kevin, What you described is perfect for a controllerClass="..." or controllerUrl="..." attribute inside a tile definition, as I suggested ina previous post. A controller lets you add, remove, or alter the pieces of a tile. It sounds like you might want one of your items to be a list which you

RE: [shale] Design questions

2005-11-22 Thread David G. Friedman
Alexandre, If you're looking for a JSF "aware" template technology, I recommend you look at facelets (https://facelets.dev.java.net). Regards, David -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:17 PM To: Struts Users Mailing Li

RE: Tiles Again - Can anyone help?

2005-11-22 Thread David G. Friedman
Kevin, I think you are correct in that someone hijacked your thread and went JSF(MyFaces) on you.And now, back to your topic: Tiles within Struts... To dynamically alter the components of a Tile definition, I recommend using a Tiles Controller. That should allow you to add or remove compon

RE: [shale] Design questions

2005-11-22 Thread David G. Friedman
Java Studio Creator and Facelets since both are tools for developing JSF. Is Facelets for developing Shale? Oma -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:28 PM To: Struts Users Mailing List Subject: RE: [shale] Design questions

RE: [shale] Design questions

2005-11-22 Thread David G. Friedman
Oma, If you are having trouble coding tags, which suggests you are using Shale's Clay feature, you might want to check out Facelets which has similar display properties to CLay. The URL is https://facelets.dev.java.net and I found it much easier to learn than what I've seen of Clay. Regards, D

RE: nested Sets

2005-11-21 Thread David G. Friedman
Are you positive that your action has done a Hibernate query that returns a set of data into your POJO so that your problem is only the nested iteration? Are you positive your beans are being saved in a scope (most likely request or session, not application), etc. ? Regards, David -Origin

RE: cant reset form

2005-11-09 Thread David G. Friedman
Chris, What do you want to do, push the results onto a stack/list to pop them back out if you need to change something, or would an HTML form's reset button work for you (as a client-side solution). Regards, David -Original Message- From: Chris Pat [mailto:[EMAIL PROTECTED] Sent: Thursda

RE: Validation seemingly not getting called any longer

2005-11-09 Thread David G. Friedman
I think I found the explanation from Corey Probst back in March (11th, 2005) on this list: __ By adding a comma separated list of struts config __ files, you are not specifying multiple *modules*, __ just multiple config files. ValidatorResources __ are stored in the ServletContext after being re

RE: Validation seemingly not getting called any longer

2005-11-08 Thread David G. Friedman
Preston, It is great to hear you've identified your problem. I'd just been looking over my examples and couldn't find anything out of place with the code/xml/config samples you'd included. Now, about your multiple module problems, I tried to find an old link to the (wiki?/faq?) page listing thin

RE: Validation seemingly not getting called any longer

2005-11-08 Thread David G. Friedman
Preston, 1. Did the problem occur after a web application server (Jetty, Tomcat, JBoss, etc.) shutdown/startup cycle or while the application was running uninterrupted? 2. Have you changed ANY jar files in the webapp or any class files? Anything which could have caused a spontaneous webapp reload

RE: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread David G. Friedman
Let's see: You can do some pre-view init based on the path, which JSF alone won't let you do. You can have dialogs/wizards/step-based forms, which JSF alone won't let you do. You can use a different view technology which allows you to skip JSP and use HTML templates directly (or use it in concer

RE: struts - displaytag table

2005-11-07 Thread David G. Friedman
Fea, You should really look at the DisplayTag site's examples. They show how to do the looping on your collection and how to add the hrefs for linking to your application. After reading those, you'll be able to redo your JSP without assistance. See http://www.displaytag.org Regards, David

RE: Validator 1.2.0 RC3 now available for review

2005-11-02 Thread David G. Friedman
Niall, Some of those listed extensions are long awaited. :) Regards, David -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 9:36 AM To: Struts Users Mailing List Subject: Validator 1.2.0 RC3 now available for review Release Candidate

RE: where to define log level

2005-11-02 Thread David G. Friedman
The logging facilities use the Commons Logging classes. You can find them (on the newly redesigned Struts.apache.org site) under the "Core Framework" -> "User Guide" -> "Controller components" -> Section 4.11" Commons Logging Interface", or directly using this URL: http://struts.apache.org/struts

RE: Question on http://displaytag.sourceforge.net/

2005-11-01 Thread David G. Friedman
Paul, You don't even want to know how long I was looking at displaytag, even before using it, waiting for them to jump from a 0.8.6 version to release a 1.0 version. :) Thanks for the valuelist reminder, I'd totally forgotten about that one. Regards, David -Original Message- From: Paul

RE: Question on http://displaytag.sourceforge.net/

2005-11-01 Thread David G. Friedman
> Has anyone used the display tag library at > http://displaytag.sourceforge.net/ in a Struts > application? > If so what did you think of it? Killer, rocks, awesome. I even made a new column decorator for project I was working on. There should be some threads about DisplayTag in the list arch

RE: new website look

2005-10-31 Thread David G. Friedman
Adam, I have a CSS editor in FireFox that seems to allow live editing and work with the @imports URLs on the new Maven-ized Struts homepage: https://addons.mozilla.org/extensions/moreinfo.php?id=60 Or directly at: http://chrispederick.com/work/webdeveloper/ Short-cut: Control-Shift-E Long-way: r

RE: how to copy the properties of one Struts form-bean to another?

2005-10-25 Thread David G. Friedman
Starky, The BeanUtils have been mentioned often on this list. You can find it in the Apache Commons BeanUtils library, which is found at: http://jakarta.apache.org/commons/beanutils/ You are probably looking for BeanUtils.copyProperties() which you can find an explanation for in their API: http:

RE: Integrating Hibernate 3.0 in Struts application

2005-10-25 Thread David G. Friedman
Let's just say Eric's typing left a little to be desired. I think he might have meant this URL: http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html#tutoria l-firstapp FYI: "hib_doc" should have been "hib_docs", AND "totorial" should have been "tutorial" Regards, David ---

RE: new website look

2005-10-24 Thread David G. Friedman
+1 (LOL) -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 2:42 PM To: Struts Users Mailing List Subject: Re: new website look Naturally someone can and should correct me if I'm wrong, but I believe the site is generated via Maven plug-in

RE: Integrating Hibernate 3.0 in Struts application

2005-10-24 Thread David G. Friedman
Me, I read (printed-out, where is electronic ink when you need to save trees?!?!) the online reference manual and got most of what I need for that. The rest I found on http://forum.hibernate.org Link to the doc I read: http://www.hibernate.org/hib_docs/v3/reference/en/html_single/ Regards, David

RE: new website look

2005-10-23 Thread David G. Friedman
+1 I also found the image problem on Opera 8.01 build 7642 and I can confirm the problem on FF 1.0.7. It's funny to see the resize work normally in my IE6 but not in those other two. Regards, David -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Graham Reeds Sent: Mond

RE: [Shale] Help - wonky prerender() call!

2005-10-14 Thread David G. Friedman
If you are doing a logout, wouldn't it be quicker to do an immediate="true" along with your action invocation? Then you could skip the other phases. It is in your logout/logoff after all, right? -David, all talk, just theories. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

RE: startup time validator validation?

2005-10-12 Thread David G. Friedman
truts validator? I use it within Eclipse v3.1 sometimes. Regards, David -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 5:03 PM To: Struts Users Mailing List Subject: Re: startup time validator validation? David G. Friedman on 11/10/05 20:58,

RE: Why I Hate Struts Modules

2005-10-11 Thread David G. Friedman
Paul, > See, after all these years, I really wanted was to > split files up. Modules don't gain me anything, do > they? I know (or I think) when Craig wrote Struts 0.x, > he had an action.xml which did something similar > Now I could create file of just actions and use XML > ENTITIES to inclu

RE: sample please ....

2005-10-11 Thread David G. Friedman
Bib, Can you include your Tiles definition and your jsp using tiles so we can look at it? Are you observing any errors in your logs? Do the logs show that the TilesRequestProcessor has initialized? Regards, David -Original Message- From: bib_lucene bib [mailto:[EMAIL PROTECTED] Sent: T

RE: startup time validator validation?

2005-10-11 Thread David G. Friedman
Wouldn't XDoclet's Struts Validator features work for you in this regard? It wouldn't be i nthe JSP or at startup but at build/compile time. See: http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED] evel_Tags >I am trying to figure out if there is a way to have the Validator >framwork

RE: Redirect to tile

2005-10-09 Thread David G. Friedman
Nikhil, Any version of Tiles/Struts up through version 1.2.4 only allows for a Tile to be accessed inside Struts. In the upcoming version 1.3.X branch, tiles will be in a stand-alone jar so it MIGHT include a filter or web.xml mapping instructions to allow external (without requiring Struts) acce

RE: encoding the session

2005-10-05 Thread David G. Friedman
Um, now about using tokens? Support is built-in after all. Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 8:42 AM To: user@struts.apache.org Subject: encoding the session Hi, Can anyone advise on how to encode the

RE: [Shale]Newbie question

2005-10-04 Thread David G. Friedman
Leon, JSF is component structured but the default renderer is JSP, which doesn't really have templating out of the box. That's why we know of a few projects that fill the need. Tiles (Standalone from the upcoming version 1.3 build) was ported to fill that need while Clay (part of 'Struts Shale'

RE: [Shale]Newbie question

2005-10-03 Thread David G. Friedman
Leon, The point you made about Shale performing form submissions is more of a JSF (JavaServer Faces) issue to help it retain state information to properly generate, validate, and so forth the JSF pages. I don't believe Shale tries to make JSF navigation any different. I have seen some discussion

RE: [Hibernate] Who owns the problem?

2005-10-03 Thread David G. Friedman
Murray, I'm with Martin. I'd be more likely to skip your call to createQuery(): session.createQuery("from com.pancakes.website.controller.form.SectionForm order by seq").list(); And instead use something like this: session.find("from SectionForm s order by s.seq").list(); Why? You shouldn't

RE: [Hibernate] Who owns the problem?

2005-10-02 Thread David G. Friedman
Murray, Is your included code 100% accurate? I saw this listing in your posted web.xml which makes no sense to me: HibernateFilter *.do Shouldn't that be: HibernateFilter action *.do There is no servlet named "*.do". Your url pattern would probably be the "*.do"

RE: [OT]Open source Backup software for windows

2005-09-28 Thread David G. Friedman
There is stuff all over if you want something server based. Amanda (www.amanda.org) has a win32 client via a second sourceforge project), plus stuff I've never heard of like http://backuppc.sourceforge.net/info.html and more. Remember, google is your friend. :) If it's just those 2 Windows based

RE: problem with html:form tag action property

2005-09-27 Thread David G. Friedman
Jane, If I recall correctly, struts overrides the pattern each time, only using the LAST url pattern. So be careful! Regards, David -Original Message- From: Jane Eisenstein [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 2:10 PM To: Struts Users Mailing List Subject: RE: pro

RE: Looking for a table library

2005-09-26 Thread David G. Friedman
How about the Pager Taglib from JSPtags.com? Their examples show radio buttons to get the 'editable table' concept across. http://jsptags.com/tags/navigation/pager/index.jsp Or the Jakarta "DataGrig" taglib from their taglib Sandbox. Their nightly build has some sharp examples of paging with clic

RE: What's wrong in ApplicationResources.properties?

2005-09-26 Thread David G. Friedman
Is the problem when you display this page (a message resources problem) or when you click on one of the links to this page that the new page does not show properly (an Action path mapping problem) ? Regards, David -Original Message- From: ±ç¬±³õ [mailto:[EMAIL PROTECTED] Sent: Monday, Sep

RE: Target servlet called getWriter(), then getOutputStream()

2005-09-13 Thread David G. Friedman
Try adding a 'return false;' to the end of your a tag's onClick method to prevent submits back to the server. Regards, David -Original Message- From: Xavier Vanderstukken [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 5:30 PM To: Struts Users Mailing List Subject: Re: Target

RE: Target servlet called getWriter(), then getOutputStream()

2005-09-13 Thread David G. Friedman
ness logic): request.setAttribute(Constants.Result,array); return mapping.findForward("successthumb"); So no getstream in this action. David G. Friedman wrote: >Why do you write that your Struts Action is the place that your code is >printing the raw file

RE: Target servlet called getWriter(), then getOutputStream()

2005-09-13 Thread David G. Friedman
Why do you write that your Struts Action is the place that your code is printing the raw file yet your stack trace shows you are in a JSP? Is your JSP invoking an action? If so that's your problem: everything is probably already committed, Stream-wise that is. How are you getting to this action

RE: Struts to Postgresql db connection refused

2005-09-13 Thread David G. Friedman
eptember 13, 2005 8:24 AM To: Struts Users Mailing List Subject: Re: Struts to Postgresql db connection refused On 9/13/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Raj, > > Have you double checked that you can reach it from the command line on the > server BEFORE trying it

RE: Struts to Postgresql db connection refused

2005-09-13 Thread David G. Friedman
Raj, Have you double checked that you can reach it from the command line on the server BEFORE trying it in Tomcat? I've encountered problems where a slight mistake in the MySQL configuration often causes this problem, not usually the web server. From the information you provided, try this at a c

RE: Who (really) decides?

2005-09-12 Thread David G. Friedman
> From: Ted Husted [mailto:[EMAIL PROTECTED] > Apache Tomcat was established as a top-level > project in May. The PMC members are Funny but I didn't see anything in their front page or main documentation about this when I did a search on the Jakarta site. Plus, top-levels usually work for urls li

RE: Exception trying to read tiles definition file in JSF..

2005-09-06 Thread David G. Friedman
exists and contains valid tiles definitions (copied from a working Struts project...) BTJ Greg Reddin wrote: > On Sep 6, 2005, at 1:40 PM, David G. Friedman wrote: > >> >> >> Tiles Servlet >> org.apache.struts.tiles.TilesServlet >> >> definit

RE: Exception trying to read tiles definition file in JSF..

2005-09-06 Thread David G. Friedman
The error suggests it cannot read your tiles definitions. Did you define your tile configuration file to be an actual file? It must be defined in your web.xml like this (looked up the exact syntax via a Google link). s Tiles Servlet org.apache.struts.tiles.TilesServlet definitions-config /WEB-

RE: Re-use field validations?

2005-09-04 Thread David G. Friedman
Leo, You could also check out Niall's server-side validator add-on to "extend" a field. Be aware that doesn't work for client-side Javascript or any version before 1.2.X. http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html Again, his extension does allow for adding different 'grou

RE: [OT] RE: CSS not working with JSF

2005-08-27 Thread David G. Friedman
You should join us over at the myfaces.apache.org user list to discuss JSF. Regards, David -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: Saturday, August 27, 2005 4:19 AM To: 'Struts Users Mailing List' Subject: [OT] RE: CSS not working with JSF This is a Struts

RE: Shale/JSF/Java posts

2005-08-25 Thread David G. Friedman
grates MyFaces along with other prominent frameworks. If anything it will eventually deserve its own Apache project. Regards, Kaleb -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 5:34 PM To: Struts Users Mailing List Subject: RE: S

RE: Shale/JSF/Java posts

2005-08-24 Thread David G. Friedman
From: Craig McClanahan [mailto:[EMAIL PROTECTED] > I just need to clarify one detail ... Shale is a > Struts sub-project, so such questions *are* on > topic for this list. Prefixing the subject with > "[shale]" is certainly appropriate, just like > prefixing a Tiles question with [tiles] would be.

RE: Shale and Tiles integration - where oh where is shale-tiles.jar?

2005-08-24 Thread David G. Friedman
Martin, Would that download even work? I followed your link and it mentions it is from 2002. Doesn't Shale with tiles REQUIRE the tiles standalone distribution in the 1.3 trunk or nightly build? I think you'll need the tiles-core from the tiles nightly build: http://svn.apache.org/builds/struts

RE: editor for Tomcat and struts

2005-08-24 Thread David G. Friedman
+1 for Sysdeo. It is excellent. -Original Message- From: Gareth Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 9:36 AM To: Struts Users Mailing List Subject: Re: editor for Tomcat and struts I'd suggest eclipse, With a number of plugins, sysdeo - for tomcat control my

RE: Check Disk space before file upload

2005-08-23 Thread David G. Friedman
Frank, That's a very interesting bit of coding. :) Regards, David -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 1:06 AM To: Struts Users Mailing List Subject: Re: Check Disk space before file upload Hi Jack, You can grab the late

RE: [SHALE] Simple "getting started"-type question

2005-08-23 Thread David G. Friedman
Frank, You could always write your JSF blog with Shale and post it to a created, but empty (abandoned), dev.java.net JSF blog project: https://jsfblog.dev.java.net/ (grin) Regards, David -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, August 22, 2005 1

  1   2   3   4   5   6   >