I have @SomeMarker annotation:
@Marker({...@somemarker})
void SomeService buildSomeService() {...}
How get SomeService by his marker (in ObjectLocator I not found like
method).
method like this: T getService( marker,
Class interface)
---
Is there a way to 'choose' which render block to use for a particular
context?
I have created a DISPLAY and an EDIT render block for a GenericSelectModel
based on a Hibernate table of values.
In one context, a Hibernate entity holds a reference to this entity and
terms it "Parent".
In another co
When running that, I see this warning:
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
So, use archetype:generate instead of archetype:create and it'll work
On Fri, Feb 27, 2009 at 9:06 PM, leechj wrote:
>
> I am also getting this error, but I didn't have it a few da
On 27-Feb-09, at 19:41 , Martin Strand wrote:
On Sat, 28 Feb 2009 01:11:15 +0100, Howard Lewis Ship > wrote:
This solution was weak, because there was no graceful degradation:
clients without JavaScript would have a non-functioning application.
Thus it was changed to render the href normally
Initialy, the onclick handler would be supplied as:
update zone
Thus, if you click it while the page is still loading, the
waitForPageLoad() function will be invoked, which can raise the
warning dialog.
Once the page is fully loaded, the waitForPageLoad() handler is
removed or deactivated, and a
On Sat, 28 Feb 2009 01:11:15 +0100, Howard Lewis Ship wrote:
> The
> end result it that you can "outrace" Tapestry, click a link that
> should update a zone and get incorrect behavior or even a runtime
> exception. I actually see this when using Formo's time-tracking
> application from home throu
I think some actual hard numbers would help with this. If an example
page renders one way with js at the bottom, and another way with js at
the top, these can be timed and compared. If real-world performance
differences are at an acceptable minimum, then it's fine. But the
fact that "top
I think it's well time to open a discussion about Tapestry 5 and
JavaScript. I think Tapestry is getting a large number of things
right, but also a small number of things wrong. This is not a
discussion about jQuery vs. Prototype (that's a separate area), but
more about the behavior of Tapestry Jav
Where is the demoReply tag in your html ?
Have you tried to launch the DWR test tool to check that it works before
integrating it in your pages ?
Stephane
kace a écrit :
> I ended up with the following in my page class to get the scripts added:
>
> void setupRender() {
>
> renderSuppo
Hello,
It seems that the tapestry client side validation isn't set up correctly to
deal with a dropdown being at the highest z-order. If it is going to pop up
on an area of the screen that a dropdown box is currently, it needs to hide
that dropdown until the popup validation disappears. Does th
I ended up with the following in my page class to get the scripts added:
void setupRender() {
renderSupport.addScriptLink(request.getContextPath()+
"/dwr/engine.js");
renderSupport.addScriptLink(request.getContextPath()+
"/dwr/util.js");
renderSupport.addScriptLink(re
Yes: make the field required.
Robert
On Feb 26, 2009, at 2/268:07 AM , Luther Baker wrote:
In a BeanEditForm, when displaying an enum member of a Hibernate
Entity
is there programmatic way to set blankOption="NEVER"?
Or must I explicitly create a
Quartz is an effective way of scheduling things. I've used the Quartz
servlet before - search the mailing list for my notes.
Szemere
Just a quick update:
I solved my problem, which was more about my specific using of zones than
the zone functionality itself being broken. It was rather changed.
I have a few nested components that need zone, which means that I have a few
zone="inherit:zone" properties. Now, in one of the componen
Hello,
I know this may not be a T5 problem but I am just wondering how people are
doing this.
I need to use timers(schedulers) for database work.
Let's take for instance, every January 1st I need to reset everyone's
position on a list(EX reps for a union position as votes happen).
S
I am also getting this error, but I didn't have it a few days ago. My
co-worker is also having this same problem. We are both new to maven and
tapestry and don't know how to fix it. Is there a problem with something on
the server we are downloading from when we type in the command?
Shuaib Cader-
Nope, that doesnt work :( it takes me to my page class and then starts to
look for the js from that reference point ( I think)
Caused by: java.lang.RuntimeException: Unable to locate asset
'context:dwr/engine.js' (the file does not exist).
Thanks
..kace
--
View this message in context:
http:
Change that to @IncludeJavaScriptLibrariy("context:/dwr/engine.js")
kace wrote:
Looking to get the javascript files injected for dwr into my page but having
difficulty with the @IncludeJavaScriptLibrary("/dwr/engine.js")
Using that tells it to look for the js files where the page class is but I
Looking to get the javascript files injected for dwr into my page but having
difficulty with the @IncludeJavaScriptLibrary("/dwr/engine.js")
Using that tells it to look for the js files where the page class is but I
am needing it to look at http://myapp/dwr/engine.js
Thanks,
..kace
--
Vi
Hi dwi,
you do not need the password to be output to implement that feature. In fact it
is very insecure and uncommon to implement something like "Your current
passoword is: xxx" . This would mean you had to store the password in clear
text. This as Thiago already pointed out is insecure.
Thin
What would I have to do differently in order to use Spring as the glue?
--
View this message in context:
http://www.nabble.com/DWR-with-T5-tp22249541p22249913.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
I've integrated DWR in my application and even in several libraries.
The simplest way seems to use Spring as the glue ...
So you can use Spring as the creator.
Stephane
kace a écrit :
> Hi fellas,
>
> I am looking to integrate Tapestry 5 with DWR 3-RC1.
>
> Added the following to web.xml
>
>
Hi fellas,
I am looking to integrate Tapestry 5 with DWR 3-RC1.
Added the following to web.xml
dwr-invoker
org.directwebremoting.servlet.DwrServlet
activeReverseAjaxEnabled
true
debug
true
Howard Lewis Ship schrieb:
Maybe it needs a context parameter, and it could fire an event before
rendering its body. It even could render the response from the event
(if any) instead of its body. What do you think?
The context was the first that came to my mind.
Firing an event: even bet
I have implemented a field which is a subclass of abstract field and i
would like to make input validations during the processSubmission() event.
Is there a way to get the form component in there to record new errors ?
Or is there another event where this can be done ?
Thanks in advance.
Stephane
Hi All,
Regarding the new namespace feature in 5.1, introduced here:
https://issues.apache.org/jira/browse/TAP5-66
Can anyone point me to an example of how to use this. I have tried to use it
and failed to get it right.
Thanks,
Peter
---
sorry i just learn how to use it
then how i can make a feature change passsword when PasswordField does not
outputs its value
???
--
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"
Em Fri, 27 Feb 2009 12:45:27 -0300, 孙立伟 escreveu:
Yes, the onSelectedXXX works! Thank you. The annotaded way won't work.
I've tried it. Maybe this is a bug. I am using Tapestry 5.0.18.
The annotated does not work because it is wrong. You need to specify the
event name (@OnEvent(value="selec
This is by design. Also, a password field doesn't update its property
if it gets a null value from the user. Read the docs.
On Fri, Feb 27, 2009 at 7:43 AM, dwi ardi irawan
wrote:
> i need a little help here...
> i have a passwordField here but it can't showed the value of my database. it
> show
For security reasons, PasswordField does not outputs its value.
By the way, you shouldn't store unencrypted passwords in your database.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
Yes, the onSelectedXXX works! Thank you. The annotaded way won't work.
I've tried it. Maybe this is a bug. I am using Tapestry 5.0.18.
2009/2/27 nille hammer :
> Hi Dante,
> the convention for naming of handle methods of submit events is
> "onSelectedFrom". Rewrite your code as follows and it shu
i need a little help here...
i have a passwordField here but it can't showed the value of my database. it
showed empty
but when i changed it into TextField, it showed the database value...
:
can someone help me ?
--
http://dwiard
Em Fri, 27 Feb 2009 12:24:19 -0300, Howard Lewis Ship
escreveu:
Maybe it needs a context parameter, and it could fire an event before
rendering its body.
Something like Form? Awesome!
It even could render the response from the event
(if any) instead of its body. What do you think?
I ha
Maybe it needs a context parameter, and it could fire an event before
rendering its body. It even could render the response from the event
(if any) instead of its body. What do you think?
On Fri, Feb 27, 2009 at 5:17 AM, Andy Pahne wrote:
>
>
> Forget about my previous comment. I just had to pe
Hi there
My name is Shuaib Cader. I am relatively new to web development and was task
to learn how to use Tapestry. I am following the tutorial that you have
provided on the website but I am getting the following error when trying to
a project using the maven archetype. I have use the archetype
Hi Dante,
the convention for naming of handle methods of submit events is
"onSelectedFrom". Rewrite your code as follows and it shuld work. The
annotaded way should work too, although I have never used it myself.
public class Start{
void onSelectedFromBtnA(){
// this should work
}
void onSelect
How about:
while(taskInProgress){
Thread.sleep(SLEEP_INTERVAL);
}
- Original Message -
From: "aahsanJamshaid"
To: users@tapestry.apache.org
Sent: Friday, 27 February, 2009 15:45:35 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Pause after successfull authentication
I have a
While I am reading the book "Tapestry 5: Building Web Applications",
it introduces a way to implements two submit button in one form(see
the code below). But according to
http://markmail.org/message/fjev6gt76fpc6akq , all buttons' events
will be "overrided" by the form component. Is there a way to
I have a application with acegi configured through spring. It uses Spring,
Tapestry, Hivemodule. I do manul authentication in tapestry java file by
ProcessingFilterClassObject.attemptAuthentication( username, password ).
Everything works good, and after successfull authentication user is
redirect
Forget about my previous comment. I just had to persist some properties
and it worked. Even in loops...
Thanks Howard, nice addition!
Andy
Andy Pahne schrieb:
Very recently a new component arrived: ProgressiveDisplay. Very nice
and very useful.
See
http://tapestry.formos.com/nightly/t
Very recently a new component arrived: ProgressiveDisplay. Very nice and
very useful.
See
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html
I tried a very basic example, and it works. Still, I don't know how to
d
>> Yuri,
>>instead of using the /FIleReceiver URL, do construct a URL by using
>> component resources in your page, e.g.
>> FileReceiver...:
>> public String getUploadUrl() {
>> return
>> componentResources.createEventLink("fileUploaded").toAbsoluteURI();
>> }
>> in your page tem
> Yuri,
>instead of using the /FIleReceiver URL, do construct a URL by using
> component resources in your page, e.g.
> FileReceiver...:
> public String getUploadUrl() {
> return
> componentResources.createEventLink("fileUploaded").toAbsoluteURI();
> }
> in your page template, us
Hi,
I added a "Photo" col to the grid, it displays properly, but when I click
next page, I got an render queue error like the one at end of message, any
idea why? thanks
Angelo
View
Render queue error in SetupRender[IncomingComments:grid.columns]: B
I've managed to mock up all my services in a separate Module class, and got
the PageTester working. But there are a few things that I still haven't
found a solution for:
1. context-assets don't work. My project structure is like this:
/src: all java and tml files
/web/WEB-INF/classes: all class a
One of the really nice and cool feature of T5 is that it builds a server
side view of the DOM when it render a page, or handle a component event.
You can access the DOM trougth the different render methods, with for
exemple:
void afterRender(MarkupWriter writer) { writer.getDocument()... }
S
Fixed the problem by moving up a level and contributing a RequestHandler
instead of a PageRenderRequestHandler
Thanks for the help,
Joachim
Joachim Van der Auwera wrote:
Hi,
I use chenielliket-access and need to add another page render filter
to handle incoming pages to intercept the SSO tok
Yuri,
instead of using the /FIleReceiver URL, do construct a URL by using
component resources in your page, e.g.
FileReceiver...:
public String getUploadUrl() {
return
componentResources.createEventLink("fileUploaded").toAbsoluteURI();
}
in your page template, use something like t
>I have plans to automatically combine and minimize JavaScript, but I
>don't know if it will make it into 5.1.
A great idea! I think you will be pleased by the performance gains, especially
post processing.
- Original Message -
From: "Howard Lewis Ship"
To: "Tapestry users"
Sent: Thurs
Wow this Mailing List is fast :-)
Thank you for your replies, i fixed the problem finally!
Kristian Marinkovic wrote:
Tapestry 5 will open a new Transaction on every request.
If you do not call commit explicitly Tapestry will rollback the
Transaction after the request.
i'd guess it has somethi
Currently this is one of the asset shortcoming. Therefore I want to
introduce file assettype (see
https://issues.apache.org/jira/browse/TAP5-423) and later also URL alias
for tapestry core (so you can include statics through another webroot).
Currently there does exist something like URL alias
+1 for the addition ;-)
As new users will be extremely important to me, page loads with empty caches
should be fast as well. Besides, some research shows that often more people
thean expected don't come in with a warmed cache.
http://yuiblog.com/blog/2007/01/04/performance-research-part-2/
Anyw
Hi,
I use chenielliket-access and need to add another page render filter to
handle incoming pages to intercept the SSO token.
I have the following configuration in my application module :
configuration.add( "ProlixSsoFilter", prolixSsoFilter,
"before:AccessControl" );
And get the following
Thanks, for the quick reply. UTF-8 ist not possible but I will give ISO-8859-15
a try.
I did know that the euro is not part of ISO-8859-1 but Tapestry 3 replaced it
by the numeric entity €
I expected the same behaviour in T5.
Regards,
Reinhold
___
Hello, users.
I'm trying to link a java applet to jetty/tapestry. I need to
pass data through POST request. I'm doing it like this:
URL url = new URL("http://localhost:8080/FileReceiver";);
System.out.println(url.toString());
HttpURLConnection connection = (Http
55 matches
Mail list logo