Re: Dynamic forward in tiles

2004-03-26 Thread Pedro Salgado
On 25/03/2004 13:22, "Mariano García" <[EMAIL PROTECTED]> wrote: > El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió: >> Below is a reply sent to this mailing list about something very similar to >> what you are looking for. > > but there is any way to use dynamic content only using tiles

Re: Dynamic forward in tiles

2004-03-25 Thread Mariano García
El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió: > Below is a reply sent to this mailing list about something very similar to > what you are looking for. but there is any way to use dynamic content only using tiles tags? In my case, I have a 'setAttribute("serverLocation", Location)' func

Re: Dynamic forward in tiles

2004-03-24 Thread Pedro Salgado
On 24/03/2004 22:45, "Mike Foody" <[EMAIL PROTECTED]> wrote: > I apologize if I didn't mention it but I'm using the Velocity tiles > tool. Maybe that would be a better place for this question. > Well the solution for your problem is the one below. I don't if your using velocity to generate yo

Re: Dynamic forward in tiles

2004-03-24 Thread Mike Foody
I apologize if I didn't mention it but I'm using the Velocity tiles tool. Maybe that would be a better place for this question. Mike Mike Foody wrote: I have a similar question. I would like to insert at runtime multiple instances of the same layout and set a property at that time. I di

Re: Dynamic forward in tiles

2004-03-24 Thread Mike Foody
I have a similar question. I would like to insert at runtime multiple instances of the same layout and set a property at that time. I didn't see a way to do this via the documentation and so extended the TilesTool with the following code. Is there something I've missed? If not is the code b

Re: Dynamic forward in tiles

2004-03-24 Thread Pedro Salgado
Below is a reply sent to this mailing list about something very similar to what you are looking for. Hope it helps, Pedro Salgado Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-

Dynamic forward in tiles

2004-03-24 Thread Mariano García González
Hi all, I am newbie using tiles, so maybe this question is too easy for you. I want to use a tile definition in which, one of the attribute values is dynamic. It is something like this: I want to use a dynamic url in body attribute, depending of a bean attribute. I hope you understand

Dynamic Forward

2003-08-14 Thread Yamini Krishnamurthi Ayyagari
Hello All, I have a web page with multiple line items and radio buttons against each of them. Based on which radio button the user selects I need to forward the user to the appropriate jsp. Is it possible to set the path of a forward dynamically with Struts? Cheers, Yamini -

RE: dynamic forward to different pages from ActionClass

2003-07-24 Thread Gino LV. Ledesma
--- Michael Ruppin <[EMAIL PROTECTED]> wrote: > I posted similar code today, just replace > forwardfrommapping.getPath() with your action mapping > path: > > http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg74345.html > > as did Wendy, yesterday: > > http://www.mail-archive.com/s

RE: dynamic forward to different pages from ActionClass

2003-07-23 Thread Andrew Hill
To: Struts Users Mailing List Subject: Re: dynamic forward to different pages from ActionClass Hi,there. This is not a struts question. Can anyone answer me how to convert utf-8 to html entities. -- lyl <[EMAIL PROTEC

Re: dynamic forward to different pages from ActionClass

2003-07-23 Thread lyl
Hi,there. This is not a struts question. Can anyone answer me how to convert utf-8 to html entities. -- lyl <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

RE: dynamic forward to different pages from ActionClass

2003-07-23 Thread Michael Ruppin
I posted similar code today, just replace forwardfrommapping.getPath() with your action mapping path: http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg74345.html as did Wendy, yesterday: http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg74221.html m --- Ashish Kulk

RE: dynamic forward to different pages from ActionClass

2003-07-23 Thread Ashish Kulkarni
Hi , Do u have a example code of doing this, it will be a great start for me Regards Ashish --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > > i want to forward the request to the page from > where it came,( i have this > > info in session) how can i do it, this must be > dynamic > > I recently disc

RE: dynamic forward to different pages from ActionClass

2003-07-23 Thread Wendy Smoak
> i want to forward the request to the page from where it came,( i have this > info in session) how can i do it, this must be dynamic I recently discovered that you can construct your own ActionForward object, you don't have to rely on mapping.findForward() to return one. If you've got the path y

dynamic forward to different pages from ActionClass

2003-07-23 Thread Ashish Kulkarni
Hi, I am working on an application and have a following requirement, I have a servlet filter which checks if the user is logged in or not for each request, if the user is not logged on, then this servlet stores the request in session, (i.e the page which send the request and the request parameters

Dynamic forward and recursion in Action's execute method

2003-03-10 Thread Rick Ashley
Hello, I have a own DispatchAction based class that should add more parameter's dynamically to URI at runtime. Problem is that if I try to create a new ActionForward instance e.g. /my/app/myaction?method=doIt&p=100 with a new parameter, programs starts to run in recursion. I want to do this so

Dynamic forward problem

2002-11-20 Thread David Bolsover
Hi all I posted this one a few days back but got no response - so I thought I would have another go - I'll try an improved explanation of the problem. I need to generate a dynamic forward to an action/script (I have no control over implementation) on a remote server. A typical URL fo

Dynamic Forward

2002-11-15 Thread David Bolsover
Hi all I have a problem with a dynamic forward - can anyone assist? The url of the forward is generated by: StringBuffer sb = new StringBuffer(); sb.append("http://www.someurl/actionpath?";); sb.append("&customer=" + customer.getName()); sb.append("&address

Re: "Dynamic" forward to jsp?

2002-10-01 Thread Marek Koziol
It works but the path is treated as context-relative (i.e. relative to Tomcat/webapp root I think). I need to be able to direct it to an absolute Unix path to some existing directory which is outside tomcat webapp root (and that does not work). I do not think it is a struts issue anymore. Maybe us

Re: "Dynamic" forward to jsp?

2002-10-01 Thread Eddie Bush
return new ActionForward(jspPath, false); Works for me. I'll let someone else advise you on the rest ;-) Marek Koziol wrote: >Is it possible to forward to a JSP page whose absolute file path is >computed on the fly? (i.e. it is based on the server name which is then >mangled to produce a root

"Dynamic" forward to jsp?

2002-10-01 Thread Marek Koziol
Is it possible to forward to a JSP page whose absolute file path is computed on the fly? (i.e. it is based on the server name which is then mangled to produce a root directory path for this server). I do not want to do a redirect. I need this to fit into an existing configuration framework, where

Re: dynamic forward?

2002-07-01 Thread @Basebeans.com
Subject: Re: dynamic forward? From: "Matt Raible" <[EMAIL PROTECTED]> === If you use container-managed authentication - "bookmarking" per se will work just great. When a user tries to access a "protected" url, they are forwarded to the login page, and then ba

dynamic forward?

2002-07-01 Thread Reinhard
Hi all, I'm new in struts and need help. How can I define a dynamic forward. A user calls an ViewCompanyAction (/action/viewcompany?id=10) stored in his Favorites. The Action checks that the user is not logged in right now and forwards him to login page. Til there its not a pr

dynamic forward in an action

2002-02-21 Thread Elmar Zorn (H2Opilot)
hi, I have implemented an Quickjump in my mainjsp-page. In the action which is called with the ID of the called Resultpage (can be an .jsp or an .do) is a simple Method which is generating the final URL. I now like to jump / recall the resultaction. Any Ideas how to do that? What is the

Re: Dynamic forward to jsps

2001-09-23 Thread martin . cooper
Sent: Friday, September 21, 2001 7:06 AM Subject: RE: Dynamic forward to jsps > > Thanks for the reply Mike. While the JSPs I have in mind will utilize the > i18n features of struts ( through the MessageTag class & application > resource files), I would also like the ability to use

RE: Dynamic forward to jsps

2001-09-21 Thread Craig_Reichenbach
OTECTED]'" <[EMAIL PROTECTED]> Subject: RE: Dynamic forward to jsps

RE: Dynamic forward to jsps

2001-09-19 Thread Synovic, Michael
Hey Craig, Don't know how to implement dynamic forwarding, but based on your example, you might want to investigate how to build a single JSP to handle multiple languages, rather than using different JSPs for different languages. Check out the I18N (internationalization) features of Struts. Mi

dynamic forward mapping

2001-07-27 Thread Matt Raible
I have a form that is accessible from two different jsp pages. In my form, I have an action-mapping and the following: I'd like the to change dynamically based on where the page the user came from. Is this possible? I was thinking I could add a forward="/fromMe" as a parame

Re[2]: dynamic forward

2001-07-26 Thread Oleg V Alexeev
Hello Erik, One thing... I think you have a wrong way with such solution. More flexible approach is to place all forward choosing logic to the Action class, not to the JSP page. Thursday, July 26, 2001, 5:34:02 PM, you wrote: EjdW> oke I solved it like this EjdW> EjdW> EjdW> not very pretty

RE: dynamic forward

2001-07-26 Thread Erik jan de Wit
oke I solved it like this not very pretty but it works

dynamic forward

2001-07-26 Thread Erik jan de Wit
How can I make a dynamic link? I've got a page test.jsp and I call it with test.jsp?forward=other Then i want to do a so that i can call test from diffrent pages and it will forward me to diffrend locations. Does anyone know a answer for this?