Hi,
thx for the info! Another idea... is there a HttpRequest like object
available to components and pages? If it were, then setting a request
attribute would be ok for me. Anyway the per-request service is similar to
this, so it will be ok for me.
thx again
janos
2008/4/29 Andy Huhn <[EMAIL PRO
I am operating 2 propertyselect components on a page and a collection.
But those facts may be regardless of this arisen condition.
All I know is my OGNL is failing when previously everythign was well.
Stack trace below.
I attribute the condition to OGNL unable to parse or articulate the follo
I apologize... please discard that last stack trace... that was for the
subsequent corruption issue.
I hope to provide a use case for that.
_
In a rush? Get real-time answers with Windows Live Messenger.
http://www.windowslive.co
Stack trace is below... any suggestions for workaround are greatly appreciated.
Best regards
Ken in nashua
Hibernate: select roles0_.user_ID as user2_1_, roles0_.role_ID as role1_1_,
role1_.id as id1_0_, role1_.description as descript2_1_0_, role1_.name as
name1_0_, role1_.version as version1
Ok, my app runs nice and for my widget too. Handlers clicks, etc...
Below...The update logic refuses to update, specifically updateComponent.
Any ideas?
T-4.1.6 warning: Scary thing about my logic for this is that outside of this
issue... if I continue to operate DirectLink listeners off of th
Personally I think T5 support in Netbeans would be nice. I am leaning
towards Netbeans as a development
environment a lot more these days.
2008/4/30 Tomasz Dziurko <[EMAIL PROTECTED]>:
> Recently I am looking in "Rich Client Programming - Plugging into the
> NetBeans Platform" book just to ga
Tapestry is trying to assign null to your value (when you don't select
a radiogroup nothing is returned). An int can't be null so you can
change your property type to Integer, then it will be null when you
choose nothing. If you want null to represent 0 then write your
setRatingValue method to do t
If no star is selected and form is submitted, I get an exception
org.apache.tapestry.runtime.ComponentEventException
Failure writing parameter 'value' of component
Index:ratingfield1.radiogroup: Failure writing parameter 'value' of
component Index:ratingfield1:
org.apache.tapestry.ioc.internal.u
Thanks for the tips!
Leon
Steven Woolley wrote:
I've got it working by overriding the Autocomplete mixin and putting
the following in the AfterRender (instead of using a json object).
String configS = "{indicator:'" + loaderId + "',frequency:.5,minChars:"
+ minChars
Recently I am looking in "Rich Client Programming - Plugging into the
NetBeans Platform" book just to gain some knowledge about what can and
what can't be done under NB. As an exercise I started developing
simple Tapestry 5 plugin for NB. Actually it lets user to choose T5 as
a framework and create
I've got it working by overriding the Autocomplete mixin and putting
the following in the AfterRender (instead of using a json object).
String configS = "{indicator:'" + loaderId + "',frequency:.5,minChars:"
+ minChars
+
",paramNa
> Is it possible to add an extra context parameter to the providecompletions
> method?
You can change the content that is sent for the list by extending the
Autocomplete mixin and override the generateResponseMarkup method.
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/corelib/
In 5.0.11 I was unable to find a good extension point for the
autocomplete mixin. The scriptaculous Ajax.Autocompleter does support
updateElement and afterUpdateElement methods, but as far as I can tell
you can't get them into the configuration because the JSONObject
quotes its attributes (making t
Hi Tobias,
Unfortunately I can't think of a clean workaround for that. The issues
are all in the javascript and how events are dispatched and handled.
Basically it comes down to 2 problems:
1) The W3C does not mandate even handler ordering, so if you register a
handler before another there is no
Hi everyone,
Ok this is what i'm looking for: A user types in their desired username,
when the onBlur event happens on that input field (i.e. focus switches to
the next field), IF the name is taken i'd like to utilise the standard
tapestry validation error bubble, and display a message "User Nam
Just look at the source for the regular submit and simply change the
template to be type=image.
I also added a parameter to the component so I could pass it the image to
use.
Email me offline if you're still having problems and I'll send you my code.
On Tue, Apr 29, 2008 at 8:32 AM, Jack Nuzbit
Hello,
You can define the scope of each service...you can set that particular
service to be tied to only one session.
See http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html, and
search for "perthread".
Thanks,
Andy
On Tue, 29 Apr 2008 18:02:52 +0200, "János Jarecsni"
<[EMAIL PROTEC
Hi there,
the service approach (as I expected) is session-agnostic (and is
page-independent so concurrent users would interfere badly), therefore is
not ok.
I will now try the Environment approach... if that is session-aware :)
thx again
janos
2008/4/29 János Jarecsni <[EMAIL PROTECTED]>:
> Hi
Hello
I want to render different parts in my page, based on an action in my
previous page.
For example I have an "edit" section and an "add" section.
Based on the button I clicked in the previous page (edit or add button)
I want to render the page with the corresponding section.
What is th
Hi All,
Can anybody point me in the right direction for creating an image submit in
tapestry 5. I've scoured the docs but i can't find anything.
Many thanks,
Jack
Hi Chris,
even so you could help :) I want this kind of generic way of passing around
information (component to component communication :)) so I'll look for the
solutions Kristian and you outlined.
thanks!
cheers,
janos
2008/4/29 Chris Lewis <[EMAIL PROTECTED]>:
> Janos,
>
> Without code or a d
Hi Chris,
first let me please thank you for the example you've written. It's quite
informative.
I've discovered a problem with updating a zone - I think it's no problem
of your mixin, but you may have an idea how to fix it.
The problem is: When I use have an actionlink with the confirm mixi
Folks,
I have rigged up a handler for my property select user interface
@EventListener(events =
{ "onchange" }, targets =
{ "itemsPerPageSelect" }, submitForm = "galleryForm", async = true)
public void itemsPerPageChangeListener(IRequest
You need the "list" binding prefix so you can do this:
t:context="list:p.productId, p.categoryId". It's available 2 ways
that I know of:
1. You can add it to your project by hand from
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix
2. You can get it for free by including the
Hi all,
we are using ognl-2.7.3-20080211.212409-1.jar in our application and we
recently shifted from tapestry 4.0.2 to 4.1.5.
we were facing a problem while using ognl for complex expression. (Unable to
parse OGNL expression) Exception was occuring and in some forums we came to
know about the use
Thank you very much!
On Tue, Apr 29, 2008 at 9:11 AM, Michael Gerzabek <[EMAIL PROTECTED]>
wrote:
> Manuel,
>
> you simply put
> org.apache.tapestry.corelib.components.Errors_es.properties (I suppose) in
> your resources. If you use the maven archetype this should be
> PROJECT_HOME/src/main/resou
Manuel,
you simply put
org.apache.tapestry.corelib.components.Errors_es.properties (I suppose)
in your resources. If you use the maven archetype this should be
PROJECT_HOME/src/main/resources
Manuel Corrales schrieb:
Hi, i was checking the documentation but was not able to find how can i do
Hello
Is it possible to add an extra context parameter to the
providecompletions method?
For example like this:
List onProvideCompletionsFromAccountName(Long categoryId, String
partial) {
List matches = productDAO.findByPartialNameInCategory(partial,
categoryId);
...
}
How
Hi, i was checking the documentation but was not able to find how can i do
to change the default messages. For instance, when you use a beanform or a
t:errors, you get a default heading text saying something like: "You should
fix the next errors" :P or when you insert a non parseable date on a
Date
Does the autocomplete mixin fire some kind of event, after I have
selected an item from the autocomplete-menu?
Because I want to update other fields, based on the value that I selected.
How can I do this?
-
To unsubscribe, e-
Thanks!
On Tue, Apr 29, 2008 at 5:52 AM, Christian Köberl <
[EMAIL PROTECTED]> wrote:
>
>
> Manuel Corrales-2 wrote:
> >
> > I wonder if there is any way of skip the default style or if there is
> > a reset style, because i am finding not to easy to override the default
> > style, so i think it w
Janos,
Without code or a description of your actual goal, I'm finding your
situation too hypothetical to really digest. The one thing I can point
out is what you said about wanting a component to set a property in the
page. If you want to do that, then you have to know the class of the
page and so
Not sure about this specific case, but if you upgrade your Tapestry version
then even this might break. You are generally better off coding as (YMMV):
t:ac="prop:specificContext()"
Object[] specificContext() {
Object[] context = Object[2];
context[0] = "catalog";
context[1] = "somefil
Hi Chris,
I thought of pages as "contexts" for the components embedded within them.
So, in one event handler of a component I would like to set some property or
another (in the page object), and the other components in the page, which
are also able to access this property may change their appearan
I have a page that needs parameters to work
e.g. http://localhost/tapestryapp/pagename/3/4
which includes a grid component with sortable columns. Even though I have
an onPassivate method, when I click on the sort column link, the context
(3/4) is not included.
Q1. Should this work as described an
I'm annotating page classes with my own annotations, but when I
retrieve page from the cache the page does not carry my annotation.
This is understandable because T5 creates them on its own (javassist
magic, etc) but if I need Annotation instance, not the String value
from ComponentModel.getMeta()
Janos,
I'm having a hard time understanding a case that a component should know
in which page it is embedded, so my suggestion probably wasn't a good
one. Activation contexts aren't meant for components but for pages - you
should be using component parameters to configure them, and if it's a
more
@Retain
private String param;
Salue
János Jarecsni schrieb:
and how a component can get to know the page in which it is included? I
mean, I can't @InjectPage, as the component will be included in many kinds
of pages.
@Kristian: thx for the many ways :) I'll try these, hope that the
@Environmen
and how a component can get to know the page in which it is included? I
mean, I can't @InjectPage, as the component will be included in many kinds
of pages.
@Kristian: thx for the many ways :) I'll try these, hope that the
@Environmental stuff is scalable (I'm trying to bypass session creation as
I have a html page which has two ' ' tags. First div tag consist with
static content. My second div tag contains a form. When I submit that form my
tapestry page will validate that form and if there are errors they will
display inside the form.
Hi,
I've a Service that extends ApplicationInitializerFilter:
public interface DatabaseUpdateManager extends
ApplicationInitializerFilter {
public void update() throws SQLException;
}
I made it a service because I thought then it would be easy to collect
contributions from other modules.
Manuel Corrales-2 wrote:
>
> I wonder if there is any way of skip the default style or if there is
> a reset style, because i am finding not to easy to override the default
> style, so i think it would be great to have some way of disable it or at
> least provide some reset css style.
>
See con
6) @Retain could do the job. Your String will be available until the end
of the request.
János Jarecsni schrieb:
Hi there,
I have an activatable page, in its onActivate(String param) method I save
the param to a normal instance variable of the page class (no persistence!).
How can any compone
5) @InjectPage the page and call the getter
Kristian Marinkovic wrote:
> hi janos,
>
> there are several possibilities:
>
> 1) declare a component parameter and pass in the variable
>
> 2) put it in a ASO and inject the ASO in all your components (using
> @ApplicationState)
> the drawback is that
hi janos,
there are several possibilities:
1) declare a component parameter and pass in the variable
2) put it in a ASO and inject the ASO in all your components (using
@ApplicationState)
the drawback is that any other page or component will be able to access
the ASO
3) put it into the Enviro
yes you can... i have a Dispatcher that invalidates the
httpsession if a user specific ASO returns true on isLogout().
g,
kris
Marcus <[EMAIL PROTECTED]>
28.04.2008 21:59
Bitte antworten an
"Tapestry users"
An
"Tapestry users"
Kopie
Thema
Re: T5: Getting Request Info
Hi,
Can I inv
46 matches
Mail list logo