-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
In my experience, if you haven't told IntelliJ to produce a WAR file
when you build, the Maven build isn't run and the files aren't updated.
Try going to Project Structure > Project Settings > Facets > Web > Web
(name of your app) > Java EE Build
Thanks for the tip. I planned to look at equanda a little later anyways,
since I'll very probably need the keyboard navigation features. So I might
as well do it now.
Regards,
Otho
2009/2/13
> Hi Otho,
>
> This is a limitation of the tapestry ajax stuff. A block should either
> contain an entir
Hi Otho,
This is a limitation of the tapestry ajax stuff. A block should either
contain an entire form or no form elements.
You should either have individuals forms for each tab, or use a tabset which
does not rely on ajax to get the context of each tab. One such option is the
equanda-tapestry5
context.getTranslator will look up the "default" translator for the
field, based on the bound type.
Ultimately, the FieldTranslatorSource service derives its translators
from the TranslatorSource service; tapestry does not provide out-of-
the-box support for Date or Time translators. If your a
On Feb 12, 2009, at 2/127:24 PM , manuel aldana wrote:
Hi,
a question on @Parameter:
@Parameter
private String param;
1) How is it possible to filter a passed param (e.g. manipulating
the value)? Using getters and setters for that would not work.
Generally, the "setupRender" phase is wha
On Feb 12, 2009, at 2/126:55 PM , Howard Lewis Ship wrote:
On Thu, Feb 12, 2009 at 12:58 PM, Robert Zeigler
wrote:
0) I don't usually extend components; I prefer building things
based on
composition. That said:
Which is the point of Tapestry!
Agreed! But our friend isn't using composi
That will be good enough, what's your setting? also just open pom.xml and
IDEA creates maven config?
Christian Edward Gruber-2 wrote:
>
> Components or services (the .java file). I find that components auto-
> load, but if I change services or any dependencies, I have to restart.
>
> Christi
Components or services (the .java file). I find that components auto-
load, but if I change services or any dependencies, I have to restart.
Christian.
On 12-Feb-09, at 22:00 , Angelo Chen wrote:
Hi,
I don't know what's the difference, actually I just let IDEA open
pom.xml
file, it autom
Hi,
I don't know what's the difference, actually I just let IDEA open pom.xml
file, it automaticall create a Maven configuration, then i just select a
jetty:run, that's it, so far I notice, any changes of .tml file got
reflected immediately, but java class still needs a restarting of jetty
server
Hi,
Environment: tapestry 5.0.18, firefox3.0, maven jetty:run
Whenever there is new stylesheet link in ajax response in firefox3.0 (both
3.0.5&3.0.6), then there is an ajax error shown in top of page "Client
exception processing response: TypeError: existing is null".
But IE 6&7, firefox 2.0 wor
I just don't get why everyone insists on running the app with Maven
... I just use the Jetty plugin for IDEA and it works like a charm.
On Thu, Feb 12, 2009 at 5:03 PM, Angelo Chen wrote:
>
> Hi,
>
> with 8.0 Intellij and Maven project, every time I modify .tml file, I have
> to rebuild the proje
Hi,
a question on @Parameter:
@Parameter
private String param;
1) How is it possible to filter a passed param (e.g. manipulating the
value)? Using getters and setters for that would not work.
2) How can I make the parameter available to the template (e.g. to
render this), i.e. want to have it
Hi,
with 8.0 Intellij and Maven project, every time I modify .tml file, I have
to rebuild the project and restart the jetty server, just tried out 8.1, i
don't have to do that any more, update .tml, click 'save', the changes
reflected, it brings back the fun of developing t5 app.
Angelo
--
View
On Thu, Feb 12, 2009 at 3:05 AM, Inge Solvoll wrote:
> Hi!
>
> I have a component that needs to listen to events from a form that resides
> in the containing page. The component takes care of viewing a list of
> selectable items, and this list and its PrimaryKeyEncoder needs to be
> initialized th
If you use Java's new keyword, then Tapestry IoC is not involved in
the creation of the FacetConfigurationsStateCreator.
You can inject a ServiceLocator object and have it autobuild() your
object; that will inject dependencies.
This is improved in Tapestry 5.1, there's an @Autobuild annotation an
On Thu, Feb 12, 2009 at 12:58 PM, Robert Zeigler wrote:
> 0) I don't usually extend components; I prefer building things based on
> composition. That said:
>
Which is the point of Tapestry!
> 2) This will work iff your parent class also implements a "defaultName"
> method that the subclass over
I have a Tabset in a form like this:
I have three tabs in blocks. The first holds some formcontrols already, the
other two are placeholder. The goal is to submit formdata from all tabs at
once.
What happens is the following: On page load the first tab is shown as
expected, i
Thanks for your help so far.
After placing the files in the "pages" folder I came across an exception:
Parameter 'translate' of component AppPropertyEditBlocks:duration is bound
to null. This
parameter is not allowed to be null. [at context:AppPropertyEditBlocks.tml,
line 5, column 57]
public
They should be in the "pages" folder; they are pages that act as
"holders" for components.
Robert
On Feb 12, 2009, at 2/123:59 PM , bob_k wrote:
The page I'm trying to use it with is called "Presentations".
It's located in com.eveo.speakertraining.tapestry.webapp.pages.admin
The AppPrope
The page I'm trying to use it with is called "Presentations".
It's located in com.eveo.speakertraining.tapestry.webapp.pages.admin
The AppPropertyEditBlocks.java and AppPropertyEditBlocks.tml files are
located in com.eveo.speakertraining.tapestry.webapp.components
Should these files not be in
Tapestry's IoC container runs in distinct stages; there's a setup
stage which involves the analysis to identify what services exist and
how they are built (i.e., including decoration, advice, lifecycle and
configuration) then the operational phase, and a short shutdown phase.
The ServiceBinder() h
As HLS said already, the exception is that it can't locate the page
"AppPropertyEditBlocks".
What is the name of the page on which you are putting your
BeanEditForm-customizing blocks?
What package is it in?
Robert
On Feb 12, 2009, at 2/123:32 PM , bob_k wrote:
I'm running into the same
I'm running into the same problem regarding customizing BeanEditForm.
If someone was able to solve this problem could they post the solution?
Thanks.
-Bob
Howard Lewis Ship wrote:
>
> That looks like it can't find your AppPropertyEditBlocks class.
> What's the full package name? Have you v
0) I don't usually extend components; I prefer building things based
on composition. That said:
2) This will work iff your parent class also implements a
"defaultName" method that the subclass overrides. Just tried it to be
sure.
3) You can provide getters and setters for the property. P
Hi Robert,
2) I tried your way, it doesn't work; it doesn't work even back to 5.0.18.
3) I don't think the get/set methods would work for parameters; look
at ParameterWorker class, it's fairly complicated because of the
implementation of the binding magic.
Thanks,
Richard
On Thu, Feb 12, 2009 a
Em Thu, 12 Feb 2009 16:56:09 -0300, Robert Zeigler
escreveu:
3) Otherwise, access in the child via code is mediated through normal
java channels: create a public (or protected) getter and setter in the
Parent class.
I guess he's trying to subclass Tapestry core components. This was alrea
1) Since Child extends Parent, it already has a name @Parameter.
2) If you want to provide the default in the child, you can always
provide the "default" method:
String defaultName() {
return "Tom";
}
3) Otherwise, access in the child via code is mediated through
Em Thu, 12 Feb 2009 15:16:00 -0300, Dave Greggory
escreveu:
This javascript is added to the page by Tapestry and how can modify it
to include select field value?
"/my-web/stuff/create.showmystufflink/" + getSelectFieldValue()
Nothing a little bit of RenderSupport and Prototype cannot do.
Hi Howard,
Can you show me in a child component, how to access a parameter
defined in parent by using another way? I cannot find api which isn't
internal about it. By the way, seems it's also diffcult to provide
default binding for a parameter within parent because function
bindParameter(String pa
Thanks, Thiago. For option 3:
I can get the value from the select using Javascript, but how do I add it to
the link URL? The ActionLink's URL is built through Tapestry,
Tapestry.init({"zone":["myZone"],"linkZone":[["showMyStuffLink","myZone","/my-web/stuff/create.showmystufflink"]]});
This j
Jeez - I didn't read the example well. I was not thinking @Parameter,
I was thinking @Property. A parameter means something else entirely.
Sorry,
Christian.
On 12-Feb-09, at 11:35 , Howard Lewis Ship wrote:
I think even that is ambiguous.
On Thu, Feb 12, 2009 at 8:29 AM, Christian Edward
How can one add a javascript file to a Tapestry component by its url and
not its path ?
It would be usefull to integrate other framework like GoogleMaps wich
has this kind of url :
http://maps.google.com/maps?file=api&v=2.x&key=...";>
or DWR with those urls :
Stephane
Em Thu, 12 Feb 2009 13:32:13 -0300, Dave Greggory
escreveu:
But Tapestry does not use the showStuff(Item selectedItem) method and it
throws an Exception in AjaxComponentEventRequestHandler saying it cannot
find my event handler.
It does not find because there was no context in your Actio
I think even that is ambiguous.
On Thu, Feb 12, 2009 at 8:29 AM, Christian Edward Gruber
wrote:
> Would an @OverrideDefault annotation be appropriate here as a signal? (I'd
> just say just @Override for readability, but that's been used)
>
> Christian
>
> On 12-Feb-09, at 11:10 , Howard Lewis Sh
When the user clicks on the action link, I want to get the currently selected
value from select field and use that as the context when calling the event.
@Component
private Zone myZone;
@Component(parameters = {"context=selectedItem", "zone=myZone"})
private ActionLink showMyStuffLink;
Would an @OverrideDefault annotation be appropriate here as a signal?
(I'd just say just @Override for readability, but that's been used)
Christian
On 12-Feb-09, at 11:10 , Howard Lewis Ship wrote:
It looks to me like theres an ambiguity here: I don't think a child
component should be allow
It looks to me like theres an ambiguity here: I don't think a child
component should be allowed to declare a second parameter, "name" in
this example, that is already defined in a super-class.
On Wed, Feb 11, 2009 at 12:20 PM, Yunhua Sang wrote:
> Hello Howard,
>
> It turns out the error occurs o
Ok, I solved it finally. The solution is quite simple, but the way to there
was rocky :)
I found the base of the solution here:
http://www.webdeveloper.com/forum/showthread.php?t=172865
Including the Javascript in the final posting enables every link in the page
to get programmatically "clicked"
How to create services without "static bind(ServiceBinder)" and
"buildMethod" like this:
AppModule {
void contributeIdContainer(Configuration config) {
config.add("someId-1");
config.add("someId-2");
}
}
InternalModule {
...
ids = idContainer.getAll();
for (String
hi,
is there a way to add an event listener for a event that was triggered
by a component which was added to the current page through a block
from another page?
some pseudo code:
Page1
{
@Comonent({2parameters=prop:navigation"})
private Delegate delegate;
public Block getNa
Hi!
I have a component that needs to listen to events from a form that resides
in the containing page. The component takes care of viewing a list of
selectable items, and this list and its PrimaryKeyEncoder needs to be
initialized through the prepare event of the containing form.
In my mind, it s
Hello,
I was wondering if there's any way to specify how a Grid is sorted before
it's being rendered. Great would be to be able to sort using multiple
columns (i.e. first column a ascending then second column b descending).
I found this parameter "sortModel" in the documentation which sounded
pr
Please read
http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html and
specifically the part about dependency injection.
HTH,
Uli
Rico Landefeld schrieb:
Hi, I try to inject a service into a application state creator, but when
create() is called, the service is not injected and I get
Tapestry core can benefit from using less library code as possible.Use few
utility functions from the days crossbrowser libraries just started,
and those that are not too much to implement.
high level stuff from jquery protoype dojo yui etc. are all different in the
approach.
a list should be ma
Hi, I try to inject a service into a application state creator, but when
create() is called, the service is not injected and I get a npe. But when I
inject this service into a page it works.
Here is my code:
public class FacetConfigurationsStateCreator implements
ApplicationStateCreator>{
45 matches
Mail list logo