AW: AW: How to send additional data with an ajax response

2015-10-30 Thread Poggenpohl, Daniel
Hello again, ah, of course I forgot to mention that our code should run in IE9, sadly. (I wouldn't prefer that). And IE9 doesn't seem to support data attributes. Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de]

AW: AW: How to send additional data with an ajax response

2015-10-30 Thread Poggenpohl, Daniel
additional data with an ajax response On Thu, 29 Oct 2015 05:59:30 -0200, Poggenpohl, Daniel wrote: > Hello, > > do you have example code returning not only the body, but also > additional data, for me? Have you even considered my suggestion of using data tags inside the rendered HT

AW: How to send additional data with an ajax response

2015-10-29 Thread Poggenpohl, Daniel
t; On Wed, 28 Oct 2015 08:16:21 -0200, Poggenpohl, Daniel < > daniel.poggenp...@isst.fraunhofer.de> wrote: > > Hello everyone, >> > > Hi! > > we have a problem where we update some page with an ajax request, but need >> additional data to be sent with the ajax

Mixin's AfterRender method isn't called after ajax update

2015-10-28 Thread Poggenpohl, Daniel
Hello, we have a zone containing an element with a Mixin. An Ajax update reloads the zone contents and so should, if I understand it right, re-render the elements in the zone. So it should re-render the element with the Mixin. So basically, we have a The Mixin has a method

How to send additional data with an ajax response

2015-10-28 Thread Poggenpohl, Daniel
Hello everyone, we have a problem where we update some page with an ajax request, but need additional data to be sent with the ajax response. This additional data should then be consumed on the client side by an ajaxComplete event. Does anyone know how a Tapestry event method can return more th

Standard BeanModel for my own classes

2015-10-12 Thread Poggenpohl, Daniel
Hi, I've created some classes that are used rather prominently in my Tapestry 5.3.8 application. The classes have some attributes that are themselves simple string wrappers. So, for example, I have: SomeClass.java -- UidString someUid; [...] And UidString is basically a String

AW: SelectModel created by Factory using List

2015-10-07 Thread Poggenpohl, Daniel
On Wed, 07 Oct 2015 05:39:03 -0300, Poggenpohl, Daniel wrote: > Hi, Hi! > I tried to fix some IntelliJ warnings by returning not a List > for a select model, Tapestry has a built-in conversion from List to SelectModelFactory so it's a completely valid object to pass to the model p

SelectModel created by Factory using List

2015-10-07 Thread Poggenpohl, Daniel
Hi, I tried to fix some IntelliJ warnings by returning not a List for a select model, but rather a SelectModel created using the SelectModelFactory.create method. The method takes two parameters. If I give a List as the objects, what labelProperty do I have to set then? Regards, Daniel

AW: Client ID for Textarea component not settable

2015-10-01 Thread Poggenpohl, Daniel
. Oktober 2015 17:04 An: users@tapestry.apache.org Betreff: Re: Client ID for Textarea component not settable Hello, Maybe this mixin can help you : http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/RenderClientId.html Regards, Charles Le jeu. 1 oct. 2015 17:00

Client ID for Textarea component not settable

2015-10-01 Thread Poggenpohl, Daniel
Hello everyone, I can't seem to set the client id for the Tapestry textarea component. This has happened twice at least in the past. My options are: - Write a wrapper component around Textarea and try to re-set the client id - Write a mixin that can be put into any component to re-set the client

AW: Possible Bug regarding Index pages

2015-09-17 Thread Poggenpohl, Daniel
e Nachricht----- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Donnerstag, 17. September 2015 09:05 An: Tapestry users Betreff: AW: Possible Bug regarding Index pages Hello, Tapestry 5.3.8. The stack trace is: type Exception report message description The s

AW: Possible Bug regarding Index pages

2015-09-17 Thread Poggenpohl, Daniel
: Possible Bug regarding Index pages On Wed, 16 Sep 2015 15:10:59 -0300, Poggenpohl, Daniel wrote: > Hello everyone, Hi! What Tapestry version are you using? What's the full stack trace? I believe this issue was already fixed. > > I've detected a possible bug in our appl

Possible Bug regarding Index pages

2015-09-16 Thread Poggenpohl, Daniel
Hello everyone, I've detected a possible bug in our application: If the following is true (at least in Firefox): - I have "forgotten" about the web application pages (History->Show All History->Forget about this site) - I request the Index page of the Tapestry web application with its root URL

Using Codes in Message Catalog

2015-09-11 Thread Poggenpohl, Daniel
Hello, we're trying to put a copyright sign into a message. I've tried the HTML code for the sign and the UTF-8 code. Both are interpreted literally. What do I have to do to print the sign? Regards, Daniel P.

Tapestry and ETags

2015-09-10 Thread Poggenpohl, Daniel
Hello everyone, we're fighting a caching problem here using Tapestry 5.3.8. I know that 5.4 will code urls with hashes so that you get the newest resource every time. With 5.3.8, I am supposed to change versions or something like it. But I'd rather just serve resources with ETags and cache-cont

Asset Fingerprinting

2015-09-09 Thread Poggenpohl, Daniel
Hi, I see that generating hash urls for Tapestry assets is only done since Tapestry 5.4. Since I have a caching problem at the moment because my javascript and css files regularly change in the phase we're in, the "identify asset by app version" strategy is very inconvient, to say the least. C

AW: AW: Tapestry Forms - Client side ids

2015-09-08 Thread Poggenpohl, Daniel
: Re: AW: Tapestry Forms - Client side ids What version of Tapestry are you using? On Tue, 08 Sep 2015 04:23:51 -0300, Poggenpohl, Daniel wrote: > Hi, > > Template: > t:context="someId" t:zone="^"> > > Java: > public String getNewComme

AW: Tapestry Forms - Client side ids

2015-09-08 Thread Poggenpohl, Daniel
5 22:47 An: Tapestry users Betreff: Re: Tapestry Forms - Client side ids On Mon, 07 Sep 2015 05:44:00 -0300, Poggenpohl, Daniel wrote: > Hi, Hi! > it seems that the Tapestry Form component is one of the few components > that doesn't let me manually set the client side id. Is thi

AW: Tapestry IoC - Two Implementations of the same Service class - Symbol Providers

2015-09-07 Thread Poggenpohl, Daniel
iel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Donnerstag, 3. September 2015 21:01 An: users@tapestry.apache.org Betreff: Tapestry IoC - Two Implementations of the same Service class - Symbol Providers Hello everyone, I h

AW: MappedConfiguration for my service - how to access the map

2015-09-07 Thread Poggenpohl, Daniel
return myService.getConfigValue("first"); } } | Nathan On 03/09/15 19:44, Poggenpohl, Daniel wrote: > Hi everyone, > > I'm trying to add some configuration to my self-implemented service. How do I > access the configuration properties? I can add to the configuration, override

Tapestry Forms - Client side ids

2015-09-07 Thread Poggenpohl, Daniel
Hi, it seems that the Tapestry Form component is one of the few components that doesn't let me manually set the client side id. Is this correct and why was this done? Can I do something to set the id? Regards, Daniel P.

Tapestry IoC - Two Implementations of the same Service class - Symbol Providers

2015-09-03 Thread Poggenpohl, Daniel
Hello everyone, I have a FileSymbolProvider. It looks for a file in the webapp classpath and reads the properties from the file. I have defined two services based on the FileSymbolProvider, FileXProvider and FileYProvider. One of them is configured to generate default values for properties with

MappedConfiguration for my service - how to access the map

2015-09-03 Thread Poggenpohl, Daniel
Hi everyone, I'm trying to add some configuration to my self-implemented service. How do I access the configuration properties? I can add to the configuration, override it, and inject it per IOC into the constructor of the service. But how do I access the configuration? Regards, Daniel P.

Inspection of Tapestry applications in IntelliJ

2015-08-25 Thread Poggenpohl, Daniel
Hello again, right after solving after another problem, I thought that maybe you could help me with another one regarding IntelliJ and Tapestry. The IDE has Tapestry support, but it seems to use a rather old Tapestry version (5.1?). The code inspections seem to be relatively dumb because @Prope

AW: Debugging Tapestry with IntelliJ IDEA

2015-08-25 Thread Poggenpohl, Daniel
Hi, Using production mode = false helped solve the problem with properties having "null" values. The tapestry execution mode has to wait for now until we need different modes. Thanks for helping. Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel Gesendet

AW: Debugging Tapestry with IntelliJ IDEA

2015-08-25 Thread Poggenpohl, Daniel
know if that could make a difference? On 25 Aug 2015 11:33 am, "Chris Poulsen" wrote: > It works fine with IDEA here. A possibility could be that you are > running in production mode? > > On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel < > daniel.pogge

Debugging Tapestry with IntelliJ IDEA

2015-08-25 Thread Poggenpohl, Daniel
Hello everyone, we are evaluating IntelliJ IDEA for development and so far it has been quite good. But the Tapestry specifics seem to hinder further evaluation. Does anyone here use IntelliJ for development? When we debug code, page properties are always seen as having a "null" value instead of

How do I unit test Javascript in Tapestry applications?

2015-08-17 Thread Poggenpohl, Daniel
Hello, We're trying to test our Tapestry application. We know that we can test our pages with https://tapestry.apache.org/unit-testing-pages-or-components.html But how do we test the JavaScript we implemented? It would seem that we would need a Tapestry generated html page and then call the scr

Working with JPA - Page Requests - Checking if object with id exists - Redirecting if false

2015-08-04 Thread Poggenpohl, Daniel
Hello everyone, as the subject describes, we are trying to decide when to redirect the user to the error page. Tapestry reads the context from the url. As it may happen, a (malicious or not) user can decide to try out IDs with a URL. When in the page request process should I look in the databa

Send Redirect after Login

2015-07-29 Thread Poggenpohl, Daniel
Hello, I'm using the Layout component for authentication purposes. The general auth process is happening outside of the application via SSO, but all my pages have the Layout component. Every time I request a page, The Layout component looks if a session user has been created, and if not, create

AW: YUICompressor tries to compress minified resources

2015-07-29 Thread Poggenpohl, Daniel
Jul 28, 2015 at 11:14 AM, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> wrote: > Hello, > > we enabled production mode in our application. > The Tapestry YUICompressor doesn't seem to recognize already minified > JS or CSS files and tries to compress them.

AW: Contributing a Symbol Provider

2015-07-28 Thread Poggenpohl, Daniel
e, 28 Jul 2015 10:31:55 -0300, Poggenpohl, Daniel wrote: > Hello, Hi! > I want to provide additional configuration on startup to my Tapestry > application. I want to store the additional configuration in a file > containing lines "key=value". > I know I can contribu

YUICompressor tries to compress minified resources

2015-07-28 Thread Poggenpohl, Daniel
Hello, we enabled production mode in our application. The Tapestry YUICompressor doesn't seem to recognize already minified JS or CSS files and tries to compress them. This results in Exceptions like this one: ERROR] AssetsModule.ResourceMinimizer JavaScript compression problems for resource con

Contributing a Symbol Provider

2015-07-28 Thread Poggenpohl, Daniel
Hello, I want to provide additional configuration on startup to my Tapestry application. I want to store the additional configuration in a file containing lines "key=value". I know I can contribute a symbol provider to load a file and access the symbols this way. But I can't find the documenta

AW: Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Poggenpohl, Daniel
. > > -- > Chris > > On Mon, Jul 20, 2015 at 3:31 PM, Poggenpohl, Daniel < > daniel.poggenp...@isst.fraunhofer.de> wrote: > >> Hello everyone, >> >> I want to finally adress the problem that crops up when persisting >> page properties (which I

Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Poggenpohl, Daniel
Hello everyone, I want to finally adress the problem that crops up when persisting page properties (which I do not want to). For example, I have a Page P1, containing a component C1. I also define a jquery dialog J1 in my page, which is opened inside C1 via a dialogajaxlink. The dialog contain

AW: Deploying a Tapestry 5.3.8 app on Tomcat 7 - Dependency problems (probably)

2015-07-20 Thread Poggenpohl, Daniel
vassist 3.18 is compiled with 1.8 and as we are running 1.7 compliance it broke? Anyway, thanks for listening. Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Montag, 20. Juli 2015 11:34 An: users@tapestry.apa

Deploying a Tapestry 5.3.8 app on Tomcat 7 - Dependency problems (probably)

2015-07-20 Thread Poggenpohl, Daniel
Hello everyone, We're trying to deploy our application to an Apache Tomcat 7 and are having problems visiting the app's pages because of JPA problems. First: Deploying the application to an embedded Jetty 9.2 works. Using the app, too. We've had problems deploying the app to Tomcat at first be

Tapestry Website broken - Documentation without examples

2015-07-14 Thread Poggenpohl, Daniel
Hello, I've visited the Tapestry pages for documentation purposes. https://tapestry.apache.org/documentation.html I'm getting multiple errors on the pages: Example: "Error formatting macro: contentbylabel: com.atlassian.confluence.api.service.exceptions.BadRequestException: Could not parse cq

Jquery InPlaceEditor Component

2015-06-02 Thread Poggenpohl, Daniel
Hi, The inplace editor example on the page http://tapestry5-jquery.com/components/docsinplaceeditor seems to be broken. I can't seem to change pages with the pager but get errors (Communication with the server failed: null). Is there an error in the example that no one detected? Regards, Daniel

Page opens Component A in Dialog X using DialogAjaxLink + Component A opens Component B in Dialog Y using DialogAjaxLink (Jquery Tapestry Dialog)

2015-06-01 Thread Poggenpohl, Daniel
Hi, I have the setup in the subject header. When I open Dialog X to display Component A, the contents of Dialog Y (i.e. Component B) are rendered inside Dialog X. Can I prevent this? When clicking the DialogAjaxLink in Dialog X to open Dialog Y, Dialog Y opens in a normal way and displays Comp

AW: AW: AW: Adding JS to my component combined with using t:If

2015-05-27 Thread Poggenpohl, Daniel
Hello, I use JQuery, so the below advice sadly doesn't apply. I checked, when I add the JQuery dependency, the findZoneManager method is gone. Tapestry-jquery wants me to use tapestryZone("update",...). With no further real documentation outside of the source code... So, to recap, in my opinion

AW: AW: Getting a client side id from my component zone (used in loop)

2015-05-27 Thread Poggenpohl, Daniel
Hi, that could be a method for knowing which zone to update, because I know the db id of the represented object. I'll check this out. Thanks, Daniel P. -Ursprüngliche Nachricht- Von: Lance Java [mailto:lance.j...@googlemail.com] Gesendet: Mittwoch, 27. Mai 2015 15:47 An: Tapestry users

AW: Getting a client side id from my component zone (used in loop)

2015-05-27 Thread Poggenpohl, Daniel
eginRender void begin() { JSONObject params = new JSONObject(); params.put("zone", zoneToUpdate.getClientId()); Is it because of the loop the component is in? Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel Gesendet: Mit

AW: AW: AW: Adding JS to my component combined with using t:If

2015-05-27 Thread Poggenpohl, Daniel
you want to know how the stuff is > put together beneath the covers. > > On Wed, May 27, 2015 at 11:25 AM, Poggenpohl, Daniel < > daniel.poggenp...@isst.fraunhofer.de> wrote: > >> Hello, >> >> I am a certified newcomer to all of this. >> Searching on go

AW: AW: AW: Adding JS to my component combined with using t:If

2015-05-27 Thread Poggenpohl, Daniel
with using t:If take a look at the ajax.js module and see if you can use that instead of generating your own $.post On Wed, May 27, 2015 at 10:45 AM, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> wrote: > Hello again, > > I have generated the event urls and given th

AW: AW: AW: Adding JS to my component combined with using t:If

2015-05-27 Thread Poggenpohl, Daniel
place a client-side DOM element with the "data" content of the response. Is it because I use a self-written javascript and don't rely fully on Tapestry here? Should I use some functions of tapestry.js? Am I doing something wrong here or am I on the right track? Regards, Daniel P. --

AW: AW: AW: Adding JS to my component combined with using t:If

2015-05-27 Thread Poggenpohl, Daniel
Re: AW: AW: Adding JS to my component combined with using t:If On Tue, 26 May 2015 11:49:20 -0300, Poggenpohl, Daniel wrote: > Hi again, Hi! > Jquery can define arbitrary events that can be triggered. I thought I > could raise a JS event and handle it via "onEVENTNAME" on the Ta

AW: AW: Adding JS to my component combined with using t:If

2015-05-26 Thread Poggenpohl, Daniel
An: Tapestry users Betreff: Re: AW: Adding JS to my component combined with using t:If On Fri, 22 May 2015 09:59:53 -0300, Poggenpohl, Daniel wrote: > Hello again and thanks for answering, Hi! > But when I create a page containing some textarea in a form, import > the tinyMCE.js, and pu

Customizing the Tree Component

2015-05-26 Thread Poggenpohl, Daniel
Hello everyone, we want to customize the Tapestry tree component. One of our first problems is to change the icons used in leaves and nodes. How could we do that? Regards, Daniel P.

AW: Adding JS to my component combined with using t:If

2015-05-22 Thread Poggenpohl, Daniel
ilto:thiag...@gmail.com">mailto:thiag...@gmail.com</a>] Gesendet: Freitag, 22. Mai 2015 14:32 An: Tapestry users Betreff: Re: Adding JS to my component combined with using t:If On Fri, 22 May 2015 07:01:14 -0300, Poggenpohl, Daniel <daniel.poggenp...@isst.fraunhofer.de> wrot

Adding JS to my component combined with using t:If

2015-05-22 Thread Poggenpohl, Daniel
Hello everyone, I am trying to add the capabilities of a WYSIWYG editor to my Tapestry 5.3.8 project, namely TinyMCE. I have some questions regarding use of JavaScript in my pages/components: 1) Reading https://tapestry.apache.org/legacy-javascript.html , the preferred way to reference a

JumpStart Edit example - prepareForSubmit event handler

2015-05-08 Thread Poggenpohl, Daniel
Hi, http://jumpstart.doublenegative.com.au/jumpstart/examples/input/edit1/1 describes an example where a BeanEditForm is used to edit some object and update the database. The example uses the following code: // Form bubbles up the PREPARE_FOR_SUBMIT event during form submission. void

AW: Differences between prepareForRender and prepare - What kind of code goes where

2015-05-08 Thread Poggenpohl, Daniel
Hi, I know of this page, but I can't seem to find the answer for "What kind of code would or would you not put in each handler?" there. Regards, Daniel P. -Ursprüngliche Nachricht- Von: Lance Java [mailto:lance.j...@googlemail.com] Gesendet: Freitag, 8. Mai 2015 15:03 An: Tapestry user

Differences between prepareForRender and prepare - What kind of code goes where

2015-05-08 Thread Poggenpohl, Daniel
Hi, I'm trying to discern between the two events in the subject line. What kind of code would you put in which event and why (or why not)? Regards, Daniel P.

Line breaks in Message Catalog

2015-05-06 Thread Poggenpohl, Daniel
Hi, is there any way to indicate line breaks in the message catalog? Regards, Daniel P.

AW: AW: AW: Splitting a tapestry web app into modules

2015-04-23 Thread Poggenpohl, Daniel
che Nachricht- Von: Charlouze [mailto:m...@charlouze.com] Gesendet: Donnerstag, 23. April 2015 15:48 An: Tapestry users Betreff: Re: AW: AW: Splitting a tapestry web app into modules I"m using JPA 2.1 and: http://java.sun.com/xml/ns/persistence"; version="1.0"> Le jeu.

AW: AW: AW: Splitting a tapestry web app into modules

2015-04-23 Thread Poggenpohl, Daniel
to regress back to JPA 2.0? Or can I still use 2.1 via changes to the persistence.xml? Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Donnerstag, 23. April 2015 13:47 An: Tapestry users Betreff: AW: AW: AW:

AW: AW: AW: Splitting a tapestry web app into modules

2015-04-23 Thread Poggenpohl, Daniel
"public static void bind(ServiceBinder binder)" method where services are bound to the tapestry registry. An implementation of service should have a constructor where parameters are other services you want to inject in order to use them (and optionally the contribution parame

AW: AW: AW: Splitting a tapestry web app into modules

2015-04-23 Thread Poggenpohl, Daniel
il 2015 11:54 An: Tapestry users Betreff: Re: AW: AW: Splitting a tapestry web app into modules If your service is bound to the registry via a ServiceBinder then it should. Le jeu. 23 avr. 2015 à 11:50, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> a écrit : > Hi, > >

AW: AW: AW: Splitting a tapestry web app into modules

2015-04-23 Thread Poggenpohl, Daniel
avr. 2015 à 11:23, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> a écrit : > Hi everyone, > > thank you for adressing my questions, I think that helped me to > accomplish my goal. > > One more question for the moment: > d) My dao-hibernate module, the DAO

AW: AW: AW: Splitting a tapestry web app into modules

2015-04-23 Thread Poggenpohl, Daniel
in a Module class. c) thiago already answer this one :D Cheers, Charles Le mer. 22 avr. 2015 à 16:43, Thiago H de Paula Figueiredo < thiag...@gmail.com> a écrit : > On Wed, 22 Apr 2015 10:53:01 -0300, Poggenpohl, Daniel > wrote: > > > Hello, > > Hi! > > &

AW: AW: Splitting a tapestry web app into modules

2015-04-22 Thread Poggenpohl, Daniel
Nachricht- Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Gesendet: Donnerstag, 16. April 2015 18:08 An: Tapestry users Betreff: Re: AW: Splitting a tapestry web app into modules On Thu, 16 Apr 2015 11:09:53 -0300, Poggenpohl, Daniel wrote: > Hello again, > > I think I

AW: Tapestry 5.4 bytecode manipulation

2015-04-17 Thread Poggenpohl, Daniel
Hi, It was just an idea without knowing the inner workings or workflow of the bytecode manipulation. I just saw something which looked like the JavaScript problem on first glance without looking into the mechanics. Regards, Daniel -Ursprüngliche Nachricht- Von: Lance Java [mailto:lance

Tapestry 5.4 bytecode manipulation

2015-04-17 Thread Poggenpohl, Daniel
Hi, if I understand your plans regarding Tapestry 5.4 correctly, you uncoupled the JavaScript engine so that you can choose between e.g. Prototype or JQuery. Now, after asking some question on StackOverflow: http://stackoverflow.com/questions/29645744/how-do-i-deploy-my-eclipse-tapestry-web-app-

AW: Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
pestry web app into modules Hi, Java doesn't know anything about projects & modules. It works with classpath. Just make sure all your packages & entities on the same classpath and you should be good. On Thu, Apr 16, 2015 at 1:10 PM, Poggenpohl, Daniel < daniel.poggenp...@isst.f

AW: Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
... You just have to make sure that the module is used upon registry configuration. Le jeu. 16 avr. 2015 à 10:41, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> a écrit : > Hi, > > I'm using tapestry-jpa. > I've found a reference to JpaEntityPackageM

AW: Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
April 2015 10:36 An: users@tapestry.apache.org Betreff: Re: Splitting a tapestry web app into modules Hey Are you using JPA or Hibernate ? Charles Le jeu. 16 avr. 2015 à 10:21, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> a écrit : > Hello everyone, > > I'm

Splitting a tapestry web app into modules

2015-04-16 Thread Poggenpohl, Daniel
Hello everyone, I'm trying to enable reuse for our projects by splitting our application into separate modules for the data model and the web ui, among others. When starting a Tapestry application, it looks for the entities in the entities package of the same project. Is it even possible that I

AW: Problems with jquery tab component

2015-03-25 Thread Poggenpohl, Daniel
- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Mittwoch, 25. März 2015 11:18 An: Tapestry users Betreff: AW: Problems with jquery tab component Hello for the third time, I'm beginning to warm up with Firebug... When I click on the DialogAjaxLink to open the dia

AW: Problems with jquery tab component

2015-03-25 Thread Poggenpohl, Daniel
27;" Any ideas? Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Mittwoch, 25. März 2015 11:02 An: Tapestry users Betreff: AW: Problems with jquery tab component Hello again, I've activated event logging in the page and c

AW: Problems with jquery tab component

2015-03-25 Thread Poggenpohl, Daniel
epare from gridContainingTab] When I click the DialogAjaxLinks, the click events are fired and the appropriate function seems to be called. It just doesn't open the dialog. Regards, Daniel -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesende

Problems with jquery tab component

2015-03-24 Thread Poggenpohl, Daniel
Hi, I'm using the jquery tab component, and as the google group seems pretty dead at the moment, I thought I bring my question here... I have a page with a tab component (ajax=true) with 4 tabs. One of these tabs contains dialogAjaxLinks that open some dialogs. The links are contained inside a

Can't access generate HTML file (probably not Tapestry-specific)

2015-03-23 Thread Poggenpohl, Daniel
Hello, perhaps you people can help me...my application has various resources deployed. Among them are a kind of HTML template files. I take the files, replace part of the contents of the file according to a certain syntax, and want to display the resulting html file in an iframe on a Tapestry p

How to generate URL's from the context

2015-03-23 Thread Poggenpohl, Daniel
Hello, the day has been long, I am kinda stumped now. I have some documents lying in the webapp/resources folder. I want to embed a pdf in a page, so I need a value for the src attribute for the tag. Can somebody help me? Regards, Daniel P. -- Dipl. Inf. Daniel Poggenpohl, Fraunhofer-Institut

AW: Session Storage - activePanelId of Jquery Tabs Component

2015-03-23 Thread Poggenpohl, Daniel
Hello again, okay, I discovered that I can't use the exists attribute with SessionAttribute. But the problem is still there: I return to the tabbed page and the active tab and tab content are out of sync. Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, D

Session Storage - activePanelId of Jquery Tabs Component

2015-03-23 Thread Poggenpohl, Daniel
Hello, I'm trying to store the activePanelId of a Jquery tabs component as a SessionAttribute, so that when the page is loaded, the correct panel is highlighted and the correct tab content is displayed, i.e. the one that was highlighted/displayed when you left the page. Now, when I leave the p

AW: Session Storage with Tapestry

2015-03-18 Thread Poggenpohl, Daniel
nd then do a manual merge() or via DAO on it. Can I inject into my AppSession object or what would be the way to go here? Regards, Daniel P. -Ursprüngliche Nachricht- Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Gesendet: Mittwoch, 18. März 2015 14:17 An: Tapestry us

AW: AW: Memory Footprint in Tapestry

2015-03-18 Thread Poggenpohl, Daniel
On Wed, 18 Mar 2015 07:32:43 -0300, Poggenpohl, Daniel wrote: > Hello, Hi! > from what I gather, Tapestry intercepts requests and looks for the > according page instances in the server-side application. Correct, as Tapestry is implemented as a servlet filter, not a servlet, so &quo

AW: Memory Footprint in Tapestry

2015-03-18 Thread Poggenpohl, Daniel
lto:thiag...@gmail.com] Gesendet: Mittwoch, 18. März 2015 13:49 An: Tapestry users Betreff: Re: Memory Footprint in Tapestry On Wed, 18 Mar 2015 05:21:51 -0300, Poggenpohl, Daniel wrote: > Hello, Hi! Have you seen http://tapestry.apache.org/persistent-page-data.html? > For example, I have

AW: Session Storage with Tapestry

2015-03-18 Thread Poggenpohl, Daniel
ibernate session. If you turn on show sql you should see the object fetched evertime you go to a new page. If you don't then something is wrong. On Wed, Mar 18, 2015 at 5:21 AM, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> wrote: > Hello again, > > a slightly

AW: Session Storage with Tapestry

2015-03-18 Thread Poggenpohl, Daniel
System.out.println(group.toString()); } } Any pointers? Do I have to use the user as a direct SessionState object? Can't I use a wrapper class? Regards, Daniel P. Von: Poggenpohl, Daniel Gesendet: Mittwoch, 18. März 2015 11:21 An: users@tapestry.apache.org Betreff: Ses

AW: Memory Footprint in Tapestry

2015-03-18 Thread Poggenpohl, Daniel
art.doublenegative.com.au/jumpstart/examples/state/storingdatainapage Geoff On 18 Mar 2015, at 7:21 pm, Poggenpohl, Daniel wrote: > Hello, > > I've yet to really understand which decisions for my Page and Component > classes regarding member variables lead to what amount of incr

Session Storage with Tapestry

2015-03-18 Thread Poggenpohl, Daniel
Hello again, a slightly different topic as the last but with the same "undertones": I need a session storage where I store the currently logged on user. Reading about it in the documentation, they recommend using @SessionState because my user is a complex object, also containing lists of other

Memory Footprint in Tapestry

2015-03-18 Thread Poggenpohl, Daniel
Hello, I've yet to really understand which decisions for my Page and Component classes regarding member variables lead to what amount of increase in memory usage or bandwidth usage. Are there any documentation pages that I've maybe overlooked? For example, I have a page and database entities us

AW: Setting a default locale in Tapestry

2015-02-24 Thread Poggenpohl, Daniel
n symbol used by Tapestry(-core, the web framework) to decide which are the locales that can be used. On Tue, 24 Feb 2015 11:00:03 -0300, Poggenpohl, Daniel wrote: > Hello, > > I know that the persistent locale is encoded in the URL's. > > When I go to a page of our applicati

Setting a default locale in Tapestry

2015-02-24 Thread Poggenpohl, Daniel
Hello, I know that the persistent locale is encoded in the URL's. When I go to a page of our application and the url does not contain the locale string, the loaded page defaults to the language the browser would like to see, e.g. "en". We want to prevent this. If a user types in a URL of our w

AW: Tapestry 5.4 JavaScript support .... support request

2015-02-24 Thread Poggenpohl, Daniel
y 5.4 JavaScript support support request On 24 Feb 2015, at 9:59 am, Poggenpohl, Daniel wrote: > Hello, > > the Jumpstart tutorial says "They reside in resources/META-INF/modules." > > Is it src/main/resources/META-INF/modules ? > If you go to any of the examp

AW: Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread Poggenpohl, Daniel
5 22:13 An: Tapestry users Betreff: Re: Tapestry 5.4 JavaScript support support request On 24 Feb 2015, at 5:38 am, Poggenpohl, Daniel wrote: > Hello everyone, > > I'm trying to add some functionality to a grid: > > Every grid row should be an area where you can click to go to

AW: Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread Poggenpohl, Daniel
, an alertbox should appear, containing nonsense text. Just for debugging. But that didn't work, either. Regards, Daniel P. Von: George Christman [gchrist...@cardaddy.com] Gesendet: Montag, 23. Februar 2015 20:46 An: Tapestry users Betreff

AW: Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread Poggenpohl, Daniel
Hello everyone, oh, I forgot, I use Tapestry 5.4 Beta 22. Regards, Daniel P. Hello everyone, I'm trying to add some functionality to a grid: Every grid row should be an area where you can click to go to the details page of the row object. But enough of that, even a simple javascript like ale

Tapestry 5.4 JavaScript support .... support request

2015-02-23 Thread Poggenpohl, Daniel
Hello everyone, I'm trying to add some functionality to a grid: Every grid row should be an area where you can click to go to the details page of the row object. But enough of that, even a simple javascript like alert on click doesn't seem to work. The js is added via jss.addScript(), which i

AW: AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
nerstag, 19. Februar 2015 17:18 An: Tapestry users Betreff: Re: AW: PDF Viewer component On Thu, 19 Feb 2015 12:28:02 -0200, Poggenpohl, Daniel wrote: > Hello, Hi! > well, embedding the component in a page shows not the PDF but the Java > object identity, e.g. > InlineViewingStreamR

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
have to use an iframe for displaying a pdf? Does this work with zones? Does the zone need some other return value? Once this is clear to me, the rest will fall into place, it seems. Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhof

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
ng event links? Or do you mean that I should update the zone with the StreamResponse directly? Regards, Daniel P. -Ursprüngliche Nachricht- Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] Gesendet: Donnerstag, 19. Februar 2015 15:28 An: Tapestry users Betreff: AW:

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
} catch (UnsupportedEncodingException e) { // skip } } } } From: Poggenpohl, Daniel Sent: Thursday, February 19, 2015 15:06 To: Tapestry users Subject: AW: PDF Viewer component Hi, a little bit more information (read: code)... I know the code is imperfect but this was just a quick

AW: PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
Hi, a little bit more information (read: code)... I know the code is imperfect but this was just a quick and dirty setup to try inline document viewing. My Viewer component: public class Viewer { @Parameter(required=true) @Property String documentUrl;

PDF Viewer component

2015-02-19 Thread Poggenpohl, Daniel
Hello, I am trying to build a component which can be embedded in a page and has a path parameter. If the parameter is set, the component should show/render the file contents (a pdf). The StreamResponse class allows me to create a page containing a pdf that can be viewed. Is it possible to embed

Strange AJAX behaviour in my pages (using jquery tabs)

2015-02-16 Thread Poggenpohl, Daniel
Hello, I have some strange behaviour going on in my Tapestry app. On a page using jquery tabs, some UI elements from different parts of the page pop up for a millisecond when I change the active tab. They pop up outside of the tabs. What could be the problem? Should I post my tab configuration?

AW: How to get container inside self written component

2015-02-13 Thread Poggenpohl, Daniel
Hello, why don't you try @InjectContainer? Or give the necessary information via parameters to the inner component? Regards, Daniel Poggenpohl Von: Erich Gormann [e.gorm...@gormann.de] Gesendet: Freitag, 13. Februar 2015 18:51 An: Tapestry users Betreff: H

  1   2   >