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 =
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 #8364;
I expected the same behaviour in T5.
Regards,
Reinhold
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
+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/
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
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
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 hls...@gmail.com
To: Tapestry users
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
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
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()... }
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:
Project/src: all java and tml files
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
table t:type=grid source=comments model=model add=Photo
rowsperPage=10 row=currentCmt
pagerposition=both
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
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
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
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
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
How about:
while(taskInProgress){
Thread.sleep(SLEEP_INTERVAL);
}
- Original Message -
From: aahsanJamshaid ahsan.jamsh...@techno-soft.com
To: users@tapestry.apache.org
Sent: Friday, 27 February, 2009 15:45:35 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Pause after
Hi Dante,
the convention for naming of handle methods of submit events is
onSelectedFromid. 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
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
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 andy.pa...@googlemail.com wrote:
Forget about my previous
Em Fri, 27 Feb 2009 12:24:19 -0300, Howard Lewis Ship hls...@gmail.com
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
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...
tr valign=top
tdt:label for=passwordField//td
tdnbsp; :/td
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 tapestry.nilleham...@winfonet.eu:
Hi Dante,
the convention for naming of handle methods of submit events is
onSelectedFromid. Rewrite
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
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
penyihirke...@gmail.com wrote:
i need a little help here...
i have a passwordField here but it can't showed the value of
Em Fri, 27 Feb 2009 12:45:27 -0300, 孙立伟 dante@gmail.com 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
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 !
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
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
Hi fellas,
I am looking to integrate Tapestry 5 with DWR 3-RC1.
Added the following to web.xml
servlet
servlet-namedwr-invoker/servlet-name
servlet-classorg.directwebremoting.servlet.DwrServlet/servlet-class
init-param
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
servlet
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.
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.
Think
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
--
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
am
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:
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
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).
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
Quartz is an effective way of scheduling things. I've used the Quartz
servlet before - search the mailing list for my notes.
Szemere
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 t:Parameter override in the *.tml file.
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);
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() {
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
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
On Sat, 28 Feb 2009 01:11:15 +0100, Howard Lewis Ship hls...@gmail.com 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
Initialy, the onclick handler would be supplied as:
a href=mpage.mycomponent
onclick=javascript:Tapestry.waitForPageLoad();update zone/a
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
On 27-Feb-09, at 19:41 , Martin Strand wrote:
On Sat, 28 Feb 2009 01:11:15 +0100, Howard Lewis Ship hls...@gmail.com
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
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 lee...@gmail.com wrote:
I am also getting this error, but I didn't
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
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 T getService(? extends Annotation marker,
ClassT interface)
52 matches
Mail list logo