Cheng Wei Lee wrote:
What do you'll think of writing a stateful session bean to hold these data
and make it gets the data from database once/twice a day?
I wouldn't use a stateful session bean. It's not really the intent of
them. When used, it's best that they only last a conversation. Y
There is not type conversion to be done when setting value of
instrument.market.id.
S2 will call your type converter if you were setting value of
instrument.market.
Regards
Kedar
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 24, 2008 1:02 AM
To: Str
What do you'll think of writing a stateful session bean to hold these data
and make it gets the data from database once/twice a day?
On Sun, Feb 24, 2008 at 9:20 AM, Jeromy Evans <
[EMAIL PROTECTED]> wrote:
> Cheng Wei Lee wrote:
> > Hi all,
> >
> > In most web applications, it is unavoidable to
Okay, problem solved. We must "redirect" to an action that maps to a JSP.
If one "redirects" to a JSP, the will not render the correct
locale -- that is how it works on 2.0.11.
Example:
/jsp/index.jsp
/index.action
newton.dave w
--- Rubens <[EMAIL PROTECTED]> wrote:
> Why? How do I fix this problem? I need to use "redirect" to completely
> refresh the page. And I am redirecting to a JSP page. Should I redirect
> to another action ?? (it would seem to be a waste and confusing to add
> another action just to be able to
I am not using the under any action. Remember, the change locale
action returns a "redirect" result to a JSP page. So the browser sends a
new request for a JSP page after the result is returned. One note: if I
return a "dispatcher" result from that change locale action, then renders the page
I've never been entirely clear on all the places that affect I18N, but does
the action under which you're using the tag extend ActionSupport
(which implements TextProvider)?
Dave
--- Rubens <[EMAIL PROTECTED]> wrote:
> struts.xml has this:
>
> name="struts.custom.i18n.resources"
>
struts.xml has this:
I have resources.properties and resources_pt.properties deployed in the
WEB-INF classpath area. In fact, the text rendered by is from
resources.properties even when the Locale is "pt".
Laurie Harper wrote:
>
> Rubens wrote:
>> I am changing locale from an Action, t
Thanks Jeromy. (usually my wife is the only one who notices my 'rants').
-rc
Jeromy Evans wrote:
Hi Ray,
I'm not sure, but check out Tom's new scope plugin as it may get you
part of the way there.
http://cwiki.apache.org/S2PLUGINS/scope-plugin.html
I was just reading one of your rants fro
Jeromy,
I haven't done this on a large Struts2 project, but I have worked on a
rather large scale app that required il8n... One thing to consider is
the frequency that you might change or add translations. In a perfect
world, you'll get them all right the first time, but you're bound to
find some
Struts 2 is very flexible when it comes to organizing resource bundles
for i18n.
Is anyone experienced with i18n issues in a *large* struts 2 application
able to share what you've found to be an effective way to organize these
resources? And preferably why you've arrived at that conclusion?
eg
Cheng Wei Lee wrote:
Hi all,
In most web applications, it is unavoidable to have some codes/lookup
tables, for example, in a form we may need to display the country list. If
we were to hit the database per request to get this list for displaying in
the dropdown, it would be too expensive. If we
Hi Ray,
I'm not sure, but check out Tom's new scope plugin as it may get you
part of the way there.
http://cwiki.apache.org/S2PLUGINS/scope-plugin.html
I was just reading one of your rants from August 07 that mentioned the
need to use ModelDriven's model across a conversation and think this
Rubens wrote:
I am changing locale from an Action, then returning a "redirect" result to
refresh the page. However, the new locale is not being fetched into the
tags. insists in fetching messages from the old
locale. I already checked to make sure I have the resource bundles files in
the cla
--- Cheng Wei Lee <[EMAIL PROTECTED]> wrote:
> If we load these values during the filter init(), it cannot be refreshed.
Why not? It's easy enough to create an administrative mechanism that updates
an application-context-scoped data structure. I suppose you run the risk of
having a user with the o
Cheng Wei Lee wrote:
Hi all,
In most web applications, it is unavoidable to have some codes/lookup
tables, for example, in a form we may need to display the country list. If
we were to hit the database per request to get this list for displaying in
the dropdown, it would be too expensive. If we
--- sathish kumar <[EMAIL PROTECTED]> wrote:
> can u clear my doubt regarding double select.
> i need to load data from database
> (select options should be loaded from database...)
> can you help me?
What, exactly, are you asking?
Dave
--
yeah...welcome sir...
can u clear my doubt regarding double select.
i need to load data from database
(select options should be loaded from database...)
can you help me?
newton.dave wrote:
>
> Welcome to the world of Ajax.
>
> Dave
>
> --- sathish kumar <[EMAIL PROTECTED]> wrote:
>
>>
2008/2/23, Ealden Escañan <[EMAIL PROTECTED]>:
> Is struts2-tiles-plugin compatible with Struts-Tiles?
No. Use Tiles 2.
At Tiles site you can find a migration guide:
http://tiles.apache.org/migration/index.html
Ciao
Antonio
-
T
Welcome to the world of Ajax.
Dave
--- sathish kumar <[EMAIL PROTECTED]> wrote:
>
> hi...
> please go through this link
> http://struts.apache.org/2.x/docs/doubleselect.html
> hope it helps u...
>
> and this behaviour seems like a bug...
>
>
> setecastronomy wrote:
> >
> > I'm using Str
Adam Hardy on 22/02/08 17:32, wrote:
I wrote a TypeConverter and configured S2 with
xwork-conversion.properties to use it so:
org.permacode.patternrepo.domain.Market=org.permacode.atomic.web.DomainObjectTypeConverter
as per the wiki.
However, from debugging it looks as though struts is com
hi...
please go through this link
http://struts.apache.org/2.x/docs/doubleselect.html
hope it helps u...
and this behaviour seems like a bug...
setecastronomy wrote:
>
> I'm using Struts 2.0.6
> I noticed the following behaviour of the doubleselect UI tag, present also
> in the Struts show
I am changing locale from an Action, then returning a "redirect" result to
refresh the page. However, the new locale is not being fetched into the
tags. insists in fetching messages from the old
locale. I already checked to make sure I have the resource bundles files in
the classpath. And al
--- doktora v <[EMAIL PROTECTED]> wrote:
> The jsp DOES NOT access the session and does not need to.
...
Did your original example not have a tag attempting to
access a session-scoped bean?
> Therefore, i guess struts puts the form beans in the session if
> request="session" and in the page con
Of course. But the problem is not one of accessing the session. The jsp DOES
NOT access the session and does not need to.
If it did try to access the session there would be an exception thrown.
Therefore, i guess struts puts the form beans in the session if
request="session" and in the page contex
newton.dave wrote:
>
>
> If it were me I'd try running under a different JVM first, because it's
> easy,
>
I see the same behavior under java 5 on OS X.
> it's still an unknown (to me), etc. It surprises me a little that the
> weird
> behavior is on both Win and OSX. If you can isolate the
--- doktora v <[EMAIL PROTECTED]> wrote:
> [...] my jsp contains a <%@ page session="false" %> directive,
> [...]
> This took me a while to debug so I'm posting in case anyone has any
> information about this behaviour. Is this documented anywhere?
If you set session="false" then you can't access
I've just discovered that if in struts-config.xml my action specifies
request="session" (or does not specify a request in which case the default
is session), and my jsp contains a <%@ page session="false" %> directive,
the JSP does not see any of the form beans.
There is no warning and no messages,
--- mfrancillon <[EMAIL PROTECTED]> wrote:
> newton.dave wrote:
> > Have you tested under a different JVM version? Are the libraries on the
> > classpath (both your apps and Tomcat's) precisely identical across
> > environments?
> The VM that I've used is (some sub-version of) 1.4.2 in all cases.
Hi, all
I'm currently integrating Struts 2.0.11 in my current project to run
side-by-side with Struts 1 and slowly migrate from there. We are
using Jakarta (yes) Struts 1.2.8 and Struts-Tiles. I am trying to
forward to a tile using TilesResult, but I get a "Error rendering
tile" error because of
newton.dave wrote:
>
> Have you tested under a different JVM version? Are the libraries on the
> classpath (both your apps and Tomcat's) precisely identical across
> environments?
>
The VM that I've used is (some sub-version of) 1.4.2 in all cases.
The libraries on the app's classpath are pr
Have you tested under a different JVM version? Are the libraries on the
classpath (both your apps and Tomcat's) precisely identical across
environments?
Dave
--- Mark Francillon <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm gnashing my teeth over the following, and solicit help.
>
> I'm involved in
//since IE is the preferred browser for business and THATS where the money
is..
//we will note Dojos IE implementation has a heavy reliance on Microsoft
ActiveX SOAP control..how many times have we seen this iteration in dojo
code?
//in order of decreasing likelihood; this will change in time.
dojo
Hi,
I'm gnashing my teeth over the following, and solicit help.
I'm involved in moving an older (Struts 1.2, JDK 1.4, Tomcat 5.0) app,
currently running in production under Linux, to Windows (don't ask).
Simply by copying the whole web app tree over (and adjusting Tomcat's
server.xml on the W
it has been solved
it generates because
i had wrote
sitemesh
/*
struts-cleanup
/*
thanks again
--
View this message in context:
http://www.nabble.com/error-while-try-to-write-strtuts-tags-in-decorater%27s-main-.jsp-tp15650456p15651539.html
http://struts.apache.org/2.x/docs/sitemesh-plugin.html
(except substitute the sitemesh PageFilter for the FreemarkerFilter is
you use JSP)
After Reading your link
i got i have to add struts sitemesh plugin jar in our web-inf /lib directory
and change in web.xml for sitemesh
use
it solve my p
hardik_982 wrote:
i have decorate struts using sitemesh
and use main.jsp for that
when i try to write my any struts tags it gives error like
java.lang.NullPointerException
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)
An NPE on that line is a majo
Hi,
I am iterating my form bean values using logic:iterate tag. I have a
html:checkbox which will simultaneously get iterated with the values.
My requirement is to fetch the selected values of the grid on press of
submit button in the action class.
Thanks
--
View this message in context:
Yes
you are right
i can do it after removing link of tabs.css from my jsp
thanks dude
--
View this message in context:
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15650868.html
Sent from the Struts - User mailing list archive at Nabble.com.
2008/2/23, Chris Pratt <[EMAIL PROTECTED]>:
> '' == 'dependent':
>
Uh, it seems like a Quine :-)
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i have decorate struts using sitemesh
and use main.jsp for that
when i try to write my any struts tags it gives error like
java.lang.NullPointerException
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)
--
View this message in context:
http://www.nabbl
Go guerilla my friend and just do it, go to the business group paying for
the development, and say "If I install browser X as part of the system look
how much prettier and easier things become".
Once you've sold it to the business group the techies will have to
follow :)
- Original M
42 matches
Mail list logo