nested tags and java.util.List

2004-04-24 Thread Rahul
i have extended DynaValidatorForm and created form bean that holds a List. It looks like this : beans is a List of type Bean which has only two variables name , age and the getter/setters for these two variables. I am using lazy list to populate this List. The business re

how to show data on jsp from bean

2005-09-16 Thread rahul
Hi all, I am new to struts and have a basic question regarding bean I am collecting some data(its a plain java bean) in an 'Action' from database and want to show that data on a jsp page from where it can be edited and submitted to some other 'Action' in the form of 'ActionForm' I want to kn

how to show data on jsp from bean

2005-09-17 Thread rahul
Hi all, I am new to struts and have a basic question regarding bean I am collecting some data(its a plain java bean) in an 'Action' from database and want to show that data on a jsp page from where it can be edited and submitted to some other 'Action' in the form of 'ActionForm' I w

Radio Button in ActionForm

2005-09-19 Thread rahul
input box where we do it by but how to go with radio buttons ? Any suggestions ? --Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Radio Button in ActionForm

2005-09-19 Thread rahul
l to 'M' or 'F'. > > Add the following to your jsp > > > > > -Original Message- > From: rahul [mailto:[EMAIL PROTECTED] > Sent: 19 September 2005 13:34 > To: Struts Users Mailing List > Subject: Radio Button in ActionForm > > hi all

tag

2005-09-20 Thread rahul
he corresponding value as displayed item. any Suggestions? --RahulJoshi > -Original Message- > From: rahul [mailto:[EMAIL PROTECTED] > Sent: Monday, September 19, 2005 8:43 PM > To: Struts Users Mailing List > Subject: RE: Radio Button in ActionForm > > > tha

RE: tag

2005-09-20 Thread rahul
tes and then add it to your > ArrayList object. Then pass the ArrayList object as the property. > > Regards > > Dave. > > -Original Message- > From: rahul [mailto:[EMAIL PROTECTED] > Sent: 20 September 2005 13:11 > To: Struts Users Mailing List > Subject: tag

RE: tag

2005-09-20 Thread rahul
referencing the ArrayList object. Ie ROOMTYPES as > below. > > >labelProperty="label"/> > > > -Original Message- > From: rahul [mailto:[EMAIL PROTECTED] > Sent: 20 September 2005 14:22 > To: Struts Users Mailing List > Subject: RE: t

RE: Help - I cannot validate a simple form with 2 fields

2005-09-21 Thread rahul
try this errors.add("usuario", new ActionError("login.usuario.requerido")); > -Original Message- > From: Francisco Antonio Vieira Souza [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 21, 2005 8:30 PM > To: Struts Users Mailing List > Subject: Re: Help - I cannot validate a simple

RE: Bean association with form

2005-09-21 Thread rahul
this might work - > -Original Message- > From: Michael Oliver [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 22, 2005 4:37 AM > To: 'Struts Users Mailing List' > Subject: Bean association with form > > > I have an Form called MappingElement, > > From

Testing Struts Applicaton

2005-09-22 Thread rahul
Hi All, Can anyone post some sample CactusStrutsTestCase code --RahulJoshi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Testing Struts Applicaton

2005-09-22 Thread rahul
- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper > Sent: Friday, September 23, 2005 1:05 AM > To: user@struts.apache.org > Subject: Re: Testing Struts Applicaton > > > rahul wrote: > > Can anyone post some sample CactusStrutsTestCase code > > T

tag within tag

2005-09-24 Thread rahul
Hi all, Can anyone tell me how to use tag inside I tried it like: but its not working, it is generating the following html http://localhost:8080/someAction.do?id=">My Desc what's the correct way of doing this? --RahulJoshi

RE: tag within tag

2005-09-24 Thread rahul
thanks for the help see inline comments > -Original Message- > From: Sławek Tuleja [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 24, 2005 1:57 PM > To: Struts Users Mailing List > Subject: Re: tag within tag > > > rahul wrote: > > >Hi all,

problem in Beanutils.copyProperties()

2005-09-26 Thread rahul
Hi all, I am having a problem in using copyProperties() of org.apache.commons.beanutils.BeanUtils class I am doing it in this way BeanUtils.copyProperties(destBean,srcBean) where destBean and srcBean both have a property by name date, which is of type java.sql.Timestamp() If date property of

ActionMessages with redirect

2005-09-27 Thread rahul
Hi all, Just before creating an ActioForward in my Action class, i am storing some messages using SaveErrors(). And I am using ActionForward(String path, boolean redirect) for creating the ActionForward with 'true' value for redirect parameter. My question is by doing this can I display the Acti

how to retain prepopulated values in ActionForm

2005-09-27 Thread rahul
Hi all, I need to show some prefilled value in a html form then take new inputs from the user and save the changes. I am doing this by prepopulating an ActionForm, putting it into request as an Attribute then displaying it onto the jsp. Its working fine and the changed value are also available in

RE: ActionMessages with redirect

2005-09-27 Thread rahul
ActionMessages with redirect > > > There are saveErrors() and saveMessages() that accept a session > instead of a request object. The items saved here are removed after > the request that accesses them. > > Hubert > > On 9/27/05, rahul <[EMAIL PROTECTED]> wr

RE: form bean population confusion

2005-09-30 Thread rahul
in DynaValidatorForm 5. Set the data in session or request scope in the form of a Bean 6. Forward the request to jsp2 7. In jsp2 show the data using tag or in the form of html form if you want to again send that data to some third action. --Rahul > -Original Message- > Fr

RE: form bean population confusion

2005-10-02 Thread rahul
where "beanName" is the name by which u have set the attribute in session or in request. > In jsp2, I used > > > . > , > 3. I didn't specify name attribute in and tags. Does > this cause any problem

junit test for database service classes

2005-10-02 Thread rahul
Hi all, In my struts application I am using JNDI for fetching database connections. I did this by defining a context in META-INF/context.xml of my application. Here is what lies in my context.xml file: And this is the code I use to get a connection : Context ctx = (Context) new InitialC

How to find length of a string in a bean

2005-11-18 Thread rahul
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. I tried but this works only with collection. Any help? --RahulJoshi

code too large for try statement

2004-05-17 Thread Rahul Mohan
uses a much better way of doing it! has anybody else faced this problem before? do we have any workarounds, other than using jsp:include? awaiting ur comments rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For

FW: code too large for try statement

2004-05-18 Thread Rahul Mohan
Hi, havent got a soln to this problem so fari am posting this again hoping somebody would help me out one more fact is that i cannot modify the jsp as such as it is being generated by a tool thanks rahul -Original Message- From: Rahul Mohan [mailto

RE: FW: code too large for try statement

2004-05-19 Thread Rahul Mohan
generated by Tomcat in the servlet. This definitely seems to be a smarter strategy. Now, my question is whether we can configure Weblogic in some way to do the translation as Tomcat does? ( I need to use Weblogic, thats a project requirement ) Please help. Thanks, rahul -Original

RE: struts-bean:write and dynamic property parameter?

2004-05-19 Thread Rahul Mohan
hi dennis,    ya...if u r using the rt version of taglibs u can use property="<%=parameter%>" . if u r using the el tags then use property="${parameter}"    hope this helps   rahul -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

java.lang.IllegalArgumentException: No bean specified , when I submit using nested:tags

2005-06-22 Thread Kothari, Rahul
} Please help. Rahul

Re: [OT] Anyone going to JavaOne!

2005-06-25 Thread Rahul Akolkar
Marked OT. Indeed, I see lot of interesting talks, which not all of us can attend. Will you be posting more than the abstracts (after the talks)? Thanks. -Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Lazy List problem

2005-06-27 Thread Kothari, Rahul
nce of the TradeAdjBean object */ public Object create() { return new CpExternalCreditRating(); } } } Please suggest what to do ? I have been stuck with this for some time now. Rahul

Re: EL expression not getting evaluated

2005-06-29 Thread Rahul Akolkar
he Servlet 2.4 schema. > For completion, WSAD 5.1.2 is J2EE 1.2/1.3. J2EE 1.4 (JSP 2.0) is RAD 6.0 and up. -Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [offlist] Re: Newbie Help

2005-07-06 Thread Rahul Akolkar
t "${project.projectId}". Same result. > See Question 1 [ http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ]. See the rest if you have another minute ;-) c:out's aren't needed. -Rahul - To

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: > > > > "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd&quo

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

2005-08-13 Thread Rahul Akolkar
nterface [2] in the RDC tutorials [3] section of the Taglibs wiki. Your colleague may also want to look at the RDC website [4], for developments and documentation, if there is interest. I'd be glad to help on taglibs-dev / user @jakarta.apache.org if there are other questions. -Rahul Refer

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

2005-08-14 Thread Rahul Akolkar
n a Commons (Sandbox) implementation. Commons-SCXML wiki is up [2], the rest will soon follow. The Reusable Dialog Components (RDC) framework [3] includes a SCXML dialog management strategy. -Rahul [1] W3C SCXML WD [ http://www.w3.org/TR/2005/WD-scxml-20050705/ ] [2] Commons SCXML wiki [ http://wiki.apache

Re: Problem With NOT EMPTY Using the Tag

2005-08-24 Thread Rahul Akolkar
"EMPTY", expected one of ["}", Keywords, in many languages, including JSP 2.0 EL are case sensitive. Questions purely about JSTL or EL are better addressed to taglibs-user@jakarta.apache.org -Rahul - To unsu

Re: Tag that uses tags

2005-08-24 Thread Rahul Akolkar
Java has only so much joy when it comes to tag composition. As a bonus, you won't have to write out.println's or escape double quotes in case you're rendering via an XML variant markup (or HTML). Does this help any? [ http://wiki.apache.org/jakarta-taglibs/ReusableDialogCompone

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

2005-05-24 Thread Rahul Akolkar
tor? Please see question 1 here [ http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ] -Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: output device support

2005-05-25 Thread Rahul Akolkar
eck out the "MusicStore sample application actions" section here [ http://cvs.apache.org/viewcvs.cgi/jakarta-taglibs-sandbox/rdc/examples/web/WEB-INF/struts-config.xml?view=markup ] Note how the GUI and speech channels are backed by t

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

2005-05-31 Thread Rahul Akolkar
[ http://marc.theaimsgroup.com/?l=taglibs-user&m=111756793724193&w=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 > informati

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 [ http://www.answersingenesis.org

Partial Validation

2010-04-21 Thread Rahul Mohan
t the entire page to be validated. I am using annotation for validation. Regards, Rahul =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemin

Re: Action result to go nowhere

2010-04-22 Thread Rahul Mohan
Try 'return INPUT'. - rahul From: Upasana Sharma To: Struts Users Mailing List Date: 22-04-2010 15:08 Subject: Re: Action result to go nowhere hi thanks for your response.I tried that But my browser goes to some blank page with that respective action name as the url. It does no

Re: Action result to go nowhere

2010-04-22 Thread Rahul Mohan
10 15:17 Subject: Re: Action result to go nowhere *I do not want to go to some result page * *On return INPUT** * *No result defined for action com.upasana.action.ComAction and result input* :) On Thu, Apr 22, 2010 at 3:13 PM, Rahul Mohan wrote: > Try 'return INPUT'. >

Re: Jquery autocomplete with struts2.

2010-04-22 Thread Rahul Mohan
} --- Struts XML options --- JS & HTML $().autocomplete( { source: 'your-urlbase/GetMasterData'}); - rahul From: s

Re: Jquery autocomplete with struts2.

2010-04-23 Thread Rahul Mohan
suggest you post this to jquery forums. From: sharath karnati To: Struts Users Mailing List Date: 23-04-2010 19:56 Subject: Re: Jquery autocomplete with struts2. Hi All, In firebug console it is displaying data correctly(what I set in Action class), like I set one two three

Re: ajax method returning "login", how to do??

2010-04-23 Thread Rahul Mohan
Hi, You will have to handle the redirect on the client and not on the server when ajax is being used. Server should return some error_message or login page url back and the client should do something like this: if(return_text == 'Login') document.location = Hope this help

Re: JSON Plugin Question

2010-04-26 Thread Rahul Mohan
t possible way in jQuery would be http://api.jquery.com/jQuery.getJSON/ - Rahul From: Ozu Natsu To: user@struts.apache.org Date: 26-04-2010 20:02 Subject: JSON Plugin Question Hello, I am trying to use the JSON plug-in for the first time. I have a form that uses jquery to submit to a stru

Re: S2 validation without API ties

2010-04-26 Thread Rahul Mohan
. Lets S2 ( or rather xwork ) take care of the wiring. Essentially, building your framework using the underlying configurable interceptor stack mechanism. Does that answer your question? - Rahul From: Christopher Schultz To: Struts Users Mailing List Date: 27-04-2010 02:29 Subject: Re: S2

Re: Partial Validation

2010-04-27 Thread Rahul Mohan
the getValidator to return only the applicable validators for the current method by processing the annotations. I can share this code if anyone is interested. - Rahul From: Wes Wannemacher To: Struts Users Mailing List Date: 27-04-2010 21:12 Subject: Re: Partial Validation When you submit

Re: Struts : Maintaining state of the Form

2010-05-12 Thread Rahul Mohan
each page in the wizard is downloaded as an HTML fragment and added to the divs inside the main page. That way, the previous 'pages' are just hidden divs and to go 'back' just unhide the previous div. ( Think of it as an Ajax based tabbed pane without the tab buttons. ) - r

Re: Encrypting parameters

2010-06-02 Thread Rahul Mohan
rol on the data based on the user credentials. cheers, Rahul Mohan From: Stephane Cosmeur To: Struts Users Mailing List Date: 03-06-2010 08:53 Subject: Encrypting parameters Hello, I would like to improve the security of my web application. My problem is I would like to encrypt the visible

Re: Jasper Report Problem in HTML format

2010-06-21 Thread Rahul Mohan
Looks like its a path issue. Please see if the image tags in the generated HTML point to the proper URL for images. From: Amol Ghotankar To: Struts Users Mailing List Date: 21-06-2010 17:21 Subject: Re: Jasper Report Problem in HTML format Dear List members, My problem is still not reso

Re: Modify JSON Format?

2010-06-22 Thread Rahul Mohan
e the order available on client from the table declaration, so it should be easy. ) Regards, Rahul Mohan From: Ozu Natsu To: Struts Users Mailing List Date: 22-06-2010 20:57 Subject: Modify JSON Format? Hi, I am using JSON plugin to return data to JQuery DataTable, but format is not compa

Re: Ajax Response - Array Objects

2010-07-15 Thread Rahul Mohan
Chris, Maps are serialized as 'name : value' pairs, whereas Lists are serialized as Arrays. Change your return type to a List and try. - Rahul From: "CRANFORD, CHRIS" To: Date: 15-07-2010 19:04 Subject: Ajax Response - Array Objects I cannot seem to get my Ajax requ

Re: Reading input stream (xml)

2010-07-28 Thread Rahul Mohan
Doesn't this link (http://struts.apache.org/2.0.14/docs/file-upload.html) help you? From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 28-07-2010 22:09 Subject: Reading input stream (xml) If we send XML content in the POST/PUT request to Struts action controller, how to read th

Re: Reading input stream (xml)

2010-07-28 Thread Rahul Mohan
t for this requirement. - Rahul Mohan From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 29-07-2010 10:32 Subject: Re: Reading input stream (xml) Actually, I am not uploading a file. I am creating XML from the data entered into the form and sending it to the action controller in the

Re: Reading input stream (xml)

2010-07-29 Thread Rahul Mohan
Arun, Are you doing a POST with multi-part encoding? If so, a solution similar to file upload would work for you. If not, then the String in action-form approach that I posted earlier should work. - Rahul Mohan From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 29-07-2010 13

Re: Reading input stream (xml)

2010-07-29 Thread Rahul Mohan
string format. And I am not using multipart encoding. Just sending the XML content in POST body. -- AB On Thu, Jul 29, 2010 at 2:38 PM, Rahul Mohan wrote: > Arun, > > Are you doing a POST with multi-part encoding? If so, a solution similar > to file upload would work for you. If n

Re: Reading input stream (xml)

2010-07-29 Thread Rahul Mohan
d. 3. Put a custom servlet-filter in front of the struts controller to get the request data and re-pass it as a request parameter to struts. I prefer the first approach which is the easiest and does no harm. - Rahul From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 30-07-2010

Re: Reading input stream (xml)

2010-07-30 Thread Rahul Mohan
all the action controllers gets XML in the request. So, I may have to list down the controllers which gets the XML content in the request. -- AB On Fri, Jul 30, 2010 at 10:41 AM, Rahul Mohan wrote: > Think I understand your problem now. AFAIK Struts doesn't have any > available me

Re: URL authentication

2010-08-09 Thread Rahul Mohan
to a particular resource. This can also be built into the same interceptor, but you will have to supply the authorization table somehow - usually from an LDAP or RDBMS. - Rahul From: Guy Thomas To: Struts Users Mailing List Date: 09-08-2010 11:47 Subject: URL authentication I am adding

Re: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Rahul Mohan
to the JSP. On submission, the object is injected back into the action class from session before the params interceptor is invoked, which will update the same object from http request. So, basically its the same object that gets updated. Hope this works for you. - Rahul From: "R

Re: How do I get wibble[0][something]=blah to parse into an action?

2010-09-05 Thread Rahul Mohan
list to a list of a new container class which has the map in it (see code below). private List; class RowData { private Map cellData; } - Rahul From: Andy Chapman To: user@struts.apache.org Date: 04-09-2010 06:29 Subject: How do I get wibble[0][something]=blah to parse into an action

Re: Dojo datetimepicker problem

2010-09-09 Thread Rahul Mohan
Andi, I have noticed this happening once in a while in my app too. haven't investigated yet. Did you try to reproduce this with your browser cache turned off? /Rahul From: "Andreas Sachs" To: user@struts.apache.org Date: 08-09-2010 18:54 Subject: Dojo datetimepicker pr

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
>> Doh! This wouldn't be the raison d'etre for the Scope plugin by any chance? Exactly! I think scope plugin solves your problem. The conversation support in scope plugin is not as rich as that in seam, but can serve as the starting point. I have fixed a couple of bugs in the scope plugin and

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
> rahulmohan wrote: > > > > > > Exactly! I think scope plugin solves your problem. The conversation > > support in scope plugin is not as rich as that in seam, but can serve as > > the starting point. I have fixed a couple of bugs in the scope plugin and > > I am working on some enhancements

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
Roger, Can I simply mail the eclipse project to you? We can discuss the usage over email and get it running. I am planning to work on this over the next week and therefore we can actually release the plugin formally in a week or two. Regards, Rahul > rahulmohan wrote: > > >

Re: Bizarre sporadic problem with streaming a stylesheet.

2010-09-20 Thread Rahul Mohan
Dave, Did you take a look at this request through Firebug? It might show some useful info. Also, is the content type proper (text/css) in the request header? I can't see you setting it anywhere. - Rahul From: Dave Belfer-Shevett To: user@struts.apache.org Date: 21-09-2010 10:07 Su

Re: Store permanently file in temp directory

2010-10-13 Thread Rahul Mohan
> Does the (temporary!!) files get deleted automatically? I though that > we have to delete it with some additional code. > Can any one make clear on this. > Yes. On upload, the commons-fileupload library creates temporary files on the disk which are deleted on completion of the request. I

Re: Store permanently file in temp directory

2010-10-13 Thread Rahul Mohan
details.html?groupId=struts&artifactId=struts&version=1.2.9&tab=DEPENDENCIES#tabs > > Dave > > On Wed, Oct 13, 2010 at 4:10 PM, Anjib Mulepati wrote: > >> I am not using common-fileupload library so do I have to write extra piece >> of code to delete? &g

Re: struts file tag "accept" attribute

2010-10-14 Thread Rahul Mohan
Most of the browsers do not support accept attribute correctly. I fixed this in my application using some javascripts triggered on change. From: cellterry To: user@struts.apache.org Date: 14-10-2010 15:48 Subject: struts file tag "accept" attribute Dear all, I find that accept attribute

Re: How to get the value of Constants defined in struts.xml

2010-10-21 Thread Rahul Mohan
Just put an @Inject(name="MYCONSTANTVARIABLE") annotation on the setter in action class. - RM From: SudhirJava To: user@struts.apache.org Date: 21-10-2010 17:58 Subject: How to get the value of Constants defined in struts.xml I am sorry, if this thread is repeated. Please tell tell me h

Re: File Download with multiple files. Design question

2010-11-19 Thread Rahul Mohan
() with the session-id as a parameter whenever a session is invalidated. Deleting file after finish of streaming might not be a good idea, since it is very common to download the same file multiple times. - Rahul From: RogerV To: user@struts.apache.org Date: 19-11-2010 15:14 Subject: File

dynamic textfield

2012-04-22 Thread rahul bhalla
hello I m rahul and i want to create dynamic text box using struts2 please suggest some direction so that i can proceed and one more thing is that, i m using key/value then how can i set the value to display on jsp page i m using some thing like this -- Regards Rahul Bhalla (9953225211)

Re: dynamic textfield

2012-04-23 Thread rahul bhalla
Apr 2012, at 04:59, rahul bhalla wrote: > > > hello > > I m rahul and i want to create dynamic text box using struts2 > > > > please suggest some direction so that i can proceed and one more thing is > > that, i m using key/value then how can i set the value to displ

Re: Struts 2 Rest Showcase Example : Issue in understanding code

2012-05-01 Thread rahul bhalla
http://viralpatel.net/blogs/2009/12/introduction-to-struts-2-framework.html I started learning from above tutorial i hope this will also help you to learn Struts2

Re: S2 custom authentication: remembering original request

2013-07-12 Thread Rahul Tokase
Hi Here is the way you can achieve this. You need to design login action to have the url 'redirectto' parameter which will holds the redirectaction. Upon login interception you will first check the login is done and then check for this parameter if there any value then simply forward to that action

Re: Rest + JSON

2014-02-26 Thread Rahul Tokase
Just a thought In struts2 json plugin we can have control using annotations. May be you can seek/find the same in rest plugin. On Wed, Feb 26, 2014 at 12:51 PM, Lukasz Lenart wrote: > 2014-02-25 19:08 GMT+01:00 Felipe Lorenz : > > Hi, > > > > I was not clear with my doubt. I dont´t want to use

Facing Problem during Struts 2 Upgrade [upgrading from Struts 2.1.8 to Struts 2.3.24]

2015-12-27 Thread Rahul Singh
steps or help us to diagnose the problem. Regards, Rahul kumar Singh

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
Jsp servlet to do that. Also, for testing I use the > jasper ant task to compile the jsps, and the resulting java is > definitely not pre-evaluating the strings passed into the html: (or > htm-el:) tags. How do I convince jasper to do that? > Doesn't take much: http://wiki.apache.o

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
parate JSRs (52 and 152 respectively). -Rahul > > Michael. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

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: jstl tutorial/reference?

2006-01-23 Thread Rahul Akolkar
e > also of how to use the jstl tags. > The only reference you need is the set of documents published via JSR-52 [ http://www.jcp.org/en/jsr/detail?id=52 ]. Everything else is gravy ;-) -Rahul > Thanks > Deep > ---

Re: constant strings in the tags

2006-01-24 Thread Rahul Akolkar
why would it be able to access a field directly? > > Known issue, push for it to be resolved here: https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=145 -Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: constant strings in the tags

2006-01-24 Thread Rahul Akolkar
t;; //... } elsewhere, in a JSP 2.0 page: ${foo.BAR} <%-- Line of interest --%> The issue I quoted earlier says the above line should have the *desired* effect. -Rahul > > Dave > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

html:select

2006-02-01 Thread rahul kshirsagar
Hi, I am using for drop down population.Now i want to populate alreay selected value in the drop down when page is refeshed.The thing is i have that value with me which is to be populated but i dont know how to set it in . I know it is possible using bean:write but dont have the syntax. If yo

Re: RE: html:select

2006-02-01 Thread rahul kshirsagar
Murugesan,Kathiresan(Cognizant) wrote : > >Hi, > >In your action class just set the value in the respective >field's set method. It will automatically select the value. > >Regards >Kathir. > > >____ > > From: rahul kshirsagar [ma

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 -

Re: newbie guestion: JSTL Expression language

2006-03-16 Thread Rahul Akolkar
ole); > > This tag: > > > Prints out the role fine > > While the following statements are newer true: > > Expression must be contained in ${ and } in its entirety i.e. ${role eq 'editor'} > The role is editor >

Re: [Shale] jsp vs. jspx

2006-03-22 Thread Rahul Akolkar
r as Shale is concerned? > Probably not, but my experience with using jspx files has been similar (there are probably more "issues" with container processing of jspx files than jsp files -- regardless of container). Shale shouldn't care. -Rahul > Thanks > ---

Re: Troubles with comparisons using logic tags

2006-03-22 Thread Rahul Akolkar
> Thats because the "value" attribute is passed the literal "viewed" in the first case, leading to a String comparison. If you're able to use EL, pass "${sessionScope.viewed}" instead (if not, a runtime expression). -Rahul > I don't know what can I do.

Re: Expression Language

2006-03-24 Thread Rahul Akolkar
n: Invalid argument looking up property: > "http://namespace-uri.org.someProperty"; of bean: "uriValueMap" > > Is there any way to preserved the java.net.URI type as a lookup key? > Probably not using bean:write. I prefer JSTL counterparts for the tags above. Thi

Re: focus in html object

2006-03-24 Thread Rahul Akolkar
e html > object (if there is any error related to the property )? > > --- > The functionality is provided, since focus is rtexprvalue true, so you can render an expression of choice as its value (for instance, one which checks for password errors being present and returns either

Re: Error

2006-03-24 Thread Rahul Akolkar
e is probably an errorKey attribute on the page. Besides that, it seems you have <= 1.2.4 (IIRC) binaries in classpath. The error style attributes were added around that timeframe (check SVN / release notes in case I'm off about the minor version). -Rahul > MRInfoForm is my ActionForm an

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

2006-03-24 Thread Rahul Akolkar
e (since they exist in BeanUtils). Not disputing the patch idea ;-) -Rahul > Hmm, maybe next > week I'll find time to fix that. (Patches to docs are welcome!) > > Anyway, I think you missed a statement a few paragraphs down the same > section: "And, of course, while the Dy

Re: upgrading from 1.1 to 1.2.9

2006-03-24 Thread Rahul Akolkar
; code or wrangling with configurations. > > So, my question - is this expected behavior? Is 1.2.9 backward compatible > to 1.1? Or are there some hidden gotchas that I should be concerned about? > This [1] is a useful related resource. -Rahul

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

2006-03-24 Thread Rahul Akolkar
that would happen with an unmodified struts-blank.war deployment on Tomcat. In any case, things to do: * Examine jsp-api jar(s) in classpath * Check behavior with a servlet 2.4 web.xml -Rahul > I know it's probably something obvious and I may look like a dumb n00b, but > I'v

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/StrutsUpg

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 str

  1   2   3   >