Chris,
This is a job for CSS.
You are creating a list, so render your links in an unordered list, and set
the class attribute for the last item to "last" and then use a CSS recipe
for creating inline lists:
ul,li {
display:inline;
margin: 0;
padding 0;
}
li:after {
content: ", ";
Chris,
The as listed in the instructions is incorrect. It is listed as:
de.hsofttec
And it should be:
de.hsofttec.t5components
I bumped into this too, and once I made the change, everything went fine.
I'm looking forward to trying out the library.
Jonathan
> -Origina
I noticed a few specifics:
- The hsofttect library 0.5.4 required Tapestry 5.0.9 (I think). Just get
your tapestry release up to 5.0.9. There have been lots of changes to
justify it anyway.
- You have a mix of parameterized (${tapestry-release-version}) and fixed
versions (5.0.7 for tapestry-sp
No guarantees that this is the same thing, but I had a strange issue once
when my html tag was split across two lines.
I couldn't reproduce it now, so this may not be relevant, but try making the
whole tag with namespace declaration on the same line.
Jonathan
> -Original Message-
> Fro
Chuck,
Build and pass your own BeanModel rather than relying on auto-creation from
the source.
I hit the same issue.
Jonathan
> -Original Message-
> From: Chuck Kring [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 31, 2008 6:55 PM
> To: Tapestry users
> Subject: Exception in grid
Hello all,
I thought it might be useful for any users who have upgraded applications
from T4 to T5 to share their experiences, techniques and suggestions.
Personally, I have upgraded two small applications - the first was still in
development, and I had been wavering on whether to use T5
Sven
I can hardly wait to try out the ognl binding. It's something I've missed
moving from T4->T5.
Ditto on Remove.
Jonathan
> -Original Message-
> From: Sven Homburg [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 02, 2008 8:56 AM
> To: users@tapestry.apache.org
> Subject: [ANN]
Martin,
I'm a bit confused about what you are trying to accomplish, but maybe I can
toss out some ideas.
If you have loaded a User object via Hibernate:
Scenario 1: embedded Address
If the embedded address is all null / empty fields, then the Address
reference in User will be null. You may want
ed had an embedded Address with all fields empty ^^. Thank you very
> much to both of you :) !
>
> I owe you at least a beer :)
>
> Regards
>
> Martin
>
>
>
> Jonathan Barker wrote:
> >
> > Martin,
> >
> > I'm a bit confused about wh
Angelo,
Take a look at JBoss .har files. I've never tried it but it might be a way
to share a common Hibernate setup among multiple webapps.
Jonathan
> -Original Message-
> From: Angelo Chen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 03, 2008 8:28 PM
> To: users@tapestry.apache.
Filip,
Recent versions of T5 have used slf4j, not log4j. Having said that, the
underlying logger is often log4j.
What app server?
JBoss, for example, has all logging configured through a log4j.xml file in
the server conf directory.
Jonathan
> -Original Message-
> From: Filip S. Ada
but will be deploying to Tomcat in
> production - it's not a big application.
>
> -Filip
>
> Jonathan Barker skrev:
> > Filip,
> >
> > Recent versions of T5 have used slf4j, not log4j. Having said that, the
> > underlying logger is often log4j.
> >
Aw, can't we please keep him? I mean, as trolls go, he's doesn't require
much upkeep.
I've come to look forward to his occasional rants for their entertainment
value. He plays the buffoon so well, and as the offers of fortunes from
Nigeria has slowed to a trickle I crave something to fill that
Check out the Acegi integration at:
http://www.localhost.nu/java/tapestry5-acegi
I find Acegi stops me from re-inventing the wheel. At the very least, the
source code should give you an idea how to do what you want.
Jonathan
> -Original Message-
> From: ryanskow [mailto:[EMAIL PROTECT
Geez, did Howard pee in this guy's Corn Flakes back in college or something?
> -Original Message-
> From: Ted Steen [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 18, 2008 5:07 AM
> To: Tapestry users
> Subject: Re: Tapestry 6
>
> Of course it's not true!
>
> Emmanuel Sowah and Jo
Jesper,
Following up on my earlier response...
You might want to look at the work done in the tapestry5-acegi project,
where there was a HttpSessionIntegrationFilter rewritten to be used within
the Tapestry pipeline rather than from web.xml
I think this is a very similar situation.
Jonathan
Jesper,
I tried running your test, which gives a lazy-loading exception trying to
access the Set from BeanA. If you change your Hibernate mapping to
use lazy="false" then the problem goes away.
I think you will find that your OpenSessionInView filter is not opening a
session. The net result is
John,
I agree that such support would be nice, but having worked with T4 and T5, I
can say it's much less necessary with T5.
The error reporting generated from my inevitable typos gives a very nice
listing of available properties, and class reloading makes fixing things
much faster.
It would hav
> > I don't have a solution for you, but it's a similar problem to trying to
> > use the HibernateTemplate outside of a web-app. I have some command-
> line
> > tools that look like:
> >
> >
> > this.session =
> > SessionFactoryUtils.getSession(sessionFactory, true);
> >
> > TransactionSynchr
Moritz,
Given that Ubuntu is based on Debian, you are probably running into Tomcat
security configuration issues. I run Debian.
I hit this myself and kept battering my head against the wall trying to
grant all of the necessary permissions.
Take a look in /etc/tomcat5.5/policy.d/ and see if you
Take a look at the "lean" parameter in the grid docs:
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/ta
pestry/corelib/components/Grid.html
Does that help?
> -Original Message-
> From: Ben Tomasini [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2008 3:55
gMethodAccessorIm
> pl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:24
> 4)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subjec
The documentation also gives a way to define this by contributions (see the
Securing Multiple Pages section)
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/secure.html
> -Original Message-
> From: kranga [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2008 9:02
One of the features of Assets is localization. I don't see how that would
work with the url prefix.
Is there a reason whey you don't want to use a url right in your template,
or perhaps in a message file? Actually, if you used a message file then you
could localize the asset.
Jonathan
>
Hibernate makes it easy to do some really interesting things without a great
deal of thought.
Any time you start working with large data sets you have to think carefully
about what Hibernate is doing on your behalf - like the inner loop example.
For some reporting tasks, you might want to use Hi
A toast to fools!
But for them, the rest of us would not succeed!
> -Original Message-
> From: Chris Lewis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 18, 2008 1:39 PM
> To: Tapestry users
> Subject: Re: Tapestry at my company
>
> Actually I have a different perspective, arguably
Check out the tapestry.production-mode parameter on:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html
> -Original Message-
> From: Dragan Djuric [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2008 3:12 PM
> To: users@tapestry.apache.org
> Subject: [T5] Detailed
The Tapestry5-Acegi project is set up to use Hibernate (hence the Session).
Tapestry-ioc is trying to inject the Session, but apparently you don't have
a Session service available.
Do you want to use a Hibernate-based DAO for authentication? Consider using
the tapestry-hibernate package.
Jonatha
Jacob,
It's definitely possible.
I'm also using Spring, and Hibernate, but this time around, I'm using an
InMemoryDAO and LDAP (Active Directory) for authentication.
By comparing the configuration I did on a Spring-driven T4 Acegi integration
with the code in tapestry5-acegi, I finally started
Peter,
Howard's frustration with Maven comes in the development OF Tapestry, as
opposed to development WITH Tapestry. Things that once worked suddenly
break as Maven plugins get updated. This has come up from time to time in
the Dev list.
I've hit similar things, but the visibility (I'm not runn
Angelo,
I do this routinely using Hibernate via Spring and tapestry-spring, but I
haven't tried it with tapestry-hibernate. Looking at the source:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-hibernate/src
/main/java/org/apache/tapestry/hibernate/HibernateModule.java?view=marku
So, Rob Smeets
Searching the archives, you have never requested nor offered technical
assistance on the Tapestry mailing list.
You have reported no success story that would show you have a real stake in
Tapestry.
Your writing style is strikingly similar to that of Trolls of days gone by.
I use Hibernate / Spring / JTDS / SQL Server 2000. I've seen no such issues
when dealing with problems.
What does Enterprise Manager or Management Studio say about Current
Activity? Is there a lock being held by one process?
If so, then either you or tapestry-hibernate needs to commit or rol
Here are the relevant portions (with identifying info stripped out) for
authentication with Active Directory. With AD, you need to use bind-based
authentication.
If you are using something like OpenLDAP, you may have access to the
password or password hash, so you would change the authenticator.
This is currently listed on the TODO list:
http://www.localhost.nu/java/tapestry5-acegi/todo.html
> -Original Message-
> From: Jacob Bergoo [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2008 11:04 AM
> To: users@tapestry.apache.org
> Subject: Re: T5: Problems with Tapestry5-Aceg
Subtle logic error.
outputlist.add(list.subList(counter,
Math.min(counter+maxListsize,outputlist.size(;
Should be
outputlist.add(list.subList(counter,
Math.min(counter+maxListsize, list.size(;
Gotta love those!
> -Original Message-
> From: Britske [mailto:[EMAIL PROTECTED]
>
Rob,
I can't resist...
Your "over-engineerd" comment was under-engineered. Howard would have
surely added in the required number of e's in the word. Then it would be
properly-engineered :-)
As for volatile... you do know that T5 was just voted BETA last week, right?
ALPHA software is generally
That's likely stored in the WebContext that can be directly injected using
tapestry-spring.
> -Original Message-
> From: Joshua Jackson [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2008 6:06 AM
> To: Tapestry users
> Subject: Re: T5: How do I get session information?
>
> On 3/28
stry5-acegi/ : If I am to use this,
> then it assumes having a UserDetailsServiceImpl.
>
> Also, when we do
> configuration.add("ldapAuthenticationProvider",ldapAuthenticationProvide
> r)
> How does the Acegi framework get to know abt the LDAP authentication
> provider.
apestry5-acegi/ : If I am to use this,
> then it assumes having a UserDetailsServiceImpl.
>
> Also, when we do
> configuration.add("ldapAuthenticationProvider",ldapAuthenticationProvide
> r)
> How does the Acegi framework get to know abt the LDAP authentication
> pro
Thomas,
In the SecurityModule in tapestry5-acegi, in the contributeProviderManager()
method, there is the line:
configuration.add("anonymousAuthenticationProvider",
anonymousAuthenticationProvider);
So, by default, according to the Acegi docs:
#
AnonymousProcessingFilter, so that if no
a
> UserDetailsServiceImpl,,,
> Is it correct to say that I have to write a UserDetailsServiceImpl class
> which uses LDAP in order to retrieve the correct UserDetails Object?
>
> -Original Message-
> From: Jonathan Barker [mailto:[EMAIL PROTECTED]
> Sent: 28 March 2008 14:3
@Inject
private AuthenticationManager _authenticationManager;
Isn't Tapestry great? :-)
> -Original Message-
> From: Jacob Bergoo [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2008 4:13 PM
> To: users@tapestry.apache.org
> Subject: RE: Tapestry 5 - Acegi ,, using L
I should have pasted a little more code before. You need the following line
in your onSuccess method:
SecurityContextHolder.getContext().setAuthentication(authResult);
Acegi expects to do everything through the SecurityContext.
> -Original Message-
> From: Jacob Bergoo [ma
Other posts have handled your specifics well.
Evaluate T5. I started active development on T4.0. I have since migrated a
few of the smaller applications from T4 -> T5 and I am doing all new work in
T5.
In the T4->T5 migrations, I found I was deleting lots of code and cleaning
up my templates.
by a html designer, is this what you are doing
> too? thanks.
>
> Angelo
>
>
> Jonathan Barker wrote:
> >
> >
> > HTML, CSS and a browser and focus on appearances. With T5, it's easier
> > just
> > to run your app and tweak on the fly.
>
ssage-
> From: Jacob Bergoo [mailto:[EMAIL PROTECTED]
> Sent: 29 March 2008 16:32
> To: users@tapestry.apache.org
> Subject: RE: T5: Problem with login form with Acegi
>
>
> Thanks Jonathan, that did the trick!
> Cheers,
> Jacob
>
>
> Jonathan Bark
It won't matter. That's why you use the @Secured("ROLE_ADMIN") annotation.
At best, an unauthenticated user will have ROLE_ANONYMOUS if the
AnonymousAuthenticationProvider is used. They will get an AccessDenied
exception.
I'm playing with a little older code that coughs up a hairball when it h
This is really sounding like something unrelated to Tapestry, and there
isn't enough code presented to tell.
Do you have proof that your code works outside of Tapestry? Why, and how,
did you EXTEND TreeMap? Do you have a unit test to prove that your MyMap
works?
If you can present a non-Tap
Sorry for the delay - meetings all day.
Josh Canfield made a suggestion regarding setting a breakpoint. I would
echo that, and make sure that you try the same code in the page class.
You've shared the component code. Can you share the relevant page code?
(Declaration, initialization, getters a
Michael,
This is not a page class, so Tapestry will not process your injections.
You also haven't used either of your injected properties, so why are they
there?
Jonathan
> -Original Message-
> From: mnguyen21 [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2008 2:29 PM
> To: users
ging in.
>
> The key thing for me is that the remote IP address will be used for IP
> authentication. That information is not available through the Request
> object.
>
> Does this make any sense? Am I approaching this the wrong way?
>
> Thanks,
> Michael
>
>
> -
It sounds like the underlying data (from the page) is in a Set, whereas your
component wants a List. Try converting your Set to a List before passing to
the component.
> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2008 2:58 PM
> To: T
> To: Tapestry users
> Subject: Re: Coercion error in grid
>
> No, I'm pretty sure there's a built-in coercion from Collection to
> GridDataSource. Again, a stack trace would be helpful to figure out
> what's really going on here (and the exact version of Tapest
Would it be acceptable to keep the list outside of the form, and use
ActionLinks with the id's of the items to be deleted?
You could then have a conditional on your list component for whether or not
the column with the ActionLink is displayed.
Jonathan
> -Original Message-
> From: Ima
from the architectural
> perspective. You really should not send GET requests
> which deletes entities. Any crawler that crawls such a
> page would be devastating.
>
> Quoting Jonathan Barker <[EMAIL PROTECTED]>:
> > Would it be acceptable to keep the list outside of
>
Just to confirm... you have your template files in:
src/main/resources/com/abc/aroer/components ? That should be correct.
BTW, you should jump to 5.0.11. It's the official "Beta".
> -Original Message-
> From: Britske [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 07, 2008 2:27 PM
> T
Rob,
If the world is going to pass you by, you should at least be comfortable.
Enjoy that chair!
Jonathan
> -Original Message-
> From: Rob Smeets [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 08, 2008 5:18 AM
> To: Tapestry users
> Subject: Re: 答复: from T5.0.11 to T5.0.6
>
> When I
There is also a binding for OGNL in tapestry5-components. I did see some
odd behavior that may have been caching results that should not be cached,
but it has been useful to me.
http://213.160.23.119:8080/t5components/t5c-commons/howto_ognlbinding.html
It's something I missed from T4.
> ---
pageLoaded() is something that may only happen once for many, many requests.
You might want to move it to pageAttached which will move it to per-request.
Also, check out the @Cached annotation that you could apply to the
getAllCategories() function if it is used more than once in a request.
> -
Rob,
You may have a point or two.
That what you describe as one of the best Internet applications has beta
status suggests that some beta code is as good as / better that other
production code. I would have to agree. I've had production apps running
on Tapestry alpha code for some time.
The
t that at each
> major release they face the challenge of backward compatibility head on
> and
> make everyone happy. They don't choose the easy route of starting all over
> again. That one even first year computer science students can do.
>
> Your's friendly,
>
&g
Rob,
You're here! I was getting concerned when you didn't reply to my question on
another thread. I feared that some tragedy had befallen you. It would be
impolite of you to simply disregard a simple question.
So, back to the fundamental and simple question...
Given that you have no intention
Try using the @Persist("flash") to store your real answer. The flash
persistence strategy covers the situation where you only want the value to
be stored until the next request.
Jonathan
> -Original Message-
> From: Tomasz Dziurko [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 13, 20
Is it the base page issue you are tripping over? The documentation is
pretty clear for the "standard" case. If you are extending base pages, then
you will need to create the getters and setters to access the ASO's in
derived pages.
For access from the component, why not just inject with the
@Ap
Try using value="fromDate" rather than the expansion.
> -Original Message-
> From: Petros Petrou [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 17, 2008 9:59 AM
> To: users@tapestry.apache.org
> Subject: RE: T5.0.10 DateField component broken ???
>
>
> Mahen,
>
> Has 5.0.11 solved
You've been too active with technical issues on the list to be labeled a
troll... unless Rob has a split personality and you are the side that
actually knows something. Hmmm. An interesting email address, BTW, given
the topic of conversation :-)
And he (Rob) does have a point on backward comp
I'll add to this and say that if you want sorting behavior, you can
implement Comparable and Comparator (I don't remember which you need - I
tend to implement both), and add "location" to your model.
IIRC, you will need to build your model in code to say that the "location"
column is sortable.
Luca,
Check the Form documentation for prepareForRender() and prepareForSubmit().
They can be better places to do heavy initialization than onActivate().
Also, take a look at @Persist("flash") which is meant to retain information
for only one additional cycle (like the render after a form submit)
it to restore that property.
> So I think the old entity value was not discarded from the session
> because the application didn't show its data into the page.
>
> Obviously, this was my code fault ;^) I fixed the problem removing the
> @Persist("flash") annotation on the sele
will be shown.
>
> Now I can use exclude and username to get what I need, but that would be
> annoying to write so much longer exclude expression.
>
> So is it a known issue?
>
> Thanks.
> DH
> - Original Message -
> From: "Jonathan Barker" <[EMAIL P
T5components pulls in some dependencies that you might not want. For
example, if you are not running Hibernate, you want to make sure that you
don't have tapestry-hibernate pulled in.
You may need to explicitly exclude libraries. Also, beware of mixes of
versions being pulled in.
Jonathan
>
Bill,
If I understand correctly what you are trying to do, you probably want to
use the context parameter on your Form element. For example, you might
have:
You would then have
public void onSuccessFromEditForm(Long id){
}
Jonathan
> -Original Message-
> From: Bill H
Jim,
I have a T4 application that uses domain-object level security implemented
using the Acegi framework. I have used custom authorization code more
appropriate for my task, rather than the built-in Acegi method.
It works beautifully, and I've certainly seen people attempting to access
things t
There was a thread a month or so ago that I participated in that covered
doing authentication within a login page class.
Take a look at:
http://thread.gmane.org/gmane.comp.java.tapestry.user/59931/
There was an important part cut off from the code I posted that wound up in
another thread:
http
You might want to try reversing the order of your filter and filter-mapping
declarations in web.xml to put OpenSessionInViewFilter first.
Other than that, I would need to see your applicationContext.xml file.
Jonathan
> -Original Message-
> From: Toby Hobson [mailto:[EMAIL PROTECTED]
>
Rob,
Glad to see you're still alive and well. I'm still waiting for an answer to
my question: "Given that you have no intention of using Tapestry for serious
work, you do not give assistance to users, nor do you request assistance
from other users, why do you post to this list?"
I do wonder if y
It's my understanding that the Filter approach makes it much easier to have
"friendly" URL's. With T4, everything had to map under /app/. With T5, you
just set up exclusions for whatever servlets you want to run.
I have had no problem using tapestry5-acegi that uses Acegi 1.0.x Security.
I have
Has anyone had any success in using the Grid with multiple object types in
the source? I'm currently using 5.0.11
To be specific, I am using Quartz in an application and I want to list
Triggers. Trigger is an abstract class. Types of triggers include
SimpleTrigger and CronTrigger.
I am ge
Ah, Rob, I'm sure your helpful nature has provided all the technical
assistance Henrik needed. I'm still waiting for an answer from you on my
inquiries BTW.
Henrik provided enough information from someone who hit that exact problem
to understand. There was not enough information for someone to
Try executing cycle.cleanup() after you set the Locale.
> -Original Message-
> From: dpark [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 07, 2008 10:14 AM
> To: users@tapestry.apache.org
> Subject: Localization
>
>
> I understand the following:
> * in order to set the locale programm
e something with my pool(i haven't done any customizations
> around
> that...)
>
> I'll keep poking around
>
> DP
>
>
>
>
> Jonathan Barker wrote:
> >
> > Try executing cycle.cleanup() after you set the Locale.
> >
> >
> >
Error messages? Linux distro? Tomcat from distro package or straight from
Apache?
> -Original Message-
> From: Michael Böckling [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 07, 2008 11:56 AM
> To: users@tapestry.apache.org
> Subject: Potential bug in Tapestry 5.0.11 running on Tomcat
al bug in Tapestry 5.0.11 running on Tomcat
>
> You are probably hitting some case sensitivity. What is the exact
> name of your Index page's Java class? And what is the exact name of
> the template file?
>
> On Wed, May 7, 2008 at 12:09 PM, Jonathan Barker
> <[E
If you are running using the jetty launcher in Eclipse, your templates and
page and component classes should be automatically reloading. I'm not sure
if it's the same running through maven.
As I understand it, JettyLancher puts everything in your Eclipse project's
classpath into your web applic
Try removing the snapshots from your local maven repository to be sure you
pull down the most recent snapshot.
Worst case, go to
http://code.google.com/p/tapestry5-components/source/checkout to find out
how to get the source.
> -Original Message-
> From: lebenski [mailto:[EMAIL PROTECTE
Also, clear your browser cache to make sure you pick up the new
TC5OnEvents.js
> -Original Message-
> From: lebenski [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 12:26 PM
> To: users@tapestry.apache.org
> Subject: Re: T5: Urgent Problem. After clearing cookies communication
>
The tutorial starts with Jetty run from Maven, but then switches over to
JettyLauncher midway through chapter 2.
The fact that you were not able to back out the changes suggests that you
may have something either missing, or duplicated in your classpath. Watch
out for remnants of the earlier Tap
I missed that functionality as well. I use the ognl binding available in
the t5components library.
http://87.193.218.134:8080/t5components/index.html
I remember trying something complicated once, and I had problems with values
being cached that should not have been, but it worked beautifully
The T5 approach is to generate redirects for everything. I'm not sure how
to do that with T3, but you could try.
Another option might be to, when you navigate away from a page (like the one
with the form) set the class for a div around the form to something like
already-submitted and then use CS
rying to access Tapestry ASO from Spring-configured Hibernate
interceptor
On 6/26/06, Jonathan Barker <[EMAIL PROTECTED]> wrote:
>
> I have a Tapestry4 / Tapestry4Spring / Spring / Acegi / Hibernate
> application where I need to access an session-scoped Application State
> Obje
James,
A simple option would be to turn off client-side validation.
I have an application in which multiple people (buyer, seller, realtors)
must be associated with a single estimate. I use a pop-up window that has
its own workflow for searching for and choosing, or adding a new person (and
even
+1 for wiki or SVN
Jonathan
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 4:38 PM
To: 'Tapestry users'
Subject: RE: Table with large data set
I have a HibernateTableModel (an IBasicTableModel impl) if you're
interested. There's only o
This may not be your problem, but...
When there is a problem with the AJAX functionality, the tacos components
tend to fall back to conventional behavior - I found this when I was having
problems.
Make sure there are no script errors on your page, and make sure you have
the necessary dojo script
I can't say it's a best practice, but it should be a reasonable strategy.
In your pageValidate() method,
if your ASO is not set
Authentication auth =
SecurityContext.getContext().getAuthentication();
If auth is not null
d page (which in this example would not be the
> default page and would therefore require it's on pageValidate() code)
>
> Or is there a more clever way to do this?
>
> Thanks,
> Tom
>
> -Original Message-
> From: Jonathan Barker [mailto:[EMAIL PROTECTED]
>
My approach predates tapestry-acegi, but I'm sure it could be adapted.
I use a bit of a hybrid approach, where the authentication part is handled
as described in the EWDT e-book and all of my protected pages extend a
BaseProtectedPage class. My Login page has a UserValidator ASO injected,
which i
I haven't had any problems navigating relationships in T5. But then again, I
avoided the issue with the grid by collecting the properties I needed from
the related objects and put them into one specifically tailored for the
grid.
If you don't need that relation, you could manually create the bean
Andrés,
I should clarify. I needed to collect information across three objects,
including one property from one element of a collection. In the "central"
object for the grid, I was only using a fraction of the available
properties.
This was a small contained project so it was more expedient for
Hi all,
I want to email a copy of the default ExceptionReport wile displaying only a
friendly message to users. I built up the email manually in T4, but I would
rather take advantage of the nice error reporting in T5.
I guess this is just a specific case of wanting to use a Tapestry Page a
1 - 100 of 333 matches
Mail list logo