Re: [OT] recommendations on workflow engines..

2007-06-04 Thread Rahul Akolkar
On 6/4/07, אלחנן מעין <[EMAIL PROTECTED]> wrote: hi.. we have a homegrown web framework and we would like to integrate it into one of the open source engine out there, things like jbpm or osworks, our enviorment are jboss 3.2.5 (for development) , hibernate 2.1.7c, and websphere 5 (for productio

Re: [s2] First try : failed to run mailreader-2.0.1

2006-12-06 Thread Rahul Akolkar
On 12/6/06, nicolas de loof <[EMAIL PROTECTED]> wrote: it works with xalan 2.6.0. If this lib is required, why isn't it in the war WEB-INF/lib ? I agree it should work out of the box, but dropping in WEB-INF/lib isn't the ideal solution either. Cross-JDK JAXP has gotten a tad trickier [1] (a

Re: Struts 2.0 Mialing List

2006-10-28 Thread Rahul Akolkar
On 10/28/06, Mike Duffy <[EMAIL PROTECTED]> wrote: Does anyone know if there will be a new mailing list for Struts 2.0? No, AFAIK this is the one. Many use prefixes to email subjects, eg. [Struts2] or [S2] for Struts 2.0. -Rahul Thx. Mike -

Re: Struts & Workflow

2006-10-18 Thread Rahul Akolkar
On 10/18/06, Don Brown <[EMAIL PROTECTED]> wrote: Struts 2 doesn't have a specific workflow engine built in, per se, but you do have several options: 1. Spring's Web Flow 2. Continuations And then there is Commons SCXML [1], which is a generic state machine / workflow engine that can tie in

Re: Reload Message resources i.e Resource Bundle

2006-08-17 Thread Rahul Akolkar
On 8/17/06, Harsh Gupta <[EMAIL PROTECTED]> wrote: How to Reload Message resources i.e Resource Bundles in struts 1.1??? Create a "reloadable" message resources factory, see factory attribute [1] of -Rahul [1] http://struts.apache.org/1.x/userGuide/configuration.html#resources_config ---

Re: [OT]Scriptlets

2006-08-16 Thread Rahul Akolkar
On 8/16/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: I recently joined a software services comapny and as a part of my job i was required to develop intranet websites using struts. Now the attitude in the organisation is a strict no to scriptlets unless u have no other go. Theres always anoth

Re: Using bean:message from non-struts servlet

2006-08-15 Thread Rahul Akolkar
On 8/15/06, James Sanders <[EMAIL PROTECTED]> wrote: Puneet, Thank you for your response. The problem is that this does not work outside of the land of struts configuration. Using struts configuration, each jsp has access to all the keys in the Messages.properties file for its module (or actuall

Re: web.xml specifications from 2.4 to 2.3

2006-06-14 Thread Rahul Akolkar
On 6/14/06, Dave Newton <[EMAIL PROTECTED]> wrote: chuanjiang lo wrote: > property="business_id"/> > You need to use the EL-enabled tag libs (struts-el or something like that) when you don't have JSP 2.0 available. Indeed: http://struts.apache.org/struts-action/struts-el/index.html -Rahul

Re: Problem with logic:iterate and List of Strings

2006-06-13 Thread Rahul Akolkar
On 6/13/06, Florian Barth <[EMAIL PROTECTED]> wrote: Hi folks! I'm having a little problem with a jsp. My FormBean has a List of Strings as value. Now I would like to iterate over the elements of that list, creating a text-field for every element the list contains. At the moment I can online writ

Re: Struts Tag -

2006-06-05 Thread Rahul Akolkar
On 6/5/06, J Gotsch <[EMAIL PROTECTED]> wrote: Looking at the documentation, it's not clear on how I can use the . Now, which of the following three is the correct syntax for the match comparing? value="ABC"> The name attribute is the name of the bean in the specified scope

Re: [shale] Is there a Dialog Scope?

2006-06-05 Thread Rahul Akolkar
On 6/5/06, Adam Brod <[EMAIL PROTECTED]> wrote: Hi- JBoss Seam provides addition Scopes beyond Request, Session, Application and None. In particular, JBoss has a Conversation Scope that stores your data for the duration of a specific conversation. This frees the developer from stuffing data in

Re: RE : getIndexValue() in custom tag

2006-05-26 Thread Rahul Akolkar
On 5/26/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote: Thank's for your reply Miguel. It is not exactly what I want ... :( While it requires the JSP author to have an additional "index" attribute on your custom tag, it does introduce a loose coupling that allows the author to watch for the

Re: Sending run time value to custom tag

2006-05-26 Thread Rahul Akolkar
On 5/26/06, Hanmay Udgiri <[EMAIL PROTECTED]> wrote: is there any way i can the pass the value runtime??? Runtime or EL expressions. -Rahul On 5/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > We cannot use tag inside another tags. > > > -Original Message- > From: Hanmay

Re: including taglib in jsp

2006-05-05 Thread Rahul Akolkar
On 5/5/06, temp temp <[EMAIL PROTECTED]> wrote: including a taglib in jsp will it cause performance problems ? for example my jsp has path to taglib <%@ taglib uri="/tld/struts-bean" prefix="bean"%> and I am not using declared tag any where in my jsp. As per performance measu

Re: html:text attributes for nested tags

2006-05-05 Thread Rahul Akolkar
On 5/5/06, Raghuveer <[EMAIL PROTECTED]> wrote: It is working like this for scalar properties but doesn't work for nested tags Maybe you're looking for its nested counterpart, ? -Rahul -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 6:10

Re: html:text attributes

2006-05-05 Thread Rahul Akolkar
On 5/5/06, Raghuveer <[EMAIL PROTECTED]> wrote: Could any one give info how the below attributes can be used in Related tlddoc contains short descriptions: http://struts.apache.org/struts-action/struts-taglib/tlddoc/html/text.html -Rahul -

Re: How use AND,OR in logic struts tag lib

2006-04-26 Thread Rahul Akolkar
On 4/26/06, Angel Navarro <[EMAIL PROTECTED]> wrote: > Hi, > > I need to translate: > > if ( a == 'option1' || a == 'option2' ) > Use JSTL: ... "and" is also available in EL similarly. -Rahul > to struts code > I don't know how put || or && in > Thanks > >

Re: Struts 1.3 - WebSite/Docs

2006-04-10 Thread Rahul Akolkar
On 4/10/06, Dion Gillard <[EMAIL PROTECTED]> wrote: > Any pointers to where to find details on the changes and details in 1.3? > Probable starting points: http://struts.apache.org/struts-action/userGuide/release-notes.html http://wiki.apache.org/struts/StrutsUpgrade -Rahul

Re: struts-blank.war jboss 500 error {V2 - correction to path}

2006-03-24 Thread Rahul Akolkar
On 3/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ummmanybody care to take a stab at this one? > Its looking for a JSP 2.0 TagAttributeInfo constructor that it can't find (TC 5.x supports JSP 2.0, 4.x does 1.2). Its a jsp-api.jar mixup, though I can't see why that would happen with

Re: upgrading from 1.1 to 1.2.9

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Daniel Blumenthal <[EMAIL PROTECTED]> wrote: > I just took the plunge, and upgraded from 1.1 to 1.2.9. I did the > following: > > replaced all the .jar files in WEB-INF/lib > replaced all the .tlds in WEB-INF > upgraded to sslext1.2 > restarted Tomcat > > And, um, everything just worke

Re: formbean of double type value chages when submitting the form

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: > You know, you're right. I don't know why we list those there since > DynaActionForm can support any type. (pause, think.) The intent probably was to mention that those converters are *guaranteed* to be available (since they exist in BeanUti

Re: Error

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Vinit Sharma <[EMAIL PROTECTED]> wrote: > Hi, > > I'm getting an error "org.apache.struts.taglib.html.BaseHandlerTag: method > setErrorKey(Ljava/lang/String;)V not found" when I'm trying to render an > html:text element like: > > There is probably an errorKey attribute on the page. B

Re: focus in html object

2006-03-24 Thread Rahul Akolkar
On 3/24/06, Raghuveer <[EMAIL PROTECTED]> wrote: > > In my log screen i have 2 text boxes to input user login user id and > password. > Initiall when page loads i am focusing on username by focus attribute in > form tag. > If there is an error in password , i display Struts Action Error as > "pa

Re: Expression Language

2006-03-24 Thread Rahul Akolkar
On 3/23/06, David M Sledge <[EMAIL PROTECTED]> wrote: > Do EL expressions only evaluate to String and primitive types? I have code > similar to the following in my jsp. > > > > > I will assume thats bean:write. > > > > Where uriList is an object of type java.util.List only containing > jav

Re: Troubles with comparisons using logic tags

2006-03-22 Thread Rahul Akolkar
On 3/23/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote: > Hello: > > I'm having some problems with comparisons using logic tags in Struts 1.1. > There is more than 12 h that I'm trying to resolve it... and nothing. > > I am passing 2 variables by session: >niCount = 10 >viewed = 3 or 21

Re: [Shale] jsp vs. jspx

2006-03-22 Thread Rahul Akolkar
On 3/22/06, James Reynolds <[EMAIL PROTECTED]> wrote: > > As part of converting my app from vanilla faces to Shale, I decided to > convert my jsp files to jspx for two reasons. First, to prevent someone > else from employing scriplets in the future and, second, because I've > read that it's a good

Re: newbie guestion: JSTL Expression language

2006-03-16 Thread Rahul Akolkar
On 3/16/06, Morten Andersen <[EMAIL PROTECTED]> wrote: > I want to use JSTL to check the role of the user (it can be one of many) > > I'm new to JSTL so even the simplest things gives me problems: > > I've set the role using request.setAttribute("role" , role); > > This tag: > > > Prints out the r

Re: JSP expression html filter?

2006-02-21 Thread Rahul Akolkar
On 2/21/06, Jürgen Hofmann <[EMAIL PROTECTED]> wrote: > If I use the bean write-tag () I can filter html > output: > becomes > ... > > How can I filter output from JSP expressions (${...}) ? Is this possible? > ${fn:escapeXml(...)} or -Rahul > Thanks > > Jürgen >

Re: constant strings in the tags

2006-01-24 Thread Rahul Akolkar
On 1/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Surely they thought about this and decided there was some reason not to > > make the constants available in the tags. Or was it just too difficult a > > task for some finite period of development time? > > Probab

Re: constant strings in the tags

2006-01-24 Thread Rahul Akolkar
On 1/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Here's what I usually do: > > > request.setAttribute( Constants.USER, userObject ); > > and the Constants.java defines > > public final static String USER = "theUser"; > > then in the JSP > > > > > But I want to be able to do

Re: jstl tutorial/reference?

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Deep Chand <[EMAIL PROTECTED]> wrote: > Hi, > > I'm developing a struts based application and would like to use jstl > tags instead of custom tags specified with struts tag lib. Is there a > good JSTL tutorial/reference available which gives good example usage > also of how to use the j

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > On Mon, Jan 23, 2006 at 03:00:27PM -0500, Rahul Akolkar wrote: > > On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > > > On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: > > > > >

Re: struts and JSTL

2006-01-23 Thread Rahul Akolkar
On 1/23/06, fea jabi <[EMAIL PROTECTED]> wrote: > Thank you for your response. I have set the value in the formbean. > > hence, tried this instead > > > > ... value="${Form1.map.amount}" ... -Rahul > But only half of JSP is getting displayed. Not sure why? any idea why this > happening?

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > You don't need to configure it (if you don't want to turn EL off). EL > is simply what JSP 2.0 container does. EL and JSTL are part of JSP 2.0 > spec. > JSTL is not part of JSP 2.0. They're separate JSRs (52 and 152 respectively). -Ra

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: > > On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > > > > > This may be more of a jsp 2.0 question than a html-el tag > > > library question, but here goes. > > > > If yo

Re: Be Careful though: was Re: Struts JSTL & EL

2006-01-19 Thread Rahul Akolkar
On 1/19/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Rahul Akolkar wrote the following on 1/19/2006 3:30 PM: > > > For such concerns ... > > > > ${fn:escapeXml(test)} > > > > is an option. > > > > is overrated in JSP >= 2.0, IMO. >

Re: Be Careful though: was Re: Struts JSTL & EL

2006-01-19 Thread Rahul Akolkar
On 1/19/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Josh McDonald wrote the following on 1/18/2006 5:29 PM: > > Servlet 2.4 lets you use EL all over the place in JSPs? That rocks me, > > can someone please send me a link to some good examples of just how > > out-there you can get? > > Just rememb

Re: need Calendar in JSF

2006-01-12 Thread Rahul Akolkar
On 1/12/06, JEEVANATHAM P. /BPCRP/INFOTECH/VASHI <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there any component in JSF for date picker? > Tomahawk calendar [1] for one. -Rahul [1] http://myfaces.apache.org/tomahawk/calendar.html > > > Please let me know. > > Thanks n advance > > jeeva >

Re: How to iterate using

2006-01-11 Thread Rahul Akolkar
On 1/11/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > Thanx now it works, > but i have another issue, > what i am trying is this > > items="${viewlinephase.map.viewNames}"> > > > > > > > viewName.nameDescis workig fine, and value is getting > substituated, but viewName.l1082CO

Re: How to iterate using

2006-01-11 Thread Rahul Akolkar
On 1/11/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I have defined a DynaValidatorForm in > struts-config.xml file like this > type="org.apache.struts.action.DynaActionForm"> > type="java.util.Collection" /> > > > In My jsp i have defined a Action class which uses > this bean > I want

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-09 Thread Rahul Akolkar
On 1/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Ah, this is a bad thing for me..(:( I really absolutely have to have an > always visible and always clickable menu bar and after reading the > bugzilla notes seems like "breaking out of" a current dialog and starting > abrand new one with

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-07 Thread Rahul Akolkar
On 1/8/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 1/7/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > > > [snip] > > * A self transition for a view state should be possible (its > > definitely legit in state chart theory, Shale dialogs being

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-07 Thread Rahul Akolkar
On 1/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Rahul Akolkar <[EMAIL PROTECTED]> wrote on 01/06/2006 05:07:21 PM: > > > On 1/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > My "Search" still throws > > > a nast

Re: [Shale] getting my first dialog to work with Shale/MyFaces

2006-01-06 Thread Rahul Akolkar
On 1/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Actually I found that dialog-config.xml had an xml error so I guess it was > silently not loaded. So I fixed it and now the Cancel works (yeahh!!) so I > think at least I have gotten "into the dialog..:) My "Search" still throws > a nasty

Re: tabs is struts

2005-12-24 Thread Rahul Akolkar
On 12/24/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > You can use > > page is file which contains the JSP logic > flush sends the current page output before included file > > c:import to include local and remote rewrite tasks > c:url for URL rewrite URL > http://java.sun.com/developer/technicalA

Re: text field not populating after validate() fails.

2005-12-24 Thread Rahul Akolkar
On 12/24/05, Vikrama Sanjeeva <[EMAIL PROTECTED]> wrote: > H, > Rahul: The pull-down menus are prepopulated using the session. For > pull-down menus, I'm using the same approach as Rick used in "LESSON II - 9 > - Create SetUpEmployeeAction". You can see here: > http://www.reumann.net/struts/lesson

Re: Problem in

2005-12-24 Thread Rahul Akolkar
On 12/24/05, Vikrama Sanjeeva <[EMAIL PROTECTED]> wrote: > Hi, > > Yes, it's working now with . When I click calendar icon (img) > it displays correct. This calendar is in Javascript and has next year, next > month, privious year, previous month buttons. When i click any one of the it > says "page

Re: NewB: Struts FormFile and Session scope FormBean

2005-12-24 Thread Rahul Akolkar
On 12/24/05, Kedar Panse <[EMAIL PROTECTED]> wrote: > Thanks, That would work. But still I'll have to have FormFile in to > ActionForm which is not seriliazable. Giving me error > > IOException while loading persisted sessions: java.io.WriteAbortedException: > writing aborted; java.io.NotSerializ

Re: validation.xml

2005-12-22 Thread Rahul Akolkar
On 12/22/05, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote: > When it looks validate = true in struts-config.xml and when you form extends > ValidatorForm it looks for validations in Validator.xml this is how Client > Side Validation Works.How Exactly you are implementing Serverside > validations? >

Re: text field not populating after validate() fails.

2005-12-22 Thread Rahul Akolkar
On 12/22/05, Vikrama Sanjeeva <[EMAIL PROTECTED]> wrote: > Actually I'm using a javascript which needs to define form name. And in > struts, when you define form name it is mandatory to define type too. > >I just change the "scope" in struts-config from "request" to "session" > and it is workin

Re: [.do -> JSF/Shale]

2005-12-21 Thread Rahul Akolkar
On 12/21/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > Is there a way to call a .do type action in JSF/Shale and have it do some > processing and then that action decides which view to go to? > > My case would be I am use to calling a login.do from another company and we > need to process the info

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Rahul Akolkar
On 12/19/05, Srini Pillai <[EMAIL PROTECTED]> wrote: > Thanks Rick, for responding quickly. > > >>I'm not sure what you are attempting to do with: > value="${request['FAEditorForm'].id_${counter}}" > Thumb rule: EL expressions that look like this are invalid: ${...${...}...} (unless you have ap

Re: how to customize applicationresources

2005-12-16 Thread Rahul Akolkar
On 12/16/05, Sony Thomas <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to read my application resources from a database rather than > using properties file. Do I need to extends MessageResoursces class in > order to do this ?? Is there any examples of this or is ther any links > which give some i

Re: chinese characters and bean tags

2005-12-16 Thread Rahul Akolkar
On 12/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > >>> make sure that you have the UFT-8 charsett declared in the content type > >>> of the response -- e.g. with <%@ page contentType="text/html; > >>> charset=UTF-8"%> and/or HTML META-tags. > >>> > >>> L. > >

Re: Problem with using Logic:equla tag.

2005-12-15 Thread Rahul Akolkar
On 12/15/05, David Evans <[EMAIL PROTECTED]> wrote: > I am not sure the specifics, but some versions of jsp require you to do > this: > <%@ page isELIgnored="false" %> > and some older version of the jstl don't take EL in the attributes. > > you could test to see if EL is being evaluted by doing th

Re: html:select and submit

2005-12-09 Thread Rahul Akolkar
On 12/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > What are you actually trying to send? The selected value or the index > of the selected item? I also note you have multiple="true"... so you > expect that more than one can be selected? I'm not sure if that has a > bearing on the selecte

Re: html:select and submit

2005-12-09 Thread Rahul Akolkar
On 12/9/05, Mike Darretta <[EMAIL PROTECTED]> wrote: > I thought I had licked this problem - but it only works with Firefox! > > I have an tag that, when a user selects an option, a > submit() is forced through a javascript call. > > The JSP code is: > > ... > onclick="handleCl

Re: please give me some directions. - how can i use tabs in struts,

2005-12-08 Thread Rahul Akolkar
On 12/8/05, Sony Thomas <[EMAIL PROTECTED]> wrote: > Hi , > > i have lot of information to fill in the form. I mean it cannot contain > in one page. so i would like to use tabs in my struts application. how > can i use tabs in struts, please give me a reply. http://ditchnet.org/tabs I haven't use

Re: struts and JSTL

2005-12-05 Thread Rahul Akolkar
On 12/5/05, fea jabi <[EMAIL PROTECTED]> wrote: > I am using Servlet engine 2.4. What will be the different advice? > > My web.xml looks something like this > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> > > > ..

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Rahul Akolkar
On 12/1/05, Don Brown <[EMAIL PROTECTED]> wrote: > Well, considering I started work a couple of hours ago, no, nothing yet :) You mean its going to take you more than two hours? ;-) But seriously, thanks for sharing the paragraph below, thats exactly what I was looking for, a sneak preview of yo

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Rahul Akolkar
On 12/1/05, Don Brown <[EMAIL PROTECTED]> wrote: > I just started working > on the Struts Action 1.x compatibility layer tonight so its too > early to say, On 12/1/05, Ted Husted <[EMAIL PROTECTED]> wrote: > Meanwhile, I'm working on a set of "rosetta > applications" that show how well-known St

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > For the record, here's the general solution as well, for situations > where you can't use the element body like that. First, defining a > scripting variable: > > http://marc.theaimsgroup.com/?l=struts-user&m=113269509808314&w=2 -Rahul

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > It might also work to do this: > > > > Sometimes double quotes inside double quotes confuses the compiler. > If you put single quotes inside the double quotes it might be able to better > determine your meaning. > I wouldn't recommend that.

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/22/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote: > > > This is definitely not how JSTL recommends loading bundles (see > > fmt:bundle and f

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Ok, today is apparently the day I get to ask a bunch of stupid questions... > > > > Why doesn't this work? > > > > " /> > > You can't use a JSP tag as attribute of another JSP tag. >

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote: > Place this in your web.xml file: > > > javax.servlet.jsp.jstl.fmt.localizationContext > com.omnytext.blah.blah.properties.ApplicationResources > > > > Where ApplicationResources.properties is the name of the message bundle in > question. >

Re: bean:define errors in eclipse 3.1.1 WTP

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > I try to edit my JSP in Eclipse 3.1.1 WTP (Web Tools Project) however I get > errors on variables defined by ID tags for example: > > > > > > > <%=(myValue1 + "-" myValue2)%> > > > > The above snip of code will result in Eclipse telling me

Re: getInitParameter struts TC5

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Chris Pat <[EMAIL PROTECTED]> wrote: > Hello > What is the correct syntax in the struts-config.xml > and the syntax in the Action, to establish/retreive an > default parameter for the default application. I have > tried: > web.xml > >totalSamples >3 > > > action > String te

Re: What's wrong

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Fulgencio Comendeiro, Eduardo <[EMAIL PROTECTED]> wrote: > <% > { > java.util.ArrayList list = new java.util.ArrayList(); > list.add("textouno.texto1"); > list.add("textouno.texto2"); > list.add("textouno.texto3"); > list.add("textouno.texto4"); > pageContext.setAttribute("list",

Re: [OT]AW: AW: STRUTS PHP

2005-11-19 Thread Rahul Akolkar
Jim > > > > > >>From: "Martin Kindler" <[EMAIL PROTECTED]> > >>Reply-To: <[EMAIL PROTECTED]> > >>To: "'Struts Users Mailing List'" > >>Subject: [OT]AW: AW: STRUTS PHP > >>Date: Wed, 16 Nov 2005 16:44:56 +010

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Rahul Akolkar
Two email responses consolidated in one below: On 11/19/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 11/19/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > > > Rahul Akolkar wrote: > > > Yes, that was more of a post-33064 comment. > > > > &g

Re: Custom tags referencing struts tags

2005-11-19 Thread Rahul Akolkar
On 11/18/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Rahul Akolkar wrote: > >>It's a bit messy; the functionality the tags encapsulate isn't exposed > >>in a way you can access directly. A cleaner alternative if you're using > >>JSP 2.

Re: How to find the version number of the struts installation?

2005-11-19 Thread Rahul Akolkar
On 11/19/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote: > If I need to find the version of jdk .. i would use something like java > --version. > How would I know which version of struts jar are there on my machine? Any > suggestions of easily & reliably finding it ? Look at the MANIFEST in /

Re: How to find length of a string in a bean

2005-11-18 Thread Rahul Akolkar
On 11/18/05, rahul <[EMAIL PROTECTED]> wrote: > Hi All, > > I have got a bean in my session scope. I want to find the length of a string > which is a member variable of that bean. > Try JSTL fn:length(). -Rahul > I tried but this works only with collection. > > Any help? > > > --RahulJoshi

Re: Custom tags referencing struts tags

2005-11-18 Thread Rahul Akolkar
On 11/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Craig McClanahan wrote: > > On 11/17/05, David Whipple <[EMAIL PROTECTED]> wrote: > > > >> > >>I would like to be able to create a custom tag which is able to use the > >>struts , or fields. I am not able > >>to find a way to create a tag li

Re: Help required with struts for dynamic row addition in jsp

2005-11-18 Thread Rahul Akolkar
One does wish that every UI technology had the XForms concept of repeat [1] -Rahul [1] http://www.w3.org/TR/xforms/slice9.html#id2632123 On 11/16/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > This is an older simpler version: http://superinterface.com/rdapp/viewList.do > And source code fo

Re: Tag html:text

2005-11-16 Thread Rahul Akolkar
On 11/16/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I agree, the BaseHandlerTag has all the code required for "onselect", but > none of the tags define it as an attribute in the TLD. As it is part of the > HTML 4 spec, it looks like an oversight to me. Please file a bug report for > this. >

Re: No getter method servlet Exception. using DynaActionForm

2005-11-16 Thread Rahul Akolkar
On 11/16/05, fea jabi <[EMAIL PROTECTED]> wrote: > I have right ones but still getting the same error. > > DynaActionForm properties need to be accessed in JSPs via the internal Map. 36794 [1] is probably good related reading. -Rahul [1] http://issues.apache.org/bugzilla/show_bug.cgi?id=36794

Re: Is Struts supports indexed property like itemForSale[1].lineDetail[4].selected ... I searched but haven't found how?

2005-11-16 Thread Rahul Akolkar
On 11/16/05, David Gagnon <[EMAIL PROTECTED]> wrote: > Hi all, > > Sorry for this question that I tought trivial . but I haven't found my > answer in the list . .so I ask you. > > property="itemForSale" id="itemForSale" indexId="ctr" > >property="lineDetail" id="lineDetai

Re: Tag html:text

2005-11-16 Thread Rahul Akolkar
On 11/16/05, Thomas Colin de Verdière <[EMAIL PROTECTED]> wrote: > Hello, > I think the attribute onselect is missing on tag html:text. Struts 1.2.7 > (and Struts 1.2.8) > Is this an issue ? > I put in the tld the new attribute and it works. Should i submit an issue ? The Struts HTML taglib, in c

Re: AW: STRUTS PHP

2005-11-16 Thread Rahul Akolkar
On 11/16/05, Martin Kindler <[EMAIL PROTECTED]> wrote: > I googled a bit for a taglib providing a tag to include any http-sources in > my jsp-pages (as you know I want to include > PHP-generated pages) and found the Jakarta IO-taglib > (http://jakarta.apache.org/taglibs/doc/io-doc/intro.html). > >

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-15 Thread Rahul Akolkar
On 11/15/05, Mark S Petrovic <[EMAIL PROTECTED]> wrote: > I know I'll look back on this learning curve with a head-slapping > recollection, but until then, for posterity: > > 1. If I remove the taglib directive in the JSP, the various tags > are copied directly into the html output, with the brow

Re: [shale] any installation guide and tutorial?

2005-11-15 Thread Rahul Akolkar
On 11/15/05, pc leung <[EMAIL PROTECTED]> wrote: > I'd like to give it try. But in the documentation web page of shale, > there is no installation guide. I do not know how to install it. It > contains api only. Any installation guide or tutorial of using shale > with myfaces? > > Moreover, in the s

Re: [shale]

2005-11-14 Thread Rahul Akolkar
On 11/14/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > Does anyone know if shale will run on JRun 4? They say that they are J2EE > 1.3 compatible. > As listed in the Foundation section of the Shale home page [1], the sample applications are configured for J2EE 1.4, but you should be able to get

Re: Lists within lists issue

2005-11-09 Thread Rahul Akolkar
On 11/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 11/9/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > > Michael Jouravlev wrote the following on 11/8/2005 7:15 PM: > > > > >> > >> property="someObject[${aProp.someIndex}].subobject[${bProp.someIndex}].someField"/> > > > > > Any idea how

Re: Lists within lists issue

2005-11-09 Thread Rahul Akolkar
On 11/9/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Michael Jouravlev wrote the following on 11/8/2005 7:15 PM: > > >> >> property="someObject[${aProp.someIndex}].subobject[${bProp.someIndex}].someField"/> > > > Any idea how to simplify input using JSTL 1.1 (JSP 2.0) only? > > Well, that would b

Re: [OT] Web application context case

2005-11-09 Thread Rahul Akolkar
On 11/9/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > It isn't from a link necessarily. > Usually it is because somebody typed it in instead of using the link we > provided. > Usually they have caps on or they somehow capitalize one letter. > I'd like to catch the people that are doing this and ha

Re: barfs if it's parameter is null

2005-11-07 Thread Rahul Akolkar
On 11/7/05, Mon Cab <[EMAIL PROTECTED]> wrote: > Hi all... > > I.e any way of using the tag less > strictly, so that value="bla"> will not cause an exception if var is > null. At the moment I am getting: Which is as advertised here [ http://struts.apache.org/struts-taglib/tagreference-struts-l

Re: Difference between and JS submit.

2005-11-07 Thread Rahul Akolkar
On 11/7/05, Scott Piker <[EMAIL PROTECTED]> wrote: > That's because, by design, a javascript submit() call does not invoke > whatever's established as the form's onSubmit action. It's not a struts > thing, it's a javascript/web browser thing. > > In these situations, just call the validation funct

Re: [shale][clay] CSS style classes on substituted elements

2005-11-05 Thread Rahul Akolkar
On 11/5/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > Note that my original example should probably have been > > > > #{shale:managed-bean-name} > > > > because we're not actually talking about an attribute here. > > > > The issue you raise, of course, is that you're actually trying to replac

Re: [shale][myfaces] selectManyCheckBox in usecases fails to validate

2005-11-04 Thread Rahul Akolkar
On 11/4/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > Rahul, > > To make sure I don't lose this in my inbox, could you please file a bug > report about it? > Sure, # 37361 [*] -Rahul * http://issues.apache.org/bugzilla/show_bug.cgi?id=37361 > http://issues.apache.org/bugzilla/ > > Than

Re: Shale timeline

2005-11-04 Thread Rahul Akolkar
On 11/3/05, Bernhard Slominski <[EMAIL PROTECTED]> wrote: > Hi Craig, > > thanks a lot for the answer, that's really helpful! > > > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Gesendet: Donnerstag, 3. November 2005 17:57 > > > As far as I'm concerned, the feature work I wanted to see for a

Re: Shale timeline

2005-11-04 Thread Rahul Akolkar
On 11/3/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > the dev list) on a grade. That being said, I would *not* assume 1.0.0 would > be anything other than an alpha. This is not necessarily an issue about > quality, it's more about API stability. I don't want to lock down quite > everything yet

[shale][myfaces] selectManyCheckBox in usecases fails to validate

2005-11-04 Thread Rahul Akolkar
Thought I'd changed something when I rolled Shale, but I see the following behavior in Shale 11/4 nightlies usecases.war as well. 1) Navigate to view corresponding to profile/profile3.jsp in Edit Profile dialog. 2) Validation for selectManyCheckBox fails with javax.faces.component.UISelectMany.INV

Re: c:forEach does not recognize HashSet when combined with nested EL ?

2005-11-01 Thread Rahul Akolkar
On 11/1/05, Keith Sader <[EMAIL PROTECTED]> wrote: > Sorry, I was reading off of the cuff - my mistake. Let me look at this > again... > > On 11/1/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote: > > Hi Keith, > > Thanks for responding. > > However, How will this solve my problem? The problem

Re: Can someone explain to me what is in http://jakarta.apache.org/taglibs/

2005-11-01 Thread Rahul Akolkar
On 11/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Are these tag libs seperate from what comes with Struts 1.2.7? For example I > am interested in using Struts to build a data grid application but I found a > datagrid library at: > http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-

Re: Expression in an expression?

2005-10-31 Thread Rahul Akolkar
Otmar - Please see reply below. On 10/31/05, Michael Rasmussen <[EMAIL PROTECTED]> wrote: > You could try putting all of your collections into a collection and > accessing them by the index that way, or you could use a: > > style approach combined with your current tag and use index > in a series

Re: Problems with custom taglibs

2005-10-26 Thread Rahul Akolkar
> > Eric Plante wrote: > > Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; > > prefix="c" %> > > in my jsp page? > > > > Eric > > Eric - Since the URI you're using belongs to JSTL 1.1, cross-check that you are: 1) using a Servlet 2.4 container 2) using a Servlet 2

Re: [Shale] Changing String type to HtmlInputText in Backingbean gives No Propertyeditor error

2005-10-13 Thread Rahul Akolkar
On 10/13/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: <[EMAIL PROTECTED]> > > > So my jsp has this: > > >value="#{registration.userName}" /> > > .. > > >binding="#{registration.password}" /> > > > > My backingbean RegistrationB

Re: Shale Question

2005-10-13 Thread Rahul Akolkar
On 10/13/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > Everything is working correctly now. I think the ViewControllerMapper was > not being set/picked up because I had specified the myFaces > org.apache.myfaces.webapp.FacesServlet directly instead of > javax.faces.webapp.FacesServlet. OK, I did gl

  1   2   >