Hi Peter,
I'm not following the release schedule so I can't say, and I've finished up
with that project now so will be moving on to other things.
Best of luck,
Levi
--
View this message in context:
http://n2.nabble.com/5-0-1-8-Download-tp4832734p4915245.html
Sent from the Tapestry Users maili
Thank you Ulrich. That's what I was looking for. :)
--
View this message in context:
http://n2.nabble.com/5-0-1-8-Download-tp4832734p4838183.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
-
To unsubscri
Thanks Kalle, but I still only see 5.1.0.5 there...
--
View this message in context:
http://n2.nabble.com/5-0-1-8-Download-tp4832734p4833317.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
-
To unsubscrib
Hi all,
It would seem that I'm experiencing some bugs in 5.1.0.5 which have been
fixed in 5.1.0.8, but I can't seem to find a download link for the 5.1.0.8
jars (and I don't use Maven). Anyone know how to get these (or can explain
to a non-maven user how to simply get the updated binaries from m
Thanks all for your help and suggestions. I have it solved... there are two
cases where I needed to return an error code:
1) From a page.
2) From an injected dispatcher's public boolean dispatch(...) method
I've learned that:
1) Returning an error code to the client browser from a page is not
Hi all,
I'm trying to understand how to send a specific HTTP error code to the
client in the response, and I'm running into a bit of a snag.
I thought it would be as simple as:
@Inject RequestGlobals requestGlobals;
HttpServletResponse httpResponse = requestGlobals.getHTTPServletResponse();
htt
Trial and error have yielded:
quantity-integer-message
as the appropriate key.
Thanks for your time.
Levi
xfile80303 wrote:
>
> Thanks Igor,
>
> I've tried that, and it still doesn't seem to get picked up.
>
> I also tried:
>
> quantity-integer-format-e
Thanks Igor,
I've tried that, and it still doesn't seem to get picked up.
I also tried:
quantity-integer-format-exception-message
with no luck.
Yet my other messages are getting picked up, like:
quantity-min-message = Please enter a foo positive number.
Any other thoughts?
Levi
Igor Drob
Hi all,
I'm trying to override the default validation message for a textfield with a
min and max validator set:
and I've not been able to find the property key to use to override the error
message which is displayed when a user enters a non-number.
I have found the message defined in Validati
;>
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
> xmlns="http://www.w3.org/1999/xhtml";
> xml:lang="en"
> lang="en">
>
> Experiment Home
>
>
>
> visible="${errorVisible}"
toValue(clientValue);
>
> Makes me think that you aren't getting an encoder?
>
> Can you provide a simple and complete example that breaks?
> Josh
>
> On Fri, Oct 2, 2009 at 4:50 PM, xfile80303 wrote:
>>
>> Okay, I have some more information...
>>
>&
really appreciate some help understanding why this is broken.
Thanks,
Levi
xfile80303 wrote:
>
> Hello all,
>
> I'm seing some interesting behavior I hope you can help me sort out.
>
> I have a form which I would like to display an error message (custom)
> should the
Hi all,
Please beware of the "Assets in Templates" section of the asset
documentation:
http://tapestry.apache.org/tapestry5.1/guide/assets.html
As it describes:
asset:context:image/tapestry_banner.gif
and
context:image/tapestry_banner.gif
as the proper way to reference context based assets
Hello all,
I'm seing some interesting behavior I hope you can help me sort out.
I have a form which I would like to display an error message (custom) should
the form validation fail. I'd like to do this via AJAX since the contents
of the form are created via AJAX and refreshing the page to disp
le.
>
> I eventually gave up and just created a separate page with the content
> and do an HTTP request to grab the rendered content...
>
> Good Luck!
> Josh
>
>
> On Wed, Sep 16, 2009 at 8:35 AM, xfile80303 wrote:
>>
>> Hi Thiago,
>>
>> Yes, I'
e page initially renders without
complaint... it is only when it is trying to render the page for the
PageDocumentGenerator that it has these mysterious issues, which makes me
think something's not working correctly with the PageDocumentGenerator
service.
Cheers,
Levi
Thiago H. de Paula Fig
Hello all,
My ultimate goal is to have a portion of a page render into a string so I
can email this rendered HTML. In trying to do this, I decided the best
(only?) approach is to use the PageDocumentGenerator in the onSuccess method
of the page form (the form is used to capture the email address
linksubmit0, mylinksubmit1, mylinksubmit2, etc. Will the
onSelectedFromMyLinkSubmit() handler get called?
Cheers,
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Thu, 10 Sep 2009 18:26:18 -0300, xfile80303
> escreveu:
>
>> purpose... is there no way to identify the event hand
Hi all,
Forgive me, please, I'm feeling a bit slow and for the life of me am
struggling with what I think should be a trivial concept...
Please consider this simple example...
Let's say there's a list of products, and one wants to loop over those
products, displaying them as line items in a for
That service should then be able to
> provide these objects and, if given them in serialized form and re-
> constitute them appropriately. Maybe you can give an example, so we
> can better understand what you're trying to do?
>
> Christian.
>
> On Aug 20, 2009, a
Hi all,
I have some Objects which I need to Serialize (java.io.Serailizable) and
these objects are normally instantiated and initialized by Tapestry's IoC
mechanism, such that services are injected into the constructor, etc. The
services themselves are not Serialzable (and would not make sense i
; Tapestry.FORM_PROCESS_SUBMIT_EVENT for forms having
> form.preventsubmission = true. This property is set when a form is
> hooked up to a zone by Tapestry.Initializer.linkZone(). (This is also
> where the Prototype observer for Tapestry.FORM_PROCESS_SUBMIT_EVENT is
> attached.)
>
This is exactly the same problem I am having as well.
Even with the form's zone attribute set, form.submit() still does not
trigger a form submission in which Request.isXHR() returns true.
I'd love to see an answer to this one.
Levi
Inge Solvoll wrote:
>
> Form component has a zone parameter
ibute specified, to be
submitted via javascript such that it gets submitted in a way that Tapestry
recognizes it as an AJAX submission?
Cheers,
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 17 Aug 2009 20:19:26 -0300, xfile80303
> escreveu:
>
>> Hi Thiago,
>
, at 16:40, Thiago H. de Paula Figueiredo (via Nabble)
wrote:
> Em Mon, 17 Aug 2009 19:25:54 -0300, xfile80303
> escreveu:
>
>> Can you suggest how I should activate the ajax refresh when the user
>> clicks on one of the radio buttons?
>
> Please check first Request.isXHR()
ers will pick it up.
>
> You should vote for the JIRA!
>
> On Wed, Aug 5, 2009 at 9:07 PM, xfile80303 <[hidden email]> wrote:
>
> >
> > Hi all,
> >
> > I just wanted to take a moment and shine some light onto the
> "ZoneUpdater"
> > mi
Can you suggest how I should activate the ajax refresh when the user clicks
on one of the radio buttons?
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 17 Aug 2009 19:10:01 -0300, xfile80303
> escreveu:
>
>> Hi Thiago!
>
> Hi!
>
>> Yes, I
nks,
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 17 Aug 2009 18:23:40 -0300, xfile80303
> escreveu:
>
>> Hi all,
>
> Hi!
>
>> I'm trying to update two zones using the MultiZoneUpdate return type
>> from my onSuccessFrom method, but Tapestr
Hi all,
I'm trying to update two zones using the MultiZoneUpdate return type from my
onSuccessFrom method, but Tapestry gives me an error saying the return
type is not understood (see stack below).
I've read, and re-read the info on MultiZoneUpdate usage at
http://tapestry.apache.org/tapestry5.
Hi all,
I just wanted to take a moment and shine some light onto the "ZoneUpdater"
mixin which appears to have been originally authored by Inge Solvoll.
For those which are not familiar with it (it took some digging for me to
find it), it is a mixin which will allow one to have an AJAX update oc
It's not horrible for me, but there are two issues:
1) I miss out on the autobuilding that Tapestry can do, and have to pass
around parameters to initialize my User object whenever I need to create one
(such as services, etc.).
2) I want to avoid using new for my own classes to avoid classloader
okup
for application state objects... it simply goes by the class of the object.
So it sounds like I'll need to use the contributeApplicationStateManager for
my SSO object, and potentially Thiago's recommendation for my second
example.
I'll play with it tomorrow...
Levi
x
Thanks Thiago,
Your insight, as always, is appreciated.
Unfortunately there seems to be a snag...
In my page I have this:
@SessionState
private User ssUser;
In my Module I have this:
public static void bind(ServiceBinder binder)
{
//...
Hi all,
I've some lack of understanding about Tapestry IOC and creating new objects.
I understand the binding of service interfaces with service implementations
and the injection of these services where needed, and this is a great tool.
What I'm missing is a way to auto build or inject (or what
has a distinct Class instance.
>
> Create a different package for objects of this type; i.e.
> com.java.dse.cwp.eos.data.Tab.
>
> This is all documented
> http://tapestry.apache.org/tapestry5.1/guide/reload.html
>
> On Fri, Jul 10, 2009 at 3:16 PM, xfile80303 wrote:
>>
> component packet.
>
> On Sat, Jul 11, 2009 at 12:16 AM, xfile80303 wrote:
>>
>> The more I look at this the more it looks like a classloader issue. As
>> in,
>> my classes are being loaded by two different classloaders which do not
>> inherit from one-anothe
Words of wisdom, Thiago.
Thank you very much.
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Fri, 10 Jul 2009 16:47:27 -0300, xfile80303
> escreveu:
>
>> Hello all,
>
> Hi!
>
>> Could not find a coercion from type
>> com.java.dse.cwp.eos.c
The more I look at this the more it looks like a classloader issue. As in,
my classes are being loaded by two different classloaders which do not
inherit from one-another. Any bells ring for folks?
Levi
--
View this message in context:
http://n2.nabble.com/-T5.1--Coercion-Class-mismatch-error-
Hello all,
I'm seeing a very odd behavior I could really use some assistance with.
The base error I'm getting is:
Could not find a coercion from type
com.java.dse.cwp.eos.components.webdesign.objects.Tab to type
com.java.dse.cwp.eos.components.webdesign.objects.Tab.
Which is pretty odd, especi
Thanks Thiago!
That does work, but I'm a bit surprised this, seemingly common, usecase is
not supported natively by Tapestry.
Cheers,
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Wed, 20 May 2009 19:19:16 -0300, xfile80303
> escreveu:
>
>> Hi all,
>
>
Hi all,
I've a seemingly simple question which I've been struggling with, and
haven't found any documentation or discussion about it.
I simply want to create a dynamic set of radio buttons with labels, but I'm
not sure how to do it.
How do I bind the label to the radio button
On Mar 30, 2009, at 3/304:47 PM , xfile80303 wrote:
>
>> Is there a way to utilize this to only rewrite page render requests
>> and
>> not component or asset requests? I know it is pretty early on in the
>> request lifespan, but without this discrimination this
Hello all,
I've been developing locally on Tomcat, but will have to ultimately deploy onto
Glassfish .
My app works as expected while on Tomcat, but once deployed to Glassfish I get
an exception:
java.lang.RuntimeException: Exception constructing service 'TemplateParser':
Error invoking co
Hey Levi,
That's almost identical to what I need for my application. Sorry I missed your
post back in Feb, I had a two week holiday mid feb so I wasn't following. You
did this the same way as me by creating your own PageRenderDispatcher and
LinkFactory. My scenario is possibly a little more
On Mar 30, 2009, at 3/304:47 PM , xfile80303 wrote:
>
>> Is there a way to utilize this to only rewrite page render requests
>> and
>> not component or asset requests? I know it is pretty early on in the
>> request lifespan, but without this discrimination this
Just a suggestion: please quote the messages you're answering with >.
Without them, it's hard to figure out what's the answer and what's being
answered. ;)
Hi Thiago,
I'm just using nabble.com to access and post to this list and the quoting
features of nabble. Perhaps try viewing your e
Em Mon, 30 Mar 2009 19:47:31 -0300, xfile80303 escreveu:
> Okay this sounds like a plausible approach, but I'm confused about how I
> would identify the fact that my filter is being called to handle an
> incoming request (and remove the SITE) or a link generation request (
Em Mon, 30 Mar 2009 19:28:23 -0300, xfile80303 escreveu:
> http://myhost.com/SITE/page/params
>
> Where the only difference from normal Tapestry URL is the insertion of
> the SITE before the rest of the URI, such that SITE could be anything
> (like, "partner&qu
Em Mon, 30 Mar 2009 18:47:39 -0300, xfile80303 escreveu:
> http://n2.nabble.com/How-to-parse-and-map-URLs--tt2540788.html
Besides the .page suffix in the example (I guess it is just wront), simple
URL rewriting (i.e. changing a page name) shouldn't cause you troubles. If
I wasn&
Em Mon, 30 Mar 2009 18:21:14 -0300, xfile80303 escreveu:
> Hi Thiago, all,
Hi!
> Thanks for adding this feature.
:)
> Is there a way to utilize this to only rewrite page render requests and
> not component or asset requests? I know it is pretty early on in the
> reques
Hi Thiago, all,
Thanks for adding this feature.
Is there a way to utilize this to only rewrite page render requests and not
component or asset requests? I know it is pretty early on in the request
lifespan, but without this discrimination this feature is not nearly as useful
to me (and possi
Hi Howard,
Does Tapestry set any of these system properties:
javax.xml.stream.XMLEventFactory
javax.xml.stream.XMLInputFactory
javax.xml.stream.XMLOutputFactory
and if so, to what values?
Thanks,
Levi
Howard Lewis Ship wrote:
>
> 5.1 parses templates using the Woodstock STaX parser ... and
Thanks Alex. Are you using Tapestry 5.1?
Cheers,
Levi
akochnev wrote:
>
> I had tested my app on Glassfish v. 2 and v. 3 prelude and didn't have any
> issues.
>
> Cheers,
>
> Alex K
>
--
View this message in context:
http://n2.nabble.com/-T5.1--Running-on-Glassfish--tp2362542p2374812.h
Hello all,
I've been developing locally on Tomcat, but will have to ultimately deploy
onto https://glassfish.dev.java.net/ Glassfish .
My app works as expected while on Tomcat, but once deployed to Glassfish I
get an exception:
java.lang.RuntimeException: Exception constructing service 'Templa
Thanks Robert,
Yeah, that's been a common thread, and I think I have it (not the specific
implementation you mention, but close) figured out:
http://n2.nabble.com/-T5--URL-Manipulation-tp2276010p2344257.html
Cheers!
Levi
Robert Zeigler wrote:
>
> Not necessarily.
> If you intercept the requ
Hi Peter,
But, if I follow you correctly, there will still need to be a class, even if
empty, with the desired path as its package for every "site." I'm trying to
make the site a dynamic configuration which does not need the addition of
more pages.
Cheers,
Levi
Peter Stavrinides wrote:
>
>>
configuration,
ObjectLocator locator)
{
configuration.add(LinkFactory.class,
locator.proxy(LinkFactory.class,
SiteLinkFactory.class));
}
And, we make it past the recursion issue!
Thanks for your help, people.
Levi (on to the next exception... ;) )
Thank you Kris!
This seems to have done the trick.
Kristian Marinkovic wrote:
>
> you could also use the ObjectLocator service to create proxies within
> the alias contribution to prevent the recursion
>
> pblic void static contributeAliasOverrides(Configuration ,
> ObjectLocator locat
dAlias(Logger, String,
AliasManager, Collection) (at TapestryModule.java:315) for references to
another service that is itself dependent on service 'Alias'.
Thanks,
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Tue, 17 Feb 2009 21:57:36 -0300, xfile80303
> escreveu:
>
Hi all,
Short version:
I need to override an existing binding so I can insert my own
implementation, but I get a RuntimeException from Tapestry when I try to do
so.
How would I do this?
Long Version:
In my quest to do URL manipulation and insert "site" into the first element
of the URL, I hav
f none is
found/recognized).
This works. It's ugly, because I have to copy all the functionality of the
PageRenderDispatcher in order to do it, but at this point I'm just glad to
have it working.
So, I have a solution for reading/manipulating the incoming URL, but still
need one for manipula
Fernando Padilla wrote:
>
> Ok, here is an example.. hope it's legible. :) The meat of the code is
> the ContextFilterRequest below. If you create a normal J2EE filter that
> determines what part of the path to rip out, then if can do:
>
Thanks Fernando, I appreciate you taking the time.
-
Luther Baker wrote:
>
> From your perspective, how does 'site' differ from the application
> context?
>
> -Luther
>
Well, that's a great question, and may hilight my conceptual difficulties.
It is my understanding that the application context is really more of a page
context and does not pe
I know this was sort of a "tongue-in-cheek" comment, but how can I use
Tapestry to solve this dilemma?
Howard Lewis Ship wrote:
>
> Why would you use other filters or servlets when you have Tapestry? :-)
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
--
Vie
;
>>>> 2) If you want a subdirectory method:
>>>> http://host/context/typeA/
>>>> http://host/context/typeB/
>>>>
>>>> We do this easily by adding a normal J2EE Filter that detects the
>>>> "typeA"
>>
it was currently running under, it would
> look it up under a request attribute or some such ( or look it up
> through the contextPath ). If this could serve your purposes, I could
> share some code ( really small )..
>
>
>
> On 2/13/09 6:16 PM, xfile80303 wrote:
>>
Hello all,
I've been struggling to understand the concepts surrounding T5 and have
reached a pinnacle of frustration while trying to implement a (supposedly)
simple piece of functionality. I could very much use some guidance.
What I'm trying to do is have a piece of information specifiable on t
Howard Lewis Ship wrote:
>
> I've been doing some cleanup of some internal APIs lately with the
> goal to centralizing Tapestry's logic for generating and parsing
> component event and page render links. This will allow an application
> to override how that information is incorporated into the
Thanks for the confirmation Massimo. :)
I'll have to take a look at 5.1.
Cheers,
Levi
Massimo Lusetti wrote:
>
> On Fri, Feb 6, 2009 at 12:19 AM, Howard Lewis Ship
> wrote:
>
>> 5.1 is pretty stable right now and due to some concerns of my own (*),
>> I'll be pushing to release it fairly
st upgrade and receive the benefits.
>
> On Thu, Feb 5, 2009 at 12:28 PM, xfile80303 wrote:
>>
>> Thanks for the reply Howard.
>>
>> Is 5.1 at a state where I can start using it to develop a service which
>> will
>> go to production in a couple months?
>
u're interested, i.e.
>
>
>
> ^/app/category/product/([0-9]+)?venue=([a-z]+)&locale=([a-z]+)$
> /app/$2/$3/category/product/$1
>
>
>
> On Fri, Feb 6, 2009 at 12:14 AM, xfile80303 wrote:
>>
>> Hi Andreas,
>>
>> Oh, please
"nice" ones.
Does it?
Cheers,
Levi
Andreas Andreou-2 wrote:
>
> I'm really a T5 novice - what i was saying is that if you do find a
> way to have that
> info in the url (nomatter how, even as query params + i'm sure it's
> possible), you
> can use tha
t container to encode the url,
> urlrewrite will work for both generating urls (to output in html) and
> parsing
> them (incoming)
>
> On Thu, Feb 5, 2009 at 10:31 PM, xfile80303 wrote:
>>
>> Hi Thiago,
>>
>> Thanks for taking the time. I believe I need t
the page name structure
in order to be purposeful.
Cheers,
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Thu, 05 Feb 2009 14:17:32 -0300, xfile80303
> escreveu:
>
>> Greetings all,
>
> Hello! :)
>
>> Specifically, I would like to manipulate the URLs such
nue_name"
> part and then generate a PageRenderRequestParameters object and invoke
> the ComponentRequestHandler.handlePageRender() pipeline method.
>
> Note: I'm talking about 5.1 here!
>
> On Thu, Feb 5, 2009 at 9:17 AM, xfile80303 wrote:
>>
>> Greetings all,
&
Greetings all,
I've searched this list and found several people looking to do the same
thing, but no definitive answers, so perhaps someone has some new info.
Specifically, I would like to manipulate the URLs such that I can have
"nice" RESTful style URLs which feed information into the page ult
76 matches
Mail list logo