Hi,
I can't get this solved. I had added some extra debugging output and
I waited for 48 hours and contacted the server again. As soon as my
dynamic text component tries to ask the page's visit class for a
specific
text (the database handling is not done inside the text component, I
get the
Seems like the attachments didn't make it. Here's the source:
### DBTextSnippet.jwc
?xml version=1.0 encoding=UTF-8?
!DOCTYPE component-specification PUBLIC
-//Apache Software Foundation//Tapestry Specification 3.0//EN
http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd;
!-- generated
http://sundraw.ws/components.php
Henri Dupre wrote:
On 6/18/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:
I would create a client side widget that parses the input field values
upon
form submission and turns them into one single input submission, but
that's
me..
Can that be done in 4.1
Hi,
I'm using a Border component for menu. I wrap every html like that:
span jwcid=@Border
contents of the page
/span
Is there a way to render Border component in a MyAppPage (the page that is a
parent class for all other pages) so that i don't need to repeat the
wrapping in every html page of
Hi Andreas,
By looking in the error stack trace below, you must see in your
DBTextSnippet.java code line 44.
I got your source but i'm not sure it is really line 44 where's the error
occur(maybe you have breakline somewhere)
well, my guess is this below code,
if(snippetGetterMethod
On Sun, 18 Jun 2006 12:41:43 -0400, Giampaolo Tomassoni
[EMAIL PROTECTED] wrote:
I'm really getting pissed about this (and feeling more and more stupid
after each new failed attempt). Especially since the constraint to mix
HTTP and HTTPS pages has been forced upon me with the explanation
The code also has these debugging statements:
writer.print(page: + page);
writer.print(visitObject: + visitObject);
writer.print(visitClass: + visitClass);
writer.print(arguments[0]: + arguments[0]);
writer.print(arguments[1]: + arguments[1]);
writer.print(snippetGetterMethod: +
It sounds like your model implementation isn't comparing keys properly, or
the objects being compared don't implement equals() properly.
I would create a unit test that asserts the model you are using really does
work going out and back in (ie form submission).
On 6/19/06, Rui Pacheco [EMAIL
Hard for me to have an opinion, but if there is a jira issue open for it I
will try to remember to fix what inflexibility is being created with the
current system.
On 6/19/06, Kevin Menard [EMAIL PROTECTED] wrote:
On Sun, 18 Jun 2006 12:41:43 -0400, Giampaolo Tomassoni
[EMAIL PROTECTED] wrote:
Switching back to http was an old habit: five years ago, when internet
bandwidth were really narrow and cpu power wasn't that high, it could
have made a difference. Today these are not anymore issues. I
would try
to stress this fact and the security issues the http/https mixup may
On Mon, 19 Jun 2006 10:43:07 -0400, Giampaolo Tomassoni
[EMAIL PROTECTED] wrote:
Nah! Search engine don't access https and lazily browsing a site
wouldn't require an https link as well. Nobody would advocate http
support. But, again, when you enter an https there is a reason (a login
or
object has been stored into the request cycle. This
object is typically provided by a Body component.
You should add a Body component to your template.
location:
The error says you do not have a Body component.
Please try using a Body component and see whether
it works.
Shing
---
My getOption is returning an object of the type AbstractDropDownModel. That
means the List that will populate the selected must contain that exact same
type of objects, right?
On 6/19/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:
It sounds like your model implementation isn't comparing keys
Claus Bogner - Dipl.Inf. (FH), M.Sc. (Univ.)
Projektmanagement Touristik
ISO Software Systeme
Eichendorffstr. 29
90491 Nürnberg
Deutschland
Tel. : +49 / 911 - 99594-0
Fax : +49 / 911 - 99594-129
mailto:[EMAIL PROTECTED]
http://www.isogmbh.de http://www.isogmbh.de/
http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/form/IPropertySelectionModel.html#translateValue(java.lang.String)
There's not a whole lot of magic, just make sure that when something calls
getValue(index) on your model, that same value is translatable back to the
I think I am finally starting to understand whats going on here. Just two
things:
- when is translatedValue called? I placed a println() in my implementation,
reloaded my page and nothing happened, it wasn't called. I am not sure what
this means, but it musn't be good.
- overriding .equals:
A few conditions make this not a trivial task, it seems: We cannot use @Block
and @RenderBlock, because the components for versions of other customers
shall
not be contained in the deployment (at worst they could contain corporate
secrets).
Why not @Block/@RenderBlock? In fact,
One more note... at develop time, using Spindle, you'll have all
components and all component definitions available and Spindle will be
happy. At runtime, not only will you only include the Customer specific
page, but also the customer specific components; Tapestry will be
happy because it will
Kevin Menard wrote:
What we (or at least I) want is to deal with this at the page class
level. The idea would be a page class can either be marked as secure or
not and the framework would then take care of rewriting URLs with the
appropriate scheme. Such a system would allow for a nice
per our discussion last week - are we still on for moving forward?
1. did you play with cognition?
2. svn access we are still working on, derick has to do some major checkins.
otherwise you should be able to look at current framework code.
general tapestry:
so in terms of being the
What I don't understand: in an earlier posting you wrote:
On 5/29/06, Josip Gracin [EMAIL PROTECTED] wrote:
[...]
scheme, but relying only on Tapestry mechanisms, i.e. not using Tomcat etc.?
[...]
Why would you not want to use an external mechanism? Is it not rather
a feature of the framework
Our Tapestry application is using Tapernate-like behavior to load
persisted objects in automatically at the beginning of each request and
now I've been asked to look into changing our database locking strategy
from pessimistic to optimistic. I've tried versioning the objects as is
suggested for
I am trying to use the form focus example in the documentation and I get:
An exception has occurred.
You may continue by restarting the session.
org.apache.tapestry.ApplicationRuntimeException
Unable to parse script context:/images/FormFocus.js.
component: [EMAIL PROTECTED]/$Script]
I think the script referenced can't just be a regular js file (as that would
imply an @Include sort of component, not a @Script).
You probably need to wrap it in xml elements as defined here
http://tapestry.apache.org/tapestry4/UsersGuide/script.html.
You can also focus form fields (in 4 at
That is EXACTLY what I was looking for. I will try it out.
I think we (the tapestry community) need to do a better job of creating
a registry to what different components are out there. I really like
tassle, but this component wasn't in it.
Any ideas out there on how we can get a better
hi guys
i have a situation where when the page x renders i
have to check for a value(in pageBeginRender) ,if the
valus is false then i throw a pageRedirectException to
page y , in
page y i have to check for another value(when the page
is rendering) which if false i have to do a redirect
to page
Tapernate allows you to use detached objects and still enforce optimistic
locking. You have to use @Persist(reattach-merge) so that Tapernate will
try to merge() your object. If the object stored in the session has the old
version number, you'll get the exception.
-Original Message-
You could use session-per-conversation (object's stay attached to the
session, but the session is detached from the DB-connection at the end of
each request).
It's described here: http://hibernate.org/42.html .
A tapestry-implementation comes with honeycomb:
http://honeycomb.javaforge.com .
28 matches
Mail list logo