Uh, I get to the mailing list via a forum, otherwise my mailbox gets filled
and I get all pissed off. So I can come and go I just use Nabble. So can
you just post the relevant code in your message. Also, you did not mention
virtual hosts. Do you have a virtual host setup in Tomcat as well?
Martin Gainty wrote:
right now Indonesia is doing better than New England
where the unemployment rate has recently jumped to 75%
75% seems a bit high.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For add
Charlesmel Carino wrote:
I think that the department object needs to be declared as a bean
> first before you can actually reference it.
Not really; OGNL, like JSTL, allows property access.
Dave
-
To unsubscribe, e-mail: use
Security Management wrote:
>
The second gives me the correct number, but the first does not. I want
the first to translate to:
I'm not sure why you need to use bare stack access to get a value from
an iterator, but try "personProvider.department(%{[0].top})" as a
s
Gordian Yuan wrote:
and i have two properties
#en_US properties
createCampaign.name=Name
createCampaign.submit=Create
#zh_CN properties
createCampaign.name=名称
createCampaign.submit=创建
You can't just put Chinese text in a properties file, you have to use
something like native2ascii to convert
Wes Wannemacher wrote:
Second, when you are using the iterator and creating single checkboxes, you
need to make the names unique. You are simply creating a new checkbox with the
name "beds" over and over again.
Putting in an index only matters if order is important (and you don't
trust the b
Hi!
The PortletStateInterceptor does nothing special with the Session. It
certainly does not invalidate it or remove stuff that's already there.
The debug statement that you see is an indication that the portlet has
been executed in the event phase, and the result has been properly
configured with
I got tons of freemarker.cache in my log. Is there a way to turn this
off? Thanks.
2009-04-10 01:06:01,031 DEBUG [freemarker.cache]
(http-54.24.148.167-8080-2)
template/simple/dynamic-attributes.ftl[no_NO,ISO-8859-1,parsed] ca\
ched copy not yet stale; using cached.
-Hien
Notice: This e-mail
I have a struts 2 (version 2.1.6) portlet that I keep seeing
intermittent problems with the session being wiped out. Each time this
happens I see the following messages in the log:
DEBUG [Thread-57] interceptor.PortletStateInterceptor.[] Apr/10 14:26:57
- Won't restore stack from event phase since
Hi there,
I am using struts2 and tiles2 with JBoss 4 without any problems. I use no
other frameworks or libraries. I got the EJB3 extension for struts2 (which
does JNDI call internally as an interceptor) and even added a new
functionality (it only locates EJBs in current class but coder forgot tha
OK things are just getting weirder...
I've been in the debugger and found that StaticParametersInterceptor needs
to have the parameter 'parse' set to 'true' (it defaults to 'false'). If I
set parse=true then it will parse the "${'true'}" value string and correctly
call the setter with value 'tr
My reply got messed up so here it is again
When I try ${'true'} and the setter is still called with 'false'.
2009/4/10 Greg Lindholm :
> I'm trying to pass a boolean "static" parameter to an Action and the value
> getting set is always "false" no matter what I do it won't set it to
> "true
Lukasz Lenart wrote:
>
> 2009/4/10 Greg Lindholm :
>> I'm trying to pass a boolean "static" parameter to an Action and the
>> value getting set is always "false" no matter what I do it won't set it
>> to "true".
>>
>> > class="com.xxx.MyClass"
>> method="doDisplay">
>>
I'm not familiar with jsf and other stuff.
first taken struts1 I'll try to use struts2 tiles2 jboss, struts2 has
a plugin for the ejb3 (i think is an interceptor) but tiles2 and
struts2 doesn't work with jboss (struts2 without tiles2 works, with
tiles2 doesn't), jboss can't find the struts tags (it
@EJB annotation can be used only with container managed components like Servlet
and JSF beans. Other than that either you have to use spring or right a
customized EJB3 interceptor for struts 2 or modify request processing command
chains for struts 1.3 to inject EJB 3 beans.
Keep in mind you ca
Yes, i'll try to use, but the ejb with annotation gives me a
nullpointer exception.
i've to call the ejb using the old style jndi call.
On Fri, Apr 10, 2009 at 15:25, Lukasz Lenart
wrote:
> 2009/4/10 Stefano :
>> in struts1 what's the way to use EJB3.0?
>>
>> there's no possibility to use annotat
2009/4/10 Stefano :
> in struts1 what's the way to use EJB3.0?
>
> there's no possibility to use annotation?
> i need to use classical jndi? why?
You can use annotations with Struts1, is not a problem with framework
but with Java platform you're using. THe best solution is to use
Spring to connect
Thank you! That makes perfect sense now.
On Apr 9, 2009, at 3:48 PM, "Musachy Barroso" wrote:
Hi Ryan
In Convention, as well as in XML, if you try to use an interceptor or
result outside the package where it is defined, you will get an error.
You interceptor is defined in your package, and
in struts1 what's the way to use EJB3.0?
there's no possibility to use annotation?
i need to use classical jndi? why?
thanks
On Fri, Mar 6, 2009 at 13:24, Ignacio de Córdoba wrote:
>
> Hi,
> I'm us¡ng JBoss and @EJB doesn't work either. Are you using Struts1 or
> Struts2? If Struts2, You can us
Hi,
i'm trying to build a project using ejb struts2 and tiles2.
only sturts2 without tiles2 works fine! but with tiles it's not works
i try only to build a simply application using struts and tiles2,
forgotten about ejb.
i've put these libraries inside jboss (/server/all/lib):
commons-beanutil
2009/4/10 Greg Lindholm :
> I'm trying to pass a boolean "static" parameter to an Action and the value
> getting set is always "false" no matter what I do it won't set it to "true".
>
> class="com.xxx.MyClass"
> method="doDisplay">
> ${true}
try
${'true'}
Regards
21 matches
Mail list logo