Thanks - and in for example tiles tag? This tag doesn't accept %{getText(...)}
and I can't put there s:text.../, I can only put there %= ... % with
variable...
Tom
Původní zpráva
Od: François Rouxel rouxe...@yahoo.com
Předmět: Re : struts2: resource bundle messages
To the OP: Just try xhtmlrenderer (i.e. The Flying Saucer Project). I
once did a servlet filter that intercepted text/html responses (usually
from JSPs) and transformed them to PDF on the fly. Don't seem able to
figure out where that code is nowadays though.
[1]
u can do that on seam framework.
http://docs.jboss.org/seam/1.1.5.GA/reference/en/html/mail.html
Regards,
Dhiraj
Oh yes, I have no problem with EJB3 init parameters. The only thing I am
really missing is where to put struts2 actions init paramers.
--
View this message in context:
http://www.nabble.com/Best-global-parameter-aproach-for-struts2-tp21698744p21702585.html
Sent from the Struts - User mailing
Hi,
are you sure about the tag-action beeing on top of the stack during the
execution of its result?
i use an action-tag to generate a view component (a little info box on
my page) and on one of my pages there is the situation that the
tag-action is of the same class as the original action.
Dave Newton on 26/01/09 21:21, wrote:
Andy wrote:
it appears that the Exception interceptor will fire after
the Result has completed, which would theoretically catch
any exceptions thrown by the JSP.
It's not that it fires after the result is completed, it's that
everything happens
On Wed, Jan 28, 2009 at 10:39 AM, Ignacio de Córdoba icord...@skios.es wrote:
Oh yes, I have no problem with EJB3 init parameters. The only thing I am
really missing is where to put struts2 actions init paramers.
If your parameters are action-specific, you can easily put them into
the
Yes, during the result of the invoked action, the invoked action will
be on the top of the stack, but it is available by name in the
stack, only outside the action tag.
musachy
On Wed, Jan 28, 2009 at 5:40 AM, Alexander Baetz
baetz.paderb...@arcor.de wrote:
Hi,
are you sure about the
Hello,
i'm looking for a javascript user list,any one has an adress?
Thanks
Regards
Elyes.
org.apache.jasper.JasperException: File /struts-tags not found
In struts 2 distribution, I do not see struts-tags or its .tld . Am I
missing it or why do I get this error?
--
View this message in context:
http://www.nabble.com/Struts-tag---tp21707578p21707578.html
Sent from the Struts - User
Hi All,
does this work with jetty?. I couldn't get this working with jetty
sometime back :)
Thanks,
Nuwan
ManiKanta G wrote:
to which filter mapping? FilterDispatcher's mapping?
And could give sample snippet of web.xml using .action for http 404 error?
Well I got it... yes, for
Dhiraj Thakur wrote:
u can do that on seam framework.
http://docs.jboss.org/seam/1.1.5.GA/reference/en/html/mail.html
The only reference I see to PDF on that page is the link to the previous
chapter; can you be more specific? (I mean, we're not talking about
using Seam or email, but at
On Wednesday 28 January 2009 10:09:06 SanJ.SANJAY wrote:
org.apache.jasper.JasperException: File /struts-tags not found
In struts 2 distribution, I do not see struts-tags or its .tld . Am I
missing it or why do I get this error?
What version of Tomcat are you using? The TLD is in the JAR
On Wednesday 28 January 2009 10:20:54 Dave Newton wrote:
Dhiraj Thakur wrote:
u can do that on seam framework.
http://docs.jboss.org/seam/1.1.5.GA/reference/en/html/mail.html
The only reference I see to PDF on that page is the link to the previous
chapter; can you be more specific? (I
Ok, got it working, i was using the convention plugin. but i had to
manually define the action which take care of the error in struts.xml
Thanks,
Nuwan
Nuwan Chandrasoma wrote:
Hi All,
does this work with jetty?. I couldn't get this working with jetty
sometime back :)
Thanks,
Nuwan
I am using Jboss 4.0.2. I was running my application on struts 1 and now
decided to go with struts 2 in parallel with struts 1. So after putting all
the struts 2 jar in lib and shared lib folders, I updated web.xml for filter
dispatcher for struts 2. So now I was trying to test some struts 2 JSP
On Wednesday 28 January 2009 10:28:13 SanJ.SANJAY wrote:
I am using Jboss 4.0.2. I was running my application on struts 1 and now
decided to go with struts 2 in parallel with struts 1. So after putting all
the struts 2 jar in lib and shared lib folders, I updated web.xml for
filter dispatcher
I dropped all the jars from the /lib folder of distribution which is 2.0.14.
Wes Wannemacher wrote:
On Wednesday 28 January 2009 10:28:13 SanJ.SANJAY wrote:
I am using Jboss 4.0.2. I was running my application on struts 1 and now
decided to go with struts 2 in parallel with struts 1. So
fyi I had to add commons-fileupload to my classpath only after upgrading to
2.1.6 from 2.0.14.. Before the upgrade it wasnt required.
Date: Tue, 27 Jan 2009 23:11:40 -0500 From: newton.d...@yahoo.com To:
user@struts.apache.org Subject: Re: Exception while upgrading from S 2.0.11
to 2.1.6
Hi guys, I have an object accessible using s:property value=p.myInteger
/, which displays an arbitrary integer.
Is there a way to dynamically put this into an OGNL method call, something
like:
s:set name=DynamicCodeType
value=@com.whatever.myactioncl...@getcodetype(p.myInteger)'/
Right
Thanks for replying, Pawel.
However, I get the same error message when viewing the config browser. Any
ideas?
Regards.
W.SayJon
Email Disclaimer:
The information contained in or attached to this email is confidential and
solely for the use of the individual or entity to whom it is addressed.
If
On Wednesday 28 January 2009 10:44:02 SanJ.SANJAY wrote:
I dropped all the jars from the /lib folder of distribution which is
2.0.14.
And you dropped them in WEB-INF/lib of your application and redeployed?
I assume you also setup a struts.xml file as well as updated your web.xml to
include
I have a question about tooltip.
Source code:
s:textfield
name=username
label=Username
tooltip=Enter the same username as you login Windows windows
/
When using Firefox or Konqueror open my page, I always see:
alt=Enter the same username as you login Windows
On Wednesday 28 January 2009 10:50:27 Ryan Peterson wrote:
Hi guys, I have an object accessible using s:property value=p.myInteger
/, which displays an arbitrary integer.
Is there a way to dynamically put this into an OGNL method call, something
like:
s:set name=DynamicCodeType
I can extract the struts-core jar with an error. Also I placed them under
WEB-INF/lib folder. The only thing I have'nt done yet is struts.xml file.
Could this be the issue? I thought since I wil not be using any action for
this case, I did not need it? What do you say?
Wes Wannemacher
sorry I mean I can extract struts-core jar without any error.
SanJ.SANJAY wrote:
I can extract the struts-core jar with an error. Also I placed them under
WEB-INF/lib folder. The only thing I have'nt done yet is struts.xml file.
Could this be the issue? I thought since I wil not be using
Apologies, I had my a copy of FilterDispatcher in my source code which
was erroneous!
Sorry for the inconvenience caused!
Regards.
W.SayJon
Email Disclaimer:
The information contained in or attached to this email is confidential and
solely for the use of the individual or entity to whom it is
p is a custom object, say person. So it could be person.age for example.
I would use the stackObj.method() way, but the method I need to call is
external to the object on the stack.
Basically I'm trying to pass the value of person.age into the OGNL static
method call to return a result based on
Ah. The reason I ask is I had a similar problem but with the updated
StrutsPrepare and StrutsExecute filters. Spring Security modified the
request in a way that Struts was not expecting and therefore Struts could
not find what it was looking for. You may need to step through Spring
Security
On Wed, Jan 28, 2009 at 5:09 PM, Ryan Peterson rrpeter...@gmail.com wrote:
p is a custom object, say person. So it could be person.age for example.
I would use the stackObj.method() way, but the method I need to call is
external to the object on the stack.
Why don't you perform this method
s:set name=DynamicCodeType
value=@com.whatever.myactioncl...@getcodetype(p.myInteger)'/
will work iff, static calls are enabled for OGNL, and p is a field
of the object on top of the stack, which I doubt, it should be
something like:
s:set name=DynamicCodeType
Thanks Musachy, that was it!
I had tried various combinations of 'p.myInt' p.myInt '#p.myint'
$(p.myInt), that wouldn't work before.
On Wed, Jan 28, 2009 at 9:54 AM, Musachy Barroso musa...@gmail.com wrote:
s:set name=DynamicCodeType
Hadn't heard back from anyone about this. I'll go ahead and file a bug
report.
No one is using action chaining with 2.1.6?
Thanks,
-B
Becky.L.O'Sulliva
This is the first report I hear, open a jira ticket and describe a
test case to replicate the problem.
musachy
On Wed, Jan 28, 2009 at 12:03 PM, Becky.L.O'sulli...@healthnet.com wrote:
Hadn't heard back from anyone about this. I'll go ahead and file a bug
report.
No one is using action
Source code:
s:textfield
name=username
label=Username
tooltip=Enter the same username as you login Windows windows
/
When using Firefox or Konqueror open my page, I always see:
alt=Enter the same username as you login Windows
Someone knows how to remove alt=Enter
Emi Lu wrote:
(With s:form default theme)
Remove alt#... from
struts2-core-2.1.6.jar /template/xhtml/tooltip.ftl
Note that this will interfere with screen reader/accessibility software
that depends on the alt attribute.
Dave
Yes, there is a bug on tooltip.ftl
musachy
On Wed, Jan 28, 2009 at 3:53 PM, Emi Lu em...@encs.concordia.ca wrote:
Source code:
s:textfield
name=username
label=Username
tooltip=Enter the same username as you login Windows windows
/
When using Firefox or Konqueror open
https://issues.apache.org/struts/browse/WW-2966
On Wed, Jan 28, 2009 at 3:56 PM, Dave Newton newton.d...@yahoo.com wrote:
Emi Lu wrote:
(With s:form default theme)
Remove alt#... from
struts2-core-2.1.6.jar /template/xhtml/tooltip.ftl
Note that this will interfere with screen
Musachy Barroso wrote:
https://issues.apache.org/struts/browse/WW-2966
Ah, okay.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Thank you Musachy!
From struts.apache.org/download.cgi, it seems that neither 2.1.7 nor
2.2.x is ready yet :(
- Lu Ying
Musachy Barroso wrote:
Yes, there is a bug on tooltip.ftl
musachy
On Wed, Jan 28, 2009 at 3:53 PM, Emi Lu em...@encs.concordia.ca wrote:
Source code:
s:textfield
Fixed in trunk.
musachy
On Wed, Jan 28, 2009 at 4:08 PM, Emi Lu em...@encs.concordia.ca wrote:
Thank you Musachy!
From struts.apache.org/download.cgi, it seems that neither 2.1.7 nor 2.2.x
is ready yet :(
- Lu Ying
Musachy Barroso wrote:
Yes, there is a bug on tooltip.ftl
musachy
* Andy [2009-01-28 09:48:12 -0600]:
fyi I had to add commons-fileupload to my classpath only after upgrading to
2.1.6 from 2.0.14.. Before the upgrade it wasnt required.
Same here. If the change is intentional, then someone should update
I don't remember any discussion about it.
musachy
On Wed, Jan 28, 2009 at 4:19 PM, Sergio Gelato
sergio.gel...@astro.su.se wrote:
* Andy [2009-01-28 09:48:12 -0600]:
fyi I had to add commons-fileupload to my classpath only after upgrading to
2.1.6 from 2.0.14.. Before the upgrade it wasnt
Hello everyone.
After the release of Struts 2.1 as GA (in 2.1.6) I decided to write a
quite simple tutorial about creating a basic application that uses the
features of Struts2 Rest Plugin and some of Convention Plugin.
If someone might be interested, here you can read it:
On Wednesday 28 January 2009 10:59:35 SanJ.SANJAY wrote:
I can extract the struts-core jar with an error.
Was that a mistake?
Also I placed them under
WEB-INF/lib folder. The only thing I have'nt done yet is struts.xml file.
Could this be the issue? I thought since I wil not be using any
Much Obliged everyone! It can seem overwhelming at first and I guess I have
been searching for the burgeoning best practices of Spring 2.5 in a basic
web app to help me focus in on where I should think about implementing it
first...I have used Struts2 and especially liked the validation framework
johnrock wrote:
but is it overkill to think about using Struts2 and Spring2.5?
Why would it be? I use Spring 2.5 for DI, AOP, and a few other minor things.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Thanks for the reply Musachy - has a fix for this been commited to the
xwork trunk? I pulled xwork 2.1.3-SNAPSHOT from svn, compiled it and
threw it onto our snapshot maven repository but I'm still getting the
same error. Could I somehow be subverting the type conversion process
by using the
On Wednesday 28 January 2009 19:49:11 Allen Lee wrote:
Thanks for the reply Musachy - has a fix for this been commited to the
xwork trunk? I pulled xwork 2.1.3-SNAPSHOT from svn, compiled it and
threw it onto our snapshot maven repository but I'm still getting the
same error. Could I somehow
Hi Wes,
That is weird that the stack trace is printing out what looks like a
String array / object pointer-address instead of the actual String...
hmm. I've got nothing fancy in my submitting form, just
@s.textfield theme='simple'
name='longitudeLatitudeBox.maximumLatitude' id='maxy' size=14 /
Well, Spring is a broader tools than Struts. Spring MVC is more like a
direct counterpart of Struts, as a web framework. There are other parts in
Spring you might find useful. For example, Spring JDBC template, AOP
transaction control, or IoC container to manager business logic. In my
case,
Hi all,
I'd like to solicit feedback on the best way to support .rss/.atom
requests when using the rest plugin.
My first thought was to implement a generic ContentTypeHandler for
.rss or .atom requests that expects to be passed a Rome SyndFeed
object, but that implies that the getModel() method
On Wednesday 28 January 2009 20:33:59 you wrote:
Hi Wes,
That is weird that the stack trace is printing out what looks like a
String array / object pointer-address instead of the actual String...
hmm. I've got nothing fancy in my submitting form, just
@s.textfield theme='simple'
Bill Stilwell wrote:
I'd like to solicit feedback on the best way to support .rss/.atom
requests when using the rest plugin.
Have you considered writing a custom content type handler? Content type
handlers are chosen based on URL extension.
Check the Custom ContentTypeHandlers section:
Yup, but as mentioned in the original email I'm not sure where to
construct the SyndFeed object. Doing it in the content handler doesn't
really make sense, as there's no generic way to map objects to an
RSS/Atom feed. My basic idea is that the ContentTypeHandler would
expect to be passed a
Bill Stilwell wrote:
The bit I'm having trouble figuring out is how the action would
know that the model should be a SyndFeed object - is there a
standard way to detect what extension was used when calling
the action? (I could parse it from request.getRequestURI(), but that
seems a bit
On Wed, Jan 28, 2009 at 6:45 PM, Dave Newton newton.d...@yahoo.com wrote:
The action doesn't need to know; that's the point. The framework serializes
the action based on the content type handler (CTH) registered to the URL
extension.
For example, the json extension uses a JSON serializer
yes, the conversion problem was fixed in xwork trunk.
musachy
On Wed, Jan 28, 2009 at 7:49 PM, Allen Lee allen@asu.edu wrote:
Thanks for the reply Musachy - has a fix for this been commited to the
xwork trunk? I pulled xwork 2.1.3-SNAPSHOT from svn, compiled it and
threw it onto our
Bill Stilwell wrote:
To me, this implies that there needs to be code
to map whatever the particular model is to the needs of the RSS feed.
Well yeah.
I think maybe I'm just completely misunderstanding what your system
looks like. The systems I've worked on tend to have a pretty orthogonal
Hi,
I have a page which uses a tabbedPanel with three tabs. In each of
the three tabs, I load a separate div:
s:tabbedPanel id=profileTabs
s:div id=profile_personal label=Personal
href=%{viewProfileUrl} theme=ajax cssClass=tab/s:div
s:div id=profile_privacy label=Privacy
On 29/01/2009, at 2:48 PM, Dave Newton wrote:
Bill Stilwell wrote:
To me, this implies that there needs to be code
to map whatever the particular model is to the needs of the RSS feed.
Well yeah.
I think maybe I'm just completely misunderstanding what your system
looks like. The systems
our member in JUG, have a project that use xwork, spring and JPA
injection with no problem to switch
and me also Strust2 with Spring and XWork without problem
we can utilize spring features if we use spring as ioC
f
On Thu, Jan 29, 2009 at 8:47 AM, Guojun Zhu zgg...@gmail.com wrote:
Well,
Try turning off the loading text.
It's a guess, but it sounds similar to the loadingText bug due to Dojo
in IE. If the target div contains the source form and loadingText
enabled, the loadingText overwrites the form before the its new values
are read. Details are mentioned several times
Hi,
I am presently working on struts 2.0.
Whenever i use strutsUI tags(with theme=ajax) nothing is rendered on
page.
I have done like this:-
In web.xml
filter
filter-namestruts-cleanup/filter-name
64 matches
Mail list logo