How to capture this event

2008-10-05 Thread tom tom
Hi, We are using struts 2.0.6 with AJAX development features, we got couple of s:div ..s, in our page inside the tabbed panel . We want to do some lazy loading, which means when someone clicks the div, inside the tabbed panel,we need to load some data for that corresponding page, At the

Acces Control Within Struts2

2008-08-14 Thread tom tom
Hi, We are using struts2 2.0.6 and now we have a requirement to have some Access Control into it, That is we got some functions points and each ROLE got different access rigts against each function, if someone login to the System the UI will be presented based on these configurations. What I

Struts2 java script issue/bug with tabbed panel

2008-06-05 Thread tom tom
Hi, We use struts2 2.0.6 and we have the following, when the user click one of the tabs (div s), I want to know which div id is focussed or clicked, so I went I head and had javascippts functions(onClick, onFocuss) within s:div but they are not getting called, Is this a bug, How can know

Re: dojo 1.1 in struts 2.0.11 portlets

2008-05-08 Thread tom tom
] wrote: tom tom wrote: Thanks Jeromy, Is there any reason why YUI datagrid instead of dojo 1.1 grid, Isn't it risky to depend on YUI datagrid, Thanks Moving to YUI datagrid is no riskier than moving to Dojo 1.1. They're both good libraries. Dojo 1.1 is very different

Re: dojo 1.1 in struts 2.0.11 portlets

2008-05-05 Thread tom tom
best practice for this. My first objective is to have dojo Grid inside a jsp, with CRUD/sorting and pagination And Link this Grid with the Struts 2 Action classes, Is there any practices to follow to achieve, is this doable Thanks --- Jeromy Evans [EMAIL PROTECTED] wrote: tom tom wrote

Grid working with Stuts2 Serverside

2008-05-05 Thread tom tom
Hi, Has anyone got any editable grid e.g dojo 1.1 (supports CRUD) working with server side Struts2 action classes. or any other grid working with struts2, If so, will it be possible to share some samples, We are in the process of finding a intelligent AJAX based DATA grid working with struts2

Re: dojo 1.1 in struts 2.0.11 portlets

2008-05-05 Thread tom tom
Thanks Jeromy, Is there any reason why YUI datagrid instead of dojo 1.1 grid, Isn't it risky to depend on YUI datagrid, Thanks --- Jeromy Evans [EMAIL PROTECTED] wrote: tom tom wrote: Thanks Jeromy, If we use direct dojo calls (dojo 1.1) without using struts ajax tags

Re: dojo 1.1 in struts 2.0.11 portlets

2008-05-01 Thread tom tom
, it is a framework, with widgets and events, How can individual struts tags support the entire event model, am confused, isnt it a good idea to provide the practices to use dojo directly to utilize the full dojo features. Thanks --- Jeromy Evans [EMAIL PROTECTED] wrote: tom tom wrote: Hi, In order

Re: dojo 1.1 in struts 2.0.11 portlets

2008-05-01 Thread tom tom
Hi Jeromy, Sorry, I forgot one more question, Eventhough we use dojo 1.1 directly, we need to have dojo.js, wouldn't this conflict with the one which comes as part of struts bundle --- Jeromy Evans [EMAIL PROTECTED] wrote: tom tom wrote: Hi, In order to leverage the full capabilities

dojo 1.1 in struts 2.0.11 portlets

2008-04-30 Thread tom tom
Hi, In order to leverage the full capabilities of dojo 1.1 (latest) with the latest stable struts version. What exactlyt the best practice. The things we concerned are as followes 1) Will there be a conflict in the different dojo versions in struts 2.0.11 and dojo 1.1 2) Will it impact any

Ajax examples in the Struts2.0.11 download

2008-04-22 Thread tom tom
Hi, Is portlet Ajax examples are demonstrated in struts2-portlet-2.0.11.1.war in the distribution. I can see some pages but can't see the functionality in the main index Thanks Be a better friend,

Re: Struts 2 AJAX editable grid

2008-04-21 Thread tom tom
PROTECTED] wrote: tom tom wrote: Hi, What exactly the benefits of moving from struts 2.0.6 to 2.0.11. Mainly important bugfixes and security fixes. There are few new features. 2.0.x - 2.1 provides better ajax tags and new plugins. As far as the Ajax support is concerned

Re: Struts 2 AJAX editable grid

2008-04-21 Thread tom tom
://www.satyam.com.ar/yui/DataGrid.html It supports client-side and server-side pagination and sorting: http://developer.yahoo.com/yui/datatable/ tom tom wrote: Thanks I will have a look, Lot of grids got the limitation to have combo boxes in the Grid, If any such Grid someone knows

Re: Using DOJO in Struts2

2008-04-21 Thread tom tom
Hi, Instead of directly using DOJO 1.x, did you think about enhancing the ftl with a new theme type Thanks --- umesh awasthi [EMAIL PROTECTED] wrote: Thanks Jeromy for the rply we will try to impliment DOJO 1.x along with struts2 some point i want to confirm if u have any exp using dojo

Struts 2 AJAX editable grid

2008-04-20 Thread tom tom
Hi, What exactly the benefits of moving from struts 2.0.6 to 2.0.11. As far as the Ajax support is concerned, we do have a requirement to have a editable grid, Is this facilitated within struts 2? What is the best way to achieve it. Thanks

Can these two co exists

2008-04-20 Thread tom tom
Hi, We have portlet based ajax application written using struts 2.0.6, With the introduction of the struts 2.0.11 we can see lot of bugs have been resolved. We would like to start the next project using struts 2.0.11, both application will co exist in the same tomcat server. Will there be any

Re: Struts2 Portlets slowing down liferay portal

2007-09-18 Thread tom tom
Have one log4j setting for all the projects, Thanks --- Clark O'Brien [EMAIL PROTECTED] wrote: Setting the freemarker_update_delay improved performance for sure. Hate to ask such a simple question but just own do I change the devMode option and logging - my log4j.xml has ERROR set for

Re: JAAS struts 2 Tutorial?

2007-09-16 Thread tom tom
private data, and an logged in admin user can access the admin console. Regards, Muhammad Momin Rashid. tom tom wrote: what exactly you are trying to do? --- Muhammad Momin Rashid [EMAIL PROTECTED] wrote: Hello Everyone, I am looking for a tutorial for integrating JAAS

Re: SessionAware vs ActionContext access to session - confused..

2007-09-13 Thread tom tom
that as well. Thanks --- Nils-Helge Garli [EMAIL PROTECTED] wrote: In the next release, there will be *Aware interfaces for the portlet objects. Nils-H On 9/13/07, tom tom [EMAIL PROTECTED] wrote: Yes in theory you are correct, but in side a S2 portlet (which implements ServletRequestAware

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread tom tom
what exactly you are trying to do? --- Muhammad Momin Rashid [EMAIL PROTECTED] wrote: Hello Everyone, I am looking for a tutorial for integrating JAAS into my Struts 2 + Hibernate Application. Can anyone point me to the right resources? Is JAAS the best way to go, or there are

Re: SessionAware vs ActionContext access to session - confused..

2007-09-12 Thread tom tom
Hi, If you are developing portlets with struts2 I doubt *Aware interfaces work properly, you have to do it differently. For example How we get a handler for Http request or session is not via *Aware interfaces for portlets. --- j alex [EMAIL PROTECTED] wrote: Hi, In the Struts 2 docs, it's

Re: SessionAware vs ActionContext access to session - confused..

2007-09-12 Thread tom tom
application etc? hope this helps --- Chris Pratt [EMAIL PROTECTED] wrote: On 9/12/07, tom tom [EMAIL PROTECTED] wrote: If you are developing portlets with struts2 I doubt *Aware interfaces work properly, you have to do it differently. I don't know of anything that would preclude you

What is the S2 equivalent

2007-09-03 Thread tom tom
Hi, In S2, how can we import a remote URL or file inside a JSP. JSTL I think we can use c:import, what is the S2 equivalent of that. Thanks, Ready for the edge of your seat? Check out tonight's top

Re: What is the S2 equivalent

2007-09-03 Thread tom tom
, but complement it in ways that are useful. There are several tags that do overlap with JSTL, such as the iterator tag, but they are kept mainly to keep backwards-compatibility. Don On 9/4/07, tom tom [EMAIL PROTECTED] wrote: Hi, In S2, how can we import a remote URL or file inside

Re: [struts2]: maturity / production experience ?

2007-08-07 Thread tom tom
Yes we got it working on production, works fine, there are tiny little areas you need to work out, What we did was struts2 portlets, which is one step ahead to the applications, Looks good so far, But have a look at the bug I raised recently. Look for the forum. Other than that, with

why it change the SCHEME

2007-07-30 Thread tom tom
Hi, We got a S2 application on https, but as recommende we use the Redirect Action Result to forward to another action but the issue is it changes the scheme from https to http. Can someone let me know why this is all about. Thanks,

Re: S2 send wrong Portlet Window States - May be a bug

2007-07-25 Thread tom tom
or anything else) and see if the window state is reported differently. I'll also bring the issue up on the uPortal mailing lists and see if we can get any further there. Nils-H On 7/23/07, tom tom [EMAIL PROTECTED] wrote: In my opinion, I hardly believe this is something to do

Re: S2 send wrong Portlet Window States - May be a bug

2007-07-24 Thread tom tom
try is to create a plain JSR168 portlet (not using S2/struts-bridge or anything else) and see if the window state is reported differently. I'll also bring the issue up on the uPortal mailing lists and see if we can get any further there. Nils-H On 7/23/07, tom tom [EMAIL PROTECTED

Re: S2 send wrong Portlet Window States - May be a bug

2007-07-22 Thread tom tom
We are using uPortal 2.5.3. We still can't figure why it returns wrong window states. Waiting for a reply, Thanks --- Nils-Helge Garli [EMAIL PROTECTED] wrote: Which version of uPortal are you using? On 7/19/07, tom tom [EMAIL PROTECTED] wrote: Hi, We got some portlets developed

Re: S2 send wrong Portlet Window States - May be a bug

2007-07-22 Thread tom tom
as we may be wrong. Thanks, --- Nils-Helge Garli [EMAIL PROTECTED] wrote: Which version of uPortal are you using? On 7/19/07, tom tom [EMAIL PROTECTED] wrote: Hi, We got some portlets developed using S2 running of uPortal. It looks like When we switch between Window states

S2 send wrong Portlet Window States - May be a bug

2007-07-19 Thread tom tom
Hi, We got some portlets developed using S2 running of uPortal. It looks like When we switch between Window states and try to print window states in JSR168Dispatcher it prints window states incorrectly. For e.g When I minimize a portlet it says the window states is minimized but when I maximize

Re: Minimized Window State NOT working-NOT SOLVED

2007-07-09 Thread tom tom
)) { super.render(request, response); } Nils-H On 6/26/07, tom tom [EMAIL PROTECTED] wrote: When a portlet is in MINIMIZED window state, the portlet should only render minimal output or no output at all. Ealier we were using struts-bridge for portlet development

Is the tooltip working in S2

2007-07-08 Thread tom tom
Hi, I got the following in S2, jsp. it shows nothing, infact when I saw the view source it shows nothing with regards to tooltip. Is there anything wrong in my usage, Cant I completely ingore the the tooltipConfig. Basically I want to give user a flavour of help where it says Enter display

Re: Checkboxes problem

2007-07-04 Thread tom tom
because you have the list, you can do the following s:checkboxlist label=TEST LIST list=manyNames name=CommonName/ You dont need to iterate --- Andreja [EMAIL PROTECTED] wrote: Thank you very much Sharad, that WORKS! :] Just for the archive, this is

Why this inconsistency

2007-07-02 Thread tom tom
Hi, I have the following iterator s:iterator value=#session.testDTOs id=testObj s:url id=testUrl action=testView s:param name=testId value=#testObj.scholarshipId/s:param /s:url above expression get evaluated correctly but in the same iterator I got the following but this

Re: Struts 2.0 form bean

2007-07-01 Thread tom tom
Before anything try model driven interface if you are not doing any portlet developments. Thanks, --- [EMAIL PROTECTED] wrote: Hi All, As there is no concept of Action form beans in struts 2.0 we have to define the field attributes in the Action class. I am using the same action class

Re: Has anyone tried this in S2 - THIS LOOKS A BUG

2007-07-01 Thread tom tom
is placed on the top of the value stack). Although, if you are explicitly defining the object (via id and #test) there shouldn't be a problem. /Ian tom tom wrote: Hi, I got three iterations which I tried as below in the jsp, First two and Array of certain DTO and last

Re: Has anyone tried this in S2 - THIS LOOKS A BUG

2007-07-01 Thread tom tom
Yes this definitely is a bug to me, How can I make a JIRA issue for this, what is the URL, I Dont think we can go to production with this issue, Is there a way to get a patch for this, Should we have to wait for the next release ? Thanks, --- Dave Newton [EMAIL PROTECTED] wrote: --- tom

Re: Has anyone tried this in S2 - THIS LOOKS A BUG

2007-07-01 Thread tom tom
Hi, What did you mean by is an issue iff you're using an id What else can I use to get the value inside an Iterator? Thanks --- Dave Newton [EMAIL PROTECTED] wrote: --- tom tom [EMAIL PROTECTED] wrote: WHAT it prints is following Issue is for the 4th index also it prints test

Re: Has anyone tried this in S2 - THIS LOOKS A BUG

2007-07-01 Thread tom tom
index is variable, without introducting a scriptlet with int i=0 and the have i++, Is there any other inbuild way? Thanks --- Dave Newton [EMAIL PROTECTED] wrote: --- tom tom [EMAIL PROTECTED] wrote: What did you mean by is an issue iff you're using an id What else can I use

Re: Has anyone tried this in S2 - THIS LOOKS A BUG

2007-07-01 Thread tom tom
Value of the arry is s:property / br /s:iterator tom tom wrote: I did further investigation, I think this is a bug, I think this is a very scary bug. You dont need three iterators, I could reproduce this very easily, In your action class have the following

Has anyone tried this in S2

2007-06-28 Thread tom tom
Hi, I got three iterations which I tried as below in the jsp, First two and Array of certain DTO and last iterator is a String array. There is no jsp compilation error, but the issue is it produced misleading results. Is there any limitation in S2 for the depth of the iteration. Is this way of

Re: Minimized Window State NOT working

2007-06-25 Thread tom tom
When a portlet is in MINIMIZED window state, the portlet should only render minimal output or no output at all. Ealier we were using struts-bridge for portlet development, there it was showing no output for the MINIMIZED window state, also I have seen lot of other portlet development

Custom filter - Is this possible

2007-06-25 Thread tom tom
Hi, Can some one let us know, how to define a Custom filter which would do what the org.apache.struts2.dispatcher.FilterDispatcher does but in addition it checks a Cetain attribute (e.g. Window State) and shows nothing if a certain criteria is met. Is this something possible.? or How can I have

Minimized Window State NOT working

2007-06-24 Thread tom tom
Hi, In Struts2 portlets development, It looks to us that the minimize does not work as expected, When we presss the minimize button instead of minimizing it shows the same content. to my understanding it should not render anything at all. We trying this on uPortal. Can some one else try these

How to solve following

2007-06-22 Thread tom tom
Hi, Is it possible to use Map-backed forms in S2. Existing application using the Map-backed form doesnt seem to work with S2, Thanks Got a little couch potato? Check out fun summer activities for

What exactly the scope of instance variables and Action instances

2007-06-21 Thread tom tom
Hi, As we dont have ActionForms seperately as in Struts 1.X. We introduce member variables in the Action classes. All our jsp field elements are mapped to these member variables. The question we have is, What exactly the life cycle and scope of these Actions and Member variables, When it will

Re: Struts2 limitations with DOJO

2007-06-20 Thread tom tom
from the datetimepicker tag until 2.1. regards musachy On 6/20/07, tom tom [EMAIL PROTECTED] wrote: Hi, Can someone let us know the limitations of using DOJO library with S2 provided AJAX features. What exactly these limitations are? Any references or articles would

Re: Struts2 limitations with DOJO

2007-06-20 Thread tom tom
), an others that extend the dojo ones to add functionality (autocompleter, datepicker, timepicker, tree, treenode) musachy On 6/20/07, tom tom [EMAIL PROTECTED] wrote: When it comes to custom widgets, what is the support from the S2 framework, what is the best way to access those via S2

Why two behaviours

2007-06-20 Thread tom tom
Hi, I have a action class which get called by two ways in two different pages. 1) As a href 2)As part of a form submission In the action class I forward to another action instead of a jsp via the forward, hence struts.xml looks as follows. (note: testSetup action defined in the struts.xml)

Re: Struts2 limitations with DOJO

2007-06-20 Thread tom tom
will be easier. musachy On 6/20/07, tom tom [EMAIL PROTECTED] wrote: What is the best way(best practice) to have the widgets that doesn't supported by the Struts2, Should I write a custom tag or call natively? --- Musachy Barroso [EMAIL PROTECTED] wrote

Struts2 limitations with DOJO

2007-06-19 Thread tom tom
Hi, Can someone let us know the limitations of using DOJO library with S2 provided AJAX features. What exactly these limitations are? Any references or articles would be advantageous. Thanks, Lalitha

How checkbox issue is solved in S2

2007-06-18 Thread tom tom
Hi, In S1.x as we got reset method is ActionForm we used to reset the corresponding property in the ActionForm, hence it correctly reflects what user did when submitting. In the absense of the Action Forms, What is the best practice to sort this out in S2. Thanks

why cant I have String[] with select tag

2007-06-17 Thread tom tom
I have the following in the jsp s:select name=testForm.inputAnswer list=#session.question.answers listKey=answer listValue=answer / in the action class there is a instance variable

Re: why cant I have String[] with select tag

2007-06-17 Thread tom tom
find my answers below You're trying to assign a String to an array which would give you an error But it nicely work with S1 eventhough it has been left in S2, I can't figure is out why these little features are left over. It got lot of benefits, for e.g if that feature there i can use the

Re: why cant I have String[] with select tag

2007-06-17 Thread tom tom
Yes I tried the following s:select name=testForm.inputAnswer[0] list=#session.question.answers listKey=answer listValue=answer / but it doesnt work, also I gave multiple=true that also doenst work. Thanks --- Jeromy Evans [EMAIL PROTECTED] wrote: tom tom

Re: URL Parameters not working in Struts 2.0.6

2007-06-14 Thread tom tom
What exactly the tag you are using, Better to use the url tag with param which does the encoding properly Thanks --- Mike Jennings [EMAIL PROTECTED] wrote: Can anyone tell me why this is happening to me. I am using jdeveloper 10g as my development platform. I want to call a action with a

Re: What is the equivalant for reset in S2

2007-06-13 Thread tom tom
I can't see any clean() method in the ActionSupport, I am using struts 2.0.6. Is there any other way to do this. Thanks, --- Rikard [EMAIL PROTECTED] wrote: Hi well in webwork i use the clean(); method of the class ActionSupport i think its the same in S2. Just make a reset() method in

What is the equivalant for reset in S2

2007-06-12 Thread tom tom
Hi, In struts 1.x. we had reset method in the action forms to do the final cleanup before the form data get populated. It helped quite well with occasions like check boxes. Please let us know what is the same equivalent in struts 2. How can we achieve the same. Thanks,

Re: Is this a BUG in S2

2007-05-24 Thread tom tom
. tom tom wrote: Yes you are right, Even though action attribute doesnt get evaluated value attribute does, but that is of no use as it does not create the URL string to suite with Portal env. The biggest concern is why the action attrbute of URL tag doesnt evaluate

portletUrlType Constants

2007-05-24 Thread tom tom
Hi, What are the constants for the portletUrlType attribute in Struts 2 url tag. Thanks Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

Form Update issue - Could not find action / No result defined for

2007-05-24 Thread tom tom
Hi, I got a form with following syntax s:form action=testAction method=POST s:textfield name=testForm.testId size=10 value=%{testForm.testId}/s:textfield s:submit value=Search name=testForm.btnSubmit/s:submit When I press the submit it gives the following exception, all the

Re: Is this a BUG in S2

2007-05-23 Thread tom tom
) 2. Alternatively, work-around it by using the href attribute: s:url id=url href=${actionName}.action href definitely does work. tom tom wrote: Hi, We are experiencing that action attribute of the s:url tag is not evaluating the expressions. For e.g Inside a interator if we

Re: Is this a BUG in S2

2007-05-23 Thread tom tom
-not evaluating the action attribute of url tag --- Dave Newton [EMAIL PROTECTED] wrote: --- tom tom [EMAIL PROTECTED] wrote: for the second one there is no href attribute for the URL tag hence doesnt work. The value attribute creates the href if the action attribute isn't used. d

Re: How to do the following in S@

2007-05-22 Thread tom tom
I code differently because this is a portlet,(I havent done it yet) Does S2, UI tag syntax changes based on it is Web or Portlet Thanks, --- Laurie Harper [EMAIL PROTECTED] wrote: Did you try this? s:url id=url action=%{testID.actionName}/ L. tom tom wrote: Hi, One page we

JSTL Integration fails - S2

2007-05-22 Thread tom tom
Hi, I just wanted to integrate some JSTL features to my existing S2 application, I followed the following steps 1)copied jstl-1.1.2.jar to WEB-INF lib directory 2)had following in the jsp %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib prefix=fmt

Re: JSTL Integration fails - S2

2007-05-22 Thread tom tom
uri=http://java.sun.com/jsp/jstl/fmt; % %@ taglib prefix=fn uri=http://java.sun.com/jsp/jstl/functions; % --- Musachy Barroso [EMAIL PROTECTED] wrote: you also need standard.jar: http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi musachy On 5/22/07, tom tom [EMAIL

Is this a BUG in S2

2007-05-22 Thread tom tom
Hi, We are experiencing that action attribute of the s:url tag is not evaluating the expressions. For e.g Inside a interator if we want to get dynamic action names from the interator and assign into the action tag of the s:url tag it just prints the text as it is without evaluating. Even tried

How to do the following in S@

2007-05-21 Thread tom tom
Hi, One page we got a Iterator containing the Action Names, which means Actions names are not known earlier, How can we retrieve the value inside the URL tag. How can we retrieve the dynamic action names like this in S2 that is in s:url tag how to give a dynamic action value from the iterator

Re: How to do the following in S@

2007-05-21 Thread tom tom
In Struts 1.x we achieved the following by html:el tag --- tom tom [EMAIL PROTECTED] wrote: Hi, One page we got a Iterator containing the Action Names, which means Actions names are not known earlier, How can we retrieve the value inside the URL tag. How can we retrieve the dynamic

ScopedModelDriven issues

2007-05-18 Thread tom tom
Hi, Has any one successfull getting ScopedModelDriven with session scoped form beans, I tried several times and it failed, the values only remains for request scope, it get reset each time. Is this a bug. Plese let us know how to proceed. Thanks

Struts 2 migration ISSUES- missing properties in ...

2007-05-16 Thread tom tom
Hi, We have the following in the struts 1.x html:text property=studentId size=7 maxlength=7/ when I try to convert this to S2 I can't see the size and the maxlength properties for e.g. s:text name= id=/s:text What I can see is only name and id attributes only. I thought S2 tag library got

Re: S2 life cycle

2007-04-11 Thread tom tom
Works but the values get reset all the time, doesnt stay in the session scope, if I update form in the one action class and if I try to retrieve from the other action class the values has been lost. Should I have to do any extra things --- Dave Newton [EMAIL PROTECTED] wrote: --- tom tom

Re: S2 life cycle

2007-04-11 Thread tom tom
to do? Thanks, Hf On 4/11/07, tom tom [EMAIL PROTECTED] wrote: Works but the values get reset all the time, doesnt stay in the session scope, if I update form in the one action class and if I try to retrieve from the other action class the values has been lost. Should

Re: S2 life cycle

2007-04-11 Thread tom tom
should I have the following in my jsp s:hidden name=S2_CONVERSATION_ID value=%{conversationId} / Let me know? Thanks, Lalitha --- tom tom [EMAIL PROTECTED] wrote: Yes I know we can do this, but the argument is the previous struts ActionForm sharing across many action classes is achieved

Re: S2 life cycle

2007-04-10 Thread tom tom
property methods in the desired scope. On 4/4/07, tom tom [EMAIL PROTECTED] wrote: Thanks, Any samples or documenation around for me to refer. I followed this http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html but didnt work. Thanks

Re: Struts 2 and Content Management

2007-03-27 Thread tom tom
My suggestion is, try hypercontent, and have jstl import pointing to the hypercontent resource, This is something I can give u a hand. But hypercontent does not use any struts 2. thanks. --- Jim Young [EMAIL PROTECTED] wrote: Anyone have any ideas on Content Management Software and using

Re: if tag doesn't seem to work(Struts 2)

2007-03-27 Thread tom tom
try any of these, dont get confused with jstl, also be careful using % vs # s:if test=%{statement}Hello World/s:if s:if test=statementHello World/s:if let us know if further problem exists Thanks --- joey [EMAIL PROTECTED] wrote: I thought it may be like this: s:if test=statement}Hello

Re: HttpServletRequest - in a Portlet

2007-03-26 Thread tom tom
yet. Thanks, --- Nils-Helge Garli [EMAIL PROTECTED] wrote: As mentioned, this is not possible in a container independant manner. I would recommend that you consider refactoring your code so it uses Map objects instead, as xwork/struts 2 does. Nils-H On 3/26/07, tom tom [EMAIL

Re: HttpServletRequest - in a Portlet

2007-03-25 Thread tom tom
that is in the same web application. Nils-H On 3/23/07, tom tom [EMAIL PROTECTED] wrote: Hi, In my porlet I got the following public class MyProfileAction extends ActionSupport implements ServletRequestAware Hence I implemented the public void setServletRequest

HttpServletRequest - in a Portlet

2007-03-22 Thread tom tom
Hi, In my porlet I got the following public class MyProfileAction extends ActionSupport implements ServletRequestAware Hence I implemented the public void setServletRequest(HttpServletRequest arg0) { but what I can see is arg0 is null. What is the reason for this. How can get hold to the

struts migration - ActionError Server Side

2007-03-22 Thread tom tom
Hi, How can I convert the following struts 1.x to struts 2.0.6. ActionError actionError = new ActionError(); ActionMessage actionMessage = new ActionMessage(error.test.error1); actionErrors.add(ActionErrors.GLOBAL_MESSAGE, actionMessage); above is in a action class and error.test.error1 is the

Re: JSTL Empty equivalent for struts 2.0.6

2007-03-20 Thread tom tom
approach Thanks --- tom tom [EMAIL PROTECTED] wrote: Hi, What is the struts 2.0.6 equivalent for the empty check for the following c:if test=${empty sessionScope.myBean.myProperty} do something /c:if Thanks

Why following is not working

2007-03-19 Thread tom tom
Hi, Can some body let me know why following is not working s:a href=s:url action=myInfor.studentProfile/ span id=blue Personal Details /span /s:a can't we have s:a href like this. but this works with a href=s:url

JSTL Empty equivalent for struts 2.0.6

2007-03-19 Thread tom tom
Hi, What is the struts 2.0.6 equivalent for the empty check for the following c:if test=${empty sessionScope.myBean.myProperty} do something /c:if Thanks TV dinner still cooling? Check out Tonight's Picks

Re: How to session attributes Struts 2.0.6

2007-03-18 Thread tom tom
it there. Nils-H On 3/16/07, tom tom [EMAIL PROTECTED] wrote: Hi, I implemented the following interface org.apache.struts2.interceptor.SessionAware; hence implemented the public void setSession(Map session) method and did add the following attribute session.put(NAME,USER1

Re: How to session attributes Struts 2.0.6

2007-03-15 Thread tom tom
Hi, I implemented the following interface org.apache.struts2.interceptor.SessionAware; hence implemented the public void setSession(Map session) method and did add the following attribute session.put(NAME,USER1); and in my jsp I have the following s:property value=#session.NAME/ br It

Re: Struts 2.0.6 portlets

2007-03-14 Thread tom tom
some limitations. - You can't generate a complete HTML document, only what's between the body tags of what would have been a regular web app. Otherwise, you should be able to build it as a normal Struts 2 app. Nils-H On 3/14/07, tom tom [EMAIL PROTECTED] wrote: We were alble

How to session attributes Struts 2.0.6

2007-03-14 Thread tom tom
Hi, How can we set the session variables which we used to do in stuts 1.x. and thereafter access in the jsps. e.g. session.setAttribute(NAME,USER11); and in jsp logic:equal name=NAME value=USER11 This message is for user 1 /logic:equal How can we access to the session, should it

Struts 2.0.6 portlets

2007-03-13 Thread tom tom
We were alble to successfully deploy the struts 2.06 portlet sample on our portal container which is uPortal. What we want to know is Can we write the portlet applications simillar to the Struts 2.0.6 web applications(not portlets). Does Struts 2.0.6 portlets got limitations compared to the