I'm seriously impressed!
On Mon, Jan 5, 2009 at 12:32 AM, Dave Newton wrote:
> From: Musachy Barroso
>
>>
>
>
> Who is John Galt?
>
> (It's up to you to guess if I'm actually asking, or showing off my literary
> chops by quoting ;)
>
> Dave
>
> -
From: Musachy Barroso
>
Who is John Galt?
(It's up to you to guess if I'm actually asking, or showing off my literary
chops by quoting ;)
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional comm
11:59 AM, Dave Newton wrote:
>> Couldn't you just use and concatenate the strings using OGNL?
>>
>> Dave
>>
>>
>>
>> - Original Message
>>> From: David Erickson
>>> To: user@struts.apache.org
>>> Sent: Sunday, Janua
ing OGNL?
>
> Dave
>
>
>
> - Original Message
>> From: David Erickson
>> To: user@struts.apache.org
>> Sent: Sunday, January 4, 2009 2:28:06 PM
>> Subject: [S2] Easy way to create and place a String into page context built
>> using s:property t
Couldn't you just use and concatenate the strings using OGNL?
Dave
- Original Message
> From: David Erickson
> To: user@struts.apache.org
> Sent: Sunday, January 4, 2009 2:28:06 PM
> Subject: [S2] Easy way to create and place a String into page context built
> u
Hi all,
I would like to use the struts tag libraries to instantiate a String
that is composed of static text as well as multiple other struts
properties, something akin to:
aProp: '', aProp2:
''
However I see no way to set the constructor on the Strin
Not directly a struts question, apart from the fact that I search through the
ServletActionContext to try to find my answer, but what is the most direct route
to get access (statically) to the PageContext?
Thanks
Adam
-
To uns
Looks like you need a dose of ServletActionContext:
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/ServletActionContext.html
Zarar
On 10/11/07, Adam Hardy <[EMAIL PROTECTED]> wrote:
> I'm writing a few static methods to use as taglib functions in my JSPs, in
> particular r
I'm writing a few static methods to use as taglib functions in my JSPs, in
particular right now I'm writing a method to return an internationalised string
from the resource bundles for use such as this:
Somewhere
For this example I need access to the locale in use.
I suspect that my optio
The Struts app I'm developing uses a number of customs JSP tags that we
have written oursevelves in an attempt to speed up repetative tasks and
to compltely remove the need for us to use Scriptlets which not nice to
have floating round your code. I developed a static helper function that
is use
On 11/25/05, Bahadır Yağan <[EMAIL PROTECTED]> wrote:
> Sorry, my forward was defined as redirect="true". Now it works, thanks.
>
> So one other question. Is is normal to write an Action for every page,
> to register these variables.(no forms in page so far.) Or there is a
> simpler solution?
Simp
Bahadır Yağan wrote:
So one other question. Is is normal to write an Action for every page,
to register these variables.(no forms in page so far.) Or there is a
simpler solution?
The normal pattern in Struts is to have a 'setup action' which loads any
data the page needs to display and then f
Are you doing any kind of redirect?
Try printing the value of ${clist}, does this collection/list definatly contain data? because if
logic:iterate can't find the bean then it throws a JspException
Bahadır Yağan wrote:
I tried it but couldn't get it working. Here is my code:
Action:
request.
Sorry, my forward was defined as redirect="true". Now it works, thanks.
So one other question. Is is normal to write an Action for every page,
to register these variables.(no forms in page so far.) Or there is a
simpler solution?
Bahadır Yağan wrote:
I tried it but couldn't get it working.
I tried it but couldn't get it working. Here is my code:
Action:
request.setAttribute("clist", clist);
JSP:
href="sunum.jsp?cid=${category.cid}">${category.name}
ps: no it is not a form bean.
Gareth Evans wrote:
request.setAttribute() ?
Bahadır Yağan wrote:
Hi!
Is
If its a formbean you are referring to, set the scope parameter inside the
action def. to request.
-Original Message-
From: Bahadir Yagan [mailto:[EMAIL PROTECTED]
Sent: vrijdag 25 november 2005 10:22
To: user@struts.apache.org
Subject: page context
Hi!
Is there a way to register a
request.setAttribute() ?
Bahadır Yağan wrote:
Hi!
Is there a way to register a bean from inside an Action, only for the
next response. I have data to display on a JSP page. But it will only be
needed for that page, so registering it to session seems an overhead to me.
--
Gareth Evans
M
Hi!
Is there a way to register a bean from inside an Action, only for the
next response. I have data to display on a JSP page. But it will only be
needed for that page, so registering it to session seems an overhead to me.
--
Bahadir Yagan
---
Wendy Smoak wrote:
From: "Néstor Boscán" <[EMAIL PROTECTED]>
How can I use or with values that are
stored in the request or page context?. I would like to do something like
"/> without
using the <% %> tags. Is there a way to use the JSTL Expression
Language or
Thanks Wendy
Regards,
Néstor Boscán
-Mensaje original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]
Enviado el: Sunday, August 14, 2005 6:08 PM
Para: Struts Users Mailing List
Asunto: Re: How to use with values stored in the request
or page context
From: "Néstor Boscán&quo
From: "Néstor Boscán" <[EMAIL PROTECTED]>
The problem is that in the form bean you only set the values of the
or that are selected, not all of them.
So to draw all of them you need to take the values from somewhere else,
tipically an object that is in request or session context.
True. :) He
-Mensaje original-
De: Wendy Smoak [mailto:[EMAIL PROTECTED]
Enviado el: Sunday, August 14, 2005 4:37 PM
Para: Struts Users Mailing List
Asunto: Re: How to use with values stored in the request
or page context
From: "Néstor Boscán" <[EMAIL PROTECTED]>
> How can I u
From: "Néstor Boscán" <[EMAIL PROTECTED]>
How can I use or with values that are
stored in the request or page context?. I would like to do something like
"/> without
using the <% %> tags. Is there a way to use the JSTL Expression Language
or
tell the tag to g
Néstor Boscán wrote:
How can I use or with values that are
stored in the request or page context?. I would like to do something like
"/> without
using the <% %> tags. Is there a way to use the JSTL Expression Language or
tell the tag to get the value from an attributo?.
--
Hi
How can I use or with values that are
stored in the request or page context?. I would like to do something like
"/> without
using the <% %> tags. Is there a way to use the JSTL Expression Language or
tell the tag to get the value from an attributo?.
Regards,
2005/8/3, Laurie Harper <[EMAIL PROTECTED]>:
> Huh? From the documentation: "page - Expose a specified item from the page
> context as a bean."
yes, I saw it, if you read deeply my post you'd notice it, but the
lets me retrieving only some objects, not the exception.
ailable to your web app.
hth,
woodchuck
--- Tremal Naik <[EMAIL PROTECTED]> wrote:
Hi,
according to the article which url is
http://java.sun.com/developer/EJTechTips/2003/tt0114.html
in case an exception is thrown by a web component a new implicit
variable named exception is pu
you will need to have jstl.jar and standard.jar
available to your web app.
hth,
woodchuck
--- Tremal Naik <[EMAIL PROTECTED]> wrote:
> Hi,
> according to the article which url is
>
> http://java.sun.com/developer/EJTechTips/2003/tt0114.html
>
> in case an excep
Tremal Naik wrote:
Hi,
according to the article which url is
http://java.sun.com/developer/EJTechTips/2003/tt0114.html
in case an exception is thrown by a web component a new implicit
variable named exception is put in the page context. The exception can
be retrieved by a scriplet (it works, i
Hi,
according to the article which url is
http://java.sun.com/developer/EJTechTips/2003/tt0114.html
in case an exception is thrown by a web component a new implicit
variable named exception is put in the page context. The exception can
be retrieved by a scriplet (it works, i tried it
30 matches
Mail list logo