Re: Problem with the forward attribute in action

2004-02-03 Thread Matt Raible
I didn't even know it was possible to do it the first way you show (I've always done it using #2). That would sure simplify things if #1 is possible - I want to know the answer too! Matt On Feb 3, 2004, at 6:33 PM, Narayanan, Sunitha wrote: Hi, I downloaded today's build of Struts 1.2 (Feb

Re: What does do stand for in .do files

2004-01-31 Thread Matt Raible
Yes, you can use any extension you like. I'm currently using .cfm to integrate a Struts app into a Cold Fusion website. Matt On Jan 31, 2004, at 6:15 PM, Otávio Augusto wrote: So, just to complement the discussion, is it possible to use any other extension rather than .do? Changing it in the

RE: generating tables in Struts

2004-01-23 Thread Matt Raible
The export/tiles issue has been fixed - you just needd to specify a filter in your web.xml. http://displaytag.sourceforge.net/install.html If you need to export data from an included JSP page, such as from Struts, you should configure the ResponseOverrideFilter in your web.xml. (You do not

RE: Unit Test in struts

2004-01-22 Thread Matt Raible
I use a fair amount of JavaScript in my apps, and what I've found is that the best thing to do is this: Write your app so it can be tested (and used) with JavaScript turned off. Works for me! Matt -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: Struts-Menu (Support URL Re-writing)

2004-01-22 Thread Matt Raible
Message- From: Matt Raible [mailto:H Sent: Tuesday, January 20, 2004 7:32 PM To: 'Struts Users Mailing List' Subject: RE: Struts-Menu (Support URL Re-writing) I need to know a couple things to help you with this problem. 1. What version of Struts Menu are you using? 2. Which

RE: Struts-Menu (Support URL Re-writing)

2004-01-20 Thread Matt Raible
the entry of /accountinfoview and all actions mentioned above in my struts-config.xml, the entries are there. Thanks in advance for the Help. Regards Parag -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 9:20 PM To: 'Struts Users

RE: Problem - Trying to hide javascript files in WEB-INF

2004-01-20 Thread Matt Raible
Anything that the client will access, i.e. .js or .css files via href attributes needs to be exposed to them. I usually put my scripts in a scripts folder and my stylesheets in a styles folder. -Original Message- From: Colin Foulkes [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20,

RE: Problem - Trying to hide javascript files in WEB-INF

2004-01-20 Thread Matt Raible
understand what's happening, but I'm not sure whether there is an alternative approach to placing the .js content into the jsp at the server side. Thanks Colin -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: January 20, 2004 3:15 PM To: 'Struts Users Mailing

RE: Struts-Menu (Support URL Re-writing)

2004-01-19 Thread Matt Raible
, its not supporting because the struts version we are using is 1.1 and as you have mentioned to use struts 2.0 and above. How do I make change, so struts 1.1 should support URL Rewriting. Regards Parag -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Saturday

RE: Struts-Menu (Support URL Re-writing)

2004-01-17 Thread Matt Raible
and I'll fix it. Matt -Original Message- From: Parag Pattewar [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 12:05 AM To: Matt Raible; 'Struts Users Mailing List' Subject: RE: Struts-Menu (Support URL Re-writing) Hi I am having previous implementation of struts

RE: Cactus vs StrutsTestCase

2004-01-17 Thread Matt Raible
You might take a look at my AppFuse project - it uses all the technologies you mention (except for Oracle). It already has Cactus and StrutsTestCase configured. IMO, if you're testing Servlets or Filters, use Cactus. If you're testing Struts Actions, use StrutsTestCase. If you're testing JSPs,

Re: Struts-Menu (Support URL Re-writing)

2004-01-16 Thread Matt Raible
If you use forwards or actions for attributes, it should do this for you. On Jan 16, 2004, at 5:20 AM, Parag Pattewar wrote: Hi all How do I change Struts-Menu implemention, so it can support URL ReWriting for session tracking? Thanks and Regards Parag Pattewar Persistent Systems Private

RE: Struts-Menu (Support URL Re-writing)

2004-01-16 Thread Matt Raible
Struts Menu makes use of Struts classes to support forward and action attributes. If you use those, you'll likely get the re-writing you're looking for. I did this on a previous project and did find that the forward attribute worked, but not the action attribute. I believe this is a bug in

Re: Struts-Menu (Support URL Re-writing)

2004-01-16 Thread Matt Raible
. Edgar -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 10:14 AM To: 'Struts Users Mailing List'; 'Parag Pattewar' Subject: RE: Struts-Menu (Support URL Re-writing) Struts Menu makes use of Struts classes to support forward and action

Re: Struts + xdoclet

2004-01-15 Thread Matt Raible
XDoclet and Struts works very nicely together - throwing Maven into it has only brought me headaches and I found it easier to just do it in Ant. Why try to do it in Maven just because Maven is cool? ;-) You might checkout my AppFuse project with uses Ant/XDoclet/Struts/Hibernate.

Re: Blank page after form validation

2004-01-14 Thread Matt Raible
Most likely your input attribute is invalid - this usually results in a blank page in my experience. HTH, Matt On Jan 13, 2004, at 10:56 PM, VENKATESH GANGAL wrote: Hi All, We have been facing a very strange problem with form validation We have a JSP which is an input to an action and there

Re: AW: .NET: We are just like Struts... only better.

2004-01-14 Thread Matt Raible
The two Java libraries that I know of are JSP Tag Libraries - here are links to their demo sites: http://displaytag.org http://raibledesigns.com/struts-menu Matt On Jan 14, 2004, at 2:08 AM, Salgar, Mehmet wrote: Hello everybody, I am following this discussion for very long time, it is

Re: handling form based authentication w/ remember-me cookie

2004-01-14 Thread Matt Raible
On Jan 14, 2004, at 3:52 AM, Nadeem Bitar wrote: A note about storing passwords in cookies. Encode the password. Do not store the userid with the password in the cookie, store some id associated with the user id. You can generate a one-way hash (MD5) of the contents of the cookie with a secret

Re: handling form based authentication w/ remember-me cookie

2004-01-13 Thread Matt Raible
On Jan 13, 2004, at 12:42 AM, Craig R. McClanahan wrote: Filters are *not* required to be invoked on j_security_check invocations. In fact, Tomcat won't even enable the j_security_check url unless an unauthenticated user accesses a protected resource. Basically, I believe there is no

Re: handling form based authentication w/ remember-me cookie

2004-01-13 Thread Matt Raible
They should be getting called for both - since they both are a request. You might try adding the dispatcher element to trap forwards as well. This is a Servlet 2.4 feature. filter-mapping filter-nameloginFilter/filter-name url-pattern/security/*/url-pattern !--

Re: handling form based authentication w/ remember-me cookie

2004-01-12 Thread Matt Raible
Remember Me functionality with j_security_check has worked fine for me. I just go to a LoginServlet from my loginForm, which sets cookies and redirects to j_security_check. Then I map a Filter to check for those cookies and logs the user in appropriately. More with code at:

Re: Linking CSS

2004-01-12 Thread Matt Raible
I prefer using c:url or html:rewrite to give my CSS files an absolute path - but that's just me: link href=c:url value=/jsp/base.css/ ... Matt On Jan 12, 2004, at 10:01 PM, Mike Deegan wrote: link href=../jsp/base.css rel=stylesheet type=text/css works for me ... what is the error you are

Re: Pagination Support

2004-01-12 Thread Matt Raible
Is this what you're looking for? http://displaytag.sf.net, demo at http://www.displaytag.org HTH, Matt On Jan 12, 2004, at 10:03 PM, Viral_Thakkar wrote: Hi all,   Do struts have any support forpaginationpurpose?   By pagination, I mean, displaying the data retrieved from database in JSP

403 error page not being displayed

2004-01-08 Thread Matt Raible
I have roles configured on my /editUser action mapping so that only administrator can access it. When I try to request the page as a user, I get the default 403 page from Tomcat, rather than my app's configured one. In web.xml, I have a number of error pages defined, and 404 works OK:

RE: 403 error page not being displayed

2004-01-08 Thread Matt Raible
like Struts 1.1 sends a 400 and the current nightly sends a 403. Maybe it's a TC bug. Which version are you using? Quoting Matt Raible [EMAIL PROTECTED]: I have roles configured on my /editUser action mapping so that only administrator can access it. When I try to request

RE: 403 error page not being displayed

2004-01-08 Thread Matt Raible
OK, well that Filter isn't any better - anyone know how to get the HTTP_STATUS code so I can disable the filter when the error-code is 403? Thanks, Matt -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 1:14 PM To: 'Struts Users Mailing

Serving up Tiles based on Role

2003-12-31 Thread Matt Raible
I'd love to serve up a specific tile based on a role, but it doesn't seem like it's currently possible in the Tiles Framework. Basically, I want to do the following: !-- User Profile definition -- definition name=.userProfile extends=.mainMenu put name=title.key

[ANNOUNCE] Struts Menu 2.0 Released!

2003-12-01 Thread Matt Raible
This release is a significant refactoring of the 1.x codebase. The source and site is now built using Maven. Menus can now be defined using Velocity templates and support has been added for looking up dynamic values. This means that if you have ${variableName} in your menu-config.xml (in a

RE: code generate by validwhen doesn't exists

2003-10-28 Thread Matt Raible
I don't believe that requiredif or validwhen generate client-side (JavaScript) validation. Matt -Original Message- From: Ruben Orta Magan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 10:56 AM To: Struts Users Mailing List Subject: code generate by validwhen doesn't exists

RE: Struts-config

2003-10-27 Thread Matt Raible
Download XML Spy (or another good XML tool) and validate it against the DTD. -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 4:37 PM To: Struts Users Mailing List Subject: Struts-config Has anyone experienced situtation where struts 1.1

Can I use tiles with JSF?

2003-10-23 Thread Matt Raible
There seems to be a fair amount of JSF experts on this list, so I'll pose my question here. After read this article (http://tinyurl.com/s23s), I'm got a bit of motivation to try porting one of my apps to use JSF. However, my app uses Tiles heavily and I want to make sure that's still possible.

RE: Can I use tiles with JSF?

2003-10-23 Thread Matt Raible
to get tiles to work with it, but I haven't tried it... http://www-106.ibm.com/developerworks/library/j-integrate/ -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 8:23 AM To: '[EMAIL PROTECTED]' Subject: Can I use tiles with JSF

RE: Displaytag and export: more info

2003-10-22 Thread Matt Raible
This is a known issue - checkout the displaytag's mailing lists - there's a couple of workarounds in there. http://displaytag.sf.net. HTH, Matt -Original Message- From: Grassi Fabio [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 11:23 AM To: [EMAIL PROTECTED] Subject:

Multiple select and string arrays

2003-10-14 Thread Matt Raible
I have an html:select multiple=true and String[] getters/setters/variables in my Form. For some reason, the selected value is passed through twice, meaning that if we select 1 in the select, 1, 1 gets passed in. Has anyone seen this behavior. It's highly likely that this is a result of a filter

Re: Multiple select and string arrays [solved]

2003-10-14 Thread Matt Raible
Nevermind, I was appending the request parameters in a filter even when posting - causing a duplication in request parameters. I changed my filter to only do this on a get and everything seems to be fixed. Matt On 10/14/03 2:05 PM, Matt Raible [EMAIL PROTECTED] wrote: I have an html:select

RE: tiles-defs.xml and dynamic page titles: how to do?

2003-10-09 Thread Matt Raible
You could use a Tiles controller to the title attribute from the TilesContext and append the customer name. HTH, Matt -Original Message- From: PhilNoon [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: tiles-defs.xml and dynamic page

RE: Container-Managed Authentication login-config in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-07 Thread Matt Raible
. Craig --- Matt Raible [EMAIL PROTECTED] wrote: A JDBCRealm can use BASIC authentication - it doesn't require form-based. Here's an example app that might help you out: http://raibledesigns.com/wiki/Wiki.jsp?page=SecurityExample HTH, Matt -Original Message

RE: Setting focus in struts html form

2003-10-06 Thread Matt Raible
All that the focus attribute does is to write some JavaScript for you. There's nothing wrong with writing your own JavaScript after your form. Here's a sample of what it writes: script type=text/javascript var focusControl = document.forms[searchForm].elements[arrivalDate]; if

RE: Help with StrutsTestCase examples and usage.

2003-10-06 Thread Matt Raible
Here's an in-container StrutsTestCase: http://tinyurl.com/pwkp HTH, Matt -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 11:29 AM To: struts Subject: Help with StrutsTestCase examples and usage. I am having issues with getting

RE: Help with StrutsTestCase examples and usage.

2003-10-06 Thread Matt Raible
-9119 +00 1 (708) 570-2772 Fax --- - Original Message - From: Matt Raible [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, October 06, 2003 10:29 AM Subject: RE: Help with StrutsTestCase examples and usage. Here's an in-container StrutsTestCase: http

RE: Help with StrutsTestCase examples and usage.

2003-10-06 Thread Matt Raible
Knutson The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our Personal Emergency Alert Contact System can help you Play Smart. +00 1 (877) SoS-9119 +00 1 (708) 570-2772 Fax --- - Original Message - From: Matt Raible [EMAIL PROTECTED] To: 'Struts

RE: Container-Managed Authentication login-config in web.xml vs . Specifying Paths in the struts-config.xml

2003-10-06 Thread Matt Raible
A JDBCRealm can use BASIC authentication - it doesn't require form-based. Here's an example app that might help you out: http://raibledesigns.com/wiki/Wiki.jsp?page=SecurityExample HTH, Matt -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003

RE: Displaytag does not work with Tiles

2003-10-03 Thread Matt Raible
You're better off asking this question on the displaytag-user list. http://displaytag.sourceforge.net/mail-lists.html Matt -Original Message- From: Navneet Karnani [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 5:56 PM To: [EMAIL PROTECTED] Subject: Displaytag does not work

RE: tiles and parameters

2003-10-03 Thread Matt Raible
Even easier - stuff it in the request: tiles:useAttribute name=nav_key scope=request / Better yet, make all attributes available to all tiles in your baseLayout.jsp: tiles:importAttribute scope=request/ HTH, Matt -Original Message- From: Yann Lebreton [mailto:[EMAIL PROTECTED] Sent:

RE: EJB's vs. Hibernate vs. Torque vs. custom DTO's

2003-10-03 Thread Matt Raible
I might as well chime in here. I've used Hibernate and iBatis on my last two projects. Using them made it super simple to implement the data tier. In fact, in both projects, it took under a week to do all the CRUD stuff needed for our applications. I also developed a 23 table / 21 page JSP

RE: externalizing the button hashmap for the LookupDispatchAction ?

2003-09-30 Thread Matt Raible
I've done it with a LookupMethods.properties file that contains the following: button.add=add button.cancel=cancel button.copy=copy button.edit=edit button.delete=delete button.save=save button.search=search Then I have the following method in my BaseAction class: /** * Provides the

RE: Change the .do extension

2003-09-29 Thread Matt Raible
Yes this is possible. I use a filter mapped to /* and perform logic to lookup all the actions and attempt a match, then forward to the action if it's found. http://www.raibledesigns.com/page/rd?anchor=vanity_urls_in_struts HTH, Matt -Original Message- From: Dirk Behrendt

RE: OT - how much to java web developers charge?

2003-09-29 Thread Matt Raible
It really depends on what clients are willing to pay. In Denver, the going rate for Java Developers is 45-55 hour. A few years ago, it was easy to get 75-100/hour. Times a changin'. HTH, Matt -Original Message- From: Sasha Borodin [mailto:[EMAIL PROTECTED] Sent: Monday, September 29,

RE: DisplayTag

2003-09-29 Thread Matt Raible
You're best off posting this to a more appropriate list: http://displaytag.sourceforge.net/mail-lists.html -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 9:22 AM To: Struts User List ([EMAIL PROTECTED]) Subject: DisplayTag I

RE: [Q]Tags: Lookforward to create the correct session name for b ean?

2003-09-29 Thread Matt Raible
The name given to your bean (and stored in its respective scope) is the same name you give it in your action-mapping in struts-config.xml. HTH, Matt -Original Message- From: Johan Wasserman - CPX Mngd Services [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 10:03 AM To:

RE: [OT] Apache/SSL help

2003-09-29 Thread Matt Raible
http://raibledesigns.com/wiki/Wiki.jsp?page=Articles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 10:09 AM To: Struts Users Mailing List Subject: [OT] Apache/SSL help Hello, Can anyone send link explaining how to set up an SSL

RE: BUTTON element

2003-09-29 Thread Matt Raible
You are correct - there is no button element, but there's nothing preventing you from using your own: button type=submitbean:message key=button.submit//button Struts does not mandate that you use it's tags for form buttons. -Original Message- From: Graham Leggett [mailto:[EMAIL

RE: Change the .do extension

2003-09-29 Thread Matt Raible
ExtensionRequestFilter.java /** * This class is used to filter all requests and to determine * if a request should forward to an Action. * * @author Matt Raible * @version $Revision: 1.2 $ $Date: 2003/09/29 15:28:41 $ */ public class ExtensionRequestFilter implements

RE: DisplayTag library

2003-09-26 Thread Matt Raible
Here's a temporary demo site - this URL will self-destruct as soon as the live examples is working: http://raibledesigns.com/displaytag ;-) -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 9:27 AM To: Struts User List ([EMAIL

RE: struts menu

2003-09-26 Thread Matt Raible
It's probably best that you post this to the [EMAIL PROTECTED] project. -Original Message- From: Jan Van Stalle [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 7:19 PM To: [EMAIL PROTECTED] Subject: struts menu Hello, Lately I saw a reference to struts menu on this

RE: display tags and large result sets

2003-09-26 Thread Matt Raible
You're better off asking this question on the [EMAIL PROTECTED] mailing list. Here's a quick answer: The display tag library is just that - a tag library, meant for viewing and iterating lists. As far as dealing with your backend data, that's up to (as far as it's concerned). If you want to

Setting the page title from a tile

2003-09-25 Thread Matt Raible
I have an interesting problem that I can't figure out how to solve. We are using Tiles, as well as a custom tag library that renders content from Velocity Templates. These templates have HTML content in them, but they're mostly text - and this is our CMS (for now). The problem is is that

RE: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-25 Thread Matt Raible
) So, did you find it ? If yes, let me know too. I was looking out for something similar. - Navneet Matt Raible said the following on 25/09/2003 4:15 AM: I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I want an in-page calendar. Matt -Original Message

RE: Setting the page title from a tile

2003-09-25 Thread Matt Raible
I'm already doing this in most of my definitions: put name=titleKey value=activities.title/ %-- Push tiles attributes in page context --% tiles:importAttribute scope=request/ titlebean:message name=titleKey//title But if you read my message closely - you'd see that I don't have a

RE: Urgent: Changing URLs for existing struts project

2003-09-25 Thread Matt Raible
Your best bet is to ask this question on the tomcat user list since it's really a tomcat issue. My suggestion would be to put apache in front of Tomcat and create a mapping for the jk to map javapps/* to tomcat. OT: javapps makes no sense, I'd use /javaapps or /java or /apps. And when are

Inserting tiles dynamically based on a list from tiles-config.xml

2003-09-24 Thread Matt Raible
I have the following in tiles-config.xml: putList name=sections add value=/WEB-INF/pages/sideNav.jsp/ add value=/WEB-INF/pages/weather.jsp/ add value=/WEB-INF/pages/package.jsp/ add value=/WEB-INF/pages/deals.jsp/ /putList And I want to loop through these in my

RE: Inserting tiles dynamically based on a list from tiles-config .xml [SOLVED]

2003-09-24 Thread Matt Raible
c:forEach var=section items=${sections} varStatus=status c:import url=${section}/ /c:forEach -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:33 PM To: '[EMAIL PROTECTED]' Subject: Inserting tiles dynamically based

Tiles Tips o' the Day

2003-09-24 Thread Matt Raible
Some things I learned today: http://raibledesigns.com/page/rd?anchor=tiles_tips_o_the_day Enjoy! Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Know of any good Calendar Tag Libraries?

2003-09-24 Thread Matt Raible
Anyone know of a good Calendar Tag Library - that renders calendars like the ones you see on blogs (not a pop-up)? I found this one (http://tinyurl.com/ok95) from Coldbeans, but it's $50 - whereas free is always better. We just need it to render a calendar on a page and gray out certain days (with

RE: Know of any good Calendar Tag Libraries? (Sorry, that was Aug 21)

2003-09-24 Thread Matt Raible
Tag Libraries? (Sorry, that was Aug 21) What about Matt Kruse's (very) beta taglib mentioned August 21st? http://www.mattkruse.com/javascript/javascripttoolbox.zip I wonder if it's any further along. -David -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday

[ANNOUNCE] Display Tag 1.0 beta 1 Released!

2003-09-23 Thread Matt Raible
The Display Tag Library has a new release! This release is pretty stellar - checkout the full list of changes at http://displaytag.sourceforge.net/changes-report.html#1.0-b1. Matt - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Is it possible to remove *.do or /do/* from the URL [solved]

2003-09-19 Thread Matt Raible
Marketing URLs 'activities', 'contact', 'foo' /activities/* /contact/* /foo/* everything else /do/* Or you could wrap a filter around the /activities/*, /contact/*, /foo/* mappings and forward to the correct action. -- Jason Lea Matt Raible wrote: The reason I don't like extension mapping

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Matt Raible
I agree with you - however, it's a marketing thing. The project I'm on has implemented a lot of folder/index.html (with meta-refresh) so that marketing materials have pretty URLs. I was simply hoping to accomplish this without doing anything extra - so http://site.com/do/activities can be put

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Matt Raible
-0400, Vic Cekvenich wrote: How about a hack: *.jsp It looks as jsp on top but it's a do. Or you can even say *.asp, or anything. Just pick a word marketing likes. .V Matt Raible wrote: I agree with you - however, it's a marketing thing. The project I'm on has implemented a lot of folder

Requesting the same action with more than one path

2003-09-18 Thread Matt Raible
I want to hit a page action (path=/page) with the following URLs - and then do logic to determine which tiles definition I should load: http://site.com/do/page/tile1 http://site.com/do/page/tile2 But I keep getting: RequestProcessor.processMapping(683) | Invalid path /page/tile1 was requested.

RE: [ANNOUNCE] StrutsDoc 0.4 Released

2003-09-16 Thread Matt Raible
I'd prefer them just be shown in a pre - so I could see the whole function. Here's what I use for pre in CSS. pre { background: #dd; border: 1px solid #99; color: #00; padding: 5px 5px 5px 7px; } Matt -Original Message- From: Nick [mailto:[EMAIL PROTECTED]

RE: [OT] Java Class to match US state abbreviations with their fu ll name?

2003-09-15 Thread Matt Raible
http://tinyurl.com/ngnc HTH, Matt -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 3:07 PM To: Struts Mailing List Subject: [OT] Java Class to match US state abbreviations with their full name? Just wondering if anyone offhand knew of

RE: Struts Menu framework documentation

2003-09-12 Thread Matt Raible
The example application is the best documentation available. You can also checkout the demo on my site at http://raibledesigns.com/struts-menu. HTH, Matt -Original Message- From: Madhu Nair [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 2:40 AM To: Struts Users Mailing List

RE: java.util.Date in a Bean/ActionForm

2003-09-10 Thread Matt Raible
I've accomplished this by registering a DateConverter in a static block. From my BaseManager.java class: static { ... ConvertUtils.register(new DateConverter(), Date.class); ... } DateConverter.java public class DateConverter implements Converter { //~

RE: DateUtil

2003-09-10 Thread Matt Raible
ParseException(pe.getMessage(), pe.getErrorOffset()); } return date; } -Original Message- From: Cees van de Griend [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 3:11 PM To: Matt Raible Subject: DateUtil Hello Matt, I can't find the class

RE: Tiles html-taglib producing XHTML

2003-09-09 Thread Matt Raible
You have to set each tile to be XHTML - here's how I do it: Since every page probably needs taglibs, I have a common/taglibs.jsp file. In this page, I have my taglib declarations and the following line at the end: html:xhtml / Then every page includes that with: %@ include

RE: What's a well defined Struts Project Structure?

2003-09-08 Thread Matt Raible
Here's what I do - based on Erik Hatcher's recommendations in his Java Development with Ant book: MyProject | - lib (third party jars, etc.) | src (.java files) | test (junit, cactus, webtest tests) | web | images | styles | scripts | WEB-INF |

RE: What's a well defined Struts Project Structure?

2003-09-08 Thread Matt Raible
is more related to building a project, isn't it? Is there a standard project model/pattern out there we can just follow? -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: September 8, 2003 11:06 AM To: 'Struts Users Mailing List' Subject: RE: What's a well defined Struts

RE: Converting a ResultSet to a List of POJOs

2003-09-08 Thread Matt Raible
from your Java code and get a POJO result. Like what I was doing in Scaffold, only better =:0) -Ted. Matt Raible wrote: Dear Struts Experts, I recently started a new project where most of the backend code is already written with JDBC and ResultSets. The ResultSets

Converting a ResultSet to a List of POJOs

2003-09-05 Thread Matt Raible
Dear Struts Experts, I recently started a new project where most of the backend code is already written with JDBC and ResultSets. The ResultSets are iterated through and a POJOs values are set using pojo.setName(rs.getString(...)), etc. - you get the point. I'm wondering if there's an easier

RE: Converting a ResultSet to a List of POJOs

2003-09-05 Thread Matt Raible
This is what I'm trying to get away from. -Original Message- From: Micael [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 5:19 PM To: Struts Users Mailing List Subject: Re: Converting a ResultSet to a List of POJOs I assume you don't mean something like: brbr List list

RE: Does Struts Menu work with subapps?

2003-08-20 Thread Matt Raible
There's nothing specifically coded for subapps (to my knowledge). How is it *not* working in your subapp? -Original Message- From: Menke, John [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 3:31 PM To: Struts (E-mail) Subject: Does Struts Menu work with subapps? Will the

Globals forwards with LookupDispatchAction

2003-08-19 Thread Matt Raible
I'm using lookup LookupDispatchAction and to ease development, I've defined each of my CRUD methods as a global-forward. For example: forward name=editProfile path=/editUser.do?action=Edit/ However, the problem is that this doesn't work with i18n. What I'd like to do is to have it dynamically

RE: Suggestions for Calendar Popup taglib?

2003-08-18 Thread Matt Raible
Cool Matt - I've always loved you pop-up calendar. Does this mean it'll write JS for the popup calendar too? I like the div version - which requires a hidden div and such - so I hope you'll incorporate this. Maybe something like: html:calendar property=startDate format=MM/dd/

[validator] currency values and datatypes

2003-08-16 Thread Matt Raible
I'm developing an application that has a bunch of dollar amount fields. I want to validate my design, as well as ask a couple of questions. It's not an internationalized application, so I'm using Double for my data types in my POJOs - which translates to a double in MySQL (when using

RE: Struts-menu with Tiles

2003-03-13 Thread Matt Raible
These types of questions should probably be asked on the struts-menu-user list. You can subscribe here: http://lists.sourceforge.net/lists/listinfo/struts-menu-user Yes, struts-menu integrates with Struts's RecourceBundle for i18n. It uses the title attribute as a key, and if the key is not

RE: Struts-menu with Tiles

2003-03-13 Thread Matt Raible
I (at one time) used Tiles to build my menu, but found struts-menu to be much easier to configure. Out of the box, no, it does not support this. However, you could contribute a new TilesDisplayer - it is open source after all ;-) -Original Message- From: Heligon Sandra [mailto:[EMAIL

Re: [displaytag-user] Using the display:* taglib with tiles

2003-03-13 Thread Matt Raible
Hi, I'm pretty sure I read the solution to this just last night but now I can't find it... The display:* taglib will let me do something like this: display:table width=75% name=reportList display:column property=reportCategoryName title=Category group=1 sort=true/ The resulting

RE: StrutsMenu

2003-03-11 Thread Matt Raible
It should already be built into the following Displayers using the roles attribute on a menu or item. http://raibledesigns.com/struts-menu/dhtmlDropdown.jsp http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp http://raibledesigns.com/struts-menu/coolmenu4.jsp For saving a menu's expanded

Re: Validator- List/Map-backed property validation

2003-03-08 Thread Matt Raible
Is there a way to validate a list/map-backed property using validator in a generic fashion? For ex. i would like to something like the following to validate all the lastName fileds in the list/map: form name=view1SubmitForm field property=lastName[*] depends=required

Strange Validator Issue

2003-02-24 Thread Matt Raible
I'm using Struts 1.1 RC1 and I can't seem to figure this one out... Basically, when I click on a cancel button, the client-side validation is stopped, but not the server-side. Here's my cancel button: html:cancel styleClass=button property=action bean:message key=button.cancel/

[OT] Struts and Design Patterns

2003-02-17 Thread Matt Raible
I'm writing a chapter on Struts for a book, Professional JSP 2.0, from Wrox (http://www.wrox.com/books/1861008325.htm). The reason I'm sending this post is to verify my belief of the different design patterns that Struts implements. From the Core J2EE Design Patterns book (by Alur, Crupi, and

Re: [OT] Struts and Design Patterns

2003-02-17 Thread Matt Raible [EMAIL PROTECTED]
there is a Patterns chapter. Actually it is Appendix D. -Original Message- From: Matt Raible [mailto:matt@r...] Sent: Monday, February 17, 2003 11:57 AM To: [EMAIL PROTECTED] Subject: [OT] Struts and Design Patterns I'm writing a chapter on Struts for a book

Tiles 101

2003-02-11 Thread Matt Raible
Here's a great tutorial on Tiles written today: http://tinyurl.com/5neg Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Display Tag Library Project setup at SF

2003-02-03 Thread Matt Raible
All, I've setup a project at SourceForge for the Display Tag Library. Please e-mail me if you'd like to have committer rights to the project. Also, if anyone has Admin experience at SF, please let me know (I've only been a committer). The first thing is probably to get someone's enhancements

RE: [OT] Display Tag Library Project setup at SF

2003-02-03 Thread Matt Raible
I've setup mailing lists for this project, please subscribe to displaytag-devel to continue discussions on this matter. http://sourceforge.net/mail/?group_id=73068 Matt -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 11:16 AM

RE: The display:* tag library

2003-01-29 Thread Matt Raible
. Thanks, Matt -Original Message- From: Ed Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:17 PM To: Matt Raible Subject: Re: The display:* tag library I would gladly support any efforts to continue (restart) development on my taglib. I've reserved some

RE: The display:* tag library

2003-01-23 Thread Matt Raible
be awesome. Thanks, Matt -Original Message- From: Ed Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:17 PM To: Matt Raible Subject: Re: The display:* tag library I would gladly support any efforts to continue (restart) development on my taglib. I've

Re: Any Struts-based calendar examples out there?

2003-01-23 Thread Matt Raible [EMAIL PROTECTED]
One open source project (Roller) I work on has a JSP Tag Library calendar - you might be able to tweak it. Project Page: http://rollerweblogger.org/ And there's also a big calendar as part of it - example at: http://www.rollerweblogger.org/page/roller/Archives For my favorite javascript-based

The display:* tag library

2003-01-22 Thread Matt Raible
Below is a proposal I posted on my website tonight (http://tinyurl.com/4s3j): If you need a slick JSP Tag Library for sorting and paging data, the display tag library is a great library to use. However, it's got issues - just like any piece of software. I've fixed a couple on my own, but it

  1   2   3   4   5   >