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
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
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
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
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
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-
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
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
-
--- 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
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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
OTECTED]'"
<[EMAIL PROTECTED]>
Subject: RE: Dynamic forward to jsps
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
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
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
oke I solved it like this
not very pretty but it works
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?
31 matches
Mail list logo