ry if putting it
in production mode will do the trick instead...
Could possibly be that it's prototype which is capturing my errors since
I have code running on page-load using a custom tapestry initializer...
Cheers
On 03-05-11 17:51, Thiago H. de Paula Figueiredo wrote:
On Tue, 03 May 20
Hi guys,
Perhaps my google-fu is too weak, perhaps it's something nobody else has
had an issue with, but T5's built in javascript error-handling keeps
getting in the way of development :( Sometimes it's quite useful in
providing me T5 related hints concerning my errors but more often than
not
Thiago H. de Paula Figueiredo wrote:
On Thu, 11 Feb 2010 08:44:48 -0200, Martin Reurings
wrote:
Hi Guys,
Hi!
Do you ever sleep?
I could cheat by detecting if threadlocale has been applied and ifso,
inserting my global var after the threadlocale, but this 'feels wrong'.
R
Hi Guys,
I'm trying to achieve several effects in the same application all
applied to the url and I'm using two URLRewriterRules to do so (Actually
4, 2 inbound and 2 outbound):
1) Store an application-wide value in the url, much like the ThreadLocale
2) Translate the first level of navigation
Using those two classnames as a reference I still can't figure out
how I could possibly assert the control I need.
I agree that my answer wasn't as clear as it should.
The basic problem with explaining something that is clear as day to you
lies in finding out what the other doesn't yet unde
DataTypeAnalyzer instead of a DefaultDataTypeAnalyzer.
This way, you have more control.
Em Wed, 04 Nov 2009 14:08:08 -0200, Martin Reurings
escreveu:
Hi Uli and/or anybody else reading this,
Could you help me some more? I ran into an unexpected problem :)
There is a known editor-block f
splay a
DateTime on some page and contribute that block to the BeanBlockSouce
service (see [1] for an example).
Uli
[1] http://tapestry.apache.org/tapestry5.1/guide/beaneditform.html
Am 04.11.2009 14:20 schrieb Martin Reurings:
Hi everybody,
I've been using T5 quite a while now
m.html
Am 04.11.2009 14:20 schrieb Martin Reurings:
Hi everybody,
I've been using T5 quite a while now but only recently started
making serious use of the Grid and BeanEditor (finally giving way to
my misgivings concerning some of the html-output in favor of
development speed). But, now
Hi everybody,
I've been using T5 quite a while now but only recently started making
serious use of the Grid and BeanEditor (finally giving way to my
misgivings concerning some of the html-output in favor of development
speed). But, now that I've started using Grid I ran into something I
can't
TBH, a 'component' css-file should never be included before the 'main'
css, that would make absolutely no sense! The idea suggests that the
global css is more important than the specific css for a particular
component!?!?
But, if you really want to do so anyway, @Inject
org.apache.tapestry5.R
Hi Jens,
Essentially I think the question would be, can you get a handle to the
Configuration, since this Configuration contains all the
package-names for the configured modules for a T5 application. Simply
search all the ...pages packages from that list and you have the classes
which are (or
He didn't come up with anything that hasn't been mentioned before. Most
of his points can be explained both ways, being either good or bad from
whichever 'school' you follow. I seriously think this particular
developer has the same issue that I had 3 years ago, component based
frameworks limit
ethod.
This should work i think.
Regards,
Christophe.
2009/10/12 Martin Reurings
Hi everyone,
For various reasons (that are good enough for our team ;) ) we have to make
use of a sendRedirect to forward to an offsite url. This works fine when I
do so from an event, such as @OnEvent(
Hi everyone,
For various reasons (that are good enough for our team ;) ) we have to
make use of a sendRedirect to forward to an offsite url. This works fine
when I do so from an event, such as
@OnEvent(value=EventConstants.SUCCESS) but throws a NPE when attempting
to do so from any phase of t
27;t an ordered configuration help you there?
http://tapestry.apache.org/tapestry5/tapestry-ioc/configuration.html#Ordered%20List
The order of module processing shouldn't be important since the final
ordering is imposed by resolving all such configurations after loading.
(Sorry, I haven't expl
Hey Guys,
I've quite happily been working on creating my own module to enhance
Tapestry5. This module is a generic patch so that I can more rapidly
create new WebApps based on T5. I've added some components and a service
and all seemed to be working quite well. Now I've run into a problem thou
With our developement team we're currently using maven to build/deploy
Tapestry 5. By using the latest Eclipse build and wtp we're able to run
Tapestry 5 on Tomcat 6 without restarting or redeploying anything. It
seems most of the functionality comes out of Eclipse in this case, but
it works...
Is it likely that Tapestry 5 will move towards such a solution?
Could it even be suggested that one should be able to disable all
default Tapestry JS-code?
And even more out on a limb, would it be possible to put
Ajax/dhtml-support in a seperate module so as not to polute the codebase
with it?
n accordance to the Palletes' state (select should be enabled if
there's available options etc.). So we may conclude this Component has
not been tested outside FireFox :)
Thiago H. de Paula Figueiredo wrote:
Em Tue, 28 Aug 2007 20:51:30 -0300, Martin Reurings
<[EMAIL PROTECTED]>
lected(this.removeSelectedOptions(this.selected), before);
Event.stop(event);
},
reorderSelected : function(movers, before) {
movers.each(function(option) { this.selected.add(option, before);
}.bind(this));
this.updateHidden();
this.updateButtons();
},
};
I've also trie
Without having a look at the rest of the code I can tell you without a
doubt you are on the right track there.
When using Object Notation Firefox has some weird parsing error which
allows it to successfully parse an object that has the illegal syntax
you just highlighted. Make no mistake though,
Well, one could peek to get the markupwriter, but perhaps you may want
to dig through the sourcecode to see what Howard's done to support
adding javascript files on the fly. He uses a 'service'
DocumentScriptBuilder to 'declare' the various scripts as well as keep
them unique and then once all
I've been writing my own Validator to match one Field to
another. And I've managed to figure out how to get my hands on the Component
representing the Field I'm trying to match with.
However, I've not been able to figure out how to get the actual value of
that other Field. Here's the relevant code
getComponentResources()
.getEmbeddedComponent(targetId);
if (!(comp instanceof SearchResults)) {
throw new IllegalArgumentException(
"targetId is not an instance of SearchResults");
}
return (SearchResults) comp;
Hope that helps.
On 6/13/07, Martin Reurings <[EMAIL PROTECTED]>
Can you give me some small example code on how you were able to gain access
from one tag to the other? I am currently trying to create a matchfield
validator in which one text field must match the value of another and I am
pondering on how to access the second field.
I know the id of the second f
Sorry to visit back on this subject. I've been digging through the
source-code and javadocs to get my head around the way validation is handled
and I was left wondering over one final aspect of the whole set.
Where do I tell Tapestry / a form / a form-element to use my custom
implementation of Va
browser screen as I would
expect. This .css file also gets properly injected if I use
@Inject
@Path ("context:css/main_style.css")
private Asset _mainStyle;
This is all properly working code (under Jetty at least :)
Bill
On 5/18/07, Martin Reurings <[EMAIL PROTECTED]> wrote:
the :
In TheComponent.java
private String _skin // perhaps a parameter or resolved in onActivate?
public String getStylesheetPath ()
{
return "/static/css/" + _skin + "/color-scheme.css";
}
In TheComponent.html:
...
...
Bill
On 5/17/07, Martin Reurings <[EM
We've created a simple template component to render the generic html layout
of the page and handle things like the navigation in the near future. Since
we've just started to use tapestry I am still trying to get my head around
some of the things that would probably seem obvious to anybody else.
I
29 matches
Mail list logo