:) It's all about understanding the component model and how form
components interact during a post. I'd recommend reading the source of
the submit/textfield/form components it's not that long and could
provide some light as to what's going on. Using the debugger and
walking through is also very ill
I didn't see the 'fully transparent' part before. This is awesome.
On Oct 28, 2011, at 2:20 PM, Barry Books wrote:
> The first version is working and checked in. I created an
> infinteScroll mixin and attached it to the content. When javascript is
> enabled it hides the pagination component
The first version is working and checked in. I created an
infinteScroll mixin and attached it to the content. When javascript is
enabled it hides the pagination component and uses the next href to
fetch the next pages as you scroll down. It's completely transparent
to the way the code works. The tm
Sounds way better than pagination and but the ultimate thing
would be google reader and apple store-like thing.
On Oct 28, 2011, at 1:59 PM, Barry Books wrote:
> Found this one
>
> http://www.infinite-scroll.com/infinite-scroll-jquery-plugin/
>
> and I just about have it working. It uses the n
Josh, I did some more experimenting and come up with the following outcome.
I have two sets of buttons on the page, one set at the top of the page and
once set at the bottom of the page. They are both identical other than the
generated id's created by tapestry. The first set of buttons at the top
Found this one
http://www.infinite-scroll.com/infinite-scroll-jquery-plugin/
and I just about have it working. It uses the next button to fetch
then next content and hides the pagination HTML so it pretty much does
exactly what you would want.
Alright. New version that strips jsessionid from the url when
constructing the ReferrerRequest is released and should be available
withing an hour.
Thanks Leon and David for identifying the problem.
Regards,
Joakim
On Fri, Oct 28, 2011 at 2:27 PM, Leon Derks wrote:
>
> This also works... and n
Steve, your snippet expired me to redirect to the user's actually intended
page:
AppModule.java -
/**
65 +* silently redirect the user to the intended page when
browsing
through
66 +* tapestry forms through browser history
67 +*/
68
Hi Josh, it indeed has something to do with defer being false. When it's
false it runs through the methods in the following order.
onPrepare
onSelect
onValidate
When I set it to true, it seemed to work perfectly. Shouldn't I be setting
defer to false when looping submit buttons with context?
--
When are you seeing the values as null? I can't see any reason that
what you are doing shouldn't work, unless you're trying to access the
values from the onSelected method with defer = false before the fields
have been processed.
You could set a breakpoint on the setter for your form properties an
Hello, I'm using the submit component inside of a loop in order to
dynamically generate different buttons / Actions.
I'm using it as followed
public Object onSelected(Integer action) {
}
I seem to be having a problem submitting the form data, everything appears
to be null. Does anybody know
On Fri, 28 Oct 2011 13:49:36 -0200, Barry Books wrote:
What would be slick is if you drop in a pagination component it uses
it else it behaves as you suggest. I guess the question is how does
this mixin figure out if it contains a pagination component or not? I
guess I could mark it with @Pagin
I am no JavaScript expert (it takes me 4 hrs debugging time every time I touch
any JS code!)
so I can't give any JS suggestions other than somebody's probably written it
already :)
But I do suggest that you drop pagination altogether. It's an artificial
concept
which was invented for green scr
That's an interesting comment. I've got the basics working now.
https://github.com/trsvax/tapestry-bootstrap/tree/master/src/main/java/com/trsvax/bootstrap
This template displays a grid
${value.mediaTitle}+
What would be slick is if you drop in a p
I would be very instated in a pagination-less grid.
Something like google reader where when you scroll it automatically updates
with the new data for seamless and infinite scrolling. Apple store does the
same. Pagination is so 1990s.
On Oct 28, 2011, at 9:14 AM, Barry Books wrote:
> I'm ab
On Fri, 28 Oct 2011 11:14:29 -0200, Barry Books wrote:
I'm about to implement a new site using Twitter Bootstrap so I've been
working on a Tapestry module to support Bootstrap. The module will be
hosted here https://github.com/trsvax/tapestry-bootstrap and will be
licensed Apache2.
Cool! :)
Ok nice will look over it soon.
Cheers,
Dragan Sahpaski
On Fri, Oct 28, 2011 at 3:30 PM, Barry Books wrote:
> The blog code is here https://github.com/trsvax/Blog. I'm always
> interested in pull requests ;)
>
> -
> To unsubs
The blog code is here https://github.com/trsvax/Blog. I'm always
interested in pull requests ;)
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Hi Barry,
Please add RSS on your blog when you have the time.
Nice Work !
Cheers,
Dragan Sahpaski
On Fri, Oct 28, 2011 at 3:14 PM, Barry Books wrote:
> I'm about to implement a new site using Twitter Bootstrap so I've been
> working on a Tapestry module to support Bootstrap. The module will
I'm about to implement a new site using Twitter Bootstrap so I've been
working on a Tapestry module to support Bootstrap. The module will be
hosted here https://github.com/trsvax/tapestry-bootstrap and will be
licensed Apache2.
I've been thinking about how to implement a MediaGrid that uses the
pa
Thanks Taha.
The links helped.
On Fri, Oct 28, 2011 at 2:44 PM, Taha Hafeez Siddiqi <
tawus.tapes...@gmail.com> wrote:
> Hi
>
> There are a lot of examples in jumpstart
> http://jumpstart.doublenegative.com.au/jumpstart/
>
> Also you may find http://tawus.wordpress.com/category/javascript/ usefu
True. Seems like a good solution.
/Joakim
On Fri, Oct 28, 2011 at 2:27 PM, Leon Derks wrote:
>
> This also works... and now we don't have to set the previousPage to null.
>
> public static ReferrerRequest fromUri(final String uri, final Request
> request) {
> if (uri == null) {
>
This also works... and now we don't have to set the previousPage to null.
public static ReferrerRequest fromUri(final String uri, final Request request)
{
if (uri == null) {
return null;
}
final String serverRegexp = "^.*://" + request.getServerName() +
I got a pull request from David so it should fix it in the breadcrumb
component. Will get it merged and released during the weekend. Don't
know if the fix could be performed in the Tapestry-code instead. I can
try to dive deeper into the code during the weekend as well.
/Joakim
On Fri, Oct 28, 2
Hi
There are a lot of examples in jumpstart
http://jumpstart.doublenegative.com.au/jumpstart/
Also you may find http://tawus.wordpress.com/category/javascript/ useful
regards
Taha
On Oct 28, 2011, at 5:03 PM, Josh Kamau wrote:
> Hi there;
>
> Which is the best way to handle custom javascri
Hi there;
Which is the best way to handle custom javascript events on with serverside
handler and return a zone?
This is what i want to do.
I have a text field which when changed (onchange), i want to send an ajax
request and return a zone. I have looked at the code for autocomplete mixin
but so
Thanks guys!
But what is now the final conclusion? Is this now a Tapestry issue, because
the decodePageRenderRequest doesn't like the ";" ?
regards,
Leon
On Oct 28, 2011, at 12:43 PM, Joakim Olsson wrote:
> Aaah...Sounds like an easy fix. Care to send a pull request at Github?
> Since you
Aaah...Sounds like an easy fix. Care to send a pull request at Github?
Since you have already solved the problem I mean. :-)
/Joakim
2011/10/28 Dávið Klein Sundsskarð :
> Hi,
>
> I have had the same issue with the Breadcrumb component.
> The problem is that the referrer contains a ";", which com
Hi,
I have had the same issue with the Breadcrumb component.
The problem is that the referrer contains a ";", which comes from
tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher.
decodePageRenderRequest doesn't like the ";"
(componentEventLinkEncoder.decodePageRenderRequest(referr
Hello Joakim,
That would be great!!
regards,
Leon
On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote:
> Hi,
>
> Being the author of the breadcrumb component, I can confirm that I
> have seen that from time to time as well. I can try to find out if
> there is something that I can do about it or
Hi,
Being the author of the breadcrumb component, I can confirm that I
have seen that from time to time as well. I can try to find out if
there is something that I can do about it or if it has it's roots
deeper into the Tapestry code.
Regards,
Joakim
On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks
Thanks
On Oct 27, 2011, at 3:52 PM, Steve Eynon wrote:
> The Enviroment is tied to a ThreadLocal in the Request, so if you
> don't pop MyData manually, it should be cleared out automatically when
> the Request ends.
>
> I'm not sure why MyData is not found on the Environment Stack - does
> getDa
Hello
Thank you all for your great support!
I am using Tapestry 5.2.6.
I just found out something what causes this issue.
I use a breadcrumb component with a BreadCrumbDispatcher see
https://github.com/argoyle/tapestry-breadcrumbs
When I don't use this breadcrumb mechanism, everything works
On what version of T5 are you using and under what circumstances exactly?
For on T5.2.6 I can't generate the error with PageLinks or EventLinks.
Steve.
On 28 October 2011 16:24, Christian Riedel wrote:
> I see the same exception in log files for years now. Last thing I remember is
> that it
I see the same exception in log files for years now. Last thing I remember is
that it happened in T5.1 apps already. It's definitely something that tapestry
does not always ignore.
I'd say, Leon, you should create a JIRA for this!
Am 28.10.2011 um 04:49 schrieb Steve Eynon:
> jsessionid's are
35 matches
Mail list logo