Thanks!
On Sun, Apr 21, 2013 at 9:34 AM, Taha Siddiqi wrote:
> You can't use property expressions with component parameters
>
> You should try
>
>
>
>
> regards
> Taha
>
> On Apr 21, 2013, at 6:56 PM, Todd Orr wrote:
Why does this throw an exception?
${title}
Removing the second block delegate attempt works, but obviously doesn't
display the content. This fails the test of least surprise.
I've been playing with the alerts component and while I love the idea in
general, it is not obvious how to extend it. For example, when using
transient messages it just pops up and the pops out when it's done. I'd
like to override this and add in a nice slide-in/out behavior. I've tried
setting the
Great job! Been looking forward to this for a while. However, I've added
the dependency and now app won't start:
14:51:34.928 [main] INFO RegistryBuilder RegistryBuilder - Adding module
definition for class org.chenillekit.tapestry.core.ChenilleKitCoreModule
2011-12-27 14:51:34.932:WARN::failed
due to the CSS not
looking quite "right", but that appears to be the case. I've updated my
project to demonstrate the issue.
On Wed, Jun 15, 2011 at 2:59 PM, Todd Orr wrote:
> The pipeline seems to be created as expected...Perhaps there's something
> else going on...Yes
wrote:
> This kind of thing is easier in Tapestry 5.3.
>
> On Wed, Jun 15, 2011 at 8:10 AM, Todd Orr wrote:
> > I am trying to integrate LessCSS into T5 as a request filter. I have an
> > admittedly naive implementation on GitHub (
> > https://github.com/redijedi/tapes
I am trying to integrate LessCSS into T5 as a request filter. I have an
admittedly naive implementation on GitHub (
https://github.com/redijedi/tapestry-less). It works, kind of. There is a
test app that can be run via maven (mvn clean jetty:run). Hitting
http://localhost:8080/ will cause a stack t
es) that contribute to TypeCoercer with no issues, as well, so it
> definitely looks app-specific.
>
> One thing does come to mind, though. In your web.xml, what is the value of
> "filter-name" (in the filter-mapping element)?
>
> Robert
>
> On Aug 20, 2010, at 8/20
It appears that since upgrading from 5.1 to 5.2 Tapestry completely
ignores my AppModule altogether. The only thing that has changed is
the Tap version. Has anyone experienced this?
On Fri, Aug 20, 2010 at 9:31 AM, Todd Orr wrote:
> This used to work in 5.1.05:
>
> public st
This used to work in 5.1.05:
public static void contributeTypeCoercer(Configuration
configuration) {
configuration.add(new CoercionTuple(String.class,
Class.class, new Coercion() {
@Override
public Class coerce(String input)
Raising this one from the dead.
I've followed all these instructions on the 5.2 alpha and I can't get
anything to work. The primary issue is that Tapestry appears to have
no knowledge of any of the security services. I receive this error in
the browser on load:
Exception assembling root component
It's less
> than ideal, perhaps, but it works.
>
> Cheers,
>
> Robert
>
> On Jun 29, 2010, at 6/294:06 PM , Todd Orr wrote:
>
> > Does anyone know if it is it possible to relocate the p:addrow to
> somewhere
> > outside of the loop? It is currently very
Does anyone know if it is it possible to relocate the p:addrow to somewhere
outside of the loop? It is currently very limiting to be stuck inside a
table, for example. I have a requirement to have the addrow below the table.
Furthermore I need it to also appear above the table. Both of these seem
i
dex page - the index page treats
> everything as the context for the Index page if the string doesn't map
> to any other page.
>
> Kalle
>
>
> On Mon, Jun 7, 2010 at 9:43 AM, Todd Orr wrote:
> > I've setup a custom 404 page according
I've setup a custom 404 page according to
http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryForCustomErrorPages.
However, whenever I navigate to a URL that does not exist Tapestry simply
renders the index page for that directory or a directory above if none
exists in that directory. How do y
o dao, @Inject
PasswordEncoder encoder,
@Inject SaltSource salt) {
return new UserDetailsServiceImpl(dao, encoder, salt);
}
On Thu, May 27, 2010 at 1:53 PM, Michael Gerzabek
wrote:
> Just for the records. What did you change now?
>
> Am 27/05/2010 19:48, schrieb Todd Orr:
>
> I change
I changed the code so that these are injected and now it works. I cannot
describe how angry this makes me. Days wasted.
Thanks for you help though!!!
On Thu, May 27, 2010 at 1:37 PM, Todd Orr wrote:
> My UserDetailsService is managed by Spring and as such I can't inject the
>
PasswordEncoder prior to using it.
>
> Which Am 27/05/2010 19:20, schrieb Todd Orr:
>
> I've tried that way as well. It doesn't work either and I assume it's for
>> the same reason, though I cannot tell in that case because the exception
>> doe
at 12:54 PM, Michael Gerzabek wrote:
> Why do you try to do the work of Spring Security? Please follow the sample
> in [1]. There's no need to check the credentials on your own. You just need
> to provide your implementation of UserDetails.
>
> [1] http://www.localhost.nu/sv
I am trying to integrate spring security into my Tapestry application and am
unable to get the TSS module to work correctly. I've created a login page
and am attempting to perform the authentication manually so that I can use
tap for the fields etc. I have a login page with the j_username, etc. als
ding
> the same session id in your links...
>
> Josh
>
> On Sun, May 18, 2008 at 2:23 PM, Todd Orr <[EMAIL PROTECTED]> wrote:
>> I'm probably overlooking something trivial. I have a form that
>> populates a result list that is session persistent. I view this page
Thanks. That sounds like a clean solution. I'm surprised this isn't
factored into the grid as my case is common I'm sure.
On Tue, May 20, 2008 at 10:30 AM, Thiago HP <[EMAIL PROTECTED]> wrote:
> On 5/19/08, Todd Orr <[EMAIL PROTECTED]> wrote:
>> I have a Fo
I have a Form and a Grid on my search page. The Form's success handler
populates a List results variable using an expensive query that I'd
like to not run on every Grid page navigation. To prevent unnecessary
query hits I use the @Persist annotation on the results var. The
getResults method is used
I'm probably overlooking something trivial. I have a form that
populates a result list that is session persistent. I view this page
in Firefox and I see my results. What's strange is that if I navigate
to the page with IE I see the same results. Does the grid store its
data in the application scope
few moons back:
> https://issues.apache.org/jira/browse/TAPESTRY-1662
>
> The other JIRA (1805) is more concerned with symmetry
> of the render events called before & after.
>
> Certainly a bit more work needs to be done there.
>
> Cheers,
> Nick.
>
>
> To
I'm receiving this same type of exception message when attempting to
alter the SetupRender phase result of the component I'm applying my
mixin to. Is this expected behavior? It seems that a lack of the
ability to override the components' or mixins' phases is a limiting
factor for mixins' usefulness
I wish I had figured it out. As it stands it looks to be quite
impossible to capture the content of a component. I'm beginning to
think that components are woefully insufficient in anything but
trivial examples. More complicated examples like the beanform, or grid
are vastly more complex than they
.
>
> It's a bit easier to get the renderered HTML after a component has rendered.
>
> On 9/11/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> >
> > I've been pulling my hair out over this problem. How do simply get the
> > content of a component?
> >
I've been pulling my hair out over this problem. How do simply get the
content of a component?
usage given:
Some content
I have found that it's quite impossible to get the content into a
variable from within the component events.
Any ideas?
---
t doesn't mean
> it's the best way.
>
> Davor Hrg
>
> On 8/22/07, Francois Armand <[EMAIL PROTECTED]> wrote:
> >
> > Hello Todd,
> >
> > Todd Orr wrote:
> > > I'm also trying to perform this type of recursive structure. I don
ion, In my humble opinion this would provide the
> flexibility you are alluding to. Property binding with components is
> great... Tapestry can cover most situations, but for anything outside
> the norm you need to go back to the most basic programming constructs,
> which is missing in
example. And I had to discover that
> >>> it is true:
> >>>
> >>> org.apache.tapestry.ioc.internal.util.TapestryException
> >>> The template for component example.recursive.components.Node is
> >>> recursive (contains another direct or in
I'm also trying to perform this type of recursive structure. I don't
agree that this makes anything simpler. Recursion is a powerful and
concise tool for these situations. I will say that it is often abused,
but this is a perfect use case. A recursive solution to this problem
is far simpler and may
Thanks for the info. I'll add that to my component. However, it seems
odd that a simple conversion from Long to String isn't built in. It
seems to me that such standard conversions should be part of the
framework.
On 8/14/07, Christian Koeberl <[EMAIL PROTECTED]> wrote:
> Tapestry just supports a
I've suddenly run into what seems to be a bug that appears when I pass
an integer to a custom component that itself contains a radiogroup
that uses the inherit:value as its own value. For some reason it will
only take a string. If the value is an int, for example, it throws the
exception below. I f
ic versions or specific issues
> that you have faced don't really help anyone.
>
> On 8/9/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> > We've run into this problem on a production system. It was a not a
> > good situation. One of our developers narrowed down the is
We've run into this problem on a production system. It was a not a
good situation. One of our developers narrowed down the issue to
Hivemind. There is some Map that continually grows and grows (I can
speak to our dev to get more detail). After some research into similar
posts it became evident that
there too.
On 8/1/07, Francois Armand <[EMAIL PROTECTED]> wrote:
> Todd Orr wrote:
> > [...] This is where I
> > found Environment to be deficient. It seems that no matter what
> > combination of phases of rendering I use I cannot get the data back to
> > the ta
>
> TabGroup.java:
> ...
> @Component
> private TabPanel step1;
>
> I realize this is not quite what you want, but I hope it helps.
>
> Cheers,
> Nick.
>
>
> Todd Orr wrote:
> > I absolutely agree that the components should have as loose c
sh the FormSupport environmental as the components it encloses invoke
> their submit callbacks).
>
> On 7/31/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> >
> > I've been running my debugger to try to determine what is available to
> > the components at various points dur
ry useful to be able to traverse the
component graph at some point, maybe even before rendering, to setup
any objects that might require cooperation.
Maybe something already exists and I'm missing it. If so, please fill me in.
On 7/30/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> BTW
BTW _resources.getComponentModel().getEmbeddedComponentIds() would be
really really useful if it didn't return an empty list every time
during my testing. Is there any way for a component to know what it
contains?
On 7/30/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> I've found o
I've found out how to pass data between components so long as it's
downstream. Is there a way to pass data from a component (B) that is
physically below another component (A) to component A?
I've found that performing any data passing (per situation above)
during the RenderSetup, etc. methods usin
t; You can read this link
> > http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html
> > or this link (in chinese)
> > http://www.javaeye.com/article/78348
> >
> > Maybe you can get some idea
> >
> > 2007/7/24, Todd Orr <[EMAIL PROTECTED]>:
&g
ROTECTED]> wrote:
You can read this link
http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html
or this link (in chinese)
http://www.javaeye.com/article/78348
Maybe you can get some idea
2007/7/24, Todd Orr <[EMAIL PROTECTED]>:
> Ugh. I created a small test project an
ns out fine in the HTML:
And I can view the image in the browser at:
http://localhost:8080/myapp/assets/jp/co/key_planning/myapp/tapestry/components/check_checked.gif
Cheers,
Nick.
Todd Orr wrote:
>> From what I see in the GridColumns code, I've coded this correctly.
> I
From what I see in the GridColumns code, I've coded this correctly.
I'm still confused about why this works for a core component but not a
custom component. Unless anyone has any insight I'll create a Jira
item.
On 7/20/07, Todd Orr <[EMAIL PROTECTED]> wrote:
Tap 5.0.5
Tap 5.0.5.
I'm having trouble loading an asset from the classpath. Everywhere
I've looked I see that it should be dead simple. However, when I
attempt to view the image directly in the browser (firefox) I get:
The image
"http://localhost:8080/testapp/assets/com/test/testapp/web/components/slide
Thanks! These both work, sort of. The renderSupport puts the script
tag in the body tag (5.0.5). So, its not a huge improvement. While the
more manual solution of adding the element works well enough, neither
of these solutions easily allow arbitrary blocks to be inserted. I
think this would be th
Is there any way to inject a script tag (via a block) defined in a
nested component into the page's head section? I'm trying to create a
component that utilizes some specific js, but I find that including
the js at the point in the page where the component is rendered hacky.
I think that this wou
eat it.
On 6/28/07, Joshua Jackson <[EMAIL PROTECTED]> wrote:
On 6/28/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> Transactions declared in the Web tier? Oy vey. What's next, Tapestry-SOAP???
Come on. Don't be shortsighted. I managed to add a service layer and
bind it in the
Regarding the original poster's statements:
I think that Tapestry is so great because it does the job of an MVC
really well. I hope that it doesn't become a "full stack" solution. I
think it would be more beneficial to the community to ensure that
Tapestry's focus is the MVC.
Additional function
ccess the second field.
I know the id of the second field (in theory), all I need to know is how to
obtain access to the other field (apart from cheating my way out by
accessing the httprequest I suppose).
Regards,
Martin
On 6/13/07, Todd Orr <[EMAIL PROTECTED]> wrote:
>
> I have crea
it.
This was easy enough. I suppose this is the correct way.
On 6/12/07, Todd Orr <[EMAIL PROTECTED]> wrote:
How would one create two components that function by one passing the
results of some form processing to another?
My use case is this: I have a reusable SearchForm component. This
com
How would one create two components that function by one passing the
results of some form processing to another?
My use case is this: I have a reusable SearchForm component. This
component is little more than a form that takes the search parameter
and executes the search using the OnEvent annota
I don't personally use Hibernate annotations, I prefer the XML syntax.
However, I had to comment that your post has some truth in it and it
runs contrary to your very same post: "Data outlasts programs". Odds
are you'll abandon your program before your schema changes in a
significant way. So, if y
Realistically, the context is not always known during development.
Business folk could easily come back after the entire QA cycle and say
that it needs to be changed for marketing reasons. This would require
a code change that may force an entire round of QA again. There should
be some way to refe
Search Text
On 3/3/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> 1. start jboss or tomcat
> 2. deploy war (using mvn tomcat:deploy, for example)
> 3. attempt to resolve url
> 4. OOME
>
> Seems to b
that is included in
the project is trouble.
Is there some specific information I could provide that would be more
useful? Is the exception not reproducible?
On 3/4/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
That's nice but please identify what led up to the OOME.
On 3/3/07, Todd
It seems that even a simple component causes an OutOfMemoryError
exception to be thrown. This happens with both JBoss4.0.4GA and Tomcat
5.5.
I've attached a simple sample project.
memorytest.tar.gz
Description: GNU Zip compressed data
Also note that my app is otherwise unremarkable. I'm not integrating
anything exotic. I have been only creating some components and
familiarizing myself with T5.
On 3/3/07, Todd Orr <[EMAIL PROTECTED]> wrote:
Also, I am using the mvn true
setting. As well as the true config setting.
Also, I am using the mvn true
setting. As well as the true config setting.
On 3/3/07, Todd Orr <[EMAIL PROTECTED]> wrote:
What I exactly did:
1. code
2. mvn jboss:undeploy clean package jboss:deploy (no current
deployment, I just do this so I only have to press up arrow
subsequen
3/2/07, Todd Orr <[EMAIL PROTECTED]> wrote:
> My problem happens after an exception occurs. Firstly, my tapestry
> example deploys fine. If any exception occurs I make the appropriate
> changes and then redeploy to jboss. Then I get the following error
> when trying to resolve
My problem happens after an exception occurs. Firstly, my tapestry
example deploys fine. If any exception occurs I make the appropriate
changes and then redeploy to jboss. Then I get the following error
when trying to resolve a page.
stack trace:
20:15:29,077 ERROR [ExceptionReport] Render queue
crap. Just saw the previous post. My filter was hiding it from me.
1000 apologies.
On 2/27/07, Todd Orr <[EMAIL PROTECTED]> wrote:
What will be the way in which we specify to tapestry which portions of
a page are rendered and which will be provided by a component?
I've tried $c
What will be the way in which we specify to tapestry which portions of
a page are rendered and which will be provided by a component?
I've tried $content$ and $remove$, but it seems that they have yet to
be implemented. Given T5's schema oriented approach I suspect they
will be supplanted with so
Reversing the radio and the label still causes this exception.
On 10/25/06, James Carman <[EMAIL PROTECTED]> wrote:
I don't think it matters where you define it within the HTML. Quite often,
the field label will come before the field it labels. I've never had to
resort to a .page/.jwc file in
I've tried the jwc approach with no luck.
JWC:
HTML:
TITLE
TEST
ield
expects an object of type IFormcomponent.
(Please see
http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/FieldLabel.html)
It looks as though the Java class for the Radio
component is not of type IFormcomponent.
Shing
--- Todd Orr <[EMAIL PROTECTED]> wrote:
> Okay, new
type converter for type
org.apache.tapestry.form.IFormComponent is available." but should I
need to create a TypeConverter for a built in Tapestry component?
Thanks
On 10/23/06, Todd Orr <[EMAIL PROTECTED]> wrote:
nevermind, im an ass
On 10/23/06, Todd Orr <[EMAIL PROTECTED]> wrote
nevermind, im an ass
On 10/23/06, Todd Orr <[EMAIL PROTECTED]> wrote:
I'm having trouble getting the radiogroup component to handle a nested
For component. The following is nested within a For
I'm having trouble getting the radiogroup component to handle a nested
For component. The following is nested within a Form component:
The form allows the user to choose one of a number of pre
i Todd,
It is really strange.. maybe you can give your source so we all
can take a look at it..
Gunna
Todd Orr <[EMAIL PROTECTED]> wrote: To add to the confusion, there is a
TextArea called description that
has an analog in the Bar object called description. It is a String
just like
To add to the confusion, there is a TextArea called description that
has an analog in the Bar object called description. It is a String
just like id and name, however it does get set on form submission. I
think this is a bug. Has anyone experienced something as strange?
On 6/25/06, Todd Orr
BTW, this also happens for new Bar creation. Both id (expected) and
name (unexpected) are null.
On 6/25/06, Todd Orr <[EMAIL PROTECTED]> wrote:
I have an object with properties id and name. I have a form that
displays editable inputs for the object's name property. This page
I have an object with properties id and name. I have a form that
displays editable inputs for the object's name property. This page
implements PageBeginRenderListener. I have the following set/get
methods:
@InitialValue("ognl:new com.foo.Bar()")
public abstract Bar getBar();
public abstract void
k with Spring as much as you can.
I am doing the same thing and this is exactly where I got stalled right
now, due to time-issues. Hope I'll get back into this soon to try it.
MARK
Todd Orr wrote:
> I have a DAO layer that attempts to hide the implementation details
> from its caller (p
I have a DAO layer that attempts to hide the implementation details
from its caller (per dao definition). This is managed by Spring and
objects are pulled out in my tap pages using the tapestry-spring lib.
This works well at face value. The issue is the infamous lazy-loading
of detached objects pr
I have the same need to add a span in the label. Did you ever come up
with a complete solution to this?
On 6/1/06, mraible <[EMAIL PROTECTED]> wrote:
My issue isn't with label, it's with the inputs. I have the following in my
custom ValidationDelegate:
public void writeAttributes(IMarkupW
Yet, not all of Tapestry's components produce compliant xhtml, so you
may be wasting your time going through these measures.
On 5/29/06, Paul Cantrell <[EMAIL PROTECTED]> wrote:
Right. And just to be clear: the ".xhtml" is not necessary for XHTML,
not just for Tapestry, but in *any* content -- a
Until it gets more mature let's concentrate on Tapestry
Maturity is often pushed by the early adopters. Otherwise things tend
to get abandoned. Would Tap4 be as good as it is if no one used it
until it came out of beta?
On 5/23/06, Norbert Sándor <[EMAIL PROTECTED]> wrote:
GWT is really a cool
Applets is what we really need :).
Applets are evil. Even flash is a more compelling client side platform
than applets. I've never seen an applet that didn't make me want to
vomit. XUL is better in many respects to both Flash and Applets thanks
to a clean declarative model, but has the lowest po
This isn't really a Tapestry vs GWT thing. This is the latest
(greatest?) push to remove the application-web disconnect. If this
means that other frameworks are rendered less effective by comparison,
then so be it. This is evolution at work.
Some posts seem to indicate that this is just some flas
The more I use the GWT, the more impressed I am. This could be the
killer framework java has needed. The ease of use and more traditional
GUI programming model approach plus the power of the resulting
components is a real winner. It will be interesting to see what T5 has
in store, but I've yet to
Many have made the claim, but this may actually be the best thing
since sliced bread. I think the compiler is under the apache license
(http://code.google.com/webtoolkit/download.html). It seems (I'm no
lawyer) that the apps you create are free for commercial,
non-commercial, etc. use.
On 5/17/06
"Bred for their skills & magic..."
LOL
On 5/15/06, Ashton Hepburn <[EMAIL PROTECTED]> wrote:
In keeping with an animal theme - How about a Liger?
http://www.liloia.com/images/liger.jpg
Bred for their skills & magic...
Tapestry/Hivemind : Lion/Tiger
All the enhancement is also somewhat 'magi
"Simply saying you don't like it without providing a better alternative
iswell no need for me to finish that sentence."
Not everybody is an artist, but everybody knows what they don't like.
On 5/15/06, Wayland Chan <[EMAIL PROTECTED]> wrote:
"Constructive criticism"
Simply saying you don't
I hate to say it, but unicorns have a wimpy connotation. It conjures
up images of 5 year olds' rooms with posters of rainbows and mythical
creatures adorning the walls. I don't mean to offend those of you that
had those on your walls growing up. If you still have them on your
walls, perhaps some o
I hope this wasn't really chosen just so Tapestry can have a unicorn
on its O'Reilly book.
On 5/15/06, Gentry, Michael (Contractor) <[EMAIL PROTECTED]> wrote:
http://www.objectstyle.org/cayenne/images/cayenne_logo.gif
OK, so it doesn't have a bowl and it is a different type of pepper, but
we we
I know there is going to be a simple answer, but I've been pulling my
hair out for a day now. I have an object Class that has a property
Teacher. I have a page that allows you to edit the class details. On
this page there is a drop down of teachers. The drop down is created
using a custom Teachers
Nevermind. Look slike it does do this:
sourcelabs
http://dist.sourcelabs.com/sash/repo
sweet!
On 5/10/06, Todd Orr <[EMAIL PROTECTED]> wrote:
This looks useful. It would be nice if it could plug directly into
maven, though.
Considering that it is a good search to
This looks useful. It would be nice if it could plug directly into
maven, though.
Considering that it is a good search tool for dependencies, maybe you
could provide a url path (/repository ?) that emulates a maven repo.
Subsequest portions of the path could be converted to search terms.
These se
92 matches
Mail list logo