Hi,
since starting to use firefox 3 (upgrade to new ubuntu!), the tapestry
javascript has stopped working. In particular the registration
functions now come up as undefined, so I get errors such as
Tapestry.linkTriggerToFormFragment is not a function
Same for zone initialisation. I haven't had m
Hi again... still no luck with this one.
After an intense night debugging this, I have found
that the bug appears consequently the *second*
browser instance that hits the same page. The first
request to the page runs fine, but the second time
(with a new browser instance) will produce the exceptio
Instead of persisting the id in the component, why not keep the id in
the page's context and pass it to the component as a @Parameter?
If you store stuff in the session then your component needs to be
smart about what to do when the @Persist'd object is null after a
session timeout.
On Mon, May 5
I have two pages, list and edit pages. Each page contains one or more
components. From list page, I use an actionlink to pass the item id as Long
to edit page, which I have a setter to set this id in the component which I
like to use (in which I persist this passed id).
Everything is working we
I have found a solution.
I need to inject the shadow service HttpServletRequest
into my ASO.
Shing
--- Shing Hing Man <[EMAIL PROTECTED]> wrote:
> I need to retrieve the http session id. One way to
> get
> session id is to inject
> RequestGlobals into my page and then get the
> HttpRequest
Seems like an odd request.
Assuming you are storing the ASO in the session (the only option with
the default implementatons), then you (or the servlet API) must
already know the session id (i.e., from the request object, from
cookie in the request). So storing it in the ASO isn't useful.
You cou
I need to retrieve the http session id. One way to get
session id is to inject
RequestGlobals into my page and then get the
HttpRequest from RequestGlobals.
For simplicity sake, I try to inject the httpRquest
into an exisitng (session) ASO X
(which is already injected to my page) and
retrieve t
So maybe it was in Tapestry 4... we migrated a rather large app so
maybe I am just now discovering some side effects of the migration!
Anyhow, I need to know when a parameter has changed.
For the time being I do the test in setupRender.
Someone suggested ComponentResources.isBound("paramname"
Hey Ivan,
When you say "we", who are you referring to? In my mind, this flow aka
conversation support is absolutely the right solution for the problem. Are
you planning to share the code or include it with some other project?
Various implementations of the conversation concept exists, but I'd glad
No, I get that there's an issue here ... I think conversational scope
would be helpful. In addition, we need more smarts about what gets
stored persistently, something like ValueEncoder but for persisted
values; simple values (String, int, etc.) are find, but we need to
recognize complex objects,
Loading/unloading of modules is tricky. It's something an application
server can do, but not necessarily an application framework like
Tapestry.
Notice the leaky abstractions around components, to support reloading
(and transformation) of them. The reloading requires a special class
loader, and t
You can use ComponentResources.isBound("paramname") to determine if
the parameter has been set. Add it to your setupRender method.
On Mon, May 5, 2008 at 8:26 AM, Alexander Lamb
<[EMAIL PROTECTED]> wrote:
> Hello list,
>
> Some time ago (5.0.?) when I had a component with a parameter, I could
> im
I'm afraid you are mistaken; this aspect of parameter handling has not
changed over the lifetime of T5. Tapestry has never used accessor
methods to set parameter values. it *is* perfectly valid for your
code to implement an accessor method around a parameter-bound field,
and for code to invoke th
On Fri, May 2, 2008 at 1:23 PM, János Jarecsni <[EMAIL PROTECTED]> wrote:
> hi Josh
>
> well I think if I have a reusable (pluggable) component, the ability to
> configure it comes in handy when putting the site together. Say, I have a
> voter component. Week by week there's another question, or I'
Hi guys,
I get this:
loader constraint violation: when resolving interface method
"com.foo.services.AdminDataSource.getConfiguration(Lcom/foo/base/Component;)Lcom/foo/services/ComponentConfiguration;"
the class loader (instance of
org/apache/tapestry/internal/services/ComponentInstantiatorSourceI
Hello list,
Some time ago (5.0.?) when I had a component with a parameter, I could
implement a set method which would do some additional "cleaning up".
For example:
@Parameter(required = true)
private RegistryCenter _selectedRegistryCenter;
public void setSelectedRegistryCenter(Regist
Thanks for all the replies!
I have tried it and it works.
Shing
--- "Filip S. Adamsen" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> RequestPageCache is an internal service, it's better
> to use
> ComponentSource instead. It has methods to get a
> component or page by
> logical name.
>
>
http://tap
thank you for the hint, didn't even notice this service
i saw that the BeanBlockSource service was using RequestPageCache,
and so did i :)
g,
kris
"Filip S. Adamsen" <[EMAIL PROTECTED]>
05.05.2008 16:41
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Thema
Re: Tap 5.0.
Hi,
RequestPageCache is an internal service, it's better to use
ComponentSource instead. It has methods to get a component or page by
logical name.
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/services/ComponentSource.html
-Filip
On 2008-05-05 16:01, Kristian Marinkovic
equanda, a open source project to generate a JEE application based on a
domain model, has released version 0.9.
equanda generates the EJB3 access objects with possibility for powerful
declarative constraints and added programmatic constraints.
equanda also generates a tapestry5 based user inter
I am trying to run sample project from
Tapestry.5.Building.Web.Applications.Jan.2008.
Environment: Eclipse, Tomcat, Tapestry 5.0.11.
Error:
HTTP Status 404 - /t5first/
type Status report
message /t5first/
description The requested resource (/t5first/) is not available.
Apache Tomcat/6.0.14
The p
@Inject
private RequestPageCache pageCache;
pageCache.get(logicalName)
g,
kris
Shing Hing Man <[EMAIL PROTECTED]>
05.05.2008 15:53
Bitte antworten an
"Tapestry users"
An
tapestry Tapestry <[EMAIL PROTECTED]>
Kopie
Thema
Tap 5.0.11 : How to get page instance from page
Usually,
Usually, I could use the following to inject a page
into another page
@InjectPage
private DetailsPage details;
How to retrieve an instance of a page if I am given
the logical name of a page as a String variable ?
In Tap 4, I would use RequestCycle.getPage(pageName).
Thanks in advance fo
Howard,
I totally get the "two request" pattern. A user shouldn't have to
decide whether to re-submit their information. Great feature of the
framework.
So let's say that the "request scope" I'm referring to would be "browser
round-trip scope". As people on the forum have pointed out,
combinat
We use a serialization strategy that zips the serialized form and base64
encodes it. We're yet to see a performance issue with the solution. The
issue with persisting each field in separate parameter is obviously that of
the number of such fields you are able to persist.
- Original Message
equanda, a open source project to generate a JEE application based on a
domain model, has released version 0.9.
equanda generates the EJB3 access objects with possibility for powerful
declarative constraints and added programmatic constraints.
equanda also generates a tapestry5 based user interfa
Hi all,
We are upgrading from T 4.0.2 to T 4.1.5.How to use Timeout component is
4.1.some where in out code we are using
The below code will be generated by Timeout component.But it says '
tapestry ' is undefined , which is generating javascript errors on page.
tapestry.TimeoutTimerConfirm=fu
Hi Tapestry team,
Is there any chance of this bug:
https://issues.apache.org/jira/browse/TAPESTRY-2369 being fixed... a patch is
available, so all thats required is to include it in the next build, sorry for
being a bit petulant for this fix, its just that it affects a number of
sections in ou
The problem in "client" strategy that it used Serializable mechanism of
jvm. Of cause it produce a lot of data (not getting in mind that most
domain objects are not Serializable). I use own persistent strategy
called 'parameter'. It is similar to "client" with follow exceptions.
* It uses
Interesting, espscially
https://issues.apache.org/jira/browse/TAPESTRY-1904 and
https://issues.apache.org/jira/browse/TAPESTRY-1679.
I've another question. Do you think there's a need for loading/
unloading modules? This would add a very powerful feature the Java world
does leak in comparison
30 matches
Mail list logo