For sorting columns on user side with records

2004-10-20 Thread nitin t
  hi , suppose i am using struts based app while showing data in various columns and i wish to give user the choice to sort the column based on his choice does there is a support in struts html tags or other validator javascript generator so that this feature can be performed like we

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-20 Thread Mark Lowe
Sean I've been trying the same thing (use struts for tiles and the rest jsf) here's what I've found in case it useful. Myfaces has a tiles handler and seems to work okay, (see www.myfaces.org) . Not wanting to use myfaces for the core, as its a beta version, I just use the my faces components

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-20 Thread Mark Lowe
Dooh.. The jsf source only provides the interfaces and abstract classes, without the actual buts that do the work in there. On 20 Oct 2004, at 09:59, Mark Lowe wrote: Sean I've been trying the same thing (use struts for tiles and the rest jsf) here's what I've found in case it useful. Myfaces

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-20 Thread Mark Lowe
Oh no.. Found it.. On 20 Oct 2004, at 10:17, Mark Lowe wrote: Dooh.. The jsf source only provides the interfaces and abstract classes, without the actual buts that do the work in there. On 20 Oct 2004, at 09:59, Mark Lowe wrote: Sean I've been trying the same thing (use struts for tiles and the

Re: help : ActionMessages not showing !!!!

2004-10-20 Thread sachin
hi Brady , i did like what u said .. Still my page goes half-blank .. please give me some solution . i have invested more than 3 days on this but in vein .. Regards, Sachin Hegde -- Original Message --- From: Brady Hegberg [EMAIL PROTECTED] To: Struts Users Mailing List

Re: Struts and UTF-8 (solved)

2004-10-20 Thread Arnaud Vandyck
package ste.filters; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * UTF8 request filter. *

Struts - XML - Validation according to a XML Schema

2004-10-20 Thread Yoni . RACHOVITCH
Hi, i would like to parse a XML file through Struts AND also according to a XML schema. so may question is...what is the method to validate a XML file with a XML Schema before parsing it? thank you YR - To unsubscribe,

Re: Suppressing INFO messages

2004-10-20 Thread Eddie Bush
Did you try making a commons-logging.properties in the default package with something like : org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog You should then be able to create your simplelog.properties in the default package with something like:

Map-backed action forms with JSTL tags

2004-10-20 Thread Asleson, Ryan
[This question was posted to taglib-user list also but I received no responses. My apologies for the cross post.] Hello, I have the following JSTL code fragment that is failing: c:if test=${empty form.mappedProperty[13]} c:set target=${form} property=mappedProperty[13] value=newValue/ /c:if

struts and jdk

2004-10-20 Thread Viral_Thakkar
Can I use jdk1.4 with struts 1.1? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts and jdk

2004-10-20 Thread Jeff Beal
I don't see why not. Viral_Thakkar wrote: Can I use jdk1.4 with struts 1.1? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts - XML - Validation according to a XML Schema

2004-10-20 Thread Hariharan V
I guess u will have to use some xml parser for this u can get more info from www.jdom.org On Wed, 20 Oct 2004 13:17:25 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i would like to parse a XML file through Struts AND also according to a XML schema. so may question is...what is

Passing multiple parameters from action mapping

2004-10-20 Thread Hariharan V
Hi , I was looking for a way to pass multiple parameters through my action mapping. can I pass only one parameter or is it possible to pass multiple? for example in this config I can pass only one parameter {parameter=method} action path=/saveSubscription

Re: Map-backed action forms with JSTL tags

2004-10-20 Thread bmf5
Asleson, Ryan [EMAIL PROTECTED] wrote on 10/20/2004 08:18:48 AM: [This question was posted to taglib-user list also but I received no responses. My apologies for the cross post.] Hello, I have the following JSTL code fragment that is failing: c:if test=${empty

Re: struts and jdk

2004-10-20 Thread Luis Gervaso
yes On Wed, 20 Oct 2004 08:59:56 -0400, Jeff Beal [EMAIL PROTECTED] wrote: I don't see why not. Viral_Thakkar wrote: Can I use jdk1.4 with struts 1.1? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: non-standard attributes in taglib

2004-10-20 Thread Kichline, Don \(EM, PTL\)
Having said all that about the *bugs* though, the problem you'll face will be getting anyone to implement your changes and you may go to the trouble of developing patches that just get ignored. It was always was my intention to implement the changes myself. I wanted to gauge reaction to see if

Re: Passing multiple parameters from action mapping

2004-10-20 Thread Luis Gervaso
You can only pass one parameter with this way Regards On Wed, 20 Oct 2004 15:16:43 +0200, Hariharan V [EMAIL PROTECTED] wrote: Hi , I was looking for a way to pass multiple parameters through my action mapping. can I pass only one parameter or is it possible to pass multiple? for

Re: form tiles link from database?

2004-10-20 Thread Vic Cekvenich
I do not think there is any example code. It esence you are going to put some values in scope (request?) in an action. Then in a pages, you will use those values. Very simple and lets you make very complex dynamic designs. .V PC Leung wrote: The following are defined in tiles-defs.xml putList item

Re: Passing multiple parameters from action mapping

2004-10-20 Thread Jeff Beal
To do this, you'll need to create a custom ActionMapping class and use the set-property/ element. public class MyActionMapping extends ActionMapping { private String prop1; public String getProp1() { return prop1; } public void setProp1(String newProp1) { prop1 = newProp1; } private

Re: Passing multiple parameters from action mapping

2004-10-20 Thread Hariharan V
Jeff, Thanks for that info, I will try out this option. On Wed, 20 Oct 2004 09:50:28 -0400, Jeff Beal [EMAIL PROTECTED] wrote: To do this, you'll need to create a custom ActionMapping class and use the set-property/ element. public class MyActionMapping extends ActionMapping { private

Help! problem with checkbox

2004-10-20 Thread t t
Hi, all, I have JSP file J1 with form F1 inside. It is used to accept user's input. And I will display the result in JSP file J2 with form F2. And there are a checkbox and multibox in F2. At first, I didn't associate F2 form bean with Action A1 which is triggered in F1. I just associated F1

RE: How to retrieve session variables using Struts tag in JSP

2004-10-20 Thread Shabada, Gnaneshwer
I tried the first one but didn't work. All I am doing is checking for a flag that I am setting in the session in my Action class like below.. Action Class: session.setAttribute(loggedUser, admin); JSP: logic:equal name=registrationForm property=accessLevel value=1

RE: Map-backed action forms with JSTL tags

2004-10-20 Thread Asleson, Ryan
I tried this: c:if test='${empty form.mappedProperty[13]}' And received the error below. I know that there is a getMappedProperty(String key) method on the form class. Any other ideas? I can't believe this isn't working right -- there's got to be a way to pass parameters into methods usting

Re: struts and jdk

2004-10-20 Thread James Mitchell
What happened when you tried it? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Viral_Thakkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:44 AM

Question regarding formbeans

2004-10-20 Thread Vinicius Carvalho
Hi there! I have the following problem: My form offers the ability to a user select from some categories, let's say first grade, second grade on the next step user selects subjects for each one: first grade: MathEnglishScience second grade: MathEnglish History As you can see, a

Bean Constants and JSP EL

2004-10-20 Thread Robin Mannering
Hi, Wondering if anyone has encountered this before and perhaps a solution :) I have constants defined in a regular Java bean class. ie. public static final String STATUS_DRAFT = draft; The bean has request scope in the page, no problem there, but I can't reference this constant value

Re: Map-backed action forms with JSTL tags

2004-10-20 Thread Bill Siggelkow
Ryan, JSTL does not support the getValue(String key) syntax for accessing mapped properties. Instead you need to expose the Map itself in a getter method. If you made getMappedProperty() return the map then your JSTL will work. -Bill Siggelkow Asleson, Ryan wrote: I tried this: c:if

Session variables using Struts tag in JSP

2004-10-20 Thread Shabada, Gnaneshwer
Can someone tell me how to retrieve session variable values using Struts tags?? I tried logi:match but didn't work. All I am doing is checking for a flag that I am setting in the session in my Action class like below.. Action Class: session.setAttribute(loggedUser, admin); JSP:

newbie: using html:img

2004-10-20 Thread Sanghamitra Roy
Hi, I am trying to write a Jsp page with 2 frames. The top frame shows 3 images (gif files). Clicking on each different image shows a different jsp in the bottom frame. Which attribute of the html:imgan I use so that I can use that parameter in the property of the corresponding class,

RE: Bean Constants and JSP EL

2004-10-20 Thread Paul McCulloch
See http://marc.theaimsgroup.com/?l=struts-userm=109636066026332w=2 -Original Message- From: Robin Mannering [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 3:21 PM To: [EMAIL PROTECTED] Subject: Bean Constants and JSP EL Hi, Wondering if anyone has encountered

RE: Map-backed action forms with JSTL tags

2004-10-20 Thread bmf5
Ok, I missed this the first time. When I do this I first get the map and pass the string key to the map. Try adding a method to the form that exposes the map then give the key to the map. public Map getMap(){ return whateverYourMapIs; } then c:if test='${empty form.map[13]}'

Re: Help! problem with checkbox

2004-10-20 Thread Bill Siggelkow
Tong, While I appreciate that you are trying to present your information in a generic manner -- it is rather difficult to know what's going on without specifics. For checkboxes, the property needs to be a boolean. If you cannot figure out the problem, I suggest you include the relevant

Re: For sorting columns on user side with records

2004-10-20 Thread fzlists
Nothing exists in the taglibs or Struts itself to do this as far as I know, so you'll have to roll your own. I have done this in a number of applications, so I'll save you some time... I do not know how cross-browser this is, most of my work is IE-only (not using much IE-only functionality,

RE: Bean Constants and JSP EL

2004-10-20 Thread Robin Mannering
Hi, Thanks for the help, but I went for a non static method in the end: /** * @return Returns the sTATUS_ONGOING. */ public String getSTATUS_ONGOING() { return STATUS_ONGOING; } which works with the following JSP/JSTL c:if test=${displayCase.caseStatus ==

Re: Session variables using Struts tag in JSP

2004-10-20 Thread Jeff Beal
Based on the error message, it looks like you're using the tag correctly, but the attribute isn't being set correctly. I can't see anything wrong in the code that you've included. Forgive me for asking this, but are you sure your Action class is being called? Shabada, Gnaneshwer wrote: Can

Re: Help! problem with checkbox

2004-10-20 Thread Jeff Beal
What's the code in J2 that you use to put the checkbox? Are you using an html:form/ tag? If so, does that tag refer to yet another action, A3? If so, which form bean is associated with A3? -- Jeff t t wrote: Hi, all, I have JSP file J1 with form F1 inside. It is used to accept user's

Re: For sorting columns on user side with records

2004-10-20 Thread Matt Bathje
Here is another solution that is more generic (you don't have to hard code data into arrays) and I know works in at least IE6 and FireFox/Mozilla. Not my work, I just like it a lot :) http://www.kryogenix.org/code/browser/sorttable/ Matt [EMAIL PROTECTED] wrote: Nothing exists in the taglibs

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-20 Thread Sean Schofield
Mark, Thanks for the info. Any info at this stage may prove helpful so its appreciated. I made some progress that I wanted to share with you (and the rest of the mailing list.) I took a look at the lastest source code for struts-faces and noticed some new stuff. Craig has a ViewHandlerImpl

Re: For sorting columns on user side with records

2004-10-20 Thread Jeff Beal
There are quite a few third-party widgets for doing this. Just do a Google search for html table widget or javascript table widget and look for one that works. In particular, the Jaffa project (jaffa.sourceforge.net) has a pretty slick looking table widget that is designed to work well with

RE: form tiles link from database?

2004-10-20 Thread David G. Friedman
In Tiles you have two other ways to do this. You can have you Action extend TilesAction, make your SQL call within your action, then put/copy the results into the appropriate list of your tile. See tiles definition and Java code example in chapter 5.2.1 in the tilesAdvancedFeatures.pdf I

Help! problem with checkbox ( relevant code included)

2004-10-20 Thread t t
Thank you, Bill and Jeff, Sorry I didn't include relevant code in my first post. Here is the relevant code. Code in J2:(with checkbox) -- html:form action=/PrepareEditMessage?reply=no onsubmit=return

RE: Tiles Question

2004-10-20 Thread David G. Friedman
Ray, Do you have an example of your tile definitions and stub pages I can look at? Regards, David -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 6:05 PM To: 'Struts Users Mailing List' Subject: Tiles Question I am trying to pass an

use strutsed jsp as email template ?

2004-10-20 Thread Franck Lefebure
Hello, I would like to know if there is a way to use a jsp file to format an email body (something like a velocity template) (I don't want to embed emailer custom tags in the jsp) In my idea I would like to find a way to do something like that : -- example.jsp :

Scriptlets in JSF tag attribute

2004-10-20 Thread Ratnakar Parakala
Hi, Anyone used scriptlets in JSF tag attributes? For ex: h:graphicImage url=%= imageRoot%/gifs/login.gif /. When I tried, I'm getting compilation error stating that expressions cannot be used in tag attribute. Pl help. Thanx Ratnakar

Re: use strutsed jsp as email template ?

2004-10-20 Thread Hubert Rabago
The short answer is no. Take a look at velocity at http://jakarta.apache.org/velocity/index.html . On Wed, 20 Oct 2004 12:02:33 -0400, Franck Lefebure [EMAIL PROTECTED] wrote: Hello, I would like to know if there is a way to use a jsp file to format an email body (something like a velocity

Re: Scriptlets in JSF tag attribute

2004-10-20 Thread Hubert Rabago
Try h:graphicImage url=%= imageRoot + /gifs/login.gif % / On Wed, 20 Oct 2004 09:33:16 -0700 (PDT), Ratnakar Parakala [EMAIL PROTECTED] wrote: Hi, Anyone used scriptlets in JSF tag attributes? For ex: h:graphicImage url=%= imageRoot%/gifs/login.gif /. When I tried, I'm getting compilation

RE: Scriptlets in JSF tag attribute

2004-10-20 Thread Matthias Wessendorf
it is not possible, only JSF expressions (e.g. #{bean.property}) or plain (e.g. foo) since all attributes have in tld-files: rtexprvaluefalse/rtexprvalue JSF-EL is able to look for example in application, session or request scope (and some other things more) the SPEC for more (Chapter 5.3.1.2

Re: Scriptlets in JSF tag attribute

2004-10-20 Thread Ratnakar Parakala
Tried. Getting compilation error... Hubert Rabago [EMAIL PROTECTED] wrote:Try / On Wed, 20 Oct 2004 09:33:16 -0700 (PDT), Ratnakar Parakala wrote: Hi, Anyone used scriptlets in JSF tag attributes? For ex: /gifs/login.gif. When I tried, I'm getting compilation error stating that

RE: use strutsed jsp as email template ?

2004-10-20 Thread Matthias Wessendorf
Hi, on commons-dev there was at begin of October a discussion in Commons Email project and Velocity templates. Perhaps you could benefit from that mails (I have no details in my mind, only the happend discussion) Regards, Matthias -Original Message- From: Hubert Rabago [mailto:[EMAIL

Opinion needed on a Design issue

2004-10-20 Thread meena r
Hi, We have been mulling over an issue where , we have people on our team who are proposing to pass the HttpSession which we have in our Action classes to the buisness delegate(which is an ordinary java class which encapusulates calls the session facade). While the j2ee blueprint for the business

Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread Bill Siggelkow
I believe the problem is the property name in your ActionForm. Having a method named getSAll() is going to cause problems. Make it getSall() and then the property will be 'sall' and everything will be much happier. Or you could try more meaningful names ;) -Bill Siggelkow t t wrote: Thank you,

Re: Opinion needed on a Design issue

2004-10-20 Thread Matt Hughes
It's a bad idea because what if in the future you want to use that business logic elsewhere? What if you want to use it in a webservice or in a GUI standalone application. The business logic should have to know nothing about web servers and HttpSession objects, unless your business is

Re: Getting DataSource from non-Struts class

2004-10-20 Thread DGraham
Found this at http://www2.real-time.com/rte-tomcat/2000/Jun/msg01487.html -- The suggested approach is to store your connection pool object itself as a servlet context attribute, like this: ConnectionPool pool = new ConnectionPool( ... ); getServletContext().setAttribute(pool, pool); Now,

Re: Struts - XML - Validation according to a XML Schema

2004-10-20 Thread Craig McClanahan
On Wed, 20 Oct 2004 13:17:25 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i would like to parse a XML file through Struts AND also according to a XML schema. so may question is...what is the method to validate a XML file with a XML Schema before parsing it? Besides needing a

Re: Opinion needed on a Design issue

2004-10-20 Thread meena r
I had already put this point across telling that the business delegate should be designed to service any kind of client.But we have a senior member on our team who says that anyway beyond the business delegate the session object is not passed on thereon further to the ejb's etc, so it is a matter

Niall Pemberton's Extends Validator zip file

2004-10-20 Thread Thompson Marzagao
Hey all, I think the zip files for Niall Pemberton's Extends struts validator rule are corrupt: http://www.niallp.pwp.blueyonder.co.uk/validate-extends.zip http://www.niallp.pwp.blueyonder.co.uk/validator-extends-1_1.zip Can anyone tell him that? I couldn't find his e-mail and I just joined

Re: Opinion needed on a Design issue

2004-10-20 Thread Craig McClanahan
What he (Matt) said. If you are going to tie your Business Delegate class to web tier APIs, there is not really much point in having them at all -- you could just do your business logic in the Action.execute() method directly and save having to maintain two classes. (That's a sub-optimal idea as

Re: Getting DataSource from non-Struts class

2004-10-20 Thread Craig McClanahan
More modern advice suggests that you don't use a Struts-provided connection pool at all ... use the JNDI factilities provided by your servlet container or app server. Then, you gain access to a connection pool provided by the server, like this: InitialContext ic = new InitialContext();

Struts Validator and dynamically generated form fields

2004-10-20 Thread Thompson Marzagao
Hi all, I am generating some form field names dynamically, based on the value of a request variable. Since I am using Niall Pemberton's LazyValidatorActionForm (see http://www.niallp.pwp.blueyonder.co.uk/), I don't have a problem getting their values. The problem is validating them. Currently

Re: Opinion needed on a Design issue

2004-10-20 Thread meena r
Is the Business Delegate a web-tier component? which helps in decoupliong the web -tier component from the business tier component or is it a business tier component? --- Craig McClanahan [EMAIL PROTECTED] wrote: What he (Matt) said. If you are going to tie your Business Delegate class

Re: Getting DataSource from non-Struts class

2004-10-20 Thread Sean Schofield
I agree with this. We use Tomcat to set up the connection pool and reference it in our Struts apps as Craig suggests above. Take a look at the Tomcat documentation, there is quite a bit on JNDI and datasources. Good luck, sean On Wed, 20 Oct 2004 11:00:11 -0700, Craig McClanahan [EMAIL

Re: Opinion needed on a Design issue

2004-10-20 Thread fzlists
Here's a concrete example of why it's not a good idea... I had a Struts-based application that I was recently asked to expose (some functions of) as Web Services. Well, this started me down my whole Struts Web Service Enablment Project route, but the point is that because it had to be quick,

Re: Opinion needed on a Design issue

2004-10-20 Thread Sean Schofield
The idea would be to use BusinessDelegate to decouple your business logic from the web-tier. Use your struts Actions to get stuff out the request, session, etc. Then pass plain old java objects (POJOs) to the methods of your BusinessDelegate. This way the business logic inside is not dependent

RE: Tiles Question

2004-10-20 Thread Ray Madigan
The action Looks like this Collection depList = getDepartmentList ( ); Iterator itor = depList.iterator ( ); while ( itor.hasNext ( ) ) { txDepartment department = ( txDepartment ) itor.next ( ); Collection departments = getOrganizationData ( department.getItem ( ) );

Struts Validator - ValidWhen

2004-10-20 Thread Daniel Kalcevich
Hello, I have a form that contains two fields: id lastName. The rule is that if I can only enter in one or the other, not both. I am trying to use the ValidWhen to perform this check. I have code similar to the following: form name=searchForm field

xml treemenu in struts

2004-10-20 Thread Vicky
I need to build tree menu from xml in struts. I want to avoid javascript as much as possible. Any pointers will be appreciated. Thanks, Vicky __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish.

Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread t t
Salute you! Bill. It works! Thank you so much! But why? Why does the name of a property matter? Why does the upper case A matter? Thanks again. Tong --- Bill Siggelkow [EMAIL PROTECTED] wrote: I believe the problem is the property name in your ActionForm. Having a method named getSAll() is

Re: xml treemenu in struts

2004-10-20 Thread Erik Weber
Well, if you draw the menu down the left rail, then it doesn't matter how shallow or deep it goes (whether directories are folded or unfolded) -- the content area will remain in the same position (versus a horizontal menu across the top). Also, if you use frames, clicks on the parent nodes

Re: applicationresources file encoding problem

2004-10-20 Thread Tuncay Baskan
Selam Serkan, I'm using struts in JDeveloper. We have to use Turkish characters in our application. The applicationresources file has plenty of Turkish message strings which involves non ACSII characters. When I run the application, I see those strings in applicationresource file are

[slight OT] SSLExt default behavior

2004-10-20 Thread Joe Hertz
Anyone aware of if there is a way to specify the default behavior for the secure set-property for Actions when using SSLExt? I'm taking an existing struts app and adding https pages to it with SSLExt. Simple enough. But it seems as if an action, should secure be unspecified, will default to the

i18n of bean properties/data

2004-10-20 Thread Colin Kilburn
Hi All, I'm not sure if this has been done before as I can't see any reference in the archives, but I have a hard time believing I'm the only one. I have to support multiple languages in my app. I can successfully set my users' locales using the Action.setLocale() method as well as the jstl

Re: i18n of bean properties/data

2004-10-20 Thread Hubert Rabago
If it were up to me, I'd use a collection of LabelValueBean objects with the label containing the values I want to show accd to the user's Locale. I think it would be much easier than writing a custom tag. On Wed, 20 Oct 2004 18:14:50 -0300, Colin Kilburn [EMAIL PROTECTED] wrote: Hi All,

RE: i18n of bean properties/data

2004-10-20 Thread Joe Hertz
1) bean:message is already smart enough to do what you want, so I don't see the necessity of making bean:write locale sensitive. You get the right text from some place, and if it's the property file, you already have what you need. 2) I think there is an existing feature request in BugZilla to

Re: Niall Pemberton's Extends Validator zip file

2004-10-20 Thread Niall Pemberton
Should be OK now, sorry bout that Niall - Original Message - From: Thompson Marzagao [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 6:51 PM Subject: Niall Pemberton's Extends Validator zip file Hey all, I think the zip files for Niall Pemberton's Extends

Re: Struts Validator - ValidWhen

2004-10-20 Thread Niall Pemberton
Version 1.2.1 of Struts had problems and never made ga release quality - the only ga release for Struts 1.2 is Version 1.2.4 - some validwhen issues were fixed in that release. http://struts.apache.org/acquiring.html Niall - Original Message - From: Daniel Kalcevich [EMAIL PROTECTED]

Re: use strutsed jsp as email template ?

2004-10-20 Thread Niall Pemberton
I'm sure I had a discussion about this sort of thing with someone on this list, but for the life of me I can't think who. You could write your own custom tag which just stores its body's contents in a bean's property, so you would have something like... custom:store name=myBean

Re: Help! problem with checkbox ( relevant code included)

2004-10-20 Thread t t
Thank you, Bill, Jeff, and Wendy for all your help! Tong Jeff Beal [EMAIL PROTECTED] wrote: The relevant section is Section 8.8 of the specification: Thus when we extract a property or event name from the middle of an existing Java name, we normally convert the first character to lower case.

RE: Tiles Question

2004-10-20 Thread David G. Friedman
Ray, From your code examples, it seems like you are using struts-el and struts-tiles-el. Is this correct? If so I can make suggestions but I can't test it (not using them - I have JSP 2.0 in my Tomcat 5.0.2? + STruts v1.2.4 setup). HOWEVER, I have a few well-directed questions that might

Re: For sorting columns on user side with records

2004-10-20 Thread Eddie Bush
Hi Nitin, Struts is server-side - predominately a controller, although it does include some things to facilitate building the view. What you're asking for is something that would sit client-side and provide DHTML manipulation of a HTML table - right? That I'm aware of, there is no such

RE: Tiles Question

2004-10-20 Thread David G. Friedman
I only mentioned the struts-tiles-el.tld because I didn't think the Tiles tags were el compatible. I found a struts-tiles-el.tld in 1.2.4 not in an old 1.1-b3 I have archived on my computer. Are you by any chance using a container like Tomcat 5.X.X which has native EL support so that would work?

RE: [slight OT] SSLExt default behavior

2004-10-20 Thread David G. Friedman
Joe, This is SSLExt in Struts, right? So why can't you do this: plug-in className=org.apache.struts.action.SecurePlugIn set-property property=httpPort value=80/ set-property property=httpsPort value=443/ set-property property=enable value=false/ set-property

Re: For sorting columns on user side with records

2004-10-20 Thread Zoran Avtarovski
Have a look at the displaytag taglib - displaytag.sourceforge.net. It provides sorting + a whole lot more. And it's struts friendly to boot. Z.   hi , suppose i am using struts based app while showing data in various columns and i wish to give user the choice to sort the column based on

RE: [slight OT] SSLExt default behavior

2004-10-20 Thread Joe Hertz
Mostly non-existent SSLExt documentation aside, here's what I'm seeing happen Setting enable=false doesn't determine a default secure setting for actions -- setting it to false turns everything off. As in every ActionMapping behaves as if secure=false, *including* the ones where secure=true (it's

Displaying multiple messages from a resouce file

2004-10-20 Thread Langdon Stevenson
I made a post on Sunday asking if there was an easy way (taglib) to display a random number of messages from a resource file. I took the deafening silence to mean no, so I went ahead and investigated the options. In the end it was easiest to extend the bean:message tag. My new version takes

bean value within src of html:Image

2004-10-20 Thread Tito Eritja
How to use some bean value within a html:Image src? I've tried something like html:Image src=%=bean.getValue()%/ but it doesn't work, there's something like paramName and paramProperty of html:link tag for html:Image? thanks in advance tito signature.asc Description: PGP signature