Lance Java wrote
> As suggested in the Jira, your SettingsService could @Inject ObjectLocator
> instead of the hibernate session. It could then lazily call
> ObjectLocator.getService(Session.class) to get the hibernate session.
This doesn't work since a method is invoked on the SettingsService in
We need to change some Tapestry symbols based on values from the database,
e.g. the SUPPORTED_LOCALES. We have a SettingsService that reads the values
- this service uses Hibernate, so it needs Tapestry IoC to be configured.
We use something like this to add the symbol:
public static void contribu
membersound wrote
> What is the T5 equivalent to the following JSF?
>
> class Person {}
>
> class SigninPage {
> @Inject
> Person person;
> }
>
> If I try this in tapestry, I'm getting:
> org.apache.tapestry5.runtime.ComponentEventException
> Error obtaining injected value for field person:
dinesh707 wrote
> following are my code parts. So when some one and a mp3URL to some text
> area, system will send a ajax request to " onMp3UrlChanged()". Then it
> will get the title and set that value into "songName" and refresh the
> zone. IT WORKS!. But my problem is later when i change the tex
sommeralex wrote
>
> I have several domains for my project, which runs at 188.40.34.137. one
> domain is airwriting.de, the other domain is airwriting.com .com is on
> godaddy, de on another domain provider.
>
> both domains are forwarding to 188.40.34.137. BUT if i move my mouse over
> the lin
sommeralex wrote
>
> i have set a browser favicon, and masked forwards of several domains
> pointing to my server. But not all forwards are showing the favicons. Any
> ideas why?
> e.g
> www.domain1.com shows the favicon
> www.domain2.com does not.
>
I guess you have some misconfiguration in y
sommeralex wrote
>
> Hi!
>
> I was upgrading vom Tapestry 2.6 to 3.0 and have one issue:
>
> if(encoder == null){
> encoder = new EnumValueEncoder(enumType);
> }
> return encoder;
>
> the EnumValueEncoder does not exist anymore a
Julien Martin wrote
>
> Hello,
> What is the best way to retrieve and display the currently used locale's
> language on a page with tapestry?
> Thanks in advance,
> Julien.
>
In your page class:
@Property(write=false)
@Inject Locale locale;
In your tml:
Current language is: ${locale.language}
The first article of my 4-part series in German Javamagazin was published
today:
http://it-republik.de/jaxenter/java-magazin-ausgaben/JSF-2.2-000500.html
Hope that'll help getting Tapestry more popular in Austria, Germany and
Switzerland.
(for non-German speakers: Javamagazin is the biggest Germa
Massimo Lusetti wrote
>
> So do you manage ram and server settings for each tomcat instance, right?
>
Yes, we created scripts for setting up and managing Tomcats because we have
lots of webapps and Tomcats.
Chris
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Multipl
Massimo Lusetti wrote
>
> Hi all,
> I'm in the need to prepare a server for hosting multiple (read from 6 to
> 8) tapestry5 apps.
>
> Do anyone have any experience in this field? Which is your typical
> settings in this scenario?
>
We use Tomcat with a single CATALINA_HOME and multiple CATALIN
sommeralex wrote
>
> how can i get the stacktrace? my eclipse console does not show any errors.
> I was trying to instantiate my list with an empty list if the list is
> null, but the error consists:
>
When you are in development mode (and you're using Tapestry 5.3) the
stacktrace is show in th
sommeralex wrote
>
> Hello,
>
> I want to update my page after some seconds. In this time, the browser is
> trying to retrieve gelocation. The website works, always the first call to
> that sites ends with
>
> Ajax failure: Status 500 for /mobile/browsegroups.loadingscreen:
> org.apache.tapest
Robert asked if you have a @Persist on your CollageModel in the parent
component or page. Parameters in Tapestry have a bi-directional binding. So,
if you have a @Persist on the model it is shared in the session. Two browser
tabs/windows also share the same session.
If you want to have state per wi
nazarhussain_s wrote
>
> Currently I am facing the following issues during the uploading of a File
> through a form in tapestry. I need to know how to handle the below
> exceptions.I am using Tapestry 4 , Jdk 1.5 , Weblogic 9.2. Can you please
> suggest what could be done for below two exceptions
t")
then you will get "Deutsch".
This is not what you would think would happen. You can solve this by
creating an empty file test_en.properties - then the fallback works as
expected.
Tapestry's Message implementation does not have this bug :)
--
Chris
PS: by the way - here
Taha Hafeez wrote
>
> I was looking for something like rails migration and came across
> https://github.com/spreadthesource/tapestry5-db-migrations. It looks
> promising. I have a few queries about it :-
>
> 1) Is it being actively maintained as the last commit was 9 months ago.
>
> 2) It is ba
georgeludwig wrote
>
> I was able to get a Select with zone to trigger an onValueChangedFrom...
> event, and now I want to do the same thing with a radio group.
>
> After flailing away for a couple of hours, I consulted the documentation
> and noted that the Select component indicates it will us
Paul Stanton-4 wrote
>
> Hi All,
>
Hi!
Paul Stanton-4 wrote
>
> In a t5.1 app, I thought it was worth checking every request path and
> setting the 'no-cache' response headers for all page/ajax requests.
>
> I'm not sure if this is still needed, but my required behaviour is that
> all pag
Julien Martin wrote
>
> Hello,
>
Hi!
Julien Martin wrote
>
> I am trying to make sure that if a user has not accepted the terms and
> conditions, then they cannot register.
>
> However my "*testFailsIfConditionsNotAccepted*" always fails and logging
> info indicates that the checkbox is alw
captain_rhino wrote
>
> In my onvalidate I attempt to change a different form value from one that
> I was validating (reset it to blank) but the field always displays the
> original form value) and not blank as I would wish. Can anyone suggest
> anything obviously wrong? thx in adavnce
>
Tape
Михаил Слободянюк wrote
>
> Hi!
>
Hi!
Михаил Слободянюк wrote
>
> When i wrote bean display/edit block i must know state of other properties
> of object in addition to current editable.
> Why Grid, BeanEditor and BeanDisplay do not provide it possibility?
>
A good question - it would be help
Ditso wrote
>
> Hi everybody,
>
Hi!
Ditso wrote
>
> currently we are building an application with an OpenSAML2 login. We are
> using a JBOSS 6.1 environment and tapestry 5.2.6.
>
> Sometimes when we restart the server we are able to login and the pages
> are shown. Other times we retrieve a
Igor Drobiazko wrote
>
> Great. Last year it was me. This year you will represent Tapestry. Enjoy
> the great conference. What a pity I won't be there this year. Vienna is
> one
> of my favorite cities.
>
I'll try my best - there are lots of JSF developers there, so it won't be
easy ...
Actual
Thim Anneesens wrote
>
> Hello Tapestry users,
>
Hi!
Thim Anneesens wrote
>
> The company where I work is going to choose a web framework to implement
> there site (the company core business revolves around that site). We did
> a POC with Spirng MVC, JSF, Struts and Tapestry.
> We have sho
chpasha wrote
>
> Hi all, I'm migrating to 5.3 from 5.2 and experience a problem showing
> column label for not sortable columns. Here is my BeanModel Code
>
> private BeanModel createAndConfigureGridModel() {
> BeanModel model =
> beanModelSource.createDisplayModel(Evaluation.class, mes
Just found out that Tapestry's metrics are published via Sonar at Apache:
https://analysis.apache.org/dashboard/index/48022
But I guess there's something wrong - since Tapestry has a coverage of 25.7%
there!? And it used to have coverage > 90%. I guess that's because the
integration tests with bro
Link "See Tapestry's code coverage report" on Tapestry home page leads to
http://tapestry.apache.org/current/tapestry-core/cobertura/index.html which
results in a 404.
JIRA? Or can somebody fix that quickly?
--
Chris
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Code-C
Cucchietti Denis-2 wrote
>
> Hi all !
>
Hi
Cucchietti Denis-2 wrote
>
> Is there a mean to integrate flexigrid ( http://flexigrid.info/ )
> component into tapestry 5.2 ? Maybe a custom component already exists?
>
Haven't heard of any - but I've done an implementation for
http://datatables.ne
pitfalls
http://derkoe.wordpress.com/2011/11/18/tapestry-in-scala/
and created a demo app with Tapestry and JPA:
https://github.com/derkoe/tapestry-scala-demo
--
Chris
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-in-Scala-tp5010192p5010192.html
Sent from
NewUser wrote
>
> Hi everyone,
>
> I am using tapestry 4.1.6 in my project. I have to implement a print
> functionality that includes :
>
> 1. displaying a 'Print' button on a page
> 2. click on 'Print' button opens up that particular page in pop-up along
> with print dialog box
>
> I have bee
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Print-functionality-in-tapestry-4-1-6-tp5009536p5010161.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: use
kado wrote
>
> Hi,
>
> I am trying to add a facebook provider to my app.
>
> I added the config to the xml and I had created the Class
> FacebookDaoProvider just for testing if everything goes fine but when I
> start the server this message is shown:
>
> Construction of service ProviderManage
Josh Kamau wrote:
>
> Hi there,
>
> I am learning tapestry using eclipse/jetty/maven. I have followed the
> instructions on the tapestry page. However, every time i save on eclipse,
> jetty automatically restarts. Is this the ways it is supposed to be? when
> i
> disable 'scanning' in jetty run
I guess you did forget to change the "tapestry.app-package" context parameter
or/and change the module classes in MANIFEST.MF.
Chris
Nicolas Barrera wrote:
>
> Hi all,
>
> I wanted to share my strange use case and the errors I 'm facing in my way
> to accomplish it, either way if none can help
ly, i would like to use JAX-WS style annotations.
>
> Thanks in advance,
> Tim
>
Here's a simple integration for Metro (JAX-WS RI):
https://github.com/derkoe/tapestry-jaxws
You can also use the libraries (Metro, CXF) directly by then you cannot
inject Tapestry services.
--
Yeah - that's what I did but I think this should be fixed before releasing
5.3
lprimak wrote:
>
> I specifically exclude persistence in my Pom when I import tapestry-jpa as
> a workaround.
>
> On Nov 8, 2011, at 7:05 AM, derkoe <tapestry.christian.koeberl@>
> w
Just tried to use 5.3-rc-2 tapestry-jpa module, but Maven cannot find the
dependency to org.eclipse.persistence:javax.persistence:2.0.3
There seems to be a 2.0.0 but not 2.0.3:
http://search.maven.org/#search|ga|1|a%3A%22javax.persistence%22
http://mvnrepository.com/artifact/org.eclipse.persistenc
lprimak wrote:
>
> I just put out a test web site to 50 users.
> We have enterprise monitoring software that sends emails to all the bosses
> when an error is logged in the web site.
>
First of all - working on weekends is no good idea :)
> Right now, errors such as form submits via GET, m
lprimak wrote:
>
> The dates show up fine for my US Locale,
> but that 6 month popup is "2011 Oct" as opposed to "Oct 2011" :)
>
I guess that is intended by the datpicker.js - the top label in the picker
is also in format "year month". If you want another JS date picker you can
quite easily cre
lprimak wrote:
>
> There is a a label on top of the date picker that says "2011 October"
> When you click on that it turns into a popup where you can choose the last
> six months.
> I looked at it actually and its hardcoded in JavaScript, so I had to
> monkey patch it,
> as it wasn't localized at
trsvax wrote:
>
> I know it's documented but is there any real reason the
> ActivationRequestParameter annotation only works in a page and not a
> component? I realize poor naming conventions could cause conflicts but
> it seems like an unnecessary restriction.
>
I think that's a very good rest
lprimak wrote:
>
> Right now the default EN locale for the 6 month popup is not localized
> properly. "2011Octpber" vs. "October 2011".
> Worthy of a JIRA issue?
>
Are you talking about Tapestry's DateField component? I don't know any "6
month popup". Can you be more specific or provide an exa
Ray Fortycoats wrote:
>
> Hi all,
>
Hi Ray!
Ray Fortycoats wrote:
>
> I need to be able to access an image from javascript using the following
> call:
>
> jQuery(button).attr("style", "background-image :
> url(images/button.png);");
>
> The problem is that this will not work for me in the
dick_hu wrote:
>
> Now I use the FCKeditor, because of it often has many html tags,so the
> value's length often over the db's words limit.So I want to transform the
> html tags to short string.
> I want to use the "Translator",But I find "ValueEncoder" seems has the
> same feature.
> Which one c
Leon Derks wrote:
>
> I have a TextField that shows a double value.
>
> But I want to format the value in the Textfield as a decimal with 4
> decimals (i.e. 0.1234)
>
> In Tapestry there is a NumericFormatter and a BigDecimalNumericFormatter.
> But I can't find any documentation on how to use t
Wechsung, Wulf wrote:
>
> so, I noticed that BeanEditors don't work very well a loops. Seems to just
> not render anything. Should I file that as a bug or is this a D'oh kind of
> thing that should be obvious?
>
Just created a page with a BeanEditor in a loop - it renders inputs as it
should.
The problem is that Tapestry uses the usual Java String comparison for
sorting in Grid (generally speaking - Grid is not really localized).
String's compare uses the value of the character (and in UTF-8 encodings "b"
is greater than "G", as in ASCII).
So, if you want correct sorting you have to us
I read the recent threads about integrating JAX-WS and Tapestry. One of our
projects is using JAX-WS (Metro) with Tapestry for 3 years now, so I
extracted the relevant code and put in on github.
Here's the result: Tapestry JAX-WS Integration
https://github.com/derkoe/tapestry-jaxws
Fea
Henrik Schlanbusch wrote:
>
> Hi
>
> Yes I am aware of this one. To describe my problem, I have a rather big
> framework I would like to rebuild from T4 ->T5. In this framework we use a
> lot
> of tabbed panes. In T4 we loaded pages into each tab. This made our code
> cleaner, since we could
Henrik Schlanbusch wrote:
>
> Hi
>
> Is it possible to return a page as an ajax result or will this only work
> with
> zones?
>
> -Henrik
>
When you return a page to an AJAX event handler the Tapestry JS will make a
redirect to that page - for more infos see:
http://tapestry.apache.org/ajax-
This seems to be a bug.
Also the JavaDoc of Submit is a bit mileading: "The notification is named
"selected" and has no context" in the class but "The list of values that
will be made available to event handler method of this component when the
form is submitted." on the context parameter.
A solu
What you try doesn't work in 5.2.6 either (and I think it didn't work in any
Tapestry version before). This results in: "Construction of service
'ApplicationDefaults' has failed due to recursion: the service depends on
itself in some way".
This is quite logical since the SymbolSource needs the co
Muhammad Gelbana wrote:
>
> I solved the situation using a workaround. But I still couldn't
> efficiently run javascript when the block zone is updated.
> I tried using the javascriptsupport service but couldn't find a way to
> use it as it needs to be used in the "afterrender" event of the zone
biswanath@gmail.com wrote:
>
> I am updating the tapestry version from 5.0.18 to 5.2.6.
>
> 1. How can I disable loading default tapestry js files like
> ...(scriptaculous.js, tapestry-messages.js, tapestry-console.js,
> tapestry-beanvalidator.js, tapestry.js, prototype.js).
>
> 2. How to f
Muhammad Gelbana wrote:
>
> I have a table with many cells being updated using ajax calls. In the
> block returned by the ajax call, I conditionally run some java script
> to style the td and div in which the response is rendered.
>
> For a reason, this javascript isn't executed well. But I when
Steve Eynon wrote:
>
> ...it doesn't say "Hello!!!"? Is onException() not called during
> RenderPhase events? And if not, why not!? (It would seem a little
> inconsistent.)
>
> I wish to throw a couple of bespoke exceptions during onActivate() and
> setupRender() and have then caught and handled
Rendy Tapestry wrote:
>
> Hi Christian,
>
> Thank you for taking time to help. I try to solve my problem using second
> approach from your suggestion. Creating LocalizationDispatcher and
> register
> it before PageRender. I try to run my application, it seems rendering
> wasn't
> happened (blank
sandeep kale wrote:
>
> Hi,
>
To do it like Thiago: Hi!
> I am using zone to reset ordering of rows in my list grid. I reorder the
> rows in the list after clicking on reset button which refreshes zone
> containing list grid. Upto this it's fine. But I have added js to on load
> of document
59 matches
Mail list logo