My Page Class
abstract class APagea extends PersistentObject
Thrown java.lang.ClassCastException
org.apache.tapestry.enhance.GenericsMethodSignatureImpl.findType(GenericsMethodSignatureImpl.java:73)
#
Half way there...
Using Hiveutils I managed to write this, but in the Manager ASO
constructor the config is null. The setter for the config is never
called. The Manager is instantiated by a Border component when method
ping() is called. I can use spring provided config in Border component
Dear All,
I have a toy application, composed of a View and an Edit screen. They
work by looping through objects from a database with a Loop component,
setting a property in the page instance to the current element, and
extracting some of its fields. The View screen simply inserts extracted
Sorry, once more here it is
html jwcid=@Shell ajaxEnabled=true browserLogLevel=DEBUG
title=Edit Shipment
body jwcid=@Body
span jwcid=pageCss/
span jwcid=tabsScript/
div id=shipmentTabContainer
div id=ccs
form jwcid=[EMAIL
Grab the appropriate jar from here
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/
On Fri, 2007-03-16 at 11:03 +0100, Wojtek Ciesielski wrote:
Hi all,
I was trying to move our web app from Tapestry 4.0 to version 4.1.1.
I've replaced framework, annotations and contrib jars with
+1 from me
On 3/16/07, Hugo Palma [EMAIL PROTECTED] wrote:
I have no problem with Tacos for this, as long as the current developers
of Tacos are ok with opening the doors of svn to many more developers. I
think a restructure of file structure would be needed and some stronger
guidelines would
updateComponents=ognl:{'clientArea'} ?
did you mean
updateComponents=ognl:{'clientUpdate'}? if so
change
div jwcid=[EMAIL PROTECTED]
to
div jwcid=[EMAIL PROTECTED] id =clientId:clientUpdate
kiuma
On 3/16/07, Yiannis Mavroukakis [EMAIL PROTECTED] wrote:
Sorry, once more here it is
html
I think what you need is an initialize-method. setConfig cannot be
called before the Manager constructor. See
http://hivemind.apache.org/hivemind1/hivemind/BuilderFactory.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I like the idea, but only if someone active on the project has admin
rights...Which no one does right now. So it could be that we need to
move Tacos somewhere else.
On 3/16/07, Andreas Andreou [EMAIL PROTECTED] wrote:
+1 from me
On 3/16/07, Hugo Palma [EMAIL PROTECTED] wrote:
I have no
Yep, that's what'll happen if viktor doesn't comment / agree on the idea.
On 3/16/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:
I like the idea, but only if someone active on the project has admin
rights...Which no one does right now. So it could be that we need to
move Tacos somewhere else.
On
Jira, please .?
On 3/16/07, Jun Tsai [EMAIL PROTECTED] wrote:
My Page Class
abstract class APagea extends PersistentObject
Thrown java.lang.ClassCastException
org.apache.tapestry.enhance.GenericsMethodSignatureImpl.findType(GenericsMethodSignatureImpl.java:73)
#
http://mindprod.com/jgloss/policyfile.html
On 3/16/07, Hernâni Cerqueira [EMAIL PROTECTED] wrote:
Hello all. I'm deployng a webapp in a tomcat 5.5.9 server with security
manager enabled. I can change the permissions but not disable it, and
I'm having some difficulties running my application,
Thanks a lot Weisu, will try this now.
Anjana Gopinath
On Mar 15, 2007, at 8:23 PM, Weisu wrote:
In 5.0.3, you can use a List to display the dropdown. The html
template looks
like:
select t:type=select t:model=supplierName t:value=nameValue/
And the component class looks like:
onActivate() may return a a page object (or page name). This will
send a new client-side redirect to the indicated page.
On 3/16/07, CB [EMAIL PROTECTED] wrote:
Hello,
how can i redirect to another page, for example in a @SetupRender method?
Thanks and best regards,
Christian
--
View this
The Form component has a default validation tracker that is stored in
a persistent field, that's where you session is coming from.
Until client-side field persistence is implemented, there isn't a way
to have both forms and statelessness. We don't claim Tapestry 5 is
complete!
On 3/16/07, CB
Shoudn't you copy dojo source to src/main/webapp/ instead of
src/main/webapp/WEB-INF.
Sorry if i'm totally wrong, never used dojo, but it's just a guess.
On 3/16/07, Anjana Gopinath [EMAIL PROTECTED] wrote:
Jesse
It could be unrelated to tapestry 5. I was trying to create a dojo
widget, so
Oh...Yeah good point Pablo. WEB-INF would be a place for classes / etc..
On 3/16/07, Pablo Ruggia [EMAIL PROTECTED] wrote:
Shoudn't you copy dojo source to src/main/webapp/ instead of
src/main/webapp/WEB-INF.
Sorry if i'm totally wrong, never used dojo, but it's just a guess.
On 3/16/07,
Hey
Thats right, sorry my bad. i blindly copied all the htmls and dojo
folders from my T4 app's context directory and dropped it to my T5s
WEB-INF directory. Thanks a lo for helping me, Pablo and Jesse!
Anjana Gopinath
True North Technology
11465 John's Creek Parkway, Suite 300
I don't know enough about tapestry internals to say if this is a good
idea, but I've played around with DynamicBlock and your solution looks a
lot simpler. At a guess, it looks like your approach is setting up your
dynamic component when tapestry is loading the page template. If it's
part of
My apologies my stupid counter is increasing exponentially...
Here is what I should have sent instead
html jwcid=@Shell ajaxEnabled=true browserLogLevel=DEBUG
title=Edit Shipment
body jwcid=@Body
span jwcid=pageCss/
span jwcid=tabsScript/
div id=shipmentTabContainer
Hi
How to specify a listener method in T5? I have a page with multiple
submit buttons and need to navigate to a different page when the user
clicks on a particular button.
i tried doing this
@OnEvent(component = deleteApp)
String deleteApp()
{
You have two choices:
1) Using naming convention:
public String onSubmitFromMyForm(){
return AnotherPage;
}
Where Submit is the event name and MyForm is the component id.
2) Using annotations:
@OnEvent(value=SUBMIT, component=myForm)
public String onSubmitFromMyForm(){
Hi,
I managed to expose the Registry to Spring via a custom
ApplicationInitializer instead of the SpringApplicationInitializer:
service-point id=SpringApplicationInitializer
interface=org.apache.tapestry.services.ApplicationInitializer
visibility=private
invoke-factory
construct
I am trying to store a user as an ASO. I am able to set the user, but when I
want to log out, I figured the right way to do it was to just set the user
ASO to null. I believe this works fine, just that now when I chcek to see if
the user is null or not, as expected, the application state manager
Note that you have more values to choose from than simply SUBMIT (note, you
can use the value submit -- case insensitivity). You may be interested in
only having your method called if the form submits successfully, in which
case you would use the value success.
You can view the list of event
Greeting, everyone!
I know Tapestry 5 only has preview releases at the moment.
I'm excited to see the auto-reloading feature, which is the main reason
why I'm considering it for the current project. Without this, though
I've done 2 projects with Tapestry 3, I would still tend to drop it
I haven't looked into this stuff yet, but if I were dealing with it I'd
probably just make a new ApplicationState class with a user property that I
could set at will, and let Tapestry instantiate the ApplicationState
whenever it wants to. Of course, once T5 supports ASO flags, you'd want to
start
On Mar 16, 2007, at 3/161:40 PM , Celia Mou wrote:
Greeting, everyone!
I know Tapestry 5 only has preview releases at the moment.
I'm excited to see the auto-reloading feature, which is the main
reason why I'm considering it for the current project. Without
this, though I've done 2
Thanks Peter and Pablo
I tried giving both options suggested by Pablo
input t:type=Submit value=Select applications t:id=addApps /
@OnEvent(value = submit,component=addApps)
void addApps(){
System.out.println(---here );
// return
Can you send us your page template and class ?
On 3/16/07, Anjana Gopinath [EMAIL PROTECTED] wrote:
Thanks Peter and Pablo
I tried giving both options suggested by Pablo
input t:type=Submit value=Select applications t:id=addApps /
@OnEvent(value = submit,component=addApps)
Speaking of 4.1, I remember seeing a website in the last week or so that
said it should not be used for production yet.
I am guessing that the page (possibly on apache.org) is out of date.
Back to Tap 5, are there certain parts or a percentage of interfaces that
we can count on not changing in
Pabloi have attached a simple html and page class.Thanks a lot for looking into this.
AddService.java
Description: Binary data
Anjana GopinathTrue North Technology11465 John's Creek Parkway, Suite 300Duluth, GA 30079[EMAIL PROTECTED] On Mar 16, 2007, at 4:01 PM, Pablo Ruggia
The Form fire this this events: submit, success, prepare, validate
and failure.
The Submit component only fires selected event.
So, if you use the form component, you have to use submit or success
events.
If you are listening to the button, then use selected event. So you have
to put something
Darn you're right, I've never even thought of that. finishLoad(), which I'm
overriding to add the new implicit component, is called only once before the
page gets cached. So basically, my dynamic component is only dynamic the
first time template loads.
The reason I chose this method is that if
34 matches
Mail list logo