Hi Mohammad,
I have one suggestion to fix JNDI naming conventions on different servers.
In general if in your code you have:
InitialContext iniCtx = new InitialContext(props);
Context envCtx = (Context) iniCtx.lookup("java:comp/env");
I suggest you to expose constant "java:/comp/e
thanks Yura,
this is not jost about jndi prefix. take a look at this list :
JBOSS :: {jar file name}/{bean name}/{local or remote}
GLASSFISH :: ejb/{bean name}
WEBLOGIC :: {jar file name}_{bean name}_{remote or local interface name}
..
I solved this problem with one xml file for each app server
Am Sonntag, den 13.04.2008, 02:28 -0400 schrieb Andy Huhn:
> Hi Jakob,
>
> Well, I tried what you mentioned, and it now picks up changes to my .tml
> right away--definitely an improvement over before. I think I am seeing
> the same problem you are seeing, though, because it is not picking up
> c
I have just written a report that strongly recommends adoption of tapestry
as an agile process in a large application.
It would substitute a forms builder and I recommend it against the next
version of this forms builder and Orbeon, an open source forms builder.
My reasoning is that the benefits of
Sounds reasonable to me, is there a JIRA issue somewhere that I can vote
on? :D
-Filip
On 2008-04-13 06:15, Geoff Callender wrote:
It's great that we have these workarounds to prevent leaving
ValidationTrackerImpl objects littered throughout the session, but I'm
having trouble understanding h
Hi Nicholas,
@Inject doesn't work in services, you'll have to inject RequestGlobals
through your service's constructor instead:
public CookiePersistentFieldStrategy(RequestGlobals requestGlobals,
...) {
this.requestGlobals = requestGlobals;
...
}
That should work.
-Filip
On 20
Hi,
On 2008-04-12 22:18, Andrew Court wrote:
Hi all,
I don't know if this functionality has been built into the zone component
yet (using 5.0.11 release), but what I'm trying to do is return additional
javascript along with html markup in an ajax response. Is this possible, and
if so how would
Hi Angelo,
I don't Dispatcher is the most convenient place to put this, a
RequestFilter seems like a better option since you have easy access to
the name of the page, parameters, and whatnot.
It'd basically be the same as creating an authentication filter but you
would do logging instead.
Hi,
I had this problem too so I decided to do something about it. What I
have done is to create a new class, HttpStatusCode, that wraps an HTTP
status code and a message, and then contributing a
ComponentEventResultProcessor that sends an error with the given status
code and message.
public
When I execute the test class, I got the following exception
java.lang.RuntimeException: Failure starting Jetty instance:
org.mortbay.util.MultiException[java.lang.SecurityException: sealing
violation: package org.mortbay.jetty.servlet is sealed]
...
I have two Jetty in my ecl
I am trying to localize message saying, that there are errors in the
form. In normal form everything works as expected. I have:
//file app.properties
error-occured=Popraw następujące błędy
// in page file
...
and it works. But when I try to do the same in beanEditForm:
// in page fil
Hi Tomasz,
You can localize the banner by putting an Errors.properties file in
org.apache.tapestry.corelib.components containing the key
default-banner. Saves you the hassle of doing it everytime and I believe
this will work with BeanEditForm as well.
-Filip
On 2008-04-13 14:48, Tomasz Dziu
Hi,
Is there a way to obtain a list of pages in the app? Thanks.
Angelo
--
View this message in context:
http://www.nabble.com/T5%3A-obtaining-a-list-of-valid-pages-tp16659716p16659716.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Thanks! This seems like a very good workaround.
I am not sure that the default behavior should be like
it is now, though.
Quoting "Filip S. Adamsen" <[EMAIL PROTECTED]>:
> Hi,
>
> I had this problem too so I decided to do something
about it. What I
> have done is to create a new class, HttpStatu
It's rather brute-force solution, but it works :)
--
Tomasz Dziurko
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I encountered some problem connected with page life cycle.
There is a page examplePage.java, which should on every refresh
generate new simple math question to check against spam bots.
Generating is done in onActivate() method. But problem is that when
user submits form, method onActivate is calle
Try using the @Persist("flash") to store your real answer. The flash
persistence strategy covers the situation where you only want the value to
be stored until the next request.
Jonathan
> -Original Message-
> From: Tomasz Dziurko [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 13, 20
It didn't solved my problem, but I found another way of doing it.
Simplfied code:
onActivate() {
oldSimpleMathQuestion = new
SimpleMathQuestion(actualQuestion.question, actualQuestion.answer));
actualQuestion = genereateSimpleMathQuestion();
}
onSuccess {
if(oldSimpleMathQuestion.ans
Assuming this is about T5 as I know nothing of earlier versions, I would
personally have the done as follows:
@Persist
private YourQuestionObj actualQuestion;
@SetupRender
private void setup() {
actualQuestion = genereateSimpleMathQuestion();
}
SetupRender is only called to prepare for rend
the @Meta("tapestry.persistence-strategy=X") works beautifully... no more
sessions till logged in.
On Mon, Apr 7, 2008 at 7:14 PM, Robert Zeigler <[EMAIL PROTECTED]> wrote:
>
> On Apr 7, 2008, at 4/712:53 PM , Fernando Padilla wrote:
>
> > so.. the "client" strategy stores it in a cookie?
> >
>
Hi. I have a page where I use the Zone component. Something like this:
...
...
...
...
...
...
As you can see, I have 2 Submit buttons. So I have these functions on my
page:
void onSelectedFromGrabar() {
...
}
void onSelectedFromCopiardir(){
...
}
The problem is that
21 matches
Mail list logo