Hello,
Thanks for the help it got me in the right direction(I think:).
>Very nice! You could even contribute it to the Tapestry components
>collection!
I would love to contribute if it was good enough, not sure how though.
>String javascript = "Event.observe($(%s), 'click',
>this.simplify.b
Ups, that was beers :-)
2009/1/23 Borut Bolčina
> 100 bears for Ulrich!
>
> It works. You made my day. Thanks,
>
> -Borut
>
> 2009/1/23 Ulrich Stärk
>
> Hi Borut,
>>
>> the problem was that both the OpenIdProcessingFilter and the filter used
>> for form-based authentication both were configured
100 bears for Ulrich!
It works. You made my day. Thanks,
-Borut
2009/1/23 Ulrich Stärk
> Hi Borut,
>
> the problem was that both the OpenIdProcessingFilter and the filter used
> for form-based authentication both were configured for the same url, namely
> spring-security.check.url. Therefore b
Why not include the config needed for tapestry-hibernate in the pom, but
comment it out. That way you don't automatically get the cruft if you don't
want hibernate, but if you do it's really easy to figure out how to include
it.
Szemere
Hi,
I was adding a property to a model, and I set the PropertyConduit to
null. Then when the grid was rendering I got a big long exception stack
trace starting with an NPE:
*
org.apache.tapestry5.internal.grid.CollectionGridDataSource$2.compare(CollectionGridDataSource.java:78)
*
org.a
These all sound like issues that should be added to JIRA. Thanks for
hanging out on the bleeding edge!
On Fri, Jan 23, 2009 at 3:38 AM, Patrick Moriarty
wrote:
> I've resorted to returning a TextStreamResponse with
> "application/json" as the content type in order to bypass gzip
> compression.
>
I don't think Hibernate should be added in the quickstart. Just having an
in-memory DAO is good enough, and a wiki page on adding t5-hibernate to the
vanilla (plain) quickstart can be added.
On Fri, Jan 23, 2009 at 10:16 AM, Robert, Brice <
brice.rob...@alliancebernstein.com> wrote:
> -- No -- H
Sorry about that last post was a little trigger happy:
private Class callBackPage_;
public void setCallback(Class callback) {
callBackPage_ = callback;
}
Simply set the property before calling the page... it works well just won't
work with external callbacks.
Peter
-
The best way to do this last option is as follows:
--
If you are not an intended recipient of this e-mail, please notify the sender,
delete it and do not read, act upon, print, disclose, copy, retain or
redistribute it. Please visit http://www.albourne.com/email.html for important
additional t
-- No -- Hibernate dependency
But sample class using an annotation to access a service DAO that uses
Mock Objects (Using Spring or Juice) would be great.
I use:
- T5 for HTML/CSS/JavaScript,
- SmartGwt (SmartClient / GWT) for AJAX
- Spring for DI (Using Annotations)
- DAO Access through JPA, JM
Yuck. :)
I know hibernate is "all the rage" now, but, honestly, it's not /that/
hard to go add a dependency.
I prefer the cleaner archetype that doesn't make assumptions about
what technology stack you'll be using, other than tapestry.
Robert
On Jan 22, 2009, at 1/226:32 PM , Howard Lewis
No... looks like it falls in the same problem.
On Fri, Jan 23, 2009 at 9:43 AM, Geoff Callender <
geoff.callender.jumpst...@gmail.com> wrote:
> Does this help?
>
>
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/returntopage1/abc
>
>
> On 23/01/2009, at 11:20 PM, Marce
Does this help?
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/returntopage1/abc
On 23/01/2009, at 11:20 PM, Marcelo Lotif wrote:
I'm using the last approach, and we don't have any problems.
I don't know if this will work if a user calls the page from 2
di
I'm using the last approach, and we don't have any problems.
I don't know if this will work if a user calls the page from 2 different
pages in 2 different tabs. Maybe on the returning, one of them will be lost.
Which of these other approaches will solve this problem?
On Fri, Jan 23, 2009 at 9:04 A
I constantly use yout last solution.
However, this begs for a persistence strategt which allows you to have a
conversation which contains the same page but with different return pages.
Joachim
Peter Stavrinides wrote:
Hi everyone,
I have a page with multiple entry points, when a user is done
1 more suggestion:
A hidden "returnPage" field on each of referring pages and the referring
pages POST to the multiple entry page.
2009/1/23 Peter Stavrinides
> Hi everyone,
>
> I have a page with multiple entry points, when a user is done editing I
> want to return them to their previous page,
I've resorted to returning a TextStreamResponse with
"application/json" as the content type in order to bypass gzip
compression.
2009/1/23 Patrick Moriarty :
> Looks like adding "application/json" to the configuration for
> ResponseCompressionAnalyzer doesn't quite do it because it's compared
> di
Hi guys,
I've implemented a new component that make AJAX call on a select change
event and update the page with the AJAX response. The Ajax response is
the result of a Block render. The Block contains a BeanEditor.
The following is a sample code portion of what I've done and some
questions ab
On Thu, Jan 22, 2009 at 10:50 PM, Howard Lewis Ship wrote:
> I'm of the opinion that it's easier to remove unwanted stuff than add
> it in.
Tapestry-hibernate, when it is in the classpath, tries to create a
SessionFactory. So, if someone wants the Tapestry archetype without
Hibernate, at first he
Hi Borut,
the problem was that both the OpenIdProcessingFilter and the filter used
for form-based authentication both were configured for the same url,
namely spring-security.check.url. Therefore both filters tried to
process the credentials entered, which had to fail. I updated the wiki
arti
Finally, I found it. It's a select component
Cathy
Cathy_123 wrote:
>
> Hi,
>
> I would like to do a BLOCK that I can let user selecting then sorting the
> lines. Like this example:
>
> http://picasaweb.google.com/giaotienromang2008/MonAlbum?authkey=IQT560A1HTU#5294129087453679394
>
> Can y
invalidating the http session is the way to go because all the persist and
ASO objects are stored there.
i have a LogoutService that is called when a user wants to log out. this
service only deletes an artifact that is used to verify the successfull
login.
in an dispatcher (see AccessController
I would create an EventLink (the logout link) that, when clicked,
invalidates the session.
Logout
@Inject
private Request request;
@OnEvent("logout)"
void logout() {
request.getSession().invalidate();
}
--
Thiago
-
To uns
Looks like adding "application/json" to the configuration for
ResponseCompressionAnalyzer doesn't quite do it because it's compared
directly against "application/json;charset=UTF-8".
I could add "application/json;charset=UTF-8" but I think
ResponseCompressionAnalyzer should probably ignore the cha
Hi,
Since the recent introduction of gzip compression returning a
JSONObject from a mixin event method results in an empty responseText
in Firefox. It seems there is some problem with Content-Type:
application/json and Content-Encoding: gzip headers that prevents the
response from being decompres
I need to be able to reset everything when the user logs out.
Currently @Persist objects are still available if the user logs in
again with the same browser instance. This isn't very optimal.
I have searched the mail archive and found some comments on this issue
made at the end of 2007. I'm
A question about BeanModel again
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/PropertyConduit.html
It looks like "PropertyConduit" is the only way to modify a BeanModel - but
this relies on Annotation...so adding fields that "do no exist" as metadata
through Annotations
I think the archetype is fine as it is. IMHO adding the Hibernate
support would confuse things (what to remove, what to keep), especially
for beginners who are going to use this archetype. I'm developing my 4th
T5 project, and I dont use the archetype any more. So maybe my point of
view (archet
Peter Stavrinides wrote:
Hi everyone,
I have a page with multiple entry points, when a user is done editing I want to
return them to their previous page, there are a couple of ways of doing this I
guess:
- JavaScript (not so keen on this, I prefer a server side redirect)
- Using the HTTP refer
Christian Edward Gruber wrote:
If you're going to do that, you should probably include a basic value
object with a sample property and a DAO configured as a T5 service to
allow someone to know what you're talking about. Just wiring up
Hibernate isn't as helpful. Though we're starting to talk a
Hi everyone,
I have a page with multiple entry points, when a user is done editing I want to
return them to their previous page, there are a couple of ways of doing this I
guess:
- JavaScript (not so keen on this, I prefer a server side redirect)
- Using the HTTP referer header of the Request se
31 matches
Mail list logo