Tom Zurkan wrote:
>
> thanks! here is what i have found out so far... it is actually
> happening on restore state of a loop within a form. it appears that the
> encoder now uses the type coercer. did it use that before? i thought
> it used serialization as the default. anyway, when decod
Howard Lewis Ship wrote:
>
> Well, you could verify that with a "view source"; it seems unlikely to
> me, but that would be a start towards investigating this.
>
> Howard M. Lewis Ship
>
Well, I had never had the need to explicitly include tapestry.js, until
today that is. T5 apparently does
Howard Lewis Ship wrote:
>
> That's odd because I've tested this under IE 7 and it works. Anyone
> else seeing this?
>
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
> Director of Open Source Technology at Formos
>
Thanks for the reply Howard. One thing I notice is on the page whe
I have a simple form:
T5.1.0.5 turns it into:
What is this extra bit onsubmit="javascript:Tapestry.waitForPage(event);"
for? IE 7 gives a runtime JS error: 'Tapestry' is undefined. However, the
form gets submiited properly. So this is not a show-stopper. It is simply
an annoyance.
Any s
Answering my own question - come to think about it, as the code is wrapped in
a comment block, I guess T5 has to treat it as literal string. After
removing the tag and the comments, things are behaving properly in IE.
Eric
Eric Ma wrote:
>
> This is my .tml code:
>
>
>
This is my .tml code:
The ${myExpr} does not get replaced by the value from the Java class.
If I remove , it does get replaced, but I get a JavaScript
error.
Any suggestions?
Eric
--
View this message in context:
http://www.nabble.com/-t5.1.0.5--Expansion-does-not-work-in-custom-Jav
Massimo Lusetti wrote:
>
> Maybe it was talking about his own local MUA .. BTW there's still
> available the archives with search facility ;)
> Massimo
> http://meridio.blogspot.com
>
I use Nabble to read/post to the mailing list and I no longer see the thread
in the view.
To Shing Hing Man -
I was trying to delete my replies because I was confused when I replied to
the thread. We have 2 environments, Tomcat 5.5 and JBoss 5.0.1.GA. The
T5.1 piece is actually deployed on Tomcat, not JBoss.
Apologies for any confusion.
Eric
--
View this message in context:
http://www.nabble.com/I-m
akochnev wrote:
>
> Eric,
>regarding the problem w/ nbsp; in templates you need to add a
> doctype declaration in the component or page templates.
>
Thanks for the reply. Actually, it was a typo - instead of nbsp;, the
developer typed nsbp;. T5.0 did not seem to care, but T5.1 does.
As
Thiago H. de Paula Figueiredo wrote:
>
> Try using lazy loading on getPage(), avoing calling
> resources.getPage() in your field initializer. Something like:
>
> public BasePage getPage() {
> if (page == null) {
> page = (BasePage) resources.getPage();
> }
> retu
Thiago H. de Paula Figueiredo wrote:
>
> It looks like your base component class invokes Component.getPage()
> inside its constructor. Am I right? Could you post its code here?
>
> Thiago
>
You are right. Code is in the attached file.
Thanks,
http://www.nabble.com/file/p23448232/component_c
After upgrading from 5.0.18 to 5.1.0.5, custom components on my page now
cause the following exception:
2009-05-08 11:08:15,184, ERROR,
[org.apache.tapestry5.services.TapestryModule.RequestExceptionHandler], line
62, Processing of request failed with uncaught exception: Exception
assembling root
Shing Hing Man wrote:
>
> When I deploy a simple Tap 5.1.0.4 application on JBoss 5.0.1.GA and
> access the index page, I get the following error.
> java.lang.IllegalArgumentException: Unable to resolve 'ExceptionReport' to
> a known page name. Available page names: (blank), About, Contact, Inde
Forgive me if this question has been asked a million and one times. Coming
from a Struts background, one of the feature I find useful over there is the
easiness for handling a non-fixed number of form fields that are rendered
through a loop, using the "indexed properties" approach. What is the
e
Very useful info, if you change http://localhost:8080 to
http://jumpstart.doublenegative.com.au:8080 :-)
Thanks Geoff for the great service to the community.
Eric
Geoff Callender-2 wrote:
>
> Do these links help?
>
> http://localhost:8080/jumpstart/examples/input/forms1
> http://localhost:80
Read this thread:
http://www.nabble.com/-Tapestry-5.0.15Hidding-client-side-validation-td20242061.html#a20242061
immutability wrote:
>
> So I guess there's no simple way? :-(
>
> Rado
>
>
>
> immutability wrote:
>>
>> Hey everyone, I'm sure this will (possibly) be a simple thing, but
Please read the thread at
http://www.nabble.com/-T5--Persistent-fields-may-not-be-updated-until-after-the-page-has-finished-loading-td20587662.html
tapestryphoto wrote:
>
> Hi,
>
> I've just moved from 5.0.15 to 5.0.17. I now find I get this:
>
> Render queue error in BeginRender[Administrat
int count = 0;
>
> became:
> @Persist
> private int count;
> @SetupRender
> void setupRender() {
> count = 0;
> }
>
> Hope that works for you too.
> Cheers,
> Marcel
>
>
> Eric Ma wrote:
>>
>> Why was this restriction introdu
This is what I do:
Eric
Joel Halbert-2 wrote:
>
> ...
> b) easy access to the current index value, without having to provide
> your own. Although you can provide your own index, this gets messy when
> using inner loops, since you need to reset the inner loop index on every
> iteration
Why was this restriction introduced in 5.0.16? It completely breaks our
application. If the benefit is marginal, can we roll back to the original
behavior? Or alternatively, what is a "better" practice under 5.0.16?
Thanks,
--
View this message in context:
http://www.nabble.com/-T5--Persis
stants.SECURE_PAGE, "true");
>>}
>>else {
>> configuration.add(MetaDataConstants.SECURE_PAGE, "false");
>>}
>>}
>>
>> In my case, the production sites are secure and the development ones
with the HTTP
site the form action contains the fully-qualified URL, whereas the HTTPS
site does not include the server and app names.
Any clues, anyone?
Eric
Eric Ma wrote:
>
> Running version 5.0.15.
>
> Form submission works well in HTTP. Under HTTPS, T5 complains "Er
Running version 5.0.15.
Form submission works well in HTTP. Under HTTPS, T5 complains "Error: Forms
require that the request method be POST and that the t:formdata query
parameter have values.".
It seems 5.0.15 introduced a feature to block form GET. See
https://issues.apache.org/jira/browse/T
Wow, spot on Filip! Thanks very much for the tip. Everything is working
now.
So folks, as of 5.0.15, the only way to inject a service into another
service is through the constructor.
Eric
Filip S. Adamsen-2 wrote:
>
> Hi,
>
> Sounds like you tried using @Inject and friends to inject the se
Thanks for your reply. Actually, I found I cannot inject anything into
RequestFilter, not even Logger or any of my custom services. Looks like
injection can only happen to components and pages.
Eric
ApplicationGlobals cannot be injected into RequestFilter. Inject
RequestGlobals into it inste
I have a custom RequestFilter, which authenticates users and checks for user
roles, and is applied to all pages. To avoid database hit on every request,
authenticated user is cached in Acegi SecurityContextHolder.
Now, another part of the app allows admins to update user roles, adding or
removin
I am using T5 5.0.11. What I want to achieve is the following:
I have 2 lists, one with all possible options, and the other pre-selected
options. I want to dynamically create a group of checkboxes that correspond
to all the possible options, with the ones matching the pres-selected values
check
Gurus:
Can you show me how to access HttpSession from a Tapestry 5 page or
component class?
Thanks,
Eric
---
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediat
28 matches
Mail list logo