Hello,
I have a question relating to serving international content that I hope
someone can help with.
It is kind of leaning towards an SEO question, but it does relate to
Struts in terms of how I can use Struts 2 to control page direction
because of language selection.
In terms of SEO, I a
I think your pattern is on the namespace rather than the action?
C.
-Original Message-
From: Zoran Avtarovski
To: Struts Users Mailing List ; CS Wong
Sent: Tue, Aug 11, 2009 9:49 pm
Subject: Re: Configuring SiteMesh for specific action mappings in Struts 2?
I¹m cert
I¹m certain that¹s not correct. We use the decorators.xml file extensively
and we¹re able to have pretty fine control over the sitemesh decorators. I
know in our installation the decorator is based on the action url rather
than the resulting jsp file.
For example you could include a excludes patte
Wes Wannemacher wrote:
What about -
#exampleheader
Seems like the logical way to do it...
Or the "anchor" attribute maybe.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
What about -
#exampleheader
Seems like the logical way to do it...
-Wes
2009/8/11 Halil Ağın :
> Hello List;
>
> I want to generate below link by using s:url. but i dont know how to do it
>
> www.sample.com.fake/AppCon/package1/abc.action#exampleheader
>
> for part "/package1/abc" i use var="x
Are you able to put a parameter in your action URL -- something like
.myAction.action@&printable=true
because in that case you can configure different (or no) decoration based on
the parameter
chris
-Original Message-
From: CS Wong
To: Struts Users Mailing List
Sent: Tue,
Hello List;
I want to generate below link by using s:url. but i dont know how to do it
www.sample.com.fake/AppCon/package1/abc.action#exampleheader
for part "/package1/abc" i use
but for the "#exampleheader" part i could see any solution. how can i do
this?
regards,
-Halil AĞIN
I think this is what you are after:
http://struts.apache.org/2.x/docs/visitor-validator.html
...This
allows you to use the ModelDriven development pattern ...
-Original Message-
From: James Carr
To: Struts Users Mailing List
Sent: Tue, Aug 11, 2009 1:43 pm
Subject: [S2] Model
You did understand me correctly and I see your dilema -- problem is the tags
like are
not aware of what action the view came from :(
-Original Message-
From: CS Wong
To: Struts Users Mailing List
Sent: Tue, Aug 11, 2009 1:03 pm
Subject: Re: Configuring SiteMesh for specific
On Tue, 11 Aug 2009 09:59:06 -0400, Johannes Geppert wrote:
I'am not sure, but I think you can access the attributes
of your bean with value.myattribute
Best Regards
Johannes Geppert
Hello Johannes,
You are indeed correct! Thanks for the help.
Steve
--
Stephen Turner
Senior Programmer/Ana
Hi All,
I seem to be unable to find an example of using xml based validation
with model driven. My object model is nested, most of my text fields
look like:
Any help or links would be much apperciated.
Thanks,
James
-
To unsu
If I understand you correctly, you're saying that I should have double
copies of each JSP, say "/decorated/view.jsp" and "/undecorated/view.jsp".
And I should configure the exclusion pattern like
"/undecorated/*".
If possible, I'd really like to avoid that. Java classes themselves already
have plen
Tried this route but it seems to me that they only work if the patterns
specified point to physical files only. For example, it'd work if it points
to "index.html" or "/view/hello.jsp".
However, I was assuming that it would work for the output from the filter
dispatcher as well. What I wanted to ac
SiteMesh is just a decorator and not Struts 2 centric so you won't find what
you want in its native configuration.? As far as it is concerned the view could
have been generated by a CGI script of anything. I think the path of least
effort it to have two essentially blank JSps that include the
struts select example
list:
Iterable
source to populate from. If the list is a Map (key, value),
the Map key
will become the option 'value' parameter
the Map value will become
the option body.
listKey:
Property of list objects to get field value from
value:
Preset the value of input element.
I'am not sure, but I think you can access the attributes
of your bean with value.myattribute
Best Regards
Johannes Geppert
Stephen Turner wrote:
>
> Hello all,
>
> I'm playing with the Struts 2 tag, trying to use a Map as the
> backing collection for the options list. This is Struts 2.
Hello all,
I'm playing with the Struts 2 tag, trying to use a Map as the
backing collection for the options list. This is Struts 2.0.11.
From the docs: "Iterable source to populate from. If the list is a Map
(key, value), the Map key will become the option
'value' parameter and the Map v
Hi Wong,
perhaps would the following entries from decorators.xml help you :
/styles/*
/scripts/*
/images/*
/index.html
...
Regards
Eduard Neuwirt
CS Wong schrieb:
Hi,
I'm trying to configure sitemesh to only take effect for a certain subset of
action mappings in my Struts 2
Hi,
I'm trying to configure sitemesh to only take effect for a certain subset of
action mappings in my Struts 2 application.
Say for example, I have the following struts.xml snippet:
/view/form.jsp
/view/form.jsp
I would like the output of "/showForm.action" to be decorat
19 matches
Mail list logo