Hi,
Is there any way to inject a Spring bean into an IEngineService (defined
in hivemodule.xml) ? I tried to do this by using @InjectSpring
(tapestry-spring), however I get a null pointer exception for the
injected object.
@InjectSpring("entityService")
public EntityService getEntityService()
The most obvious example would be to have cookies disabled and to not
use a URL with the session id encoded in it. Or is there something
else which is disturbing your cookies, somehow, such as a proxy
server?
--sam
On 2/6/07, Craig Hamilton <[EMAIL PROTECTED]> wrote:
I have an html page which
I there.
I have a strange behaviour with the T4.1.1 Autocompleter.
I have build a wrapper component that encapsulates the Autocompleter with a
few added funcionalities for my apps use.
Basically the new component just wraps a autocompleter inside and set a few
things like the ListModel from a few
I there.
I'm not a Maven guy, so I don't really now how to set up a pom.xml do get
the Tap 4.1.2 snapshoot.
I have seen the instructions page...
http://tapestry.apache.org/tapestry4.1/download.html
But some more is needed to get the files right?
I set up the pom.xml like this...
4.0.0
my.
To be honest, I'm trying to avoid having the framework do to much
here. Given the tools that are available, which is to say
"injectable", the need for the framework to do stuff like T4's
DataSqueezer is greatly reduced (in fact, had I had HiveMind and a few
good ideas in T2 DataSqueezer would neve
Is there a way to add rendering effects such as fade in and fade out
with standard Tapestry 4.1 like you could in Tacos with the preEffects
and postEffects parameters? If not, where would I find information on
how to implement this?
Better not use the $template asset - it's completely undocumented
and could go away without notice.
Go with the wiki suggestion - you can easily invent variations on it, i.e.
we like keeping the templates (for both pages and components) in the
same folder
as the .java files - a ClasspathSpecReso
I know in tapestry 4.1.1 this API changed and you have to use the
tapestry.form.submit(formName) call. What is the easiest most
straightforward way of getting the name of the enclosing form so that
I can submit it?
-
To unsubscri
The @DropDownDatePicker resets to the previous value if someone manually
changes the date to an invalid one, but the user is unaware of any
validation issues.
For example, we have an Expiration Date field that is set for 2/28/2007
and a user manually changes it to 2/29/2008. When they submit the f
I have an html page which is refreshing, and each time it refreshes, a new
session is getting started.
eg.
What could be causing a new session to be created each time this page is
refreshed?
thanks,
craig
Nevermind, get$template() was absolutely correct! Man that's ugly
Jim Roycroft wrote:
>
> Was there something else to this? Any changes to the pages that use the
> component? I cannot get this to work.
>
> I presume you meant "getTemplate()" as opposed to "get$template()".
>
>
>
> Khan
Was there something else to this? Any changes to the pages that use the
component? I cannot get this to work.
I presume you meant "getTemplate()" as opposed to "get$template()".
Khan, Hatim wrote:
>
> Ok, it turns out that I can do the following to change the location of a
> custom component
What I am trying to do is a way to pass database entity objects (or
really my DTOs) to my listener methods.
So the type coercer simply should coerce the entity to its unique key
and use that as the client side representation of the entity.
There are surely greater plans for these type of things,
Wiki pages updated.
Jim Roycroft wrote:
>
> I'd like to hang on for a bit to let Jesper update the wiki with any new
> things he has figured out. If I don't see any changes in another few days,
> I'll update it.
>
> Now, more new stuff for: AcegiSpringJava5Part2! (refactoring)
>
> 1. As speci
Geez ... that toString() is burried pretty deep! Inside
LinkFactoryImpl, inside ComponentInvocation.
On 2/6/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
I think ActionLink simply invokes toString().
I don't see why we couldn't use the TypeCoercer for this purpose.
In most cases, the coerc
andy,
as usual you save me :) but a last thing: what's wrong with:
dojo.registerModulePath("jfly.edt", "/asset.svc?path=%2Fjs%2Fjfly%2Fedt%2F");
dojo.require("jfly.edt.*");
Firefox firebug says:
jfly is not defined
document.edtEventHandler['tableForm'] = new jfly.edt.EdtEventHandler...
Thhe .j
I think ActionLink simply invokes toString().
I don't see why we couldn't use the TypeCoercer for this purpose.
In most cases, the coercer will simply invoke toString().
The TypeCoercer is used on the flip side, mapping string query
parameter values to typed event handler method parameters, so
You have to unprotect those assets... Here's an example:
http://tacos.sourceforge.net/tacos4.1/tacos-core/hivedocs/index.html
Andrea Chiumenti wrote:
Hello it seems that dojo.require does not work with Asset provided by jar
libs.
I think that the problem is with digest, in fact the two assets
Hi,
Im trying to contribute a type coercer from MyType to String (and vice versa),
but it seems like the Object to String is used instead. When the
ActionLink is rendered with a MyType in the context it renders to the
value toString() returns, not the value my MyType->String coercer
gives.
I hav
Hello it seems that dojo.require does not work with Asset provided by jar
libs.
I think that the problem is with digest, in fact the two assets
mylib.jar:/js/jfly/edt/ and mylib.jar:/js/jfly/edt/edt.js are rendered as:
/asset.svc?digest=d41d8cd98f00b204e9800998ecf8427e&path=%2Fjs%2Fjfly%2Fedt%2
That is quite odd. Are you sure you are not having any compile errors?
Also, Tapestry looks for templates FIRST in the package (with the Java
.class file), then in WEB-INF (for application pages). So you may have
another template hanging around that you've forgotten about, that is
causing the err
Everything looks ok.
Did you use the maven-archetype to create the project ?
Did it work before you started changing the generated files ?
Stranzenbach, Ralf wrote:
Hi.
For sure. It's quite easy...
package de.reswi.tapestry_empty.pages;
import java.util.Date;
import org.apache.tapestry.anno
Hi.
For sure. It's quite easy...
package de.reswi.tapestry_empty.pages;
import java.util.Date;
import org.apache.tapestry.annotations.ComponentClass;
import org.apache.tapestry.ioc.annotations.Id;
@ComponentClass
public class Home {
public Date getDate() {
return new Da
Can you post the template of you Home page ?
You probably have a tag in the template with an empty id.
Stranzenbach, Ralf wrote:
Hi.
I've tried to create a small sample application based on tapestry 5.0.1. I
followed the example from the screencast and it seems to work more or less
fine,
Hello I've put the following into my jwc specification:
that is renderend as:
"
/asset.svc?digest=b1376bfb2d3b7c66ddd0fcf0d2a463a8&path=%2Fjs%2Fjfly%2Fedt%2Fedt.js"
I've checked into the jar and it seems to be built correctly: mylib.jar
/js/jfly/edt/edt.js
but when I type the rendered asset
Hi.
I've tried to create a small sample application based on tapestry 5.0.1. I
followed the example from the screencast and it seems to work more or less
fine, but when accessing my page I get the message below.
*
org.apache.tapestry.ioc.internal.util.Tapestry
ok, i see the point now... TAPESTRY-1240is indeed valid - sorry for
my misunderstanding and questionings :)
Kristian Marinkovic wrote:
this where my considerations:
- i have a listener with useful parameter names/types
- i do not have to define any abstract properties thus keeping
my controller
this where my considerations:
- i have a listener with useful parameter names/types
- i do not have to define any abstract properties thus keeping
my controller class simpler and cleaner (.. and less code in .page :))
ok, let's see...
if you have a form that includes a (validated) TextField,
and a LinkSubmit for that form, why use a parameter?
Kristian Marinkovic wrote:
i will try as you propose :)
but what bothers me is that i have a validator applied to the TextField.
Shouldn't Tapestry check the validator
i will try as you propose :)
but what bothers me is that i have a validator applied to the TextField.
Shouldn't Tapestry check the validators before it proceeds to execute
the listeners?
I'm must admit, i'm not aware at which point of the request processing
lifecycle validation is done. i was alw
The parameter of your LinkSumbit will always by null
because when the link is constructed (at render time) that's what
the value of searchFieldValue is.
Now regarding listeners and null values, I think it was discussed
a year ago and that this behaviour is the expected one.
If you want to be able
hi jesse,
this bug is filed as
https://issues.apache.org/jira/browse/TAPESTRY-1240
greetings
kris
"Jesse Kuhnert"
<[EMAIL PROTECTED]
Hello I've the following problem with an Asset inside a jar library:
The jar structure is:
jflylib.jar/js/jfly/edt/edt.js
and
flylib.jar/org/jfly/...
the jwc defines an asset as:
Why jflyEdtPathAsset is null?
Thx in advance,
kiuma
The HandyTapestry plugin for IntelliJ Idea helps you to develop Tapestry web
applications faster.
The plugin provides following features:
- completions and navigations in the HTML template
- Create Tapestry component wizard
- OGNL expressions syntax and error highlighting
http://handyedit.com/ha
34 matches
Mail list logo