Yup, no websites in java. Googlemail doesn't count. And german Telekom and
Postbank are totally niche companies. :)
2009/2/18 Daniel Honig
> Ok...very late for meHorrible post!
>
> But I do have some real points... let me bullet point
>
>
> - dynamic language frameworks offer great but oft
Ok...very late for meHorrible post!
But I do have some real points... let me bullet point
- dynamic language frameworks offer great but often overexaggerated
productivity ( dependent on lots of factors!)
- PHP does not mean you can hire less than talented folks and expect a
huge
Just tell him to go check out grails before he goes off and tries to
re-invent the infrastructure in cake php.
That being said once T5 is part of my migration path once I reach the limits
of scalability from all the MOP overhead from dynamic language frameworks.
In a perfect world, I'd write my do
This is funny !!! :-) The "little guy" standing up , defending Java from the
corporate type who wants PHP :-) Wow :-)
On Wed, Feb 18, 2009 at 1:03 AM, Borut Bolčina wrote:
> Hello,
>
> just want to share a piece of corporate mind set with you.
>
> My boss decided that none of the Java framework
Hello,
just want to share a piece of corporate mind set with you.
My boss decided that none of the Java frameworks is productive in comparison
to PHP, Ruby and Django and that there are no web sites written in any Java
framework. Can you believe that? I would like to prove him wrong with
Tapestry
The problem is that the alias service is needed to dereference some of
the objects used by your SiteLinkFactory service, but you're
contributing SiteLinkFactory to alias, hence the recursive dependency
problem. Try contributing to AliasOverrides, instead of Alias, which
is really what you w
Em Tue, 17 Feb 2009 22:43:46 -0300, xfile80303 escreveu:
But I get a recursion exception when trying to load the web app. This
type of issue seems fairly common on the mailing list, but I've not
found a
solution which works here yet.
They're tricky to solve. :( Maybe the problems is with
Thanks for the fast reply Thiago!
I have tried to set this up in my Module class:
public static void bind(ServiceBinder binder)
{
binder.bind(SiteLinkFactory.class).withId("SiteLinkFactory");
}
public static void contributeAlias(
Em Tue, 17 Feb 2009 21:57:36 -0300, xfile80303 escreveu:
I need to override an existing binding so I can insert my own
implementation, but I get a RuntimeException from Tapestry when I try to
do so. How would I do this?
Using aliases: http://tapestry.apache.org/tapestry5/guide/alias.html.
Hi all,
Short version:
I need to override an existing binding so I can insert my own
implementation, but I get a RuntimeException from Tapestry when I try to do
so.
How would I do this?
Long Version:
In my quest to do URL manipulation and insert "site" into the first element
of the URL, I hav
Well, I've figured out half of this, but it's not exactly pretty...
Note, I'm using Tapestry 5.1.0.0.
The below didn't work because the default PageRenderDispatcher was still in
place. If I override it, like this in my Module class:
public void contributeMasterDispatcher(
Fernando Padilla wrote:
>
> Ok, here is an example.. hope it's legible. :) The meat of the code is
> the ContextFilterRequest below. If you create a normal J2EE filter that
> determines what part of the path to rip out, then if can do:
>
Thanks Fernando, I appreciate you taking the time.
-
>
> Ah - (#1) I thought this was going to work - since only one or the other
> block would be used at any given time. Since we are using the same java
> class for either / or block ... it strikes me that I can't reuse t:id.
>
> It doesn't matter if you use a component or not, they should have uniq
Em Tue, 17 Feb 2009 20:25:49 -0300, Luther Baker
escreveu:
I had to strip a few parameters out and print literals for now. My next
question ... is how to get MY data into that class.
That's why @Environmental private PropertyEditContext context is there. ;)
It is the bridge that takes you
I guess Tapestry will not have a new JIRA issue . . . :)
Thank you!
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
-
To unsubscribe, e-mail: users-uns
Got it! I can see my blocks rendering appropriately for both editable and
non-editable fields.
To come full circle, I need to better understand AppPropertyEditBlock.java.
I had to strip a few parameters out and print literals for now. My next
question ... is how to get MY data into that class.
p
On Feb 17, 2009, at 2/174:28 PM , Thiago H. de Paula Figueiredo wrote:
Em Tue, 17 Feb 2009 19:17:19 -0300, Piero Sartini > escreveu:
Thank you so much.. it works! :-)
Does it work? Nice! I have never tried something like I suggested! :D
I will write down a short howto in the wiki tomorrow.
I just spent quite a while tracking down an IE 7 AJAX problem. It
appears if you use eventlink without t:id you can end up with multiple
html elements with an id of eventlink.
The javascript at the end of the file ends up something like this
Tapestry.init({"zone":["contentZone","avstatus","mgTime"
Hi,
I use http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber
OutputLocaleNumber to format a date for display, it works, but it is simply
based on the date in the server, is there a way to display according to the
viewer's time zone? any tips?
Ac
--
View this message in context:
htt
Em Tue, 17 Feb 2009 19:17:19 -0300, Piero Sartini
escreveu:
Thank you so much.. it works! :-)
Does it work? Nice! I have never tried something like I suggested! :D
I will write down a short howto in the wiki tomorrow. (is the wiki open
to everyone?)
Open to everyone and your howto will
> It always sounds easier after you succeeded for the first time. ;)
That's true - and I think I just had one of these nice moments when you begin
to understand the way sth works :-)
> > But I don't get how to loop over the IDs. Something like "@Inject Block
> > mywidget" is ok - and I may retur
Em Tue, 17 Feb 2009 18:42:22 -0300, Luther Baker
escreveu:
You guys are great! Making more sense all the time...
You have just said nonsense! :p
Create and Edit (uses editable block) pages - Tapestry can't seem to
find: AppPropertyEditBlocks.tml
AppPropertyEditBlocks, or any other name
You guys are great! Making more sense all the time...
Ok, here is a small remaining problem and it is related to finding the
AppPropertyEditBlocks (tml and java) artifacts. I've included each step here
just to be sure I understand how the fit together. I intentionally left off
the SelectModel for
Em Tue, 17 Feb 2009 18:13:51 -0300, Luther Baker
escreveu:
It trickie since it seems that Tapestry could call toString() on anything
without requiring this registration step. In this simplistic case,
registration didn't really tell it anything. But - given this
registration
step - a few th
@Uli
false - that makes sense. I will apply it in my next post which actually
uses this method.
@Thiago
>> I'm not sure why assigning the name "classification" Classification
suddenly makes this work ...
> I guess it works because someone told Tapestry that it is a known type.
Yes - but doesn
Em Tue, 17 Feb 2009 16:18:45 -0300, Piero Sartini
escreveu:
You can do that, just think differently. ;)
That sounds easier than it feels ;-)
It always sounds easier after you succeeded for the first time. ;)
But I don't get how to loop over the IDs. Something like "@Inject Block
mywidge
If you want to specify a block for displaying your type, you just do the
same as with the editor but instead you contribute it with
public static void
contributeBeanBlockSource(Configuration
configuration)
{
configuration.add(new BeanBlockContribution("school",
"AppPropertyEditBlocks", "
Em Tue, 17 Feb 2009 16:55:03 -0300, Luther Baker
escreveu:
If I am happy with using an Entities toString() method ... is this safe
to say:
I guess so.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
-
Em Tue, 17 Feb 2009 16:48:05 -0300, Luther Baker
escreveu:
Now consider List.tml:
If I use a t:Grid out of the box, I get a runtime complaint when I try to
display a Topic,
"does not contain a property named 'classification'"
I assume this is because 'Classification' is not on the list
If I am happy with using an Entities toString() method ... is this safe to
say:
For DISPLAYing an Entity via its "toString" method in something like t:Grid
or t:BeanDisplay
(1) add a line to AppModule.contributeDefaultDataTypeAnalyzer and
(2) implement toString() on the entity.
/**
* A
> You can do that, just think differently. ;)
That sounds easier than it feels ;-)
> Two approaches I would try:
>
> 1) Use a loop to iterate over a list of block ids and use Delegate to
> render them.
Ok - I specified my "portlet-components" in blocks which are defined in a
PortletRenderer com
Thanks both of you for your explanations - if you've got a bit of patience
with me, I need to walk through my thoughts to better understand the big
picture here. Thanks in advance for your points and help - they are very
helpful.
Ok, to set the stage in a little more detail: consider a basic GRAI
Ok, here is an example.. hope it's legible. :) The meat of the code is
the ContextFilterRequest below. If you create a normal J2EE filter that
determines what part of the path to rip out, then if can do:
doFilter(...) {
String path = getCleanPath( request ); // helper method
boolean hasV
You may have been using client persistence strategy and the query
parameter was either truncated or corrupted.
On Tue, Feb 17, 2009 at 9:38 AM, wrote:
> Has anyone ever run into this?
>
> Problem occurs in IE only. In firefox, the page opens fine.
>
> An exception has occurred.
> You may continu
Has anyone ever run into this?
Problem occurs in IE only. In firefox, the page opens fine.
An exception has occurred.
You may continue by restarting the session.
[ +/- ] Exception:
An exception occured decoding the MIME data stream: Unexpected end of ZLIB
input stream
org.apache.hivemind.Ap
Em Tue, 17 Feb 2009 13:47:16 -0300, xfile80303 escreveu:
I know this was sort of a "tongue-in-cheek" comment, but how can I use
Tapestry to solve this dilemma?
Not very much tongue-in-cheek, I guess. A Tapestry Dispatcher is the
analogous to a servlet, and a Tapestry RequestFilter is analog
Em Tue, 17 Feb 2009 13:36:39 -0300, Piero Sartini
escreveu:
Is it right that there is no possibility to dynamically define at
runtime how many portlet columns are displayed? ( I would love to make
this
configurable).
You can do that, just think differently. ;)
Two approaches I would tr
Luther Baker wrote:
>
> From your perspective, how does 'site' differ from the application
> context?
>
> -Luther
>
Well, that's a great question, and may hilight my conceptual difficulties.
It is my understanding that the application context is really more of a page
context and does not pe
Hello again,
the scripts are not included in the ajax response,
I wrote a component to show the problem in the simpliest form:
ComponentWithIScript.html
Component with IScript
ComponentWithIScript.jwc
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
I know this was sort of a "tongue-in-cheek" comment, but how can I use
Tapestry to solve this dilemma?
Howard Lewis Ship wrote:
>
> Why would you use other filters or servlets when you have Tapestry? :-)
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
--
Vie
Thanks Peter,
You're suggestion is /almost/ a solution for what I'm trying to do.
Perhaps I'm missing something in your description, but the issue I'm trying
to solve is not to have a different package structure (or different pages)
for each site. They will all use the same pages and page flow,
Thanks Fernando.
I'm interested in option 2 below. If you have code to share, please do. :)
What I'm trying to solve for is not really virtual hosting. I want to have
the ability to have multiple "sites," sure, but these sites all use the same
pages and page structure and only differ by confi
> I guess that part of your solution is to use blocks and the Delegate
> component:
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5
>/corelib/components/Delegate.html.
Thanks again :-)
I am trying to come up with a solution, but have to admit that my
understanding of
Thanks, I see now that I somehow managed to remove all tapestry libs
without really having troubles during the programming.
Anyhow, this works.
- Kasper
On Tue, 17 Feb 2009 12:20:34 -0300, "Thiago H. de Paula Figueiredo"
wrote:
> On Tue, Feb 17, 2009 at 12:16 PM, wrote:
>> Caused by: java.la
Thanks Andy,
But i've already done this. It works great on the DWR side but that
doesn't help on the way to integrate the DWR javascript files in my
Tapestry components ... does it ?
Stephane
Andy Pahne a écrit :
> Stephane Decleire schrieb:
>> Hi all,
>>
>> I've tried to integrate DWR with Tape
On Tue, Feb 17, 2009 at 12:16 PM, wrote:
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tapestry.annotations.IncludeStylesheet
Here's the problem: the IncludeStylesheet annotation was not found.
Make sure you have tapestry-annotations-5.0.18 in your webapp
classpath.
--
Thiago
--
Hi Angelo,
I am probably over simplifying things, but think of it like this, Activate is
analogous to a Get request, so is invoked when a page first loads, passivate is
called after a Post (to ensure the posted page retains those activation
parameters)... passivate does not correspond to activ
Here is the full stacktrace.
[ERROR] RequestExceptionHandler Processing of request failed with uncaught
exception: java.lang.ClassNotFoundException: caught an exception while
obtaining a class file for nl.collection.components.Layout
org.apache.tapestry5.ioc.internal.util.TapestryException:
java.l
On Tue, Feb 17, 2009 at 12:03 PM, wrote:
> An unexpected application exception has occurred.
> java.lang.ClassNotFoundException: caught an exception while obtaining
> a class file for nl.collection.components.Layout
Please post the full stack trace. ;) It looks like your Layout class
was found
Here you go: http://tapestry5.ideascale.com/
ArsMachina added.
2009/2/17 Andy Pahne
>
> Do you have an URL? Google did not help me
>
>
> Thiago H. de Paula Figueiredo schrieb:
>
>> On Tue, Feb 17, 2009 at 9:35 AM, Borut Bolčina
>> wrote:
>>
>>
>>> Hi,
>>>
>>>
>>
>> Hi!
>>
>>
>>
>>> JumpSt
2009/2/17 Andy Pahne :
> Do you have an URL? Google did not help me
I'm sorry, I should have given it in the first page:
http://www.arsmachina.com.br/project. It's in the front T5 page too.
:)
--
Thiago
-
To unsubscribe, e
I see that the two examples were removed because it was html.
Start(1).tml.txt is the first
Start(2).tml.txt the second
- Kasper
On Tue, 17 Feb 2009 16:03:24 +0100, wrote:
>
>
> Hi,
>
> I've created a small project but I just figured out that I was still
> using tapestry 5.0.10 instead of
On Tue, Feb 17, 2009 at 12:02 PM, Angelo Chen
wrote:
> you need a onPassivate to persist the context on the client side if:
You need an onPassivate() method to tell Tapestry what is the
activation context for a given page. This is needed primarily because
of redirect-after-post, AFAIK, and every
Do you have an URL? Google did not help me
Thiago H. de Paula Figueiredo schrieb:
On Tue, Feb 17, 2009 at 9:35 AM, Borut Bolčina wrote:
Hi,
Hi!
JumpStart, ChenilleKit and Equanda has joined Tapestry Caffe. You can now
post your ideas on any of them, make comments and vote
Stephane Decleire schrieb:
Hi all,
I've tried to integrate DWR with Tapestry and the both frameworks seem
to work great together (perhaps because they don't do the same work ;-)
and are not so integrated). [...]
+1. Works like a charm.
Is there a way to tell Tapestry to get the file fro
Hi,
I've created a small project but I just figured out that I was still
using tapestry 5.0.10 instead of the latest version. So I removed the
old jars and replaced them with new ones. So far so good, I fixed the
imports some other things that needed to be changed. Then I ran the
application
Hi Thiago,
I just read again that doc, here is what I understand:
you need a onPassivate to persist the context on the client side if:
1. you have a form in the page
2. if you have an action link in the page
correct?
Angelo
Thiago H. de Paula Figueiredo wrote:
>
> On Tue, Feb 17, 2009 at 1
Hi all,
I've tried to integrate DWR with Tapestry and the both frameworks seem
to work great together (perhaps because they don't do the same work ;-)
and are not so integrated). For the test, i've just put the to
javascript libraries needed by DWR directly in the XHTML code like this :
hi,
I finally solved the problem. since the window.java. didn't show in the
Block area. so just remove out from
to
to solved the problem.
Thank you.
Regards,
tan
On Tue, Feb 17, 2009 at 4:07 PM, Tan cyb...@n wrote:
> hi DH,
>
> Thanks for your reply. I will try it up firs
On Tue, Feb 17, 2009 at 10:28 AM, Angelo Chen
wrote:
> Hi Thiago,
Hi!
> I always make sure i have a onPassivate that returns same thing in the
> onActivate,
That's a good thing, returning the the save value, but not necessarily
the same type.
> now, must be wrong, what is the rule of thumb o
Sorry for spamming, but here is the JIRA issue.
https://issues.apache.org/jira/browse/TAP5-521
On Tue, Feb 17, 2009 at 2:52 PM, Inge Solvoll wrote:
> I will add a JIRA issue for adding a parameter in a link with javascript!
>
>
> On Tue, Feb 17, 2009 at 1:58 PM, Joachim Van der Auwera
> wrote:
I will add a JIRA issue for adding a parameter in a link with javascript!
On Tue, Feb 17, 2009 at 1:58 PM, Joachim Van der Auwera wrote:
> Inge Solvoll wrote:
>
>> The only thing I see that is a little bit "dirty" is the way that equanda
>> puts the entered value into the link string. Is there an
Hi Thiago,
I always make sure i have a onPassivate that returns same thing in the
onActivate, now, must be wrong, what is the rule of thumb on this? why we
need a onPassivate?
Thanks,
Angelo
Thiago H. de Paula Figueiredo wrote:
>
> On Tue, Feb 17, 2009 at 10:16 AM, Angelo Chen
>
> You cann
On Tue, Feb 17, 2009 at 10:16 AM, Angelo Chen
wrote:
> Hi Thiago,
Hi, Angelo!
> Thanks for the tip, never knew there is this EventContext, is following
> onPassivate correct:
You cannot return an EventContext in the onPassivate method. You don't
even need to return the same type you received
On Tue, Feb 17, 2009 at 9:35 AM, Borut Bolčina wrote:
> Hi,
Hi!
> JumpStart, ChenilleKit and Equanda has joined Tapestry Caffe. You can now
> post your ideas on any of them, make comments and vote for or against some
> feature/idea/suggestion.
Cool! Could you add the Ars Machina Project there
Hi Thiago,
Thanks for the tip, never knew there is this EventContext, is following
onPassivate correct:
private EventContext ec;
public Object onActivate(EventContext obj) {ec = obj;}
public EventContext onPassivate() { return ec; }
What's the advantage of using EventContext compared to O
On Tue, Feb 17, 2009 at 9:27 AM, rajkumarkundu wrote:
> Hi Thiago,
Hi!
> I posted this into this forum because I thought it might be a general Jetty
> issue
That's what I was talking about: this is a Tapestry mailing list, not
a Jetty one, and your problem is not Tapestry related, so this mail
On Tue, Feb 17, 2009 at 9:30 AM, Angelo Chen wrote:
> You are correct, in one of my javascript it has a "../images/..", i don't
> know why it got called, in that particular page, there is no reference to
> that js, commenting it out fixes the problem, but this does bring up another
> question, how
Inge Solvoll wrote:
The only thing I see that is a little bit "dirty" is the way that equanda
puts the entered value into the link string. Is there any way to make it
easier to do this kind of thing natively in T5? Perhaps through a different
approach entirely?
Ideally, the tapestry js should
Inge Solvoll wrote:
Don't know if this is a bad thing to ask about here, you just tell me if I
should take this business elsewhere... :)
Either here or using the equanda-user mailing list. Both are fine.
In equanda-tapestry5 I discovered a very nice and useful component,
TextField, which up
superslip103 wrote:
Thanks dh
actually was just about to post the solution as I figured it out literally
minutes ago..
Do you know why it needs to be id and not t:id?
"t:id" and "id" are two really diffents things.
t:id is the id for Tapestry 5 back-end, it's kind of the java identifier
o
Hi,
JumpStart, ChenilleKit and Equanda has joined Tapestry Caffe. You can now
post your ideas on any of them, make comments and vote for or against some
feature/idea/suggestion.
Cheers,
Borut
Hi,
You are correct, in one of my javascript it has a "../images/..", i don't
know why it got called, in that particular page, there is no reference to
that js, commenting it out fixes the problem, but this does bring up another
question, how to put asset:context in a javascript?
//var tb_pathTo
Hi Thiago,
I posted this into this forum because I thought it might be a general Jetty
issue which can be resolved by adding some jar and by modifying some
configuration file. The class it is looking for has no relation with
Liferay, it is a Jetty class. What do you think about that?
I am very s
Thanks dh
actually was just about to post the solution as I figured it out literally
minutes ago..
Do you know why it needs to be id and not t:id?
dh ning wrote:
>
> Try , I faced
> same problem last week and fixed like this.
>
> DH
> - Original Message -
> From: "superslip103"
> T
Try , I faced same
problem last week and fixed like this.
DH
- Original Message -
From: "superslip103"
To:
Sent: Tuesday, February 17, 2009 7:42 PM
Subject: Zone within a Zone
>
> I'm trying to display a zone within a component (i.e not a page), which is
> itself being displayed in
On Tue, Feb 17, 2009 at 9:12 AM, Piero Sartini wrote:
> Now I am trying to find out how a "portal-like" profile page could be
> implemented with tapestry. I have several "portlets" defined as components and
> want to arrange them on one page - but the order should be determined at
> runtime (comin
> I didn't understand much of the problem you're tring to solve, but the
> @InjectContainer annotation can help you: it allows a component to inject
> the parent component. Something like this, in a child component class:
>
> @InjectContainer
> private ParentComponent parentComponent;
Thank you..
Most probably you're including images in your page using relative
paths. Use ${asset:context/images/loading.gif} instead and the problem
goes away. ;)
By the way, use EventContext instead of Object[] as the parameter of
your onActivate method. ;)
--
Thiago
--
On Tue, Feb 17, 2009 at 6:30 AM, rajkumarkundu wrote:
> Hi there,
Hi!
> I am new to Jetty. I am trying to use liferay protal (
> http://www.liferay.com http://www.liferay.com ) in Jetty. As per their
I guess the Liferay and Jetty mailing lists are a better place to find
an answer than in the T
I'm trying to display a zone within a component (i.e not a page), which is
itself being displayed in a Zone, by clicking on an ActionLink
in my tml file I have
Edit
Benchmark
then further on:
Benchmark Index for Stock:
${exchangeListing.name}
Howe
Here is your overview (assuming that you want to render your list of
schools using a select component):
SelectModel
This is a model of the data you want to render. This could be backed by
a list or some other collection type (there is a type coercer from list
to selectmodel build into tapestr
you have to include the jsp-api-xxx.jar somewhere from JETTY_HOME/libs
to the library set (it is inside server configuration from jetty-plugin
inside IntelliJ).
Angelo Chen schrieb:
Hi Aldana,
That tips works, but got a new problem, when adding a Jetty
server(6.1.15.rc3) in IDEA, I got this e
You mean in rendering phase, onActivate is called twice? It is always called
only one time in my experience.
I am interested in whether you called this page onActivate from other page?
DH
- Original Message -
From: "Angelo Chen"
To:
Sent: Tuesday, February 17, 2009 5:02 PM
Subject:
Hi there,
I am new to Jetty. I am trying to use liferay protal (
http://www.liferay.com http://www.liferay.com ) in Jetty. As per their
instruction (Section 1.4. Jetty 5.1.1 in
http://docs.liferay.com/portal/4.2/official/liferay-installation-guide-4.2/onepage/#d0e893
http://docs.liferay.com/port
btw, it is 5.0.18.
Angelo Chen wrote:
>
> Hi,
>
>
>
--
View this message in context:
http://www.nabble.com/t5%3A-onActivate-called-twice-tp22053148p22053292.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Hi,
I have following code, onActivate was called correctly 1st time, but it will
be called again during the rendering and obj[0] has 'images', obj[1]
has 'loading.gif', I do provide a onPassivate, any idea? thanks
private Object[] _objs;
@CommitAfter
public Object onActivate(Object[] o
hi DH,
Thanks for your reply. I will try it up first.
Thank you.
Regards,
Tan
On Tue, Feb 17, 2009 at 3:30 PM, dhning wrote:
> What about downgrading prototype from 1.6.0.3 (tapestry5.0.18) to 1.6.0.1
> and have a try.
> Last week I also face some strange error message in prototype.js and I
>
88 matches
Mail list logo