same bean multiple fields

2010-06-08 Thread Upasana Sharma
. -- Thanks in advance Upasana Sharma

Re: same bean multiple fields

2010-06-08 Thread Upasana Sharma
Thanks for ur reply... by i m using struts 2.0... 2010/6/8 Paweł Wielgus poulw...@gmail.com Hi Upasana, if You are using struts1 You may look here: http://struts.apache.org/1.x/struts-taglib/indexedprops.html Best greetings, Paweł Wielgus. 2010/6/8 Upasana Sharma sharma...@gmail.com

Re: same bean multiple fields

2010-06-08 Thread Upasana Sharma
to the JSP. Let us know where you are at exactly. On Tue, 2010-06-08 at 13:35 +0530, Upasana Sharma wrote: Thanks for ur reply... by i m using struts 2.0... 2010/6/8 Paweł Wielgus poulw...@gmail.com Hi Upasana, if You are using struts1 You may look here: http://struts.apache.org

Re: If theme info could be added to http://struts.apache.org/2.1.8.1/docs/datetimepicker.html

2010-06-02 Thread Upasana Sharma
thanks for the info that was very useful... -- Thanks and Regards Upasana Sharma On Wed, May 12, 2010 at 9:35 PM, Emi Lu em...@encs.concordia.ca wrote: Hello, Can someone have the permission update this document http://struts.apache.org/2.1.8.1/docs/datetimepicker.html By adding

load dynamically created files in jsp

2010-05-14 Thread Upasana Sharma
program the url i get is like D:\myWorkspace\ui\WebContent\images\JavaTemp2261198016333434327.jpg, that is my struts project folder. How can i make the image accessible to my jsp. -- Thanks and Regards Upasana Sharma

Re: load dynamically created files in jsp

2010-05-14 Thread Upasana Sharma
not the relative url using context can u just help me out how should i deal with the s:url tag thanks in advance On Fri, May 14, 2010 at 11:33 AM, Upasana Sharma sharma...@gmail.comwrote: Hi I have a scenario where i create a temporary dynamic image file from the database and try to show it on my

Re: s:select help

2010-05-05 Thread Upasana Sharma
On Tue, May 4, 2010 at 6:33 PM, RogerV roger.var...@googlemail.com wrote: Upasana Sharma wrote: listValue=%{getText('myCategory.'+toString())} this way i can change the select display value from .properties file in .properties i have to use myCategory.ELECTRIC= Electric Neat

s:checkboxlist help

2010-05-05 Thread Upasana Sharma
s:checkboxlist list=#{0:'',1:'',2:''} name=user label=%{getText('com.upasana.type.'+toString())}/s:checkboxlist But the key value is not passed to getText() The idea is to just initialize the keys in the checkboxlist and fetch the corresponding display text from .properties file Thanks in

Re: s:checkboxlist help

2010-05-05 Thread Upasana Sharma
attribute is only used to render the label of the group of checkboxes. It is not used in an iterative way. In order to access to your .properties file, you have to build your list in your action then give it in list attribute. Regards Sébastien Le 05/05/2010 10:56, Upasana Sharma a écrit

s:select help

2010-05-04 Thread Upasana Sharma
option display name to be fetched from some .properties file based on the key value how should i apporach the scenario? Thanks in advance... Upasana Sharma

Re: s:select help

2010-05-04 Thread Upasana Sharma
I have also seen that there is some function called ordinal() in enum. can anyone suggest how can i use it in s:select tag On Tue, May 4, 2010 at 12:01 PM, Upasana Sharma sharma...@gmail.com wrote: Hi I am using s:select and populating it with enum . s:select list=categoryList name

Re: s:select help

2010-05-04 Thread Upasana Sharma
listValue=%{getText('myCategory.'+toString())} this way i can change the select display value from .properties file in .properties i have to use myCategory.ELECTRIC= Electric On Tue, May 4, 2010 at 12:24 PM, Upasana Sharma sharma...@gmail.com wrote: I have also seen that there is some

struts if tag related help

2010-04-28 Thread Upasana Sharma
Hi is something like this possible in struts2 s:if test=%{not empty #session.UserList} I am aware of logic:notempty tag but is it possibel to achive the same result using s:if tag.. -- Thanks and Regards Upasana Sharma

Re: struts if tag related help

2010-04-28 Thread Upasana Sharma
thanks a lot it worked out... On Wed, Apr 28, 2010 at 7:46 PM, Wes Wannemacher w...@wantii.com wrote: s:if test=%{#session.UserList.size() 0} (assuming that #session.UserList evaluates to some form of java.util.Set) -Wes On Wed, Apr 28, 2010 at 9:54 AM, Upasana Sharma sharma

struts session help

2010-04-27 Thread Upasana Sharma
management what i feel... can u suggest how should i approach this problem.. to make the values stay in the session after the first call. -- Thanks and Regards Upasana Sharma

Re: struts session help

2010-04-27 Thread Upasana Sharma
hi can u give me some example how to do that?? On Tue, Apr 27, 2010 at 2:09 PM, jaya krishna krishna1...@gmail.com wrote: HI upasana, y dont u store them in the application context variable?? Regards, Jay On Tue, Apr 27, 2010 at 2:06 PM, Upasana Sharma sharma...@gmail.com wrote

Action result to go nowhere

2010-04-22 Thread Upasana Sharma
Hi I have a link which when clicked invokes some action. I do not want the page to redirect or forward to some other jsp or action. what should i write in struts.xml result of that action? -- Thanks and Regards Upasana Sharma

Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
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 not stick to the calling page -- Thanks and Regards Upasana Sharma On Thu, Apr 22, 2010 at 2:53 PM, Miles, Chris chris.mi...@spsa.pnn.police.uk wrote

Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
*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 rahul.mo...@tcs.com wrote: Try 'return INPUT'. - rahul From: Upasana Sharma sharma...@gmail.com

Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
In that case how can I invoke the action without changing the url. please help me out. -- Thanks and Regards Upasana Sharma On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris chris.mi...@spsa.pnn.police.uk wrote: That is what I would expect to happen. You are clicking a link which changes

Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
such scenario that will be great help -- Thanks and Regards Upasana Sharma On Thu, Apr 22, 2010 at 3:35 PM, Miles, Chris chris.mi...@spsa.pnn.police.uk wrote: Explain what exactly you are trying to achieve and why and it would help someone give you a solution. Chris -Original

Re: Action result to go nowhere

2010-04-22 Thread Upasana Sharma
. that is why i do not my calling page to navigate to some other jsp. If u cud help me out how to handle such scenario that will be great help -- Thanks and Regards Upasana Sharma On Thu, Apr 22, 2010 at 3:35 PM, Miles, Chris chris.mi...@spsa.pnn.police.uk wrote

struts action related query

2010-04-21 Thread Upasana Sharma
you help me out how to deal with such scenario... thanks in advance.. Upasana Sharma

Re: [S2] Welcome Page as Action?

2010-04-15 Thread Upasana Sharma
/action /package In web.xml welcome-file-list welcome-filewelcome/welcome-file /welcome-file-list Thanks and Regards Upasana Sharma http://www.mydomain.com/package/DOESNOTEXIST.action

Struts project structure in eclipse

2010-04-13 Thread Upasana Sharma
not seem to help. What should be the approach to handle it? If I need to maintain a separate web.xml in each folder then how can I put the mapping for the images folders and css. -- Thanks and Regards Upasana Sharma

Re: Struts project structure in eclipse

2010-04-13 Thread Upasana Sharma
Hi Thanks a lot. Its working for me now... Thanks and Regards Upasana Sharma