I'm kind of bogged down in Guitar Hero 3; Hard is just too hard. It
needs a level between medium and hard where you use the orange button
only occasionally, and just do more chords, hammer-ons and layoffs.
I thought while I was recovering last month (I had some minor elective
surgery) that I'd
Hi,
Is this a known issue? For instance the following link is rendered by
T5:
link href=assets/tapestry/default.css rel=stylesheet
type=text/css
The element isn't closed. There are more similar cases.
Thx,
-J.
-
To
Hi,
I cannot forward to a Tapestry page from a javax.servlet.Filter with
request.getRequestDispatcher(/Start).forward(request, response);
however,
request.getRequestDispatcher(/test.jsp).forward(request, response);
works fine.
This is baaadly needed for what I'd like to do. Any help is
if the component does not have an id
you can olso do follwing:
in the mixin... add an arbitrary hidden element before the component
set id for that element and use:
var anchor = document.getElementById(idOfElement);
var compDomNode = anchor.nextSibling;
you can do that also by putting an element
The goal
-
To create a mixin that will attach a client-side javascript object to
the mixing component. This mixin should not know anything about the
component and remain completely genereic, needing only a DOM id to
provide to the JS object.
Requirements
-
Hi,
I had the same problem and then I've tried changing the code using your
solution.
But the solution won't work for the last row of the list.
So when I change the value of the enabled (checkbox) in last row, the record
won't change?
This problem didn't happen for other previous rows.
why
I tested the same thing with a servlet as well, and it does not work. I
can't imagine what can be a problem :(
thanks in advance,
janos
On 15/04/2008, János Jarecsni [EMAIL PROTECTED] wrote:
Hi,
I cannot forward to a Tapestry page from a javax.servlet.Filter with
Yeah, Guitar Hero III is stupidly hard on Hard. I played Guitar Hero II
on Expert but had to drop down to Hard on III. Took me, what, three
months to beat it - the last guitar battle is a [EMAIL PROTECTED]
Now working on Expert, but kinda stuck about halfway through on The
Metal. :P
And
Oh, Jesse help me here. You wrote that you tend to delete my emails without
reading them but you are obviously replying to one of them. Like those
reading now, I'm smelling something fishy here. Or did your slave master
Howard come to drag and force you to reply? It seems, like the other high
That's odd, it works for me alright... Tapestry doesn't do anything
special wrt. regular expressions, it just uses the java.util.regex stuff.
-Filip
Sige skrev:
It seems @Validate(regexp) only support fixed number
of matches such as \\d{4}, and doesnt support one or
more or zero or more
Oh, Mr. Lewis Ship, so you're musical. All the musicians I know who program
are forward thinking people and very talented. They don't go and do a
re-work after they've made a release. You've been violating even CS101. I'm
very surprised.
Your friendly,
Rob
On Tue, Apr 15, 2008 at 8:51 AM,
Sorry, I forgot: Tapestry 5.
Tobias Wehrum schrieb:
Hello,
in my template, I'm using a grid similar to this simplified model:
t:grid source=gridObjects row=currentGridObject model=gridModel
t:parameter name=someCell
${someFunctionGeneratingSomething}
/t:parameter /t:grid
When i
hi all,
Quote from:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html
..Instead of returning true or false, a render phase method may return a
component. .
This works very well. But now I face the situation that a component
should push more than one (embedded)
i developed an component that genereates thumbnails of an gif/jpeg
via Toolkit graphic methodes.
after that the converted stream should injected into the page.
2008/4/15, Josh Canfield [EMAIL PROTECTED]:
Why are you generating a binary stream during the render phase?
On Mon, Apr 14, 2008 at
there's an annotation which can be applied to page classes.
@ContentType(application/xhtml+xml)
unfortunately: IE does not render pages using this content type...
@see
https://issues.apache.org/jira/browse/TAPESTRY-2166
c)hristian
I'm aware this issue has been bouncing around the forums
I'm aware this issue has been bouncing around the forums for a while. This
is becoming quite a live issue for my organisation as we are planning to go
live with a major T5 site in June. Our SEO people tell us that having well
formed xhtml is becoming very important for the rankings algorithms.
Hello,
in my template, I'm using a grid similar to this simplified model:
t:grid source=gridObjects row=currentGridObject model=gridModel
t:parameter name=someCell
${someFunctionGeneratingSomething}
/t:parameter
/t:grid
When i comment out the parameter block, it is
I think it's about time we report this jackass to google or even the
FTC. Apart from being a bothersome embarrassment to humanity, he's most
likely in violation of google's terms of service as well as at least one
law.
Rob Smeets wrote:
Oh, Mr. Lewis Ship, so you're musical. All the musicians I
Blimey, they really are out to get you Rob!
Run, run like the wind...
-Original Message-
From: Rob Smeets [mailto:[EMAIL PROTECTED]
Sent: 15 April 2008 11:27
To: Tapestry users
Subject: Re: AW: Getting Answers on the User List
Oh, Jesse help me here. You wrote that you tend to
Hi,
I have deployed an application that I made secure by adding
public void
contributeMetaDataLocator(MappedConfigurationString,String
configuration)
{
configuration.add(TapestryConstants.SECURE_PAGE,
true);
}
to the AppModule class.
Now when I
+1
Chris Lewis schrieb:
I think it's about time we report this jackass to google or even the
FTC. Apart from being a bothersome embarrassment to humanity, he's most
likely in violation of google's terms of service as well as at least one
law.
Rob Smeets wrote:
Oh, Mr. Lewis Ship, so you're
did it :)
take a random post from rob and do it also if you have gamil acc.
all the posts are offensive more or less
https://gmail.google.com/support/bin/answer.py?answer=29381
Davor Hrg
On Tue, Apr 15, 2008 at 1:54 PM, Michael Gerzabek [EMAIL PROTECTED]
wrote:
+1
Chris Lewis schrieb:
I
well if you don't have gmail you can also use
https://mail.google.com/support/bin/request.py?contact_type=abuse_phishing
Links to Program Policies and Terms of Use are included.
Michael
Davor Hrg schrieb:
did it :)
take a random post from rob and do it also if you have gamil acc.
all the
Hi All,
some news. I tried this with T4.1.5, where the Tapestry frontend is
implemented as a servlet, and it WORKS THERE. So, it is now obvious, that
the forward does not work, because with T5 Tapestry frontend is a filter.
My questions:
1) why it is a filter?
2) how this situation could be
Hi Tobias,
Something is definitely wrong here. Can you share some more code with us?
-Filip
Tobias Wehrum skrev:
Hello,
in my template, I'm using a grid similar to this simplified model:
t:grid source=gridObjects row=currentGridObject model=gridModel
t:parameter name=someCell
Awesome! Violating CS101?! Classic! Dude, you should get your own
show on comedy central.
Christian.
On 15-Apr-08, at 06:34 , Rob Smeets wrote:
Oh, Mr. Lewis Ship, so you're musical. All the musicians I know who
program
are forward thinking people and very talented. They don't go and do
Great! Thanks Michael I was looking for that.
chris
Michael Gerzabek wrote:
well if you don't have gmail you can also use
https://mail.google.com/support/bin/request.py?contact_type=abuse_phishing
Links to Program Policies and Terms of Use are included.
Michael
Davor Hrg schrieb:
did
János Jarecsni kirjutas:
some news. I tried this with T4.1.5, where the Tapestry frontend is
implemented as a servlet, and it WORKS THERE. So, it is now obvious, that
the forward does not work, because with T5 Tapestry frontend is a filter.
My questions:
1) why it is a filter?
2) how
Christian Gorbach wrote:
there's an annotation which can be applied to page classes.
@ContentType(application/xhtml+xml)
unfortunately: IE does not render pages using this content type...
@see
https://issues.apache.org/jira/browse/TAPESTRY-2166
The bug you point out is not the bug with, IE,
Rob Smeets wrote:
Like those reading now, I'm smelling something fishy here.
Yes, seems to come from inside your pants...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am using Tapestry 5.0.11 and have a problem with a dynamic list of
strings in a form. What I am trying, is the following:
In the Page.java:
@Persist
private ListString items;
@Property
private String item;
public ListString getItems() {
if (items == null) {
items =
Since your regex is defined in a property file, you don't need to escape
your backslashes as you do with a java string.
try \-*\d*\.*\d*
Cheers,
Lance.
On 15/04/2008, Filip S. Adamsen [EMAIL PROTECTED] wrote:
That's odd, it works for me alright... Tapestry doesn't do anything
special wrt.
Ups, wrong template url. This one is the correct one:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/FormInjectorDemo.tml?view=markup
On Tue, Apr 15, 2008 at 4:20 PM, Igor Drobiazko [EMAIL PROTECTED]
wrote:
Have a look at the FormInjector component. This
Have a look at the FormInjector component. This component is what you need.
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/FormInjector.html
An example can be found here:
Has anyone tried text/xhtml?
I don't remember ever using the application/xhtml+xml mimetype, but I
haven't done xhtml in a while.
Christian Gorbach wrote:
Francois Armand schrieb:
Christian Gorbach wrote:
there's an annotation which can be applied to page classes.
When I apply text/xhtml my browser issues a 'File download' dialog.
-J.
On Tue, 2008-04-15 at 07:38 -0700, Fernando Padilla wrote:
application/xhtml+xml
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Francois Armand schrieb:
Christian Gorbach wrote:
there's an annotation which can be applied to page classes.
@ContentType(application/xhtml+xml)
unfortunately: IE does not render pages using this content type...
@see
https://issues.apache.org/jira/browse/TAPESTRY-2166
The bug you point out
Hi Juhan!
A BIG BIG thanks! This in deed works (the tag is only available from 2.4
servlet spec.).
You made my day! :)
Cheers,
Janos
On 15/04/2008, Juhan Kundla [EMAIL PROTECTED] wrote:
János Jarecsni kirjutas:
some news. I tried this with T4.1.5, where the Tapestry frontend is
Think I've already got it. I'm now using this:
@Component(inheritInformalParameters=true,
parameters={feedbackBean=feedbackHolder,validationTracker=getValidationTracker()})
The base page implements public ValidationTracker getValidationTracker()
Pages that do need custom feedback will have to
Hi there,
I have a class named Status which implements toString(). But still
when I have class A, which has a property of type Status, I always have
to add the Status property to the BeanModel with model.add(myStatus).
Obviously implementing toString() isn't enough to teach my the BeanModel
There's a sneaky way.
Return an inner class implementing RenderCommand.
Implement void render(MarkupWriter writer, RenderQueue queue) and push
what you want on the queue.
This is a bit of a grey area, as .runtime package falls somewhere
between public and internal APIs. It is generally assumed
Oh, sorry, didn't catch that all you want to edit is a String property
from another class. I don't know what else there is to do, then.
-Filip
On 2008-04-15 18:41, Filip S. Adamsen wrote:
Hi,
You might need to add a new property editor, see Adding New Property
Editors at
Hi,
You might need to add a new property editor, see Adding New Property
Editors at
http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html.
-Filip
On 2008-04-15 18:37, Tobias Wehrum wrote:
Hi there,
I have a class named Status which implements toString(). But still
Hi there,
yes, maybe I caused confusion. To further point out what I'm trying to
do: I just want to output whatever value Status.toString() will return
to me, for example in a grid. When I add the property to the BeanModel,
tapestry has no problems calling toString() automatically; but at the
Michael Dukaczewski wrote:
[...]
t:form
div t:type=loop t:source=items t:value=item
t:textfield value=item /
/div
divt:submit t:id=add value=more//div
divt:submit t:id=save value=save//div
/t:form
I have a list of values, the user has to enter. The number of values,
Thank you, Filip!
Looking through the page you suggested, I found the missing piece of code:
--
public static void
contributeDefaultDataTypeAnalyzer(MappedConfigurationClass, String
configuration)
{
configuration.add(Status.class,
Hi,
On 2008-04-15 19:13, Tobias Wehrum wrote:
Thank you, Filip!
Looking through the page you suggested, I found the missing piece of code:
--
public static void
contributeDefaultDataTypeAnalyzer(MappedConfigurationClass, String
configuration)
I'm getting the hang of it --- and liking it!
Yet another question;
How can I bypass normal client side validation, in case I have a form
that includes a 'Cancel' button. Currently I need to enter something
valid before I can 'Cancel' my action - not really what I want ;-)
-J.
There is no way to do this as far as I know. I believe the current
workaround is to create an action link styled as a button and do
whatever needs doing there.
-Filip
On 2008-04-15 19:34, Jan Vissers wrote:
I'm getting the hang of it --- and liking it!
Yet another question;
How can I bypass
Very cool! I was going to suggest sending a client-side redirect
rather than performing a server-side forward.
On Tue, Apr 15, 2008 at 5:54 AM, Juhan Kundla [EMAIL PROTECTED] wrote:
János Jarecsni kirjutas:
some news. I tried this with T4.1.5, where the Tapestry frontend is
implemented as
Yep, nothing takes that long in Tapestry :-)
Seriously, the ${...} stuff is turned into pure method calls, no
reflection. The only thing that can slow stuff down is database (or
equivalent out-of-process) access.
On Tue, Apr 15, 2008 at 5:30 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote:
Hi
Great! Thanks for that link Michael, I was looking for that.
chris
Michael Gerzabek wrote:
well if you don't have gmail you can also use
https://mail.google.com/support/bin/request.py?contact_type=abuse_phishing
Links to Program Policies and Terms of Use are included.
Michael
Davor Hrg
Rob your English is by no question admirable but you drove quite
to far. I like all those Tapestry folks - special thanks to the core
team and Howard from me. Thanks to their affords Web-Development
Is fun again.
So please stop insulting them.
Rob Smeets wrote:
Like those reading now, I'm
you can do it with javascript... sth like this (not tested)
put a normal
input type=submit value=${cancel} onclick=return
avoidValidation(this)
function avoidValidation(elem){
var form = elem.parentNode;
//find form
while(form form.tagName != FORM) form = form.parentNode;
Try to introduce @Persist, like this:
@Persist
private String _formValue;
2008/4/15, 孟凡振 [EMAIL PROTECTED]:
I am using t5 plus extjs(a javascript framwork)
some code fragment in *.tml
..
items: [{
fieldLabel: 'name',
name:'formValue',
Dear list,
Today I published a simple article on the dealing of trolls on the list,
and I specifically targeted our friend currently operating under the
alias Rob Smeets. Instead of responding to him, please check out the
article and update it if you can do so accurately:
fyi, you can get to the form easier (assuming you're in a form control) with
var form = elem.form
On Tue, Apr 15, 2008 at 9:38 PM, Davor Hrg [EMAIL PROTECTED] wrote:
you can do it with javascript... sth like this (not tested)
put a normal
input type=submit value=${cancel} onclick=return
Take a look at the wiki:
http://wiki.apache.org/tapestry/Tapestry5HowToCreateASimpleGraphComponent
Since you aren't actually going to be injecting the image bytes into
the page your images are going to be loaded in a second request. You
can create an action link that actually returns the image
not true, even IE4 had this - it's also extensively used in T4.1
But your code is good when you start from any given dom node, i.e. a link
and not just an input control
On Tue, Apr 15, 2008 at 9:55 PM, Davor Hrg [EMAIL PROTECTED] wrote:
that does not work for all browsers as far as I know... :)
you are right :)
I saw some crossbrowser code that assumed input.form is not
always available ... I haven't looked into the reasons for it.
On Tue, Apr 15, 2008 at 9:06 PM, Andreas Andreou [EMAIL PROTECTED] wrote:
not true, even IE4 had this - it's also extensively used in T4.1
But your code
Hi again,
is there a way for a little bit more dynamic inclusion of a component?
Say instead of t:footer/ I'd like to iterate through a registry of
components and include some of them in a page, like:
t:include-component t:id=someValue/ (someValue is not a literal).
It would be vital for what
Tapestry wants to know about all the components that a page is going
to render up front. If you want to dynamcially include a component
you'll have to include that component in the template somewhere so
that you can get a handle to it.
For instance, you can have a component that has:
t:delegate
Hi Jan,
maybe this help
t:form t:id=cancelForm
t:submit value=Cancel
/t:form
void onSubmitFromCancelForm() { ... }
Marcus
Hi Josh,
hm, this would be a pity... it is relatively easy to imagine a scenario
where the component should be lately bound, I mean resolved only at
runtime. I can imagine generic TMLs which only specify placeholders for
components, and it depends on some configuration what components to link
If you succeed with that, could you share it with the list? I'd also
be very interested in something like this. Perhpas it could be the
start to a useful 3rd party lib.
On Tue, Apr 15, 2008 at 3:47 PM, János Jarecsni
[EMAIL PROTECTED] wrote:
In the worst case I will compile the TML on the fly
Wasn't there something about being able to push components onto the render
stack at runtime?
ahh:
http://www.nabble.com/T5%3A-Pushing-Multiple-Components-into-Render-Queue-td16699167.html#a16706639
might help. on thet5 website there are page lifecycle methods, I guess you
hook in there
My intention is to move away from the page-centric
approach of Tapestry toward this more dynamic strategy
:) I think the statement above says it all. When you try to move
away from the core approach of a framework then you're asking for a
challenge.
If you don't mind sharing, what's your
Hey Michael,
I know a couple of guys have replied, but I think there is a much
simpler answer to your problem.
drop the item property from your page and add getter/setters that
update the your items list based on the index in the loop:
@Property
private int _index;
public String getItem() {
Thank you, but still no luck.
the only difference is that i use tomcat and i don't
pack the classes into a jar file. this doesn't seem to
be the problem, since regular expressions provided in
the tutorial work fine, such as:
zip-regexp=\\d{5}(-\\d{4})?
credit-regexp=\\d{4}(\\-?\\d{4}){3}
Has anyone got tapestry ajax components working with Dojo 1.0?
I've followed the tacos instructions to get dojo 1.0.2 loaded by
tapestry (http://tacos.sourceforge.net/tacos4.1/tacos-dojo/index.html)
but the tapestry components don't work with the new version of Dojo.
Does anyone know what is
i might have found the reason:
it is not that @Validate(regexp) doesnt work, it
actually checked the input and think the input is
valid. However, it dosnt check the rest of the string.
for example:
zip-regexp=\\d{5}
@Validate(regexp) checks only the first 5 chars in
the input, and doesnt care
Hi all,
moving to tapestry 4.1.5.In my page i have a submit button which will
redirect to a page .
In the action method of a submit button i am throwing a new
RedirectException.In tapestry4.0.2
i had no problems.but in tapestry4.1.5 the browser is not getting
refreshed.I am pasting piece of my
Can you capture and paste the ajax response?
On Wed, Apr 16, 2008 at 6:56 AM, abhilash [EMAIL PROTECTED] wrote:
Hi all,
moving to tapestry 4.1.5.In my page i have a submit button which will
redirect to a page .
In the action method of a submit button i am throwing a new
Yes, I felt this too :) However, this is no special usage scenario I would
say, just a bit different usage pattern that calls for a different approach.
As I see now, the Tapestry framework is well suited to sites, where the user
travels from Login to Browse items from there to Shopping cart and so
One more thing... although Tapestry is component oriented (which is a goood
thing :)), this kind of flexibility (dynamic template generation) which is
available in JSP is an essential feature to be really flexible. A templating
framework should allow this level of redirection, or abstraction, that
And one really last thing :) I had a shallow look at wicket to check this
feature... There should be some common unconscious conceptual path here, as
wicket too misses this. All it has is an Include component to include
non-wicket (! :D) content. Why these frameworks are so much reluctant to
this?
76 matches
Mail list logo