Nice analysis!
On Mon, Jan 17, 2011 at 4:21 PM, Josh Canfield wrote:
> Hey, thanks for the concise example to reproduce the problem!
>
> Yes, it's a bug. Tapestry tracks clicks to submit buttons:
> $$("INPUT[type=submit]").each(function(element) {
>
> Image submit inputs have a type of "image", n
On 17.01.2011 17:15, Taha Hafeez wrote:
>> The "select all" button works with or without JavaScript. This is
>> achieved by this code:
> It works without javascript because the select-all button is used as a
> simple submit button when javascript is disabled
> and so when it is clicked it submits
It's just to include some javascript that includes a < or a >.
E.g.
...
if (counter > 1) {
...
}
...
This will be rendered by T5 as ..
...
if (counter > 1) {
...
}
...
.. which is broken.
2011/1/17 Josh Canfield
> Putting it in an html comment didn't work? Can you share a snippet t
Hi,
I'm doing some more testing as we speak and I might have been too
quick in my assumptions. It might be related to some incorrect
formatting in an unrelated area of my page which upsets IE but not the
other browsers.
I'll post back if I can consistently reproduce the problem. Running a
slow VM
You could use JavaScript to hide the form and use AJAX to put
something else there. Or create a new absolutely positioned DIV that
covers the entire contents of the form and use AJAX to do whatever. A
sort of easy way is to put all your content in a single DIV and just
hide that and have an
Thanks, I've added that one too. (These should appear at
http://tapestry.apache.org/release-notes-52.html within an hour or
two, after the documentation site export occurs.)
On Mon, Jan 17, 2011 at 4:13 PM, Donny Nadolny wrote:
> There's another one I came across looking through JIRA.
>
> Copied
There's another one I came across looking through JIRA.
Copied from https://issues.apache.org/jira/browse/TAP5-1401
In Tapestry 5.1.0.5, you can have code such as:
@Component
private Form inputs;
...
if (inputs.getDefaultTracker().getHasErrors())
...
This fails in 5.2.4 because getDefaultTracke
I took Donny's recommendations from last month as the basis for a new
"Breaking Changes" section at the top of the
https://cwiki.apache.org/confluence/display/TAPESTRY/Release+Notes+5.2
page. Does anybody know of any other "breaking" changes going from
5.1 to 5.2?
On Fri, Dec 17, 2010 at 12:29 PM
It's supposed to just work; the new CSS assets are converted into new
tags and IE is supposed to load them. I'm pretty certain this
works for FF and I tested, at one time with IE 6, I believe.
On Sat, Jan 15, 2011 at 9:59 AM, Joost Schouten (mailing lists)
wrote:
> Hi,
>
> When I update a zone w
If you want to do it in code then you can use the example of the
TimingFilter that is part of the quickstart.
Add this to your AppModule class.
public RequestFilter buildTimingFilter(final Logger log)
{
return new RequestFilter()
{
public boolean service(Request r
Hello fellow tapestriants,
I'm trying to do a mixin for grids. As usual, the mixin does some javascript
which I output in the @AfterRender of the mixin. Naturally, in the javascript I
would like to reference the client-side representation of the element that is
being "mixed into" (the grid's ta
Sorry, but I'm not sure how to log all HTTP requests. Do you have a tapestry
example?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Grid-onAction-Problem-IEM6-tp3339635p3344786.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
As already suggested log all HTTP requests.
Further, you error suggests that somehow one of your assets' url is mistyped
and the resulting url is such that it points to a page
with the 'assets' becoming its parameter. The page to which this url is
pointing is expecting an integer but as it finds '
On Fri, Jan 14, 2011 at 7:28 PM, Stephan Windmüller <
stephan.windmuel...@tu-dortmund.de> wrote:
> Hi!
>
> I have a strange behavior with a javascript button here. My page
> contains the following:
>
> - Many items which may be selected
> - A "select all" button
> - A submit button
>
> The "select
Putting it in an html comment didn't work? Can you share a snippet that is
broken? The smallest possible.
On Jan 17, 2011 3:34 AM, "Gunnar Eketrapp"
wrote:
> I encountered this problem again ..
>
> I.e. am adding javascript dynamically but expresions such as
>
> foo < bar
>
> ... gets translated i
On Mon, 17 Jan 2011 13:37:28 -0200, Stephan Windmüller
wrote:
On 14.01.2011 15:34, Thiago H. de Paula Figueiredo wrote:
The "select all" button works with or without JavaScript. This is
achieved by this code:
|
Have you tried event listeners instead of onclick? Like Prototype's
Event.obse
Hey thank you for your response. How can I turn off the redirect after post?
Yes, the error occurs after clicking the paging button.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Grid-onAction-Problem-IEM6-tp3339635p3344587.html
Sent from the Tapestry - User mailing lis
On 14.01.2011 15:34, Thiago H. de Paula Figueiredo wrote:
>> The "select all" button works with or without JavaScript. This is
>> achieved by this code:
>> |
> Have you tried event listeners instead of onclick? Like Prototype's
> Event.observe()?
Since we do not use much JavaScript in our appl
Oh, it's absolutely possible. This article is from 2002:
http://onjava.com/pub/a/onjava/2002/04/03/tomcat.html. I swear I had
done embedding Tomcat for one of my projects, but for the life of me I
can't remember which one and I couldn't find the code :( It's a bit
more complicated than with Jetty,
Thanks for testing it out. I've filed an issue for it at
https://issues.apache.org/jira/browse/TAP5-1416
On Mon, Jan 17, 2011 at 1:36 AM, Angelo C. wrote:
>
> I did a testing on the Tapestry-Hotel-Booking demo in the
> tapestry.apache.org, added following:
>
> @ApplicationDefaults
>@Contribu
Yea it can be solved but the code that I ported generated javascript inside
template code so the easy way was to just do the same in T5 ...
2011/1/17 Luke Wilson
> Perhaps you can you engineer it so you use addScript and pass all dynamic
> items to a constructor, keeping your JS in a separate f
Perhaps you can you engineer it so you use addScript and pass all dynamic items
to a constructor, keeping your JS in a separate file.
Luke
On 17 Jan 2011, at 12:33, Gunnar Eketrapp wrote:
> No that didn't work either.
>
> 2011/1/17 Luke Wilson
>
>> Does enclosing the JS in a CData section h
No that didn't work either.
2011/1/17 Luke Wilson
> Does enclosing the JS in a CData section help?
>
> http://en.wikipedia.org/wiki/CDATA
>
> Luke
>
> On 17 Jan 2011, at 11:40, Gunnar Eketrapp wrote:
>
> > This ugly hack solved the problem but is far from what we want :-)
> >
> >if
Does enclosing the JS in a CData section help?
http://en.wikipedia.org/wiki/CDATA
Luke
On 17 Jan 2011, at 11:40, Gunnar Eketrapp wrote:
> This ugly hack solved the problem but is far from what we want :-)
>
>if (counter 1) {
>
> /Gunnar
>
> 2011/1/17 Gunnar Eketrapp
>
>> I en
This ugly hack solved the problem but is far from what we want :-)
if (counter 1) {
/Gunnar
2011/1/17 Gunnar Eketrapp
> I encountered this problem again ..
>
> I.e. am adding javascript dynamically but expresions such as
>
> foo < bar
>
> ... gets translated into ...
>
> foo < bar
I encountered this problem again ..
I.e. am adding javascript dynamically but expresions such as
foo < bar
... gets translated into ...
foo < bar
... and fails to execute ...
I tried the hide from parser method as Josh mentioned but T5 was not that
easy to fool ...
Is there any easy way to t
Of course. I started with tapestry some months ago so im not an expert but i
will share everything im learning with others through tutorials (hopefully i
will end some by the end of this week). The hardest part of tapestry is
starting with it. If we all share our knoledge with newbies, it will be
Although I am not using T5 beyond that project last year, the resolution
sounds useful to many users, and maybe you could even get in touch with
Howard & Co. to bake this into the official tutorials for future versions?[?]
--
Werner Keil | UOMo Lead | Eclipse Foundation | Agile Coach, Principal
Thanks Werner. The problem here was that i wanted a generic method. At first,
i dont know what kind of subclasses are avaliable because they are managed
by a service so i can add more subclasses just annotating them and i will
have more subproducts avaliable without any code changes. Because of th
29 matches
Mail list logo