Thanks for the responses!
well phooey...I already started down the road for creating my own
IEngineService..
i found out I could get to the ASO through the cycle object:
ex:
User user = (User)
cycle.getInfrastructure().getApplicationStateManager().get("user");
now I'm stuck because I actua
Hopefully soon-ish. The new devs coming on board will certainly help things.
The design is done mostly (until proven wrong), so hopefully just
implementation and such now.
On 4/7/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> Jesse,
>
> Any predictions as to the 4.1 release date?
> We AJAX lovers
+1
Makes sense. IDEAs EAP is usable enough even now.
Hugo Palma <[EMAIL PROTECTED]> wrote: After much consideration and lots of hair
pulling i've decided that
TapIdea will not be developed to work with IntelliJ 5.1, it will instead
only work with the upcoming 6.0(Demetra) release.
The main re
After much consideration and lots of hair pulling i've decided that
TapIdea will not be developed to work with IntelliJ 5.1, it will instead
only work with the upcoming 6.0(Demetra) release.
The main reasons behind this decision are these:
- Testing framework is crap. There are so many limitat
Try this:
return this.getMessages().format("TITLE",getMyValue());
The reason that it's giving it to you in all caps is because it's telling you
that it can't find the key for whatever you were passing in (which was actually
the message's value).
m2f
I've found the solution to the problem. Apparently there was a subtle
change in component handling.
My html looked like this:
th>
And the page specification looked like
The problem was the reference
Within a page template I can use:
ognl:messages.format('TITLE',myValue)
without any problems.
However when I do that from within a getter method like:
ognl:title
public String getTitle(){
return
this.getMessages().format(getMessages().getMessage("TITLE"),getMyValue());
}
I get everything
Sorry,
I'm embarrassed. As it turns out, I had been working too long and I put
jwcid="@Any" on the line above it, so, in fact, the div was just
id='ognl:(studyDay.pkScheduled)?"active-pk":"inactive"'>
to begin with, so of course it didn't do anything. When I added it to
the right line, everythi
I create custom id atritbutes using OGNL all the time, but I use
double quotes around the attribute. I think ognl supports using a
single quote around literal strings, but I've not had to test this.
My tag would look like this:
--sam
On 4/7/06, PSW <[EMAIL PROTECTED]> wrote:
> Hi there,
>
>
Hi there,
I'm using Tapestry 3.0
I'm trying to have the id attribute in my div tag be dynamic, but it's
not rendering.
I have the following line in my html:
id='ognl:(studyDay.pkScheduled)?"active-pk":"inactive"'>
But it renders like this:
Rather than what I'm trying to get, which is th
On 07. Apr 2006 - 15:55:31, Gentry, Michael (Contractor) wrote:
| Hahaha! Well, that explains it ...
? Sorry, I don't get it...
| Not sure why it references EditPerson and EditPatient.
I'm sorry about that - that's my fault and is _not_ the reason
for the exception: I just forgot to rename this
Hahaha! Well, that explains it ...
Seriously, though, I was trying to find the problem line from your error
message:
Exception invoking listener method editPerson of component
PersonMatches:
Error at context:/WEB-INF/pages/EditPerson.page, line 6, column 21:
Method 'public abstract de.plattform.
I actually haven't found an easy way to do this other than passing images and
messages as parameters to the component. Basically you can override the
library component with your own assets and messages as you see fit. It's
too bad we don't get anything like this for free out of the box
--
View t
On 07. Apr 2006 - 15:02:25, Gentry, Michael (Contractor) wrote:
| Could you post line 6 of EditPerson.page?
:-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Could you post line 6 of EditPerson.page?
-Original Message-
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Friday, April 07, 2006 2:52 PM
To: Tapestry users
Subject: Re: Another question concerning the For component
On 07. Apr 2006 - 14:44:12, Mike S
On 07. Apr 2006 - 14:44:12, Mike Snare wrote:
| Hmm... Not sure, but I suppose that it *could* be something screwy
| where your server recognizes the new class file, but tapestry is
| trying to re-use the enhanced page class it created before the change
| was made?
|
| Have you stopped/started yo
On 07. Apr 2006 - 14:44:17, Gentry, Michael (Contractor) wrote:
| In your .page file, do you have a:
|
|
Yes, now I have it in the page specification ;)
| And have you declared your EditPerson.java class to be abstract?
Yes, but I still get the error message :(
---
In your .page file, do you have a:
And have you declared your EditPerson.java class to be abstract?
Thanks,
/dev/mrg
-Original Message-
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Friday, April 07, 2006 2:35 PM
To: Tapestry users
Subject: Re: An
Hmm... Not sure, but I suppose that it *could* be something screwy
where your server recognizes the new class file, but tapestry is
trying to re-use the enhanced page class it created before the change
was made?
Have you stopped/started your server?
Just a guess though...
-Mike
On 4/7/06, Andr
Hi Michael, hi Mike,
thanks a lot for your answers!
On 07. Apr 2006 - 14:28:02, Gentry, Michael (Contractor) wrote:
| I create abstract getter/setter methods for the value="" part.
OK, I tried that but now I get the following error message:
---
Exception invoking listener method editPerson of c
Pedro, you should read Jesse's Ajax documents on the wiki, they
explain much of how Tacos works or will work, and may help you to
answer your questions.
As for Turbo Widgets, I've got TurboButtons, TurboPageBar,
TurboSlider, TurboPageButtons, TurboRangeBar, and TurboSplitter
basically done. They
Try searchng for ExceptionDescription at
http://marc.theaimsgroup.com/?l=tapestry-user&r=1&w=2
Ed Cohen wrote:
>Hi. Can someone point me to something that explains how to easily
>
>
>
>(1) Capture the information that is displayed on the
>Exception page (for logging). In particular
I create abstract getter/setter methods for the value="" part. Of
course, if you don't need to reference the method in your .java, you
could just declare it in the .page file (Tapestry should still enhance
the class and add the method at run-time).
/dev/mrg
-Original Message-
From: And
You need to tell tapestry that you want it to enhance the class in this way.
For my part, I prefer to keep any properties not needed by the class
in the page/jwc file to help keep the code size down -- but you're
free to do it via getters/setters if you prefer.
-Mike
On 4/7/06, Andreas Bulling <
or use Firefox with firebug plugin
and see the contents of the ajaxresponse.
But it usually is a issue :)
Leonardo Quijano Vincenzi wrote:
> I usually do it by hand (just looking at the code) since the problems
> are usually easy to spot. For example, a very common one is using
> instead of .
Okay, will post it to the wiki later tonight.
The thing about adding asset definitions to the .application or .library
file is that I have no idea how to do that. =/
And I imagine that this is the sort of stuff HiveMind was meant to be
used for. If anything, I could add the ability to define
I usually do it by hand (just looking at the code) since the problems
are usually easy to spot. For example, a very common one is using
instead of .
Of course, you can always run it through an XML validator.
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Chris Chiappone wrote:
As far as I k
Hi folks,
and another question - I'm a blockhead as it seems...
Do I have to add an abstract getter/setter to my page class
if I want to use the value attribute of the For component
or does Tapestry enhance the abstract class for me?
Thanks!
Andreas
As far as I know it is. I'm not sure if everything outside of the form is
valid but I believe it should be. Is there a place I can go to check out if
its valid or not?
On 4/7/06, Leonardo Quijano Vincenzi <[EMAIL PROTECTED]> wrote:
>
> You can start by checking that the updated region is valid X
Yes, please post this up on the wiki, it is definitely useful.
I wonder if there is some way to add this to the core tapestry. Also,
it might be clearer to add application or library wide assets, so we
just modify the .application or .library rather than the hivemodule.xml
then we can si
Hi Chris,
thanks a lot for your answer!
On 07. Apr 2006 - 13:25:34, Chris Chiappone wrote:
| Not sure if this is the same problem that I've experience but there is an
| open JIRA issue about it http://issues.apache.org/jira/browse/TAPESTRY-848
Hm, I've read the issue... is Kent Tongs comment the
Inject a RenderResponse for the request and set the title in the
pageBeginRender event for your BasePage... If you're using annotations
it would look something like:
public abstract class View extends BasePage implements
PageBeginRenderListener {
@InjectObject("service:tapestry.portlet.Ren
You can start by checking that the updated region is valid XML (XHTML it
would be). Tacos sends the form information using Xml, so everything
under "updateComponents" must conform to that.
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Chris Chiappone wrote:
Hi, I am trying to substitute the
Not sure if this is the same problem that I've experience but there is an
open JIRA issue about it http://issues.apache.org/jira/browse/TAPESTRY-848
It seems to only happen if you have turned off tapestry caching.
~chris
On 4/7/06, Andreas Bulling <[EMAIL PROTECTED] > wrote:
>
> Hi folks,
>
> I'
See Exception.java, Exception.page, Exception.html in package
org.apache.tapestry.pages
To override, create your own Exception page.
Or if you want it named otherwise, add in hivemodule
Ed Cohen wrote:
>Hi. Can someone point me to something that explains how to easily
>
>
Hi folks,
I'm experiencing some strange behaviour of my web application at
the moment - I get the following error message when I try to open
several pages shortly after each other within the same session:
---
Exception invoking listener method searchPerson of component
SearchPerson: Error: An err
Hi. Can someone point me to something that explains how to easily
(1) Capture the information that is displayed on the
Exception page (for logging). In particular, we would like to log the
template info as well as the actual exception, and
(2) Replace the Exception
Hi, I am trying to substitute the normal tapestry @Form and @Submit with the
tacos components. Looking at the documentation it seemed to me there really
wasn't much that needed to be changed except adding the correct component
names. When I try to use the submit after making these changes the for
Definitely interested.
-Mike
On 4/7/06, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> Right. So what I had in mind to begin with wasn't really feasible - and
> there is a far easier way to do it:
>
> I ended up creating a GlobalAssetFactory instead. It uses a
> GlobalAssetManager backed by a Glob
The Eclipse folks have a great document on what changes in java code
in general will introduce breakage and which do not.
http://www.eclipse.org/eclipse/development/java-api-evolution.html
it's long complicated document for a long complicated subject...but
it's the best and most comprehensive dis
Right. So what I had in mind to begin with wasn't really feasible - and
there is a far easier way to do it:
I ended up creating a GlobalAssetFactory instead. It uses a
GlobalAssetManager backed by a GlobalAssets configuration to convert ids
to paths. The paths can contain prefixes like "classp
On 4/7/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:
> As a preview, I've put a small jar on
> http://www.javaforge.com/proj/doc.do?proj_id=481 .
> It's called honey-excel.jar and adds Excel-Export functionality to (almost)
> any contrib:Table
That looks cool :)
--
Massimo
http://meridio.blogspo
Ignor, Eclipse used a wrong lib and/or had an entry for PropertySelection in
my .application file.
On 4/7/06, Diego <[EMAIL PROTECTED]> wrote:
>
> Does someone know why the ValidatableFieldSupport in the PropertySelection
> is null.
>
> There is no problem with the ValidatableFieldSupport in the T
On the other hand, if you'd like to use a), all you have to do (in T4 at
least) is...
@Override
public ContentType getResponseContentType()
{
return new ContentType("text/xml");
}
...in your page class to return the correct MIME type. This is how
Zillow's AJAX XML respons
it's removed in 4.0 - the 3.0 source is here:
http://svn.apache.org/viewcvs.cgi/jakarta/tapestry/branches/branch-3-0/framework/src/org/apache/tapestry/jsp/
Schulte Marcus wrote:
>I'm almost sure that there was a JSP-Taglib to interface with Tapestry, at
>least for Tap3, but I never used it ...
>
Fernando Padilla wrote:
wait, did I mess up my patch again? I'm confused. oh well.
Leonardo Quijano Vincenzi wrote:
lol , and it's ironic that I now need a signature change in
AbstractFormComponent. A protected to public method.
Weird huh!
---
I'm almost sure that there was a JSP-Taglib to interface with Tapestry, at
least for Tap3, but I never used it ...
> -Original Message-
> From: Renat Zubairov [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 07, 2006 4:51 PM
> To: tapestry-user@jakarta.apache.org
> Subject: Tapestry integra
wait, did I mess up my patch again? I'm confused. oh well.
Leonardo Quijano Vincenzi wrote:
lol , and it's ironic that I now need a signature change in
AbstractFormComponent. A protected to public method.
Weird huh!
-
To uns
I'm not the most experienced Tapestry user around, but I'd say you'd
probably be better of developing your pages from scratch than try to
integrate them with Tapestry.
I understand that this might not be an option for you - in which case I
don't have an answer for you.
-Filip
Renat Zubairov
Hello All,
Is it possible to integrate existing legacy JSP pages with Tapestry.
For example two types of integration are possible - first integration
of JSP fragmets to Tapestry.
Option 1. Create a "border" component that do not render static code
but forward request and response to JSP and grap
Is there any other options to integrate legacy JSP pages with
tapestry? May be other way around, say call tapestry pages from JSP
pages? Create a kind of tapestry call custom tag?
On 08/02/06, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
> I could imagine that integrati
after some time of silence honeycomb will be back soon:
- Mark Shead is working on a cleaner, maven-2 based build, thanks a lot!
- I'll dig out some useful components not covered elsewhere and beef up
the sample UI a tiny bit
- I'm about to add examples to show the beauty of hivemind
engin
Does someone know why the ValidatableFieldSupport in the PropertySelection
is null.
There is no problem with the ValidatableFieldSupport in the TextField
component ect, so don't get is why there is nothing injected in the
property.
I am converting an application from tap3 to tap4.
Regards,
Dieg
b) is cleaner imo. Accessing the ASO is actually simple:
- let hivemind inject the ASO-Manager
- call mgr.get("aso-name") to get the needed aso.
I tend to use c'tor injection like this:
public MyService( ApplicationStateManager asoMgr ) {
this.asoMgr = asoMgr;
}
> -Origina
Well, assuming you're on T4 (and hence have HiveMind support built-in by
default) you can do this:
1. Create a GlobalAssetManager service.
2. Create an example.globalAssets configuration-point and hand it to the
GlobalAssetManager service.
3. Create a org.apache.tapestry.binding.BindingFacto
Jesse,
Any predictions as to the 4.1 release date?
We AJAX lovers are eagerlly waiting that AJAX native suport 4.1 will
provide!
On 4/6/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> I think prototype was designed by designers while dojo was designed by
> engineers.
>
> On 4/5/06, Chris Hughes
Hi Jesse,
I think tacos would love a grid component, so long as it fits what everyone
> is looking for and the coding conventions match. You might find this a
> little hard to do with the current asset include issues but it's nice that
> someone else is working on it either way. (tap4.1 has this i
Thanks
In the end I did override the AbsoluteURLBuilder service as otherwise
redirects don't work either.
It is worth noting for anyone else using SSL this generates by default (even
without using load balancers) the url as http://YOURSITE:443/app which is
slightly untidy.
Ben
On 4/6/06, Andrea
Hi all,
I have a lot of images on another server that need to be incorporated in
my application.
Instead of defining the external assets on every page I need them, can I
have them all in one 'properties' file and reference them from there?
Kind regards, Bianca
---
I would like to control locale selection in a programmatic way.
We have different default locales for the pages in our application. E.g. the
StartPage may be default "german", but another Page, call it PageTwo, my have a
default locale "english". The default language for a page is not static bu
Well, it IS an html editor after all...
If you're using @Insert, by default it escapes html. Check its
documentation and
use raw="true"
Dwi Ardi Irawan wrote:
> thnx
> now, ii's work
>
> one more question :
> when i get the value and displayed itwhy it's contains html tag ?
> exam
On 4/7/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Personal opinion on this type of issue - hit us over the head! For a
> bug-fix release, contractual interfaces shouldn't break - nor should
> implementation details. For feature releases (.
I develop liferay portlets by tapestry,but how can I set the porlet's title ?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
63 matches
Mail list logo