A fix is committed, this issue will close when the commit goes through.
https://issues.apache.org/jira/browse/TAPESTRY-2333
2008/4/4, Howard Lewis Ship <[EMAIL PROTECTED]>:
> I think it's a bug; I believe there's an error related to the
> RequestPathOptimizer ... the code that generates relative
Like Kevin Menard who submitted JIRA 1932 on this, I'm working on data
objects coming from our app's business layer. We may need to support
several front end or web service technologies with our domain objects, so we
don't want them to know about Tapestry. I want (badly) to be able to use
BeanEdi
I don't see any way to render a component from a mixin. I'm not sure
of a use case where you'd want to do that with a mixin. Can you tell
us what you are trying to do? Then maybe someone can offer another
solution.
Josh
On Fri, Apr 4, 2008 at 3:22 PM, Imants Firsts <[EMAIL PROTECTED]> wrote:
> An
Anyone has any idea? Maybe some other solution?
Quoting Imants Firsts <[EMAIL PROTECTED]>:
> Can mixin render a component, for example TextField? I
> know that that it does not support templates and that
> it can render the tag directly.
> But I would like the mixin to add a component to form,
>
Tapestry only takes care of the objects that you tell it to manage. So
while you won't be able to make "new User()" work that way, you can
register a UserFactory (or UserSource or UserBuilder or whatever) in
Tapestry and call
_userFactory.newUser();
public static void bind(ServiceBinder binder) {
I think it's a bug; I believe there's an error related to the
RequestPathOptimizer ... the code that generates relative URLs from
Link instances; I think there's a bug there related to a trailing
slash in the request. I noticed it because with a trailing slash,
relative URLs to assets are often br
Thanks for your response. I actually already did this. What I wanted to
get away from was passing the request object around so much. I should
be able to say new User() without having to worry about getting a
reference to the request. I guess I should have included that in my
initial email.
T
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
Have you looked at the example
org.apache.tapestry.integration.app1.pages.
FormInjectorDemo
in the latest Tapestry 5 distribution.
SubmitNotifier combines with FormInjector is
awesome!
The following wiki on how to look up examples in the
source coce is useful.
http://wiki.apache.org/tapestry/
It sounds like a reasonable way to approach things. Personally, I use Acegi
for security, but it doesn't address your particular use case. It would be
an interesting feature to add.
I noticed that Josh Canfield just replied. If that solves your problem,
great.
I found it difficult initially un
I am actually doing stuff like that inside the component already. The
problem is that my main component is generic, so I can't include it directly
in the template.
i.e. I have:
base component: ManageEntity
child component: ManageApplications extends ManageEntity
ManageApplications doesn't add an
Perhaps you'd want to use
http://tapestry.apache.org/tapestry4.1/components/scriptaculous/suggest.html
which is exactly the same component as the 'old' tacos autocompleter
On Fri, Apr 4, 2008 at 7:44 AM, Sumanth Dupuguntla
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm working on migration of tapes
Take another look at Dispatcher 2. It takes an ApplicationStateManager
as a parameter to the constructor. Add your RequestGlobals to the
constructor in the same way. Tapestry will wire up the configured
object.
public SingletonAccessControllerImpl(ApplicationStateManager
asm, RequestGlobal
Thank you for this post, although I just spent 2 hours scratching my head on
this because I was having the error:
ERROR (RequestExceptionHandler:45 ) - Processing of request failed with
uncaught exception: Namespace prefix for URI 'http://www.w3.org/1999/xhtml'
is not defined.
java.lang.RuntimeE
Hi!
I now found this:
https://issues.apache.org/jira/browse/TAPESTRY-1450
Didn't only I found this problem :(
Best regards,
Stef
> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Fri, 28 Mar 2008 13:50:12 -0800
> To: users@tapestry.apache.org
> Subject: Re: T4.1.5: Fill the autocomp
The code I uploaded was there to illustrate. I stepped through with a
debugger to find that those instance variables are null once I am inside
any method. I figured that I was doing something wrong so I didn't want
to confuse matters and put references to the objects in the sample.
Thanks for th
This is not the case.
T4 had the $content$ and $remove$ directives. These are useful
features that have not yet made it into Tapestry 5.
On Wed, Apr 2, 2008 at 3:49 AM, Julien HENRY <[EMAIL PROTECTED]> wrote:
> Hi Onno,
>
> You don't need to do anything else. Everything outside of
>
>
>
This was fixed recently:
https://issues.apache.org/jira/browse/TAPESTRY-2261
On Fri, Apr 4, 2008 at 2:55 AM, Adriaan Joubert <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I had an issue with triggering a form fragment with a radio button. I
> came up with the following solution, and thought I'd share a
That is really, really odd. A stack trace (and the exact version of
Tapestry you are using) would be helpful.ß
On Fri, Apr 4, 2008 at 3:06 AM, Stephane Decleire
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> When i try to show a list of my objects in a grid, i get the following
> error :
> "Could not
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
Hi everybody,
I'm basically starting to learn T5 all over again. I'm trying to
implement an AccessController based on Chris Lewis' articles and have hit a
roadblock.
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher Dispatcher1
http://wiki.apache.org/tapestry/Tapestry5HowToCrea
No... you can't extend the template file, at least not yet that I've heard of.
You may be able to consider instead of extending the component you
could create a container for it that passes the block as a parameter,
along with whatever other configuration.
Parent template:
default stuff
in
On Thu, Apr 3, 2008 at 5:28 AM, Andy Blower <[EMAIL PROTECTED]> wrote:
>
> I have encountered a similar issue, and the use of onPrepare() doesn't make
> sense to me. Surely there's no point persisting any fields and then
> resetting in onPrepare() is there? May as well just remove the @Persist.
>
>
I think this may work (as a workaround at least):
public class Start
{
private Integer _result;
public Integer getResult() {
return _result;
}
public void setResult(Integer result) {
_result = result;
}
Integer onPassivate() {
return _result;
}
Object
Thanks to Josh this problem has been solved. The culprit was how I
invoked the components. I was using
I should use
Thanks for all help! And a special thank to Josh!
--Alec
Davor Hrg wrote:
how is getRows declared in your page class ?
OK, thanks...
In my page, I have
The columns
You don't mention seeing javascript errors in IE, are there any when
you load the page and nothing displays?
If there is a syntax error in your javascript (so that IE can't parse
it) then the whole script block is ignored.
One debugging technique that I use is to view the source of the
misbehavin
Hi,
Lately I use T5's IOC in a console application, it really makes programming
easier, I can focus more on the classes, not worrying that I have to take
care of more classes as IOC automatically handles the dependency issues. It
seems to me that IOC's job in a console app is purely the dependen
I have a parent component Base and a component Child which extends Base. If
I want Child to use Base's template, I cannot include a template file for
Child. However, I am interested in overriding just one block of Base's
template with Child and I was wondering if there is anyway to do this.
Thanks
Hi all,
When i try to show a list of my objects in a grid, i get the following
error :
"Could not find a coercion from type
org.hibernate.collection.PersistentSet to type com.mycompany.MyType"
Here is my component code :
public class UserAdsList {
@Parameter(required = true)
private L
Hi,
I had an issue with triggering a form fragment with a radio button. I
came up with the following solution, and thought I'd share and ask for
comments - perhaps it is possible to come up with something that can
be included in Tapestry.
The .tml looks as follows:
Thank you. Finally I found the reason for some strange errors I encountered
(components not updating after AJAX :) ... Btw, I need to close the IMG
tags, otherwise it doesn't work.
Igor Drobiazko wrote:
>
> The ajax response is XHTML. Since your template is rendered to create the
> response, i
Hi josh,
I've checked again the html generated by IE7 and it's exactly the same
of the code generated by ff (I make a mistake because I delete a CR sorry!
:( )
and this is what I see
i use CSS to set the VISUAL size of my input fields :)
g,
kris
Andy Huhn <[EMAIL PROTECTED]>
04.04.2008 11:03
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Thema
RE: [T5]: Default TextField size?
Hi Kris,
Thanks for the response. Yes, I knew about the annotation, an
Hi Kris,
Thanks for the response. Yes, I knew about the annotation, and that's a
handy feature...but I'm looking for a setting I can set once that will
affect the default width used for all textfields. If I don't use the
@Width annotation, all of my text boxes are rendered pretty small...and
I d
hi all,
we are migrating from tapestry 4.0.2 to 4.1.5
while migrating we are using @EventListener annotation instead of
@AjaxEventSubmit,
we were passing parameter to @AjaxEventSubmit in 4.0.2,
and in @EventListener annotation we want to pass the same parameter.
I tried setting the parameter throu
you can annotate your property with a @Width annotation containing
the length it is interpreted when using a BeanEditor... i think it is
also
used when a page property is passed in (eg. a String with a @Width
annotation)
Page {
@Width(100)
@Property
private String s;
}
g,kris
Can anyone tell me how to work with dateField, how to change styles,
I am trying to change date format but it doesn't changes, and again it
doesn't work in Internet Explorer
Thanks in advance
On Thu, Apr 3, 2008 at 4:34 PM, Natia Gdzelishvili <[EMAIL PROTECTED]>
wrote:
> hi,
> I have a problem
Hello,
Is there a way to configure the default size parameter that will be
generated for TextFields?
Thanks,
Andy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Many many thanks for your quick response!
Yes we are using 5.0.10 so I'm going to try the latest release just now
then I let you know.
Bye
-Rick
joshcanfield wrote:
>
> The problem is that IE doesn't see javascript on the same line as the
> opening html comment. What version of tapestry are
39 matches
Mail list logo