Massimo,
For some reason I did not see your reply before posting my follow up
question. Sorry about this. I will post a question here
http://groups.google.com/group/chenillekit-usr?pli=1
Petros
Massimo Lusetti wrote:
>
> On Tue, Feb 10, 2009 at 2:11 PM, Petros Petrou wrote:
>
Hi,
Has anyone seen this problem?
I am still not able to fix it?
Petros
Petros Petrou wrote:
>
> I just changed my dependencies from t5components 0.5.18 to
> chenillekit-tapestry 1.0.0 and the following code that used to work fine
> now throws the exception shown below. Switc
tting/SettingPage.tml, line 17, column
60]. Return type org.apache.tapestry5.internal.structure.BlockImpl can not
be handled. Configured return types are java.lang.Class, java.lang.String,
java.net.URL, org.apache.tapestry5.Link,
org.apache.tapestry5.StreamResponse, org.apache.tapestry5.runtime.Co
No because EndOfRequestListenerHub is not my class but Tapestry 5.0.15. I
prefer to treat T5 as a black box? We have other T5 projects similar to this
and we do not see this issue which is why I am wondering if anyone else has
seen this.
Petros
Petros Petrou wrote:
>
> We hav
Tomcat.
We are using Eclipse 3.4.1, JDFK1.6, Tapestry 5.0.15. Any ideas?
Petros
[ERROR][11-13-2008 07:32:23,343] [org.mortbay.log] ? (?):failed app
java.lang.RuntimeException: Class
org.apache.tapestry5.internal.services.EndOfRequestListenerHub
(implementation of service 'EndOfRequestListen
n an action method ?
PS: This is my original issue
http://www.nabble.com/t5components---Window-to18087605.html
Sorry if I complicated things by creating two different issues.
Sven, sorry about all these questions but my Javascript skills are very
limited.
Petros
kristian.marinkovic wrote:
ndow
When the Open Window link is clicked I am getting the following exception
No object of type org.apache.tapestry5.RenderSupport is available from the
Environment. Available types are
org.apache.tapestry5.services.ComponentEventResultProcessor.
Does anyone know how I can even approach th
Hi Sven,
I had already tried this and is the same problem. However, I just realized
that I am getting this exception whenever I use @Environment even without
using the Window component. I don't know why. I'll post another message
specific to that problem.
Thanks,
Petros
Sven Hom
thod from an ActionLink method that uses this component
and I am trying to use it as a confirmation dialog box but I am getting this
exception
No object of type org.apache.tapestry5.RenderSupport is available from the
Environment. Available types are
org.apache.tapestry5.services.ComponentEventResultP
t;openWindowActionLink")
Object onActionFromOpenWindowActionLink(){}
Is this possible ?
Petros
Martijn Brinkers (List)-2 wrote:
>
> Demo code can be found here:
>
> http://87.193.218.134:8080/t5components/maven-repository/org/apache/tapestry/t5c-demo/0.5.13/
>
> Mar
l and it fails to download.
Can I manually download it from anywhere ?
org.apache.tapestry
t5c-demo
0.5.13
Petros
--
View this message in context:
http://www.nabble.com/t5components---Window-tp18087605p18087605.html
Sent from the Tapestry - User mailing list archive at Nabbl
Jonathan,
That was the problem, it works fine now thank you
Petros
Jonathan Barker wrote:
>
>
> Try using value="fromDate" rather than the expansion.
>
>
>> -Original Message-
>> From: Petros Petrou [mailto:[EMAIL PROTECTED]
>> Sent: Th
Hi Greetz,
You suggestion fixed the problem thank you :)
Petros
nille hammer wrote:
>
> Hi Petros,
> the problem is caused by the expression
> context="{account?.accountManager?.username}". With "?." you tell
> Tapestry: "The value might be null,
Hi guys,
Has anyone seen the problem below
Petros
Petros Petrou wrote:
>
> I have the following code that works fine
> AccountsList.tml
>
>
> ${account?.accountManager?.username}
>
>
>
> AccountsList.java
> ...
> pri
l/contract/Page:seasoncmpnt.datefield: Binding
[EMAIL PROTECTED] is
read-only.
My code is
.tml
.java
public class Period{
private Date fromDate;
public void setFromDate(Date fromDate);
public Date getFromDate();
}
Petros
Mahen Perera-2 wrote:
>
> I also encountered this same issue,, an
ady
helped me out through this forum by replying to my posts and I am very
thankful of this BUT please let's keep this forum clean from
destructions and clean from emotional counter productive arguments and let's
stop providing free entertainment.
Cheers,
Petros
Martin Kersten
Hi Denis,
Is it possible to provide a sample of your code. I need to invoke an Ajax
request to update specific fields in a form when selecting a checkbox and/or
RadioButton but I have no experience with Ajax or Javascripts.
Cheers,
Petros
Denis McCarthy-2 wrote:
>
> Not to worry,
be setting a new one or an existing one anyway ?
Petros
HugoPalma wrote:
>
> Imagine the following use case:
>
> A page to register a new user. I have a User class so i'm all set.
> The page class looks something like:
>
> @Meta("tapestry.persistence-strate
Yes returning void is a typo.
What I am trying to achieve is the following:
I have two versions of a searchCriteriaForm.
I have a second form (configureSearchCriteriaForm) that contains two radio
buttons. Depending on which radio button is selected an "onclick" event
submits this form to decide
The form below works fine when the Submit button is pressed but the exception
below is thrown when the myRadioButton is selected. It looks like the
onclick="this.form.submit()" is making it fail. Any ideas how I can solve
this ?
org.apache.tapestry.runtime.ComponentEventException
Return type org
just the
searchResultsBlock.
How can I force the page links of the Grid component to returned my
searchResultsBlock ?
Petros
--
View this message in context:
http://www.nabble.com/Grid-cmpnt-and-Ajax
I think you need to move your FindCoops.properties file to be next to your
.tml file and not the .java file.
Petros
Andy Huhn-2 wrote:
>
> OK, this is driving me crazy.
>
> I have a .tml named FindCoops.tml that contains the following fragment:
>
>
> t:value=&quo
You may want to read this
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html
Andy Blower wrote:
>
> I'm accessing message catalogs using expansion with a prefix. e.g.
> ${message:this-is-my-key}
>
> 1) Is there a list of prefixes anywhere, or have I got them all now?
> (l
e "context"
everything works fine.
Furthermore, moving this line
${account?.accountManager?.username}
outsite the grid component also works fine.
Why it doesn't let me use context values for the PageLink inside a Grid
component ?
Petros
--
View this message in context:
http://www.nabb
Oh well, your reply gives me something to look into anyway. I'll try to solve
the issue with the ModalBox guys and post the solution here.
Thanks,
Petros
Howard Lewis Ship wrote:
>
> The question is: does this Modalbox send a request via XmlHttpRequest?
> And does it use Tapes
,
org.apache.tapestry.Link, org.apache.tapestry.StreamResponse,
org.apache.tapestry.runtime.Component.
Why the use of modal box appears to interfear with the way tapestry works
internally ?
Petros
petros wrote:
>
> Sorry about the second post but this problem is killing me :)
> I tried this exa
but
in my case I am getting the exception that I am not allowed to return a
Block object.
Is there any configuration I need to do ? I am using 5.0.11
Thanks,
Petros
petros wrote:
>
> When the userSearchForm of the code below is submitted I am getting the
> following excepti
When the userSearchForm of the code below is submitted I am getting the
following exception
A component event handler method returned the value
[EMAIL PROTECTED] Return type
org.apache.internal.structure.BlockImpl can not be handled. Configured
return types are java.lang.Class, java.lang.String,
sure if that
contributes to the problem.
Thanks for your help
Petros
Howard Lewis Ship wrote:
>
> Not sure why the presense of the overrideMe() method would change things.
>
> When Tapestry instantiates a bean (such as a User, here) it always
> finds the constructor with t
I have a LayoutCmpnt.java with the following annotation and everything works
fine
@ApplicationState
private User currentPrincipal;
When I add the method overrideMe(User user) to the User POJO I am getting
the following exception. Removing the overrideMe(User user) fixes the
problem. Any ide
this
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Now I want to handle the form submition
in XYZAddUpdate.java and not in AddUpdateLayout.java
Is what I am trying to do even possible ?
Thanks,
Petros
--
View this message in context:
http://www.nabble.com/LayoutCmpnt-and-Form-submition-t
ting the error
Petros
Howard Lewis Ship wrote:
>
> Looks like a bug. PageLoaderProcessor.java:249 is:
>
>// This may return null if the parameter is not bound in the
> loading component.
>
> Binding existing =
> loadingComponentBindingMap.get(loading
Thanks for this Davor,
I basically copied the code for ListBinding and overwrote the
public Object get() method and everything works great.
Petros
Davor Hrg wrote:
>
> such construct is not yet possible,
> OGNL is not used,
>
> checkout http://wiki.apache.org/tapestry/
I have a UserAddUpdate page with a property called readOnly. This property is
used to enable/disable components to simulate edit/read mode on the page.
The embedded AddressCmpnt template uses "inherit:readOnly" to enable/disable
its components.
I am now refactored the UserAddUpdate page and crea
What java class must the IValidationDelegate extend.
Should it be placed under the components package
How can we use this new validator in our pages
Petros
Martino Piccinato wrote:
>
> Ok,
>
> I reply to myself hoping this would be of any help for somebody else.
> Is as si
a
--
View this message in context:
http://www.nabble.com/I-apologise-for-the-multiple-earlier-posts.-It-was-a-mistake-tp15975867p15975867.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe,
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
I have a menu with the following items
MyDetails
UsersList
I want the MyDetails item to be shown all the time and the UsersList to show
only when the user has the roles admin and manager. I am assuming I have a
method called checkAuthorisation(String[]). I know the syntax below is
incorrect but I
Thanks for this Howard. Following from your reply I believe is reasonably
safe to assume that the final release of T5 will be no later than March or
April 2008.
Thanks again for your prompt reply
Petros
Howard Lewis Ship wrote:
>
> Unfortunately, I'm going to only be working
anage
the stakeholders of my projects.
Howard, a prompt reply to this message will be greatly appreciated.
Petros
Howard Lewis Ship wrote:
>
> I'll have a better idea about the roadmap at the end of this week.
>
> I've been working for a new consulting company, and
ork I have worked with.
This is why an update on the T5 roadmap is important for us.
Petros
Michael Kleen wrote:
>
> You seriously recommending a framework in a alpha status for a
> multi-million dollar project ? Don't get me wrong,
> i like tapestry and i'am using versio
st to develop another web
framework. I want to use an existing one to implement my business
requirements ASAP and with a minimum budget"
Petros
kranga wrote:
>
> The question is very relevant. The concern of the project should be to
> build
> out the business functionality using
arguments that I can use to address the points raised
above to prove that T5 should be chosen over JSF.
Thanks,
Petros
Howard Lewis Ship wrote:
>
> I'll have a better idea about the roadmap at the end of this week.
>
> I've been working for a new consulting company, and
The tapestry 5 website says that the final release of T5 is fall 2007. Is
this still realistic ? If not can you please provide a realistic date ?
Petros
--
View this message in context:
http://www.nabble.com/Tapestry-5-Roadmap-tf4439437.html#a12666499
Sent from the Tapestry - User mailing list
Assuming you have a spring bean with name userManager you can use the
following code in a tapestry page
@Inject
@Service("userManager")
private UserManager userManager;
Petros
malin wrote:
>
> Hi all!
>
> I'm doing a Tapestry project for
I haven't updated the wiki yet
http://www.nabble.com/Tapestry-5-and-Acegi-tf3769520.html#a10886654
Petros
Daniel Jue wrote:
>
> Dear List,
>
> I'm sorry, I think I found my problem, and it was a stupid one. It
> took a 3rd cup of coffee to make it appear.
>
>
The note at the end of this page
http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html
Petros
Daniel Gredler wrote:
>
> Hi all,
>
> In an effort to improve the T5 documentation, I'm going to start going
> through the mailing list, looking at ques
The application wide catalog works fine now. I was putting the app.properties
file under WEB-INF/classes instead of just WEB-INF.
petros wrote:
>
> I tried both app.properties and App.properties and it still doesn't work
> for me. I guess I just have to wait for the final T5.0.5
Hi,
Please ignore the previous message.
I just realizes that the problem was with Firefox remembering the values.
Everything is working fine with IE.
Petros
petros wrote:
>
> I have a problem with the following code.
>
> When the form is submitted my form displays a message
I have a problem with the following code.
When the form is submitted my form displays a message advising if the email
is valid or not.
When the message is displayed I start another browser and I access the same
page. The message
is still displayed the first time the "second" user accesses this
.
Petros
#
UserDetails.html
#
UserDetails.java
@Persist
protected UploadedFile uploadedFileCmpnt;
@Inject
private ComponentResources cmpntResources;
private InputStream imageFileInputStream = null
If you class is called AppModule then the Tapestry Filter name in your
web.xml needs to be app. For example
app
org.apache.tapestry.spring.TapestrySpringFilter
Petros
Ben Tomasini-2 wrote:
>
> I am working on a T5 application, and can't figure out how the AppModule
>
I have an image saved in the database as BLOB. I am loading this image in
memory and can access it using getUser().getPhotoImage() which returns an
object of type java.io.File. How can I display this image on a tapestry html
page using a Tapestry Asset?
Petros
Howard Lewis Ship wrote
context/AccessDenied
However, typing context/AccessDenied in the URL and pressing enter works
fine.
I initially thought that was an Acegi problem but now I am almost certain is
a T5 problem.
Any ideas?
Petros
ecause the name of the page starts with the same substring as the name of
its package? I think I like this feature because it forces you to avoid
having information in your page name that is already captured by the name of
the package.
However, is this a feature or a bug :)
Petros
--
View this
Ok... I don't have the tapestry-hibernate.jar in my classpath.
Please send me an email to [EMAIL PROTECTED] and I will reply with
my files that are relevant to your question.
Petros
Joshua Jackson-3 wrote:
>
> Hi Petros
>
> Here's my response:
>> 1. Are you using
t do you refer to when you say "not use spring-hibernate"
If you don't use a database you could have a quick read of section 6.2.1 of
the acegi guide
http://www.acegisecurity.org/docbook/acegi.html
Petros
Joshua Jackson-3 wrote:
>
> Hi Petros,
>
> Thanks for the quick
I tried both app.properties and App.properties and it still doesn't work for
me. I guess I just have to wait for the final T5.0.5 review release :)
Thanks for the reply
Petros
Howard Lewis Ship wrote:
>
> The name exactly matches the filter name ... thus "app.properties" n
That solved my problem
Thanks,
Petros
Howard Lewis Ship wrote:
>
> url() references in a stylesheet a relative to the stylesheet.
> url(images/bg.gif) will generate a proper URL to a real resource, and
> Tapestry won't attempt to interpret it as an action request URL
let me know if you want to see my security.xml and the
springContext.xml files
Petros
Joshua Jackson-3 wrote:
>
> Hi Petros. Thanks for the contribution since I need this as well. But
> my question is, did you use Spring to configure Acegi? Or did you use
> tapestry-ioc to configur
Details
at
org.apache.tapestry.internal.services.ComponentClassResolverImpl.resolvePageNameToClassName(ComponentClassResolverImpl.java:257)
which is caused by the line (in style.css)
background: #f4f4f4 url(styles/images/bg.gif) top center repeat-y;
The directory structure is
/styles/images/bg.gif
/styles/style.css
How can I solve this problem ?
Petros
--
View this message
ckage
com.glintech.jumpstart.tapestry
app
org.apache.tapestry.spring.TapestrySpringFilter
app
/*
Petros
SergeEby wrote:
>
> Hi,
>
> I believe this is now available in 5.0.5-SNAPSHOT.
>
> /Serge
>
>
You can try the following. I tried it on T5.0.4
@Inject
@Service("RequestGlobals")
private RequestGlobals requestGlobals;
requestGlobals.getHTTPServletRequest().getRemoteAddr()
Petros
Marcus-11 wrote:
>
> Hi,
>
> How can i get HttpServletRequest.getRemoteAdd
cookie on the client to provide the default for the locale on the next
visit, and store a locale name in the session (if a session exists). TODO: I
believe this has been implemented by Kent.
Petros
--
View this message in context:
http://www.nabble.com/Changing-Locale-tf3801846.html#a10757009
This is how I used Asset for an image in T5.0.4
Java class
@Inject
@Path("context:images/banners/new_logo.jpg")
private Asset logoImage;
HTML code
Petros
Allen Guo wrote:
>
> Hi All,
>
> I want to show the ProductDetail page with product image. It looks like
>
This is how I used Asset for an image in T5.0.4
Java class
@Inject
@Path("context:images/banners/new_logo.jpg")
private Asset logoImage;
HTML code
prop:logoImage
Petros
Allen Guo wrote:
>
> Hi All,
>
> I want to show the ProductDetail page with product image.
'ServletApplicationInitializer': Unable to instantiate class
org.apache.tapestry.services.TapestryModule as a module builder: Error
creating bean with name 'txProxyTemplate': Bean definition is abstract
Petros
petros wrote:
>
> I have a problem in T5.0.4 when
Have a look at this
http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
Eko S.W. wrote:
>
> That is to say, I have CrmsHome.java and I would like it to go to
> SharedDelete.java, so in CrmsHome I would like to do :
> ...
> SharedDelete _deletePage;
> ...
> _deletePage.setBack
I have a problem in T5.0.4 when I am changing from @[EMAIL PROTECTED] to
@[EMAIL PROTECTED]
CODE THAT WORKS
LayoutCmpnt.html
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
LayoutCmpnt.java
public class LayoutCmpnt
{
@InjectPage
private Login
Hi Adnrea,
I'll go through the links you provided and I will spend some time improving
my code before updating the wiki.
At the moment I feel that my code is more of a hack than a nice solution.
Petros
Andreas Andreou-3 wrote:
>
> Petros, hi.
> It would be nice to have th
I replaced my 5.0.4 jars with 5.0.5 and the following code doesn't compile
anymore
@Inject
@SpringBean("userManager")
Has this changed from 5.0.4 ?
Howard Lewis Ship wrote:
>
> Sorry, yes. That's a change in 5.0.4, you must have been using 5.0.3.
>
> Injection got a LOT smar
pnt.html
${tapestryPrincipal.username}
Update Acegi Security Context
I also have this code where the user's details are updated in order to keep
the Acegi Principal up to date.
UsernamePasswordAuthenticationToken token = new
UsernamePasswordAuthenticationToken(updatedUser,updatedUse
Thanks Eric,
That works. I did not realize that I was not using t:
Petros
Eric Chatellier wrote:
>
> it's working with
>
>
>
> 2007/5/14, petros <[EMAIL PROTECTED]>:
>>
>> I want to use a localized string as my submit button's label. No
Users List
Petros
--
View this message in context:
http://www.nabble.com/Calling-methods-with-parameters-from-a-template-tf3752070.html#a10602858
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscri
I want to use a localized string as my submit button's label. None of the two
below works
1.
2.
What's the correct way of using localized string as labels in T5 ?
Petros
--
View this message in context:
http://www.nabble.com/Localized-Submit-lable-tf3752045.html#a10602783
Sen
This is how I did it
http://www.nabble.com/T5---Changing-Locale-tf3376399.html#a10424282
It works when the locale of the browser is changed and the page is
refreshed. However, setting the new locale using ThreadLocale doesn't work
for me either. I was hoping someone was going to reply to my post
e onActionFromGreekLocaleLink() method is
called as expected, but just before the method is returned the currentLocale
object is still set to the "en" Locale. Is this the right way to change the
Locale programmatically ?
Petros
Howard Lewis Ship wrote:
>
> I think that comment
ale is not changed.
Is the above the correct way to inject the ThreadLocale service in my page?
If yes then how can I force the above method to be called and consequently
change the locale.
Thanks,
Petros
Howard Lewis Ship wrote:
>
> I think that comment is out of date.
>
> You sho
87 matches
Mail list logo