Re: usage of ${...}

2013-01-15 Thread fusillator
Il 15/01/2013 18:47, Dave Newton ha scritto: On Tue, Jan 15, 2013 at 12:40 PM, fusillator wrote: Isn't ${} evaluated as an expression language expression? Yes, but the S2 request wrapper will check the value stack first, before checking the normal JEE scopes. Dave Thanks again. I appreciat

Re: usage of ${...}

2013-01-15 Thread Dave Newton
On Tue, Jan 15, 2013 at 12:40 PM, fusillator wrote: > Isn't ${} evaluated as an expression language expression? Yes, but the S2 request wrapper will check the value stack first, before checking the normal JEE scopes. Dave

Re: usage of ${...}

2013-01-15 Thread fusillator
Il 15/01/2013 17:17, Taner Diler ha scritto: Hi, I'm beginner on struts 2. I want to display object properties by using ${...} in s:iterator tag. But It's not being rendered and ${name} displaying. Is there any configuration that I missed? *list.jsp* <%@ page contentType="text/html;charset=UTF

Re: usage of ${...}

2013-01-15 Thread Eric Lentz
It appears that the relevant portion of your code example is this: -${id}"> #user.id gives you the id, right? Do you want it twice? You also have Did you put "request" into the context? The typical pattern would be to have "users" on the ValueStack by way of your action class which has a privat

Re: Usage of ActionProxy Class

2011-02-07 Thread Nuwan Arambage
I have seen it but I forget to read the explanation mentioned below the image. Now I have got the point what ActionProxy class suppose to do and how it interacts with ActionInvocation to provide the execution environment. Cheers !! :) On Mon, Feb 7, 2011 at 2:27 PM, Maurizio Cucchiara wrote: > M

Re: Usage of ActionProxy Class

2011-02-07 Thread Maurizio Cucchiara
Maybe a big picture of general idea give you the right answer. Have you ever seen this [1]? [1] https://cwiki.apache.org/confluence/display/WW/Big+Picture On 7 February 2011 08:51, Brajesh Patel wrote: > nothing is stupid because you have question so you are asking and after > answer of this que

Re: Usage of ActionProxy Class

2011-02-06 Thread Brajesh Patel
nothing is stupid because you have question so you are asking and after answer of this question you will resolve you doubt. thanks and regards Brajesh On Mon, Feb 7, 2011 at 11:34 AM, Nuwan Arambage wrote: > Hi this might be the stupid question but I hope that this is right > place to ask this

Re: Usage of ActionProxy Class

2011-02-06 Thread Nuwan Arambage
Hi this might be the stupid question but I hope that this is right place to ask this question... thanks On Mon, Feb 7, 2011 at 10:37 AM, Nuwan Arambage wrote: > Hi all, >  why they add ActionProxy class to their architecture. What are the > uses of ActionProxy class ? > What is the purpose of th

Re: usage of Preparable interface?

2008-05-01 Thread Adam Hardy
Jeromy Evans on 01/05/08 14:49, wrote: That way you could remove all the boilerplate from your actions. eg, If it placed the model into the actioncontext you could potentially use without your action providing the list or getter at all (except something must instruct the interceptor to load

Re: usage of Preparable interface?

2008-05-01 Thread Jeromy Evans
Dave Newton wrote: --- Jeromy Evans <[EMAIL PROTECTED]> wrote: I've been toying with the idea of creating a custom interceptor to do this. It would be effectively the same as you describe, except that it would inspect the action for the presence of some interface, annotation, or method, an

Re: usage of Preparable interface?

2008-05-01 Thread Jeromy Evans
Adam Hardy wrote: Adam Hardy on 01/05/08 13:51, wrote: Jeromy Evans on 01/05/08 12:48, wrote: Adam Hardy wrote: I have been casting around for a while for the most elegant and quick-to-code mechanism for putting populating lists for select controls. I wanted to run this one idea past the st

Re: usage of Preparable interface?

2008-05-01 Thread Dave Newton
--- Jeromy Evans <[EMAIL PROTECTED]> wrote: > I've been toying with the idea of creating a custom interceptor to do > this. It would be effectively the same as you describe, except that it > would inspect the action for the presence of some interface, annotation, > or method, and examine the re

Re: usage of Preparable interface?

2008-05-01 Thread Adam Hardy
Adam Hardy on 01/05/08 13:51, wrote: Jeromy Evans on 01/05/08 12:48, wrote: Adam Hardy wrote: I have been casting around for a while for the most elegant and quick-to-code mechanism for putting populating lists for select controls. I wanted to run this one idea past the struts users to get a

Re: usage of Preparable interface?

2008-05-01 Thread Adam Hardy
Jeromy Evans on 01/05/08 12:48, wrote: Adam Hardy wrote: I have been casting around for a while for the most elegant and quick-to-code mechanism for putting populating lists for select controls. I wanted to run this one idea past the struts users to get any feedback on something I may have mi

Re: usage of Preparable interface?

2008-05-01 Thread Jeromy Evans
Adam Hardy wrote: I have been casting around for a while for the most elegant and quick-to-code mechanism for putting populating lists for select controls. I wanted to run this one idea past the struts users to get any feedback on something I may have missed or need to know. One requirement

Re: usage of

2007-06-19 Thread Roberto Nunnari
Hi Cuong. Thank you. Your reply solved the prolem. climbingrose wrote: From your JSP code: There are two things worth noting: 1)Because you're not using includeParams='none', any parameters from your current page will be appended to the url generated by s:url tag. Yes.. current page ha

Re: usage of

2007-06-19 Thread Roberto Nunnari
Dave Newton wrote: --- Roberto Nunnari <[EMAIL PROTECTED]> wrote: I tried to use the same code, and your code in a jsp page without tiles, but the result is exactly the same. What version of S2 are you using? What container? Struts 2.0.6 Tomcat 5.5.17 JRE: jdk1.5.0_11 d. _

Re: usage of

2007-06-18 Thread climbingrose
From your JSP code: There are two things worth noting: 1)Because you're not using includeParams='none', any parameters from your current page will be appended to the url generated by s:url tag. 2)If %{id} can't be found in the stack, has no effects. So I think the code goes wrong because:

Re: usage of

2007-06-18 Thread Dave Newton
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote: > I tried to use the same code, and your code in a jsp > page without tiles, but the result is exactly the > same. What version of S2 are you using? What container? d. ___

Re: usage of

2007-06-18 Thread Roberto Nunnari
Dave, I tried to use the same code, and your code in a jsp page without tiles, but the result is exactly the same. Tomorrow I'll try on another computer and I'll let you know the result. Best regards. -- Robi Dave Newton wrote: --- Roberto Nunnari wrote: name="storyId" value="%{id}"/>"/>

Re: usage of

2007-06-18 Thread Roberto Nunnari
Hello Dave. my comments follow: Dave Newton wrote: --- Roberto Nunnari wrote: name="storyId" value="%{id}"/>"/> I would expect the generate HTML to be something like: src="/iopinion_hibernate00/Image?storyId=11"/> but instead I get: do I miss anything? I can't duplicate that; the f

Re: usage of

2007-06-18 Thread Dave Newton
--- Roberto Nunnari wrote: > > name="storyId" > > value="%{id}"/>"/> > > > > I would expect the generate HTML to be something > like: > > > > src="/iopinion_hibernate00/Image?storyId=11"/> > > > > but instead I get: > > > > > > do I miss anything? I can't duplicate that; the following code

Re: usage of

2007-06-18 Thread Roberto Nunnari
Could somebody please help me with this one? Roberto Nunnari wrote: sorry.. my previous message was misstyped in the second question.. let me repost it corrected: Hello list. I'm learning S2 and I'm a bit puzzled with the following: value="%{id}"/>"/> I would expect the generate HTML to be

Re: usage of

2007-06-16 Thread Roberto Nunnari
sorry.. my previous message was misstyped in the second question.. let me repost it corrected: Hello list. I'm learning S2 and I'm a bit puzzled with the following: value="%{id}"/>"/> I would expect the generate HTML to be something like: but instead I get: do I miss anything? also, jst

Re: Usage of Struts - Tiles using tile controllers (Please help asi couldn't find enough documentation on it)

2007-02-21 Thread sriharsha . chevuru
ers Mailing List" To Struts Users Mailing List cc Subject Re: Usage of Struts - Tiles using tile controllers (Please help asi couldn't find enough documentation on it) Sri, ] If you're still having problems with Tiles in Struts 1.x, I have a demo app I used for a Struts cl

Re: Usage of Struts - Tiles using tile controllers (Please help as i couldn't find enough documentation on it)

2007-02-20 Thread Ray Clough
Sri, ] If you're still having problems with Tiles in Struts 1.x, I have a demo app I used for a Struts class at UCLA Extension. It has lots of things going on besides Tiles, but I use Tiles exclusively for all pages, and it is fairly easy to follow. If you or anyone would like it, I'd be hap

Re: Usage of Struts - Tiles using tile controllers (Please help as i couldn't find enough documentation on it)

2007-02-20 Thread Dave Newton
My only point is that I don't recall there being any more TilesController information in that book (I actually don't recall *any*, but it's been awhile since I've looked at a non-Lisp Apress book) than there is in the tutorial link, and going over the tutorial is free. --- Andrew Pliszka wrote: >

Re: Usage of Struts - Tiles using tile controllers (Please help as i couldn't find enough documentation on it)

2007-02-20 Thread Andrew Pliszka
I do not want to start flame war, but one developer hour might be easly worth $1000 or more to the company, so spending $25 on a book is very resonable. If you have a team of developers working with Struts they should have full library avaliable to them. I am just efficiency freak, and yes I u

Re: Usage of Struts - Tiles using tile controllers (Please help as i couldn't find enough documentation on it)

2007-02-20 Thread Dave Newton
--- Andrew Pliszka wrote: > Get this book, is is only $25 as pdf, > > http://www.apress.com/book/bookDisplay.html?bID=228 I'm not aware that it covers Tiles controllers to a greater extent than the tutorial I posted, and the tutorial is cheaper. d. __

Re: Usage of Struts - Tiles using tile controllers (Please help as i couldn't find enough documentation on it)

2007-02-20 Thread Andrew Pliszka
Get this book, is is only $25 as pdf, http://www.apress.com/book/bookDisplay.html?bID=228 Andrew Pliszka Dave Newton wrote: --- [EMAIL PROTECTED] wrote: I trying to implement "Tile Controllers" concept in Struts 1.3.5 and i am not able to find enough documentation like any sample example

Re: Usage of Struts - Tiles using tile controllers (Please help as i couldn't find enough documentation on it)

2007-02-20 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > I trying to implement "Tile Controllers" concept in > Struts 1.3.5 and i am > not able to find enough documentation like any > sample examples, etc. about > it. Can any of you please direct towards a resource > which has some sample > applications using tile contro

Re: Usage of Clay in portal environment

2006-04-10 Thread Dakota Jack
These posts are supposed to be preceded by [SHALE] On 4/10/06, Phanidhar Adusumilli <[EMAIL PROTECTED]> wrote: > > Can Clay be used in portlets as it is or do we need to customize it.? we > would like to use it weblogic portal environment. > > -- "You can lead a horse to water but you cannot mak

Re: Usage of Clay in portal environment

2006-04-10 Thread Phanidhar Adusumilli
But I have seen some code in ClayViewHandler that casts the response to ServletResponse. This is in RenderView method. The code is as follows: ServletResponse response = (ServletResponse) context.getExternalContext ().getResponse(); Following this line, the ServletResponse is used to get Characte

Re: Usage of Clay in portal environment

2006-04-10 Thread Ryan Wynn
I have used Clay with WebSphere Portal 5.1 and the MyFaces JSR-168 portlet without any changes to clay. In fact, because the MyFaces portlet is a bridge, I can run the same clay app in either a portlet or web environment without any changes. I can't speak to weblogic, but I guess it should work t