assuming your dir structure is like:
css
...main.css
images
someimage.jpg
you can use this in your css: url(../images/someimagejpg)
and then this in your jsp:
musachy
On Tue, Aug 4, 2009 at 9:38 AM, Andy Law wrote:
>
> I'm trying to specify a CSS style to be applied to a table header ro
I made my CSS files out of JSPs, like so:
<%@ page contentType="text/css"%>
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
body {
background-color: #ECEDF1;
font-family: 'Lucida Grande',Geneva,Verdana,Arial,sans-serif;
background-image: url();
margin-top: 0px;
padding: 0;
On Tuesday 04 August 2009 03:31:19 am cmartin81 wrote:
> Thanks for your answers.
> We were actually planning to use Struts 2.1.7 in production. Is this safe?
> Or is it still in beta (or snapshot) version? We got the jar file from
> this location:
> http://people.apache.org/builds/struts/2.1.7/m2
Instead of writing interceptors I decided to go with the suggestion you made,
which is
use the raw session with the use of
but what I want to know is how can I access the jsp expression variables
inside the
<%
UserSession userSession
=(UserSession)renderRequest.getPortletSession().getAttri
You might want to take a look at this:
http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin
fresh from the oven, early adopters wanted ;)
musachy
On Thu, Jul 9, 2009 at 1:11 PM, stanlick wrote:
>
> Thanks brother! Do you know of a decent JSP ---> Freemarker converter? I
> s
it possible to not click any url but
still set a setter
If you don't need any user interraction why not do it in the action? It is not
clear what
would be the point of a view that without any user input then proceeds to do
further logic...
Chris
-Original Message-
From:
Musachy Barroso wrote:
On Tue, Aug 4, 2009 at 3:11 PM, Dave Newton wrote:
Oh, great; now my Smart Card will *never* talk to my webapp.
I guess it wasn't that smart after all.
I'm going to introduce my own JSR for Stupid Cards.
Dave
-
mg>understood..the gauntlet has been tossed
mg>what proof do you request?
>
> >
> > probably wise to beg off this particular plugin until all P1 bugs are
> > quashed
> >
>
> Very insightful...
mg>thank you
> > the JSR268 readme and core sample is located at
> > https://cds.sun.com/is-bin/INT
On Tue, Aug 4, 2009 at 3:11 PM, Dave Newton wrote:
> Oh, great; now my Smart Card will *never* talk to my webapp.
I guess it wasn't that smart after all.
musachy
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
-
"McMurphy: That's right, Mr. Martini. There is an Easter Bunny. " One
Flew Over the Cuckoo's Nest.
On Tue, Aug 4, 2009 at 2:53 PM, Nils-Helge Garli Hegvik wrote:
>>
>> probably wise to beg off this particular plugin until all P1 bugs are quashed
>>
>
> Very insightful...
>
>> the JSR268 readme an
Nils-Helge Garli Hegvik wrote:
I'd be very surprised if Jetspeed2 implements JSR-268...
Oh, great; now my Smart Card will *never* talk to my webapp.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For addit
>
> probably wise to beg off this particular plugin until all P1 bugs are quashed
>
Very insightful...
> the JSR268 readme and core sample is located at
> https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_JCP-Site/en_US/-/USD/ViewFilteredProducts-SimpleBundleDownload
>
I'm not sure what
Wes Wannemacher wrote:
>
> One thing I've done in the past is to treat CSS files as JSPs and use
> s:url tags or EL expressions (${contextRoot}/images/image.gif)...
>
>
Oh. That feels s dirty!!!
There has to be a cleaner way to do it.
Later,
Andy
--
View this message in context:
Haroon Rafique wrote:
>
> On Today at 9:38am, AL=>Andy Law wrote:
>
> If your file structure is somewhat like:
>
> styles/base.css
> images/image.gif
>
> then you can simply change your background-image directive to say:
> background-image: url('../images/image.gif');
>
> or in other words,
@OP: You should listen to Wes, he knows what he's talking about. There is
no reason to call a setter on your action after the action method has
executed and the jsp result page is being rendered. (OK, maybe if the setter
has some side effect, but this would be a really odd case and a bad design.)
On Tue, Aug 4, 2009 at 12:57 PM, Wes Wannemacher wrote:
>
>
If my memory is not failing "#top" doesn't work, it has to be "top".
musachy
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
-
To unsubscribe, e-mai
On Tue, Aug 4, 2009 at 2:25 PM, Bhaarat Sharma wrote:
> thanks wes. so when that url will be clicked the setter will be set.
> ...maybe pushing the envelope but is it possible to not click any url but
> still set a setter. just like we call a getter.
>
>
>
>
The paradigms are different... in you
probably wise to beg off this particular plugin until all P1 bugs are quashed
the JSR268 readme and core sample is located at
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_JCP-Site/en_US/-/USD/ViewFilteredProducts-SimpleBundleDownload
i would strongly suggest implementing your Port
thanks wes. so when that url will be clicked the setter will be set.
...maybe pushing the envelope but is it possible to not click any url but
still set a setter. just like we call a getter.
On Tue, Aug 4, 2009 at 2:22 PM, Bhaarat Sharma wrote:
> wow ..just explaining the problem i figured ou
wow ..just explaining the problem i figured out I can just avoid doing what
i was thinking and just check for request.getParamter() inside the action
class.
anyways...still curious if there is a way to set a setter w/out doing form
submission..
On Tue, Aug 4, 2009 at 2:18 PM, Bhaarat Sharma wrote
No, it's not confusing, the thing about http / html is that it is
still a submission... Just not using
-Wes
On Tue, Aug 4, 2009 at 2:18 PM, Bhaarat Sharma wrote:
> I know its not the best case scenario. If i can do this then I will not
> have to change major piece of the code.
> I'll try to exp
I know its not the best case scenario. If i can do this then I will not
have to change major piece of the code.
I'll try to explain the scenario: basically one jsp page is used to show
results. this jsp page has pagination so each time 50 results are shown. But
the page has a printer friendly vers
Ajax call? ESP?
> -Original Message-
> From: Bhaarat Sharma [mailto:bhaara...@gmail.com]
> Sent: Tuesday, August 04, 2009 2:10 PM
> To: Struts Users Mailing List
> Subject: Re: equivalent of request.getParameter();
>
> Thanks.
> I have another question, which might be a little off top
On Tue, Aug 4, 2009 at 2:09 PM, Bhaarat Sharma wrote:
> Thanks.
> I have another question, which might be a little off topic.
>
> if I have a method like this in my Action class
>
> public void setPrinter(String print)
> {
> this.printer = print;
> }
>
> how can I call this setter w
Thanks.
I have another question, which might be a little off topic.
if I have a method like this in my Action class
public void setPrinter(String print)
{
this.printer = print;
}
how can I call this setter with some value from my jsp page using struts2?
I know this can be se
RequestAware gives you access to the Request Attribute map, not the
Parameter map. You can use ParameterAware to get the Map of Parameters or
ServletRequestAware to get access to the HttpServletRequest directly. But
the best way to get access to values from forms or query strings is to allow
Stru
Implement the requestAware interface to have access to a Map containing
request parameters as name-value pairs.
In terms of an html tag, use OGNL to get to the request parameters.
Especially the #request object. EG %{#request.someParam}
> -Original Message-
> From: Bhaarat Sharma [mailto:
In servlets we can do request.getParameter("someParm"); to gain access to
parameters passed to the jsp.
what is the equivalent of this in struts2?
is there an html tag for this?
On Today at 9:38am, AL=>Andy Law wrote:
AL> [..snip..]
AL>
AL> th.myclass {
AL> background-image: url('images/image.gif');
AL> }
AL>
Andy,
If your file structure is somewhat like:
styles/base.css
images/image.gif
then you can simply change your background-image directive to say:
backgro
One thing I've done in the past is to treat CSS files as JSPs and use
s:url tags or EL expressions (${contextRoot}/images/image.gif)...
Pointing your jsp servlet in tomcat to CSS files, IIRC, didn't work
right (I think I found the JSP servlet was actually looking at the
file and saying - "hey, thi
I'm trying to specify a CSS style to be applied to a table header row that
includes a reference to a background image (specifically as part of a table
that uses JQuery/tablesorter). It is causing me pain.
To clarify what may be a bit of a garbled question, my (final, effective)
html needs to look
What do you mean by "accessed from a totally different server"? Are
you referring to WSRP?
There's a bug in the current version that causes some problems when
you mix servlet actions and portlet actions in the same app. The next
version (hopefully 2.1.8) should have this bug fixed.
Nils-H
On Tue
I have an existing Struts 2.1.6 configuration that is working fine. I am
interested in adding a new page that contains a single portlet, and also having
the portlet be accessed from a totally different server. Is this possible with
the Struts portlet plugin?
I have read the portlet plugin a
Why don't you try the POI mailing list instead?
http://poi.apache.org/mailinglists.html
Nils-H
On Tue, Aug 4, 2009 at 3:01 PM, Odelya YomTov wrote:
> Hi!
>
> When I export HSSFWorkbook it writes it from left to right
>
> I would like to right it from right to left
>
> How can I do it?
>
> Thanks
Hi!
When I export HSSFWorkbook it writes it from left to right
I would like to right it from right to left
How can I do it?
Thanks!
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
Thanks for your answers.
We were actually planning to use Struts 2.1.7 in production. Is this safe?
Or is it still in beta (or snapshot) version? We got the jar file from this
location:
http://people.apache.org/builds/struts/2.1.7/m2-staging-repository/
What was the main problem with 2.1.7?
--
36 matches
Mail list logo