Hi Robert and Dave:
I tried in my application, and it works for almost all the case.
But there is one exception:
In my application, i customized the CSS files shiped with Struts JQuery plugin
and put them under path [{contextPath}/res/struts/].
In JSP, i need add code likes:
to tell Struts
[utils.js] is used for client side validation.
it should be found in
[struts2-core-2.2.1.jar/org/apache/struts2/static/utils.js]
[styles.css] is used for Struts themes.
it should be found in [struts2-core-2.2.1.jar/template/theme_name/styles.css]
2010/10/15 Guy Thomas :
> Thank you, this work
You can read this document:
http://struts.apache.org/2.2.1/docs/static-content.html
and check if your configuration is right.
2010/10/15 Guy Thomas :
> Thank you, this works. I would like to draw your attention to possible
> problems with the struts head tag. See below.
>
>
> Domain Security
thanks.
singh123 wrote:
>
> i want to display activities dynamically which can be increase or decrease
> on struts 2 framework and that depend on the Locale (like English or
> French) .
> dynamically means user can be expend or collapse (add or delete) activity
> at run time.
>
> I have tw
You're welcome
2010/10/15 singh123 :
>
> thanks.
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Can any body simplify this.and what is the difference in both param tags
Thanks.
--
View this message in context:
http://old.nabble.com/component-tag-in-Struts2-tp29970512p29970512.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
anyone working with activiti
may be wanna to share ur work
we are working with it here also
--
Frans Thamura
Director
Meruvian.
The Most Complete Java Services Provider in Indonesia
Mobile: +6287885901958
Blog & Profile: http://frans.thamura.info
We grow because we share the same belief.
On 10/15/10 4:12 AM, Li Ying wrote:
I tried "%{#request.getContextPath()}", but it don't work for some
reason i don't know.
#request is not the request object, it's a map containing the items in
request scope.
-Dale
-
To un
listObject is a Linked list object. listValue and listIndex is of Object
type.
i have two properties file:
messages.properties:
activity.name=activity
messages_fr.properties:
activity.name=activity_fr
i want to add Localization feature so that when Linked list popul
Hi Li,
JSTL and EL give you access to the implicit pageContext object.
From there you can access attributes from request and session.
For example:
And then use contextPath variable however you wish.
I'm not sure how this would translate into an OGNL expression.
But I'm sure others on this
You can call method [getText("activity.name")] to
retrieve localized string.
Read this document for more information:
http://struts.apache.org/2.2.1/docs/localization.html
2010/10/15 singh123 :
>
>
>
>
>
>
>
>
> listObject is a Linked list object. listValue and listIndex is
Hello,
I am looking for an elegant solution for the following situation.
I have a multitenant struts/spring/hibernate application. Every tenant is
stored in own database within the same RDBMS. All databases has the same
schema. At the spring layer every tenant is represented as a datasource.
Beca
Thanks a lot, I will try it.
2010/10/15 Robert Taylor :
> Hi Li,
>
> JSTL and EL give you access to the implicit pageContext object.
> From there you can access attributes from request and session.
>
>
> For example:
>
>
> And then use contextPath variable however you wish.
>
> I'm not sure how
We developed a multi-tenant app last year.
But we didn't separate their data into different DB.
Instead, we stored all data in one DB, and add
a [tenant_id] column to all tables to distinguish
which tenant it belong.
I think this is a simpler solution.
When you need to add new tenant,
you can s
I have seen a horizontal partitioning of data using Hibernate that hides
the SessionFactories, etc in a ConfigUtil class. The idea goes something
like this.
The ConfigUtil establishes all SessionFactories and stores them in a map
with their associated identifier (ID, class, whatever you choose) as
If you want to use multi-DB for multi-tenant (let's say tenant01 and tenant02)
I think you can create config file should likes:
and then, in your java code, you can get different bean instance for
different tenant via [ID],
code looks like:
BeanFactory.getBean("sessionFactory_" + te
Hi Li,
thanks for the answer. I didn't get how does it work within the
struts-spring plugins ? In this case ist the the question is how to access
to the application context directly from struts session. I could not find
any information in the docu.
Regards
Eduard
2010/10/15 Li Ying
> If you
> Escaping HTML.
It doesn't work; same results.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
How about make different implementation
So
Tenant1 extends tenanta
Tenant2 extends tenantb
/m/
-Original Message-
From: Eduard Neuwirt
Date: Fri, 15 Oct 2010 16:16:35
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Struts, Spring, Hibernate and mul
Hi Frans,
would you mind to explain it ? Different implementation of what ?
Regards
Eduard
2010/10/15 Frans Thamura
> How about make different implementation
>
> So
>
> Tenant1 extends tenanta
>
> Tenant2 extends tenantb
>
>
> /m/
>
> -Original Message-
> From: Eduard Neuwirt
> Date:
> Date: Fri, 15 Oct 2010 14:50:17 +0200
> Subject: Struts, Spring, Hibernate and multiple Sessionfactories
> From: eduard.neuw...@googlemail.com
> To: user@struts.apache.org
>
> Hello,
>
> I am looking for an elegant solution for the following situation.
>
> I have a multitenant struts/spr
I think i don't understand what you want exactly.
Can you tell me what you want to achieve?
And what your code looks like?
2010/10/15 Eduard Neuwirt :
> Hi Li,
>
> thanks for the answer. I didn't get how does it work within the
> ? In this case ist the the question is how to access
> to the app
Hi! Antonio!
How to use escapeHtml attribute?
Ex :
Wataru
BlackBerry from DOCOMO
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Every extend mapp to different injection to what lli ying said
/m/
-Original Message-
From: Eduard Neuwirt
Date: Fri, 15 Oct 2010 16:37:56
To: Struts Users Mailing List;
Subject: Re: Struts, Spring, Hibernate and multiple Sessionfactories
Hi Frans,
would you mind to explain it ? Dif
That's really difficult to read.
On Fri, Oct 15, 2010 at 10:38 AM, Martin Gainty wrote:
> a database schema represents the entire structure (tables and relationships of
> those tables) of the there is no need for multiple databases when your
> database
> schema contains the persisted entities (ta
2010/10/15 Antonio Sánchez :
>> Escaping HTML.
>
> It doesn't work; same results.
Have you tried escaping html and still doesn't work? You should
obviously set escapeHtml to false like this:
--
Maurizio Cucchiara
-
To unsubscr
assuming you're implementing struts-tags?
try escape instead of escape-html
escape
false
false
hth
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich
Testing a servlet that forwards to a simple JSP using standard JSP.
request.setAttribute("myValue", "EspaÑa");
getServletContext().getRequestDispatcher("/myJSP.jsp").forward(request,
response);
---
<%= request.getAttribute("myValue") %>
It works.
Why is not encoding properly? Is it a b
2010/10/15 Martin Gainty :
> assuming you're implementing struts-tags?
> try escape instead of escape-html
The deprecated property?
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mai
On Fri, Oct 15, 2010 at 9:45 AM, Dave Newton wrote:
> That's really difficult to read.
Agreed. More whitespace would be nice, Martin.
>
> On Fri, Oct 15, 2010 at 10:38 AM, Martin Gainty wrote:
>> a database schema represents the entire structure (tables and relationships
>> of
>> those table
Please post the actual JSP you're using.
On Fri, Oct 15, 2010 at 10:23 AM, Antonio Sánchez wrote:
> Testing a servlet that forwards to a simple JSP using standard JSP.
>
> request.setAttribute("myValue", "EspaÑa");
>
> getServletContext().getRequestDispatcher("/myJSP.jsp").forward(request,
> re
> I'm not sure what reasons there would be to have it make sense
> to store each entity in its own identically-structured DB.
Ever had a client that wanted/required their data segregated from
everybody else's (this is not uncommon at all)? Ever wanted to
restrict tool access to data without jumpin
deprecated escape is not in my copy of struts-tags.tld
deprecated for escape is not in my copy of
org.apache.struts2.components.Property
(then again my copies are a bit more than a day old)
Martin
__
Verzicht und Vertraulichkeitanmerkung
Diese Nach
Escape property is deprecated since 2.2.1 version:
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.struts/struts2-core/2.2.1/org/apache/struts2/components/Property.java/
(line 113)
--
Maurizio Cucchiara
-
To unsubsc
> Escaping HTML.
>
> http://struts.apache.org/2.x/docs/property.html
>
> Dave
Sorry Dave and sorry all! It does work!
I was using "true" by mistake because I misread "false" was the default
in the above reference link.
Besides I got confused because I didn't think that scape also means
encod
On Fri, Oct 15, 2010 at 10:22 AM, Dave Newton wrote:
>> I'm not sure what reasons there would be to have it make sense
>> to store each entity in its own identically-structured DB.
>
> Ever had a client that wanted/required their data segregated from
> everybody else's (this is not uncommon at all
On Fri, Oct 15, 2010 at 12:39 PM, Brian Thompson wrote:
>> Ever had a client that wanted/required their data segregated from
>> everybody else's (this is not uncommon at all)? Ever wanted to
> Apparently, it is uncommon. I've never encountered such a demand.
That... makes it uncommon?!
>> restr
On Fri, Oct 15, 2010 at 11:43 AM, Dave Newton wrote:
> On Fri, Oct 15, 2010 at 12:39 PM, Brian Thompson
> wrote:
>>> Ever had a client that wanted/required their data segregated from
>>> everybody else's (this is not uncommon at all)? Ever wanted to
>> Apparently, it is uncommon. I've never enc
> My experience make portlet the ioc inside s2 conflicted with spring inside
> liferay
>
> Perm mem eror show
>
Not that I have long experience with liferay, but up to now, I have
had no problems.
-
To unsubscribe, e-mail: user-u
would u share the code
how ur spring connect to the persistance, do u create ur own session factory
for hibernate, or u can use the sessionfactory inside liferay
but my experience see that our struts and liferay are in different war
F
On Sat, Oct 16, 2010 at 1:26 AM, Alberto Gallardo wrote:
>
I suggest you to check what the parameters value actually are sent to
server side.
You can see this information via these tools:
[Burp Proxy]: http://portswigger.net/burp/proxy.html
OR
[TCPMon]: http://ws.apache.org/commons/tcpmon/tcpmontutorial.html
If the parameter value sent to server is not
Nabeel,
If your text field name is customerName then you have to have a property in
your action class called "String customerName" and also there should be a
getter and setter for this property. When the form is submitted Struts
framework will call the setter to set the value to the property and y
42 matches
Mail list logo