Validator query

2003-12-19 Thread Sudhakar G
Hi, why validator framework provides two classes ValidatorForm and ValidatorActionForm if both going to behave same way? Thanks in advance. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please chec

RE: Multiple struts-config.xml

2003-12-19 Thread Ashutosh Satyam
Hi, In order to use multiple struts config file, you need to modify the web descriptor file as mentioned below. Thus, the ActionServlet loads each of the application related config file. action org.apache.struts.action.ActionServlet config /WEB-INF/conf

Re: Multiple struts-config.xml

2003-12-19 Thread Ted Husted
Just specify whatever files you want to use as a comma-delimited list in the web-xml. See the Struts Mailreader (struts-example) for a working example. HTH, Ted Sudhakar G wrote: Hi, Can any one give me a example how struts supports multiple struts-config.xml file? Thanks in advance.. cheers Su

Multiple struts-config.xml

2003-12-19 Thread Sudhakar G
Hi, Can any one give me a example how struts supports multiple struts-config.xml file? Thanks in advance.. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and

JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2003-12-19 Thread Craig R. McClanahan
I'm pleased to announce that the Proposed Final Draft version of the JavaServer Faces 1.0 Specification, and a corresponding Beta release of the Reference Implementation, is now available at: http://java.sun.com/j2ee/javaserverfaces/download.html Please send any feedback and comments strictly

Jonathan Lord is out of the office.

2003-12-19 Thread jlord
I will be out of the office starting 12/19/2003 and will not return until 01/05/2004. If you need assistance during that time please call Trent Waite at +1 (763) 513.3205. - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: Test tiles attribute presence

2003-12-19 Thread Ted Husted
I think you would import the Tiles attribute into page scope, and then use the usual logic tags. -Ted. Franck wrote: Hi, In a tiles template I would like to test if a tiles attribute should be inserted or not : Example : I would like to code something like Something to remplace th

Re: how to not insert javascript into forms

2003-12-19 Thread Ted Husted
I think that's only if you use the "focus=" attribute. [EMAIL PROTECTED] wrote: Hallo, when I use page. How I can disable it? Thanks, Jiri - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Runtime Generation of DynaValidatorActionForms

2003-12-19 Thread Ted Husted
People often ask about this kind of use case, but, AFAIK, there's not a generic solution. (In fact, something similar came up on the DEV list yesterday.) What would be helpful is some type of simple example application that demonstrated the use case. A lot of haven't had to this sort of thing

Re: Accessing PlugIn config information

2003-12-19 Thread Ted Husted
Typically, you would have the PlugIn store an object in the Servlet scope under a known name, and then other objects could retrieve the information form there. So, the PlugIn does provide the service itself, it's a loader for the service provider. HTH, Ted. Andy Engle wrote: Hi all, I am wond

Re: Application url , why it does not change?

2003-12-19 Thread Ted Husted
The Servlet API provides for an internal forward that happens server-side. The request does not go back to the client, and so the client has no clue that some other resource has responded. There is a redirect attribute in the forward element that causes a "round trip" with the client: it has th

Iplanet 6.0.2 error

2003-12-19 Thread alok . garg
Hello , I am facing the following problem on iplanet ws 6.0.2 server But the same problem is gone when I keep my classes in the classpath, all the jar files related to struts in the classpath. I don't know why the jar files are not read from web-inf\lib folder. Any help would be highly appreciated

RE: [OT] Date Problem

2003-12-19 Thread Daniel Lipofsky
Try java.sql.Timestamp. RTFM for the differences between Date, Time, and Timestamp. - Dan > -Original Message- > From: Raj Yadav [mailto:[EMAIL PROTECTED] > Sent: Friday, December 19, 2003 3:42 PM > To: [EMAIL PROTECTED] > Subject: [OT] Date Problem > > > Hi All, > > I have date

RE: BUG!!! FormFile

2003-12-19 Thread Dan Payne
Ben, Thanks for the code. I'm implementing it now. -Dan -Original Message- From: Ben Janes [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 12:49 AM To: Struts Users Mailing List Subject: RE: BUG!!! FormFile Hi Dan, The bug itself is in PropertyUtils.java, which is in the Co

[OT] Date Problem

2003-12-19 Thread Raj Yadav
Hi All, I have date stored in a flat log file like this: Mon Dec 15 00:00:52 2003 I read the log file and get this date as a String. I want to insert this date into a Oracle table. My method is like this: public static java.sql.Date StringToDate(String date)

Re: struts, hibernate, datasources .... so lost

2003-12-19 Thread David Erickson
That code should work assuming your object is fully loaded by the time it gets to the view and no longer needs the session. Also I would use Transactions in your code even on simple query's.. that was the advice given on hibernate's site. ie: Transaction tx = session.beginTransaction(). then tx.

RE: [OT] HTML Select box

2003-12-19 Thread Dan Payne
Hey Jerry, You can achieve this by placing your down arrow button next to your single-line select box. In the button's onClick parameter, call a javascript method that change's the elements size attribute from 1 to 10 or whatever. That should do the trick. You'll probably want to code the method s

Accessing PlugIn config information

2003-12-19 Thread Andy Engle
Hi all, I am wondering if there is a clean(er) way to get PlugIn configuration information out of struts-config.xml. I have written a PlugIn that gets this information, but it seems somewhat convoluted. First I get all the PlugInConfigs, then I loop through that array of PlugInConfig objects unt

Re[2]: struts, hibernate, datasources .... so lost

2003-12-19 Thread Jens Halm
DE> Regarding what happens after you load something from Hibernate. I'm still DE> learning this myself, but I assume if you don't load ANYTHING lazily then DE> you should be able to do anything with that variable and have no worries. DE> However if you have an object that contains say a set of ot

Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
That was it I got it now. Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Jim Kennedy" <[EMAIL PROTECTED]> Sent: F

RE: struts, hibernate, datasources .... so lost

2003-12-19 Thread Rich Garabedian
I think that makes sense. So basically you are saying I HAVE to implement the filter and doing something like this: try { Context ctx = new InitialContext(); SessionFactory sf = (SessionFactory)ctx.lookup("prospecting/hibernate/SessionFactory"); Session session = sf.openSession();

RE: [OT] HTML Select box

2003-12-19 Thread Jerry Jalenak
<[EMAIL PROTECTED] /> Thanks to everyone who responded. Let me clarify on this: If I set my to use a size=?? and set multiple="true", I can indeed select multiple options. The problem is, when I set the size parameter to something like 10, I end up with a 10 items displayed in a rather large b

RE: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Wendy Smoak
Jim Kennedy wrote: > Here are my action tags in struts config: > type="com.bay4.struts.action.UserDetailAction"> > path="/main_layout.jsp?page=/user_detail.jsp&page_title=Us > er Profile Screen" /> > Try adding name="userEditForm" to the tag above. That will cause Struts to instantiat

Re: [OT] Debugging w/Eclipse Tomcat Sysdeo Plugin? Help!

2003-12-19 Thread Sgarlata Matt
I think another possibility would be to 1) Delete the classes directory 2) Add your project to CVS Now you don't have the classes directory in CVS, but of course if someone pulls the code from CVS they can build the classes directory for themselves using Eclipse, Ant, or whatever. Matt - Orig

Re: [OT] HTML Select box

2003-12-19 Thread Brice Ruth
right, but that's in a multi-select box, not in a drop-down select. Craig R. McClanahan wrote: Quoting Brice Ruth <[EMAIL PROTECTED]>: From a GUI perspective, how would you select multiple things in a drop-down? I can't actually recall ever seeing this type of widget anywhere (irrespective

Re: [OT] Debugging w/Eclipse Tomcat Sysdeo Plugin? Help!

2003-12-19 Thread David Erickson
Matt, Thanks! #2 works great. Another quick question to fire off if anyone knows.. I want to keep that classes directory out of cvs, i have a .cvsignore file in the root of my project, by putting "classes" in there is that enough to accomplish this? Would that filter out any other potential direc

Re: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread Craig Tataryn
Yeah, you are right. I had to create many a webapp that conformed to Netscape 4.7x and IE. Nightmare is one way of putting it :) Thank god for DHTMLLib from siteexperts.com and the Microsoft Script Debugger/Visual Interdev. And also, yeah, not everyone is strong in Javascript so the next per

Re: [OT] Debugging w/Eclipse Tomcat Sysdeo Plugin? Help!

2003-12-19 Thread Matt Bathje
David - there are 2 options for this that I can think of: 1. In your project settings in eclipse, in the java compiler category, go to the build path tab and uncheck the "clean output folders on full build" setting 2. Put your configuration/other files into the /src directory. When eclipse builds

Re: [OT] HTML Select box

2003-12-19 Thread Craig R. McClanahan
Quoting Brice Ruth <[EMAIL PROTECTED]>: > From a GUI perspective, how would you select multiple things in a > drop-down? I can't actually recall ever seeing this type of widget > anywhere (irrespective of HTML). > In HTML, this is triggered by the "multiple" attribute on the element. If you

RE: Drop down value - First Row to be Blank

2003-12-19 Thread Andy Schmidgall
Shreekanth, I am using successfully to create a blank option. Perhaps there is some kind of odd character encoding thing happening? -Andy -Original Message- From: Rama, Shreekanth (K.) [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 1:12 PM To: [EMAIL PROTECTED] Subject: Drop

Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
Here ya go Wendy: (and thanks) Here are my action tags in struts config: I use myprofile to bring up the form and saveuser to process the submit of the form. - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]

[OT] Debugging w/Eclipse Tomcat Sysdeo Plugin? Help!

2003-12-19 Thread David Erickson
So we are migrating our app from debugging with System.out.. (dont laugh.. even though I do).. to debugging it with Sysdeo's Eclipse plugin. However we have run into a showstopping snag unless we can get it resolved. Eclipse is set to compile everything from /web/WEB-INF/src into /web/WEB-INF/clas

Application url , why it does not change?

2003-12-19 Thread martin holmes
Hi I have developed a simple web application with struts and I am having trouble understanding why the url in the address bar changes to a path set by a link or a form submission, but does not change when forwarded from the mapping .findforward() in an action object. Ideally I would like the url

re: ClassCastException coming from DynaValidatorForm.validate()-> bug or a feature?

2003-12-19 Thread Janice
I went to the source to try to find out what was causing this problem, and I started to suspect that: was the problem... sure enough, when I changed the name to "thePage", instead of "page", it worked. Would this be a bug or just a feature that I missed the documentation for? Janice

Re: nice holiday

2003-12-19 Thread Martin Gainty
Vielen Danke, -Martin - Original Message - From: "Jan Dirksen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 19, 2003 10:20 AM Subject: OT: nice holiday > Hi to all! > > a year, full of hard work, moves. i wish everybody a > nice xmas and a good start in 2004. > > we

Re: struts, hibernate, datasources .... so lost

2003-12-19 Thread David Erickson
Rich, Ya the binding thing with JNDI and tomcat is messed up.. for some reason I've read its Read Only.. but the strange thing is I WAS able to get it working when I bound to that resource from a static class, but as soon as I used a filter or a struts plugin it no longer worked.. really lame. Reg

Drop down value - First Row to be Blank

2003-12-19 Thread Rama, Shreekanth (K.)
Hi, > I am getting ???en_US.null??? in the drop down for blank option as > mentioned below. > > My html select has this > > > How do I set this, to a blank row within the drop down ? > > Regards > Shreekanth >

RE: Error using tiles-el

2003-12-19 Thread Karr, David
Yup, you're correct. Could you please file a bug in Bugzilla for this? I may get to this this weekend. -Original Message- From: Narayanan, Sunitha [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: Error using tiles-el Hello, I am usin

ClassLoader seems not working withing Appache tomcat 4.1.29

2003-12-19 Thread EL AKARI Mehdi
Hi, I'm trying to get a resource from the classpath. I use the method : myUrl = this.getClass().getClassLoader().getResource(oneResource). and i'm sure that OneResource is present in the classpath. This works fine in JDevelopper embeded OC4J. But when i deploy the application in TOMCAT it gives m

RE: [OT] HTML Select box

2003-12-19 Thread Daniel Lipofsky
I agree. I think it would be bizarre and confusing to the user to try and select many things from a dropdown. Nobody does this. Maybe you want to use a popup (DHTML or separate window) if you really need to save real estate. Otherwise use a multiselect with multiple lines. - Dan > From a GUI

RE: Best practice for handling Action Init Parameters

2003-12-19 Thread Gerald_Beattie
Thanks I look at that method Wendy Smoak <[EMAIL PROTECTED]> 12/19/2003 12:47 PM Please respond to "Struts Users Mailing List" To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject:RE: Best practice for handling Action Init Parameters > From: [

Re: [OT] HTML Select box

2003-12-19 Thread Kris Schneider
>From a usability perspective, that seems kinda goofy, doesn't it? The user can make multiple selections but can view at most one of them? If you don't have a lot of items to display, perhaps a set of checkboxes (multibox) would be better? If you end up with HTML like: 1 2 3 4 5 IE 6

Re: struts, hibernate, datasources .... so lost

2003-12-19 Thread David Erickson
Rich I know how you feel. I just dealt with nearly the same problems the other day. I for the life of me could not get Hibernate to bind to my JNDI datasource.. so I bailed on that and in my hibernate.cfg.xml I just had it setup the datasource and manage it from there: net.sf.hibernate.diale

Re: [OT] HTML Select box

2003-12-19 Thread Brice Ruth
From a GUI perspective, how would you select multiple things in a drop-down? I can't actually recall ever seeing this type of widget anywhere (irrespective of HTML). Could you send an example? Jerry Jalenak wrote: Hi All, Can't seem to find a way to do this, even though I've seen it done (I t

RE: Best practice for handling Action Init Parameters

2003-12-19 Thread Wendy Smoak
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > What is the best practice in Struts for handling application > parameters. Do I put my parameter in the Action init parms > and then pull the parameter in at every Action class I use? > Basically I have a JSP page with Java mail tags that req

[OT] HTML Select box

2003-12-19 Thread Jerry Jalenak
Hi All, Can't seem to find a way to do this, even though I've seen it done (I think). What I need is a HTML select box where the size parameter=1 (so I get a true drop-down, not a scrolling box) AND the ability to select multiple options within the select box. Right now if I set the multiple par

Re: How multiple servlet-mappings affect computed action path?

2003-12-19 Thread Craig R. McClanahan
Quoting Daniel Rabe <[EMAIL PROTECTED]>: > I started out with a simple struts webapp, so my web.xml maps *.do to > myServlet. Then I recognized a need to have a set of requests dispatched to > my servlet based on the first part of path_info, so I added a new mapping > from /special/* to myServlet.

RE: [SPAM] Your Support Question

2003-12-19 Thread Craig R. McClanahan
Quoting Joe Hertz <[EMAIL PROTECTED]>: > Yeah, I get it too. > > Silly me, I just assumed that it was a legitimate company, and some > (probably their only one, IMHO) employee sub'd to the struts list and > this was some sort of auto-responder for him. I mainly thought this > because it didn't l

Best practice for handling Action Init Parameters

2003-12-19 Thread Gerald_Beattie
What is the best practice in Struts for handling application parameters. Do I put my parameter in the Action init parms and then pull the parameter in at every Action class I use? Basically I have a JSP page with Java mail tags that requires a host name and I do not want to hard code the smtp hos

How multiple servlet-mappings affect computed action path?

2003-12-19 Thread Daniel Rabe
I started out with a simple struts webapp, so my web.xml maps *.do to myServlet. Then I recognized a need to have a set of requests dispatched to my servlet based on the first part of path_info, so I added a new mapping from /special/* to myServlet. (These requests will NOT have ".do" at the end.)

Re: action local forward to a tile

2003-12-19 Thread Brice Ruth
Oh, don't you worry ... I spent a couple hours yesterday debugging a custom taglib that ended up not having the right classpath defined in the .tld file!! Ebersole, Steven wrote: ouch... 4 days to figure that out. At least I can laugh about it now :) Thanks for catching that. -Origina

RE: action local forward to a tile

2003-12-19 Thread Ebersole, Steven
ouch... 4 days to figure that out. At least I can laugh about it now :) Thanks for catching that. -Original Message- From: Christian D Hahn [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 10:51 AM To: Struts Users Mailing List Subject: Re: action local forward to a tile

RE: formatting messages

2003-12-19 Thread Menke, John
this is my test custom.message=value I want bold {0} and it outputs: value I want bold 7 I am using the ActionMessages not ActionErrors does this make a difference? -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:25 AM To: Struts Users

RE: [SPAM] Your Support Question

2003-12-19 Thread Joe Hertz
Yeah, I get it too. Silly me, I just assumed that it was a legitimate company, and some (probably their only one, IMHO) employee sub'd to the struts list and this was some sort of auto-responder for him. I mainly thought this because it didn't look like Spam. Only in the last WEEK has started to

Re: action local forward to a tile

2003-12-19 Thread Christian D Hahn
Hi Steven, I am not sure if you found it yet, but it looks like you mis-spelled revenue in the action's forward element you have it as path=".home.reveune" in the tile def its listed as name=".home.revenue" I hope this helps, -Chris Ebersole, Steven wrote: hey all, i'm running into an issue

Re: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread Brice Ruth
I don't think understanding it is the key here ... I think maintenance of it, specifically maintenance by other developers besides the original developer, becomes a bit of a nightmare, and that's my definition of 'ugly' ... :) Dynamically rewriting the HTML on a page does really get ugly ... th

Re: Struts and Google

2003-12-19 Thread Brice Ruth
Well, query string parameters are one thing - and most search engines handle that fine, what I'm talking about, though, is what Tomcat and other Java containers insert between the URI's file path (http://blah.blah.com/someaction.do) and the begin of the query string parameters (?x=blah&y=blah)

Re: Struts and Google

2003-12-19 Thread Brice Ruth
Yes, scissors :) And sure, I'll send you what I have in just a bit - we're getting ready for a new release (buy now functionality), so I'm a bit swamped. Wendy Smoak wrote: From: Brice Ruth [mailto:[EMAIL PROTECTED] ^^^ scissors?? I implemented a fi

Antwort: Re: Tiles and i18n

2003-12-19 Thread Oliver Wulff
I do it like this: "Marino A. Jonsson" An: [EMAIL PROTECTED] <[EMAIL PROTECTE

RE: formatting messages

2003-12-19 Thread Wendy Smoak
> From: Menke, John [mailto:[EMAIL PROTECTED] > it seems that when i do this > custom.message=value I want bold {0} > i don't get the tags written correctly. I use this with no problems: error.record.locked=Unfortunately, {0} record {1} is locked by another user, and the system was unable to sav

Re: Struts and Google

2003-12-19 Thread Brian Styles
Hey Joe, thanks for the help. I'm a little unsure of exactly how you do this with regards to the struts-config file and path parameters. Could you give me an example? Is it something like this? And also, how do you handle more parameters that you might want to pass to the page? thanks very

RE: formatting messages

2003-12-19 Thread Menke, John
it seems that when i do this custom.message=value I want bold {0} i don't get the tags written correctly. I also tried entering the tags in url-encoded form... and it ends up outputting exactly what i write in message resources -jm -Original Message- From: Wendy Smoak [mailto:[EMAIL

RE: formatting messages

2003-12-19 Thread Wendy Smoak
> From: Menke, John [mailto:[EMAIL PROTECTED] > Can I format messages with html in my message resources file? > I have a > message that i would certain parts of displayed bold. Can I do this? Sure, look at the struts-example webapp, specifically the error messages: error.username.required=Use

Re: Struts and Google

2003-12-19 Thread Brian Styles
Thanks Joe, very good to know. On a related topic, I'm interested in finding out who has been on my site and where they have gone. Do you know of a good utilitiy for this? thanks very much, Brian From: Joe Germuska <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> T

RE: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Wendy Smoak
> From: Jim Kennedy [mailto:[EMAIL PROTECTED] > I get this: > ERROR[com.bay4.jsp] [org.apache.taglibs.log.LoggerTag] > 2003-12-19 09:30:41,285 http80-Processor2 > -- java.lang.IllegalArgumentException: No destination bean specified > at > org.apache.commons.beanutils.BeanUtils.copyP

Re: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread Craig Tataryn
If you understand javascript, DHTML and DOM, then it won't appear as "Ugly" as Brice suggests . Take a look at those webfx widgets, very nice clean code. Craig W. Tataryn From: "ajay brar" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] S

formatting messages

2003-12-19 Thread Menke, John
Can I format messages with html in my message resources file? I have a message that i would certain parts of displayed bold. Can I do this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
Your example: private void prepopulateForm( ... ) { // copy properties from the DTO to the form if ( form != null && contact != null ) { DynaActionForm dvForm = (DynaActionForm) form; BeanUtils.copyProperties( dvForm, contact ); //manually d

Re: Tiles and i18n

2003-12-19 Thread Marino A. Jonsson
Just use the title-value from the tiles definition as a key to access the real value in the resource bundle :) cheers, MarinĂ³ "Patrick Cheng" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I know that Tiles support i18n by allowing multiple tiles definition files with standa

Re: How to put an object into the application scope from a plugin interface

2003-12-19 Thread Nathan Rogers
EL AKARI Mehdi wrote: Hi, I'm writing a struts plugin, and i need to put an object into the application scope. How can i do this. Note that the plugin interface contains the following methods: public void init(ActionServlet servlet, ModuleConfig config) throws javax.servlet.ServletException ;

Re: Struts and Google

2003-12-19 Thread jbaker
I think the main search engine problems come up when there are lots of parameters in the URL, although Google seems to do pretty well. One solution is to turn what would have been parameter names into 'directory' names in the URL. For example, on my site, rather than have a url like: http://am

RE: Struts and Google

2003-12-19 Thread Wendy Smoak
> From: Brice Ruth [mailto:[EMAIL PROTECTED] ^^^ scissors?? > I implemented a filter that loads a list of common search > engine user-agent strings, and if it detects access from > one of those, it disables URL-rewriting on the > HttpServletResponse that is p

Re: Struts and Google

2003-12-19 Thread Brice Ruth
Just an FYI, though - I'm not sure on Google, but many search engines don't support cookies, and get tripped up on the jsessionid parameter that commonly used application servers (like Tomcat) put in your URLs and image references when using things like html:link and html:img. Our local search

Re: action local forward to a tile

2003-12-19 Thread Brice Ruth
Hrmpf, crap ... send me your struts-config.xml, tiles-defs.xml, and web.xml in a ZIP, if you could. (Don't need to respond to the list, just write me directly). Ebersole, Steven wrote: Removing the controller reference did not work. Any other thoughts? I am trying to convince my manager to mo

RE: Struts and Google

2003-12-19 Thread Wendy Smoak
> I've searched the archives on this topic, but would > appreciate any up to date advice. I have my actions > forwarding to my jsps in my WEB-INF folder. > Thus my jsps are protected from direct access. > However I obviously want my site to get as high a > rating on google and other search en

OT: nice holiday

2003-12-19 Thread Jan Dirksen
Hi to all! a year, full of hard work, moves. i wish everybody a nice xmas and a good start in 2004. we will see what the year will bring us. I thinks somethings wents on with a comming integration of Struts and JSF However , a nice holiday to all greetings Jan

Re: Struts and Google

2003-12-19 Thread Joe Germuska
At 2:56 PM + 12/19/03, Brian Styles wrote: Hi all, I've searched the archives on this topic, but would appreciate any up to date advice. I have my actions forwarding to my jsps in my WEB-INF folder. Thus my jsps are protected from direct access. However I obviously want my site to get as hi

RE: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Wendy Smoak
> From: Jim Kennedy [mailto:[EMAIL PROTECTED] > Yes, this is on the right track, but how do I create a > DynaValidatorForm before it is actually used inside a form? > I don't think you can cast down like that. > I understand how it is created "after" I submit > the form, but not before I sub

Struts and Google

2003-12-19 Thread Brian Styles
Hi all, I've searched the archives on this topic, but would appreciate any up to date advice. I have my actions forwarding to my jsps in my WEB-INF folder. Thus my jsps are protected from direct access. However I obviously want my site to get as high a rating on google and other search engines

Re: logic:iterate question

2003-12-19 Thread hernux
if you know its only one item, why don't change the action... insteat of: request.setAttribute("testers",testerInfo); try request.setAttribute("testers",testerInfo[0]); hernux - Original Message - From: "struts" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Se

RE: action local forward to a tile

2003-12-19 Thread Ebersole, Steven
Removing the controller reference did not work. Any other thoughts? I am trying to convince my manager to move to struts for our dev. But its been really embarassing that I cannot get even this simple no-functionality version deployed correctly. It works as long as the forward is not a tile;

Re: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread Brice Ruth
Actually, I believe you're only partially correct. Galeon/Moz/Netscape all use Gecko for rendering, I believe - but Konq, by default, at least, uses KHTML, which is also the core of the renderer used by OS X's Safari browser. Testing in those, when it comes to JavaScript, though - is still nec

RE: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread ian_d_stewart
If you're already certified w/ Netscape, testing on Mozilla or Konqueror is probably unnecessary, as they (along with Galeon, Gnome's web browser) all use the same rendering engine. Ian

Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
Yes, this is on the right track, but how do I create a DynaValidatorForm before it is actually used inside a form? I don't think you can cast down like that. I understand how it is created "after" I submit the form, but not before I submit the form. Jim Kennedy IT Consultant

struts, hibernate, datasources .... so lost

2003-12-19 Thread Rich Garabedian
After spending days on the net and the mailing lists I find something is just not getting through to me. I feel that what I'm doing is conceptually simple; yet I can't seem to actually implement any of it. I think I have a rudimentary understanding of how to integrate Hibernate into Struts, but I'm

RE: OT: Examples of HTML-based user interfaces?

2003-12-19 Thread Wendy Smoak
> From: Andrew Hill [mailto:[EMAIL PROTECTED] > Still, if you are in a position to limit your audience (such as with > intranet apps) to just the more common modern browsers (IE5+, > Mozilla) there is indeed a lot you can do with DHTML. I should have said that up front-- it is intranet and we ca

Re: URGENT - Help defending Struts [slightly off-topic]

2003-12-19 Thread Brice Ruth
This is entirely inappropriate for this list, please take comments such as these off-line with interested parties. Please keep posts to this list professional and above-board. ajay brar wrote: hi! i was going to take this opportunity to point out how CIO's are generally big duds, esp the CIO

Re: simple question

2003-12-19 Thread Mark Lowe
Agreed. On 19 Dec 2003, at 14:02, Kris Schneider wrote: I know the question is targeted at doing this in a JSP, but why wouldn't you just set up a String[100] in application scope, name it "numbers" (or whatever) and do something like: Quoting Mark Lowe <[EMAIL PROTECTED]>: Nothing to ad

Re: simple question

2003-12-19 Thread Kris Schneider
I know the question is targeted at doing this in a JSP, but why wouldn't you just set up a String[100] in application scope, name it "numbers" (or whatever) and do something like: Quoting Mark Lowe <[EMAIL PROTECTED]>: > Nothing to add really just a few variations on a theme. > > >

Re: Access ResourceBundle

2003-12-19 Thread Peter Sloots
Here you go? <% org.apache.struts.util.MessageResources mr = org.apache.struts.validator.Resources.getMessageResources(request); if (loginForm.getUsername.equalsIgnoreCase( mr.getMessage("key.value") ) { } %> *** REPLY SEPARATOR *** On

Re: simple question

2003-12-19 Thread Mark Lowe
Nothing to add really just a few variations on a theme. i think "><%= num %>" /> will also work although perhaps you need to convert the int to a string. On 19 Dec 2003, at 12:50, dirk wrote: I want to create a select box with the values 1 thru 1

RE: simple question

2003-12-19 Thread Joshi, Naveen
<%=""+i%> -Original Message- From: dirk [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 7:51 AM To: Struts Users Mailing List Subject: simple question I want to create a select box with the values 1 thru 100 how can i do that? What i have is: But that is not working. Any idea ?

RE: simple question

2003-12-19 Thread Joshi, Naveen
<%=""+i%> Naveen -Original Message- From: dirk [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 7:51 AM To: Struts Users Mailing List Subject: simple question I want to create a select box with the values 1 thru 100 how can i do that? What i have is: But that is not working. Any

simple question

2003-12-19 Thread dirk
I want to create a select box with the values 1 thru 100 how can i do that? What i have is: But that is not working. Any idea ? Thanks ! <% for(int i=0;i<999;i++){ %> <%=i%> <%}%>

Access ResourceBundle

2003-12-19 Thread Manuel Lenz
Hi to all, it is simple to get Data from the strutsRessourceBundle with the jspTag. But I need to get ResourceData inside a java-Part of the jsp-page and inside an ActionClass. For example <% if (loginForm.getUsername.equalsIgnoreCase( ResourceData ) {

RE: Struts test cases

2003-12-19 Thread Tim Lucia
I am using it with Eclipse... I had to do some things in setUp() to make it work: /* * @see TestCase#setUp() */ public void setUp() throws Exception { super.setUp(); // STC2.0 requires the file context to be set, at least from // Eclipse. STC2.1.0 is sup

Re: setting array of elements in Action class.

2003-12-19 Thread Mark Lowe
If you've an array of array list as your form property or example set("foo",int index,"myvalue); and/or ArrayList list = new ArrayList(); theForm.set("foo",list); IMO this is less hassle using action forms not dynaaction forms. If you dont define the size in the form-property tag, you must s

Global-exceptions

2003-12-19 Thread Peter Sloots
Hi all I'm a bad coder so sometimes I get nullpointer exceptions thrown back from an action So I declared a global-exception in my struts-config. Problem is that I'm losing the message that comes with the exception. Is there a way to get the complete message? In an action when I use ne

setting array of elements in Action class.

2003-12-19 Thread Amit Kumar Sharma
I have all the elements in the HTML form with same name, how can I set there value using the set() property I dont know the syntax..for a normal set it would be. set( FIELDNAME, VALUE ) can anybody help me with the syntax. Regards, Amit Kumar Sharma SysArris Software Pvt Ltd 120A, Elepha

Re: How to put an object into the application scope from a plugin interface

2003-12-19 Thread EL AKARI Mehdi
I'm using struts 1.1 and in java doc it is said that ApplicationConfig is deprecated and we must use now ModuleConfig. If you take a look on the tiles pluggin you will find that it implements this interface. my question is how to put in the "ModuleScope" an object, and how to retrieve it again? Meh

  1   2   >