Just out of curiosity, why wouldn't you just put them in the application
context?
d.
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Well, looks like I might have found it myself. If my Interceptor adds
> a variable to the Context in the Value Stack, then I can access the
> variable using the # de
Is there a reason why you couldn't use the session? If you put the
objects in the session, they would be available pretty much like you
have -
-Wes
On 12/28/07, Chris Pratt <[EMAIL PROTECTED]> wrote:
> Well, looks like I might have found it myself. If my Interceptor adds
> a variable to the Co
On Dec 28, 2007 12:10 AM, Sridhar Raman <[EMAIL PROTECTED]> wrote:
> In the struts-config.xml file, I need to specify the location of the
> struts_config DTD file. Normally, this is given as an http link. But if
> the net is down, it obviously won't work.
Not true. The DTD is inside the Struts
Sridhar Raman wrote:
In the struts-config.xml file, I need to specify the location of the
struts_config DTD file. Normally, this is given as an http link. But if
the net is down, it obviously won't work. The documentation says that one
needs to copy the DTD into the struts.jar under resources.
Sebastian Göttschkes wrote:
Laurie Harper wrote:
Sebastian Göttschkes wrote:
[...]
I defined the message resources in the struts-config.xml:
[...]
The strange thing is I didn't change anything except for the two empty files I
created. So I can say that the problem isn't hard-coded text in
Modify the template by creating your own custom version and add a after
the rendering of the label:
Example:
${itemValue?html}
SudarshanP wrote:
>
> I too have the same problem
> anybody could figure out the solution
>
> Thanks in advance
>
>
>
> Filippo De Luca wrote:
>>
>> Dear Strt
Well, looks like I might have found it myself. If my Interceptor adds
a variable to the Context in the Value Stack, then I can access the
variable using the # delimiter. So if my UserInterceptor calls:
stack.getContext().put("user",user);
Then in the page I can use:
to display the User's Nam
Hello
Is there a syntax to execute javascript functions before the validateFormBea?
Is it simply a ";"?
Also is the onSubmit handler element in tag different than the
onSubmit handler in the ?
I have some values that are required on, pretty much, every page of
the site. Thinks that belong in the headers and navigation section
for example. I'd rather not have to add them to every Action, or
force every Action to extend a base action, so is there a way to add
values to the value stack (s
Struts doesn't create any automatic logging files. If you are getting
additional logs, you have a configuration file loaded to do so.
Paul
On Dec 27, 2007 9:34 AM, Adam Hardy <[EMAIL PROTECTED]>
wrote:
> Hi Raghuveer,
> I don't know why you have struts.log. Perhaps a struts committer knows
> whi
You probably are not using UTF-8 encoding on your pages. This can be
configured using the JSP page directive.
On Dec 11, 2007 7:57 AM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Chris Pat wrote:
> > Hello
> > In my app I write the labels with
> and I have an ApplicationProperties.properties,
> A
The name of the button is what gets submitted. The value, I believe, is the
user display value which doesn't get sent in the submission.
On Dec 28, 2007 12:43 PM, Al Sutton <[EMAIL PROTECTED]> wrote:
> I've been bashing my head against a brick wall on this one so maybe
> someone
> can help ease t
Thanks a lot Chris. I'm sorry I have read it as double double quotes. Your
explaination and solution are great!
Thanks again.
On Dec 28, 2007 3:28 PM, Chris Pratt <[EMAIL PROTECTED]> wrote:
> Not double quotes, single quotes. basically here's an expanded view
> of what I meant, (you should remo
Not double quotes, single quotes. basically here's an expanded view
of what I meant, (you should remove all the spaces before you try it):
value=" ' 02 ' ". If you use value=" " 02 " ", then the JSP
processor reads it as an empty value folowed by some gibberish that it
doesn't understand
Hi Chris,
I tried value="02" but it didn't work. I also tried value=""02"" and got an
error.
You mentioned two double quotes. Is that on purpose?
Thanks.
On Dec 28, 2007 3:13 PM, Chris Pratt <[EMAIL PROTECTED]> wrote:
> I think you could also use:
>
> value="'02'"
>
> (notice the extra single
I think you could also use:
value="'02'"
(notice the extra single quotes). Since the tags evaluate the value
as an OGNL expression, they look for a get02() instead of recognising
it as a literal value, using '02' instead of 02 tells the OGNL
processor it's a literal value. The %{} is called alt
Thanks Al an Chris. Both work but in Chris's solution I have to use %{'02'}
in value attribute, like this:
I'm not clear why? "%" is what syntax?
Thanks.
On Dec 28, 2007 2:35 PM, Chris Pratt <[EMAIL PROTECTED]> wrote:
> Try:
> headerValue="Select Month" list="#{'01':'Jan','02':'Feb'}"
> valu
Looks like this is open issue... found something interesting in
webwork forum
http://forums.opensymphony.com/thread.jspa?messageID=116863
On 12/27/07, Raghuveer Rawat <[EMAIL PROTECTED]> wrote:
> Hello quinquin2209,
> Is this issue resolved for you? What was the solution?
> I am facing same
Try:
What the original code was doing was calling getSelectedMonth() on the
value stack (usually a method on the Action) and using that value to
pre-select the proper month.
(*Chris*)
On Dec 28, 2007 11:28 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> This struts code
>
>
>
Make sure the value selectedMonth in your action is set to 02.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 December 2007 19:29
To: Struts Users Mailing List
Subject: Render preselected value in
Hi all,
This struts code
generates this html code:
Am I writing this correctly?
My FillSelectBoxes action only does work in the preparable method. And
there is a private String myString and private LocationDTO location in this
action. I only implement preparable
But they are alway
Hi all,
This struts code
generates this html code:
Select Month
Jan
Feb
If I want "Feb" is selected (Feb), how
to do it in the ?
Many thanks.
Hi,
Does any of you knows a way to get the value for a property value (defined
in struts.properties / struts.xml) from Java code (an action code for
example) ?
Lets say, I want to know the value of "struts.devMode" property.
How can I get it in Java code?
cheers
--
Filipe David Manana,
[EMAIL P
I've been bashing my head against a brick wall on this one so maybe someone
can help ease the pain...
Within a single form I have several buttons. Each button has an ID
associated with it and a name. What I would like to do is show the name to
the user and submit the ID to my action when it's c
On Dec 28, 2007 7:08 AM, Sebastian Göttschkes
<[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm trying to find a chart lib for Struts 1(.3.8). It should be something
> small, easy to install and use. I just need pie charts in 2D, nothing special.
>
> Any suggestions?
It's not Struts specific but Goo
Markus Stauffer wrote:
Another thing that I do not understand is why in the default Interceptor
stack the i18n intereceptor is called after the prepare interceptor. In
the prepare() methode the Locale is not set, because the i18n interecptor
is invoked later in the stack. I had to manualy regro
It is not the best solution to Implement the LovaleProvider and the
getLocale() method:
Instead I wrote my own Interceptor that manual set the
Locale "invocation.getInvocationContext().setLocale()".
Another thing that I do not understand is why in the default Interceptor
stack the i18n interece
Ah yes, I remember that bug! I guess I didn't look too closely at the
solution before.
Thanks for the info.
Eric Rank
---
Senior Web App Engineer
www.referencevault.com
On Dec 28, 2007, at 8:27 AM, Guillaume Carré wrote:
2007/12/28, Eric Rank <[EMAIL PROTECTED]>:
In migrating t
hi all
may be all of you have hear BlueOxygen.org, the opensource center from Java
island, where founded by me in 2001.
now for new year 2008, we release 4 opensource under blueOxygen, and 1
independent (join work with ministry of education in Indonesia)
BlueOxygen Cimande, The Workspace Platfor
2007/12/28, Eric Rank <[EMAIL PROTECTED]>:
> In migrating to Struts 2.1 from 2.0.x, I noticed that I can no longer
> use regular EL in most (all?) attributes of struts tags. The TLD
> specifies rtexpvalue="false" now.
>
> Can someone explain what the principle is behind this change? I'm
> curious a
In migrating to Struts 2.1 from 2.0.x, I noticed that I can no longer
use regular EL in most (all?) attributes of struts tags. The TLD
specifies rtexpvalue="false" now.
Can someone explain what the principle is behind this change? I'm
curious about the motivation for the modification.
Tha
The main reason for me (I can't speak for Raghuveer) is that several third-party
apps, plug-ins and modules that I use have log4j configured in their codebase.
To control them seperately would be a pain - so I use log4j for the
configuration but I code my logging with commons logging.
Hopefull
Hi there,
I'm trying to find a chart lib for Struts 1(.3.8). It should be something
small, easy to install and use. I just need pie charts in 2D, nothing special.
Any suggestions?
Regards,
Sebastian
-
To unsubscribe, e-mail: [
not sure if i got your problem right but you can add something like this
to your web.xml
/struts-tags
/WEB-INF/struts-tags.tld
s
then you can use <[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %>
and it should map to the location sepcified in web.xml
but the lib
copy this file to your web-inf and use relative path's
i did like this
struts.xml
Sridhar Raman schrieb:
In the struts-config.xml file, I need to specify the location of the
struts_config DTD file. Normally, this is given as an http link. But if
the net is down, it obviously won't work. The
Hi,
>Laurie Harper wrote:
>
>Sebastian Göttschkes wrote:
>> Hi,
>>
>> I'm experiencing strange behaviours with the message resources and I'm not
>> sure about where to find the problem.
>>
>> I defined the message resources in the struts-config.xml:
>>
>> > parameter="com.equitystory.pms.resou
36 matches
Mail list logo