Re: Session Question

2005-09-28 Thread Rahul Akolkar
On 9/28/05, Wendy Smoak [EMAIL PROTECTED] wrote: From: Troy Bull [EMAIL PROTECTED] snip/ c:out value=${session.variable}/ %= session.getAttribute(variable) % So the c:out tag isn't working, any ideas why that would be? Try just: c:out value=${variable}/ It will check page,

Re: Fw: Error verifying struts-1.2.7.zip

2005-09-29 Thread Rahul Akolkar
On 9/29/05, Niall Pemberton [EMAIL PROTECTED] wrote: Forwarding to the user list I'm a pgp novice, can anyone help with this? Running pgp on windows, it all seems fine to me - it verifies the struts-1.2.7.zip.asc file no problem, but then my key is already in my key store. snip/ Looks

Re: embed jstl or other struts tag or scriplets within html:text

2005-10-01 Thread Rahul Akolkar
On 10/1/05, Karr, David [EMAIL PROTECTED] wrote: Ok. Several things here. snip/ On the other hand, if I'm wrong, and WSAD 5.1 is a JSP 2.0 container, snap/ You're right :-) WSAD 5.x (WAS, really) is J2EE 1.2/1.3 (you can pick which one), WSAD 6.x has J2EE 1.4 as well (and, by transitivity. JSP

Re: Shale Question

2005-10-13 Thread Rahul Akolkar
On 10/13/05, Ryan Wynn [EMAIL PROTECTED] wrote: I seem to be getting warning No ViewControllerMapper has been configured for this application. This started happening in the portlet environment, not in plain servlet environment. First question, should I have to set up a view controller

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: h:inputText id=userName required=true value=#{registration.userName} / .. h:inputSecret id=password required=true

Re: Problems with custom taglibs

2005-10-26 Thread Rahul Akolkar
snip/ 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 snap/ 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.4 web

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: c:choose style approach combined with your current tag and use index in a

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:

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 is that the

[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

Re: Shale timeline

2005-11-04 Thread Rahul Akolkar
On 11/3/05, Craig McClanahan [EMAIL PROTECTED] wrote: snip/ 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

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][myfaces] selectManyCheckBox in usecases fails to validate

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

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

2005-11-05 Thread Rahul Akolkar
On 11/5/05, Gary VanMatre [EMAIL PROTECTED] wrote: snip/ 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 replace part of

Re: Difference between html:submit 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 function

Re: logic:match 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 logic:match tag less strictly, so that logic:match parameter=var value=bla will not cause an exception if var is null. At the moment I am getting: snip/ Which is as advertised here [

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 have

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: html:textarea 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 be

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: html:textarea property=someObject[${aProp.someIndex}].subobject[${bProp.someIndex}].someField/ Any idea how to

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. snip/ 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

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

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 c: tags are copied directly into the html output, with the browser

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). I have

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 ? snip/ The Struts HTML taglib, in

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. logic:iterate name=purchaseConsolidationItemForSaleForm property=itemForSale id=itemForSale indexId=ctr

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. snip/ 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: 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. snip/

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

2005-11-18 Thread Rahul Akolkar
OTOne does wish that every UI technology had the XForms concept of repeat [1]/OT -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

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 html:text, html:dropdown or html:hidden fields. I am not able to find a way to

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. snip/ Try JSTL fn:length(). -Rahul I tried bean:size but this works only with collection. Any help?

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 ? snip/ Look at the MANIFEST in

Re: Custom tags referencing struts tags

2005-11-19 Thread Rahul Akolkar
On 11/18/05, Laurie Harper [EMAIL PROTECTED] wrote: Rahul Akolkar wrote: snip/ 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.0 is to use a tag file, which can then just contain standard JSP

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. Getting the the Struts tags to be 2.0-ready is something I'd

Re: [OT]AW: AW: STRUTS PHP

2005-11-19 Thread Rahul Akolkar
@struts.apache.org Subject: [OT]AW: AW: STRUTS PHP Date: Wed, 16 Nov 2005 16:44:56 +0100 You are right: This is off-topic! For me the c:import seems to be exactly what I need. Thanks for the tip. Martin -Ursprüngliche Nachricht- Von: Rahul Akolkar [mailto:[EMAIL PROTECTED] Gesendet

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, list,

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 context-param param-nametotalSamples/param-name

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: snip bean:define id=myValue1 type=String/ bean:define id=myValue2 type=String/ %=(myValue1 + - myValue2)%

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? html:submit styleClass=cssButton value=fmt:message key=labels.loginButton / /

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 fmt:setBundle). Ofcourse, its your decision. Can you

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: html:submit styleClass=cssButton value=fmt:message key='labels.loginButton' / / Sometimes double quotes inside double quotes confuses the compiler. If you put single quotes inside the double quotes it might

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: c:set var=msgfmt:message key=msg.key//c:set snip/

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: snip/ I just started working on the Struts Action 1.x compatibility layer tonight so its too early to say, snap/ On 12/1/05, Ted Husted [EMAIL PROTECTED] wrote: snip/ Meanwhile, I'm working on a set of rosetta applications that show how

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 :) snip/ 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

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 !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app

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 used it.

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 html:select tag that, when a user selects an option, a submit() is forced through a javascript call. The JSP code is: html:select

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 selectedIndex

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 this: c:out

Re: chinese characters and bean tags

2005-12-16 Thread Rahul Akolkar
On 12/16/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: snip/ 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. So, here the most

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 idea,

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}} snip/ Thumb rule: EL expressions that look like this are invalid: ${...${...}...} (unless you have

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

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 working fine now.

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? snip/

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;

Re: Problem in img src=img.gif path?

2005-12-24 Thread Rahul Akolkar
On 12/24/05, Vikrama Sanjeeva [EMAIL PROTECTED] wrote: Hi, Yes, it's working now with html:base/. 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

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:

Re: tabs is struts

2005-12-24 Thread Rahul Akolkar
On 12/24/05, Martin Gainty [EMAIL PROTECTED] wrote: You can use jsp:include page=local_URL flush=true/ 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

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: snip/ 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: [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: snip/ My Search still throws a nasty error, but I guess I shall struggle with that awhile before I give up

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 state charts for a specific purpose). Self

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: snip/ 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 without

Re: How to iterate using c:forEach with DynaActionForm

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 form-bean name=viewlinephase type=org.apache.struts.action.DynaActionForm form-property name=viewNames type=java.util.Collection / /form-bean In My jsp i have

Re: How to iterate using c:forEach with DynaActionForm

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 html:select property=selectedViewsize=5 c:forEach var=viewName items=${viewlinephase.map.viewNames} html:option value=${viewName.l1082CODE} c:out

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? snip/ Tomahawk calendar [1] for one. -Rahul [1] http://myfaces.apache.org/tomahawk/calendar.html Please let me know. Thanks n advance jeeva --

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 remember to

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. c:out/ is overrated in JSP = 2.0, IMO. Just curious why is ${fn:escapeXml(test)} any better than c:out value

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 you're using JSP

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Michael Jouravlev [EMAIL PROTECTED] wrote: snip/ 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. snap/ JSTL is not part of JSP 2.0. They're separate JSRs (52 and 152 respectively).

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 td fmt:formatNumber value=${Form1.amount} type=currency/ /td snip/ ... value=${Form1.map.amount} ... -Rahul But only half of JSP is getting

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 jstl

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 (bean:write...filter=true) I can filter html output: becomes gt; ... How can I filter output from JSP expressions (${...}) ? Is this possible? snip/ ${fn:escapeXml(...)} or c:out value=${...} / -Rahul Thanks

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: c:out value=${role}/ Prints

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 idea

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 (I'm

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. logic:iterate name=uriList id=uri write:iterate name= uriValueMap property=${uri}/ snip/ I will assume thats bean:write.

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 password is

Re: html:text / 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: html:text property={MRInfoForm.cardInfoBean.cardNumber} / snip/

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.) snip/ The intent probably was to mention that those converters are *guaranteed* to be available (since they exist in

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 worked.

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? snip/ 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

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? snip/ Probable starting points: http://struts.apache.org/struts-action/userGuide/release-notes.html http://wiki.apache.org/struts/StrutsUpgrade -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' ) snip/ Use JSTL: c:if test=${a eq 'option1' or a eq 'option2'} ... /c:if and is also available in EL similarly. -Rahul to struts code I don't know how put || or

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 html:text tag. errorKey errorStyle errorStyleClass errorStyleId snip/ Related tlddoc contains short descriptions:

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 snip/ Maybe you're looking for its nested counterpart, nested:text? -Rahul html:text property=username size=20 maxlength=20 styleClass=inputtype

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 measure can

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??? snip/ 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: 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 ... :( snip/ 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

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: Struts Tag - logic:match - Has anyone used this?

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 logic:match tag in the following scenario: % String menuRole = ABC; % . Now, which of the following three is the correct syntax for the match comparing? logic:match

[OT] Re: setting String in scope (JSTL)

2005-05-24 Thread Rahul Akolkar
On 5/24/05, andy wix [EMAIL PROTECTED] wrote: snip/ I was hoping that I would then be able use the variable as in the following: tr class=${background} but it doesn't work. Is EL working in template text in other JSPs in the same context? Do you have a servlet 2.4 web app descriptor?

Re: output device support

2005-05-26 Thread Rahul Akolkar
On 5/25/05, Wiebe de Jong [EMAIL PROTECTED] wrote: How would I go about supporting multiple output devices, such as browsers, Blackberries, phones and various PDA devices? Are there any Struts extensions out there for this? Or should I investigate Sitemesh or Cocoon? So, the application(s) may

Re: Dynamically adding components to pages (using struts and custom tags)

2005-05-31 Thread Rahul Akolkar
[ http://marc.theaimsgroup.com/?l=taglibs-userm=111756793724193w=2 ] -Rahul On 5/31/05, Marius Botha [EMAIL PROTECTED] wrote: Hi there, Hope someone can help me. I have a requirement where my system needs to prompt users for certain information at certain times in a process. To do this

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Rahul Akolkar
Allow me to define a new marker (Way, ) times 3 OT. I have left OT in for existing filters. -Rahul P.S.- 1) I suspect this is how DJ went to programming school [ http://www.bedlam.syol.com/ascendin.jpg ]* 2) You can convince the peasant Leon, given gas prices [

Re: [OT] Anyone going to JavaOne!

2005-06-25 Thread Rahul Akolkar
On 6/25/05, Craig McClanahan [EMAIL PROTECTED] wrote: Not only going, but speaking: * TS-6911 What's New With Sun Java Studio Creator? (Tuesday, 12:15-1:15, Esplanade 304) * TS-7397 Shale: The Next Struts? (Wednesday, 12:15-1:15, Esplanade 307) snip/ Marked OT. Indeed, I see lot of

Re: EL expression not getting evaluated

2005-06-29 Thread Rahul Akolkar
On 6/29/05, Karr, David [EMAIL PROTECTED] wrote: I don't know whether WSAD 5.1.2 is a JSP 2.0 container. If it is not, then you'll need to use the Struts-EL taglib. If it is a JSP 2.0 container, then you'll need to make sure that your web.xml is using the Servlet 2.4 schema. For

Re: [offlist] Re: Newbie Help

2005-07-06 Thread Rahul Akolkar
On 7/6/05, Frasso, Anthony [EMAIL PROTECTED] wrote: snip/ Instead of doing what I would expect, it prints out the the text of $(project.projectId} instead of its value. Note that I also tried using your JSP 2.0 recommendation, replacing the c:out tag with just ${project.projectId}. Same

Re: [offlist] Re: Newbie Help

2005-07-07 Thread Rahul Akolkar
On 7/6/05, Frasso, Anthony [EMAIL PROTECTED] wrote: Thanks for your help, Rahul. My current web.xml file looks like this: ?xml version=1.0? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;

Re: [OT] Struts and XML - Any stories to tell?

2005-08-13 Thread Rahul Akolkar
On 8/12/05, Ted Husted [EMAIL PROTECTED] wrote: A colleague is looking to add VoiceXML capabilities to their Struts consumer-to-business application. I don't see any prior references to VoiceXML in the archives, just this one aside: *

Re: [OT] Struts and VoiceXML - Any stories to tell?

2005-08-14 Thread Rahul Akolkar
On 8/13/05, Ted Husted [EMAIL PROTECTED] wrote: Oops, subject imprecise: /s/XML/VoiceXML/ snip/ And for the next generation of dialog management, I'd look at State Chart XML, a Working Draft out of the W3C Voice Browser Working Group [1], which has resulted in a Commons (Sandbox)

  1   2   >