Maybe a lower/upper case issue in your packege (directories) or filenames, so
tml and classes do not match?
Jens
Von meinem iPhone gesendet
> Am 01.09.2016 um 06:03 schrieb Kiran Govind :
>
> Hi,
>
> When I configured Tapestry and tried to run, I am getting the following
> error:
>
> org.apa
Maybe use a and move the role related code to your java page?
Von meinem iPhone gesendet
> Am 29.06.2016 um 08:24 schrieb Matthew Bush
> :
>
> I want to dynamically set required roles at runtime dynamically rather than
> have them statically coded. Is this possible?
>
> Taken from the tynam
You can just return the string and tapestry locates the page on its own
return cookieVal;
Just make sure the cookieval is a valid page name (class name without package)
Jens
Von meinem iPhone gesendet
> Am 04.03.2016 um 07:12 schrieb Anbazhagan.G :
>
> Hi All,
>
> I am working in web applica
e it can do the job for me just
> fine, and although having two templating systems isn't ideal, it's a lot
> better than the current system that is in place.
>
> Thanks,
> David.
>
> On Tue, Mar 1, 2016 at 12:05 PM, mailingl...@j-b-s.de
> wrote:
>
>> Hi David!
class file that
> is loaded so that the user could then use tapestry in there (otherwise the
> ComponentResources would be the .tml file that loaded it, not the
> dynamically loaded one).
>
> The stack trace I was getting is here, although I don't think it's really
> usefu
t; dynamically.
>
> Thanks,
> David.
>
> On Mon, Feb 29, 2016 at 6:37 PM, mailingl...@j-b-s.de
> wrote:
>
>> Hi David!
>>
>> What do you mean by "external code"? Are you talking about external
>> Tapestry pages/components and tml's you
Hi David!
What do you mean by "external code"? Are you talking about external Tapestry
pages/components and tml's you need to integrate? Because you mentiond HTML not
TML? Does "code" refer to Javascript? Is the external code self contained? What
about an ugly but simple "iframe"?
Jens
Von m
JT please try to make some facebook friends and stop polluting our inbox with
non-technical questions about something you do not use or understand at all. If
something in T5 is not working, is to complicated feel free to give us samples
and the members of the T5 sect will pick it up and improve
Hi Georg!
I doubt we are facing a real class loading issue. Do you have initialization
code in your pages a static member or something similar?
I might be entirely wrong but from a quick look at the stacktrace the trouble
starts here
> com.sixbuilder.ui.base.MyPage.getLastMaintenanceCompletion
>>> issue, some kind of problem could arise also in the core (read: ejb.jar)
>>> module.
>>>
>>> The real showstopper is the pervasive usage that I'm doing of tapestry IOC.
>>>
>>> I like it, but if these problems cannot be so
, but if these problems cannot be solved, it may be better for me to
> migrate to Guice or Spring.
>
> Thanks,
> larzeni
>
>
>> Sent: Friday, December 11, 2015 at 8:00 PM
>> From: "mailingl...@j-b-s.de"
>> To: "Tapestry users"
>>
Hi!
IWhy not having all T5 related jars in your war? Any particular reason why they
are located in your ear?
Jens
Von meinem iPhone gesendet
> Am 11.12.2015 um 19:05 schrieb Luca Arzeni :
>
> Hi there,
> my environment is:
> JBoss 7.2+ (actually 6.1.1.GA) or Wildfly 8.0 Final
> Tapestry5
Hi!
You asked for a workaround...why not using a css class temporarily until this
issue is properly resolved?
class="your-id-1"
You can use a placeholder to dynamically provide different id's (well, css
classes) per grid.
At least a jquery selector will now be able to pick it up and I am awar
Sorry Nathan I do not understand: do you want to spread properties belonging to
one particular page accross multiple property files?
Jens
Von meinem iPhone gesendet
> Am 10.08.2015 um 09:08 schrieb Nathan Quirynen :
>
> Hi,
>
> I have in some pages/components in my Tapestry (5.3.7) applicatio
was already a "tapestry-zed" solution since to me it
> seems a common need...
>
> Do you know if tapestry 5.4 has some native support for jquery tables?
>
> Thanks,
> larzeni
>
>
>
>> Sent: Monday, August 03, 2015 at 7:03 PM
>> From: "maili
Maybe you have a look at jquery tables + ajax?
https://www.datatables.net/examples/data_sources/server_side.html
Jens
Von meinem iPhone gesendet
> Am 03.08.2015 um 17:55 schrieb Luca Arzeni :
>
> Thanks Kalle,
> I appreciate your hint and I already used a solution like this for a shorter
>
I go with Thiago.
We use different maven modules for our business logic and persistence classes
so both maven modules are standalone using their own tests. There is no
relation to Tapestry at all for these modules.
We use Tapestry services and Tapestry IOC to tie it together in our webapps
We
What exactly are you doing on your exception page? This error looks like a new
thread is created which is "not possible" in GAE
Jens
Von meinem iPhone gesendet
> Am 18.07.2015 um 10:47 schrieb Michał Więckowski
> :
>
> Hello everyone,
>
> I've got a question regarding tapestry 5.4. I try t
Hi Daniel,
Do you use Hibernate? Maybe your instance is stored in the Hibernate Session
Cache thus you get the same object? I had a similar issue when working with
HSQL/Hibernate...
Jens
Von meinem iPhone gesendet
> Am 08.05.2015 um 15:55 schrieb Poggenpohl, Daniel
> :
>
> Hi,
>
> http://j
Hi Jacob,
You can use "/" to seperate your id's, for example:
http://yourserver/tapestrypage/1/2/3/4
Will call the onActivate method in your tapestry page class named
"TapestryPage". All params are passed via EventContext and you can access the
values by index. In case your id's may be of type
Hi Boris,
can you share the real code because I am confused by "filter" and
"selectedFilter". Both are of type "Filter", but assigned using "new"?
Can you show the filter impl? Are you using a filter cache somewhere? Or a
service class which is not created on a per request base but only once? And
It looks like the library mapping name is causing this effect: in case the name
begins with a digit as first character like "1st" component rendering fails.
Using "first" instead fixes the problem and everything works as expected.
To me it looks like bug, but if it is expected behaviour I would
Hi Andi, hi Kristian!
We solved the puzzle several days ago, but unfortunately the mail never
appeared in the mailing list even my phone tells me it is sent :-(
See below
Thanks Jens
Von meinem iPhone gesendet
Anfang der weitergeleiteten E‑Mail:
> Von: "mailingl...@j-b-s.de"
&g
I think it strongly depends...
Overuse of session when parameters will do is as wrong as trying to avoid
session at all by making the rest complicated and unmaintainable.
If you need security / permission there is no decision you can make. For
writing stateful wizard like dialogs it depends on
Well, the values shown solely depends on your model. Just filter / sort it
accordingly? By default Tapestry adds all enum values to options (see
EnumSelectModel). Unfortunately you can not derive from EnumSelectModel, so I
would try to start from AbstractSelectModel copy and paste a few lines fr
Hi Andreas!
If you make use of @Property annotation tapestry creates get and set methods
for you. if you mix it with self-written methods you have to set "read" and
"write" annotation params to "false" accordingly to avoid creation. Just have a
look at the @Property documentation.
Jens
Von me
Hi Lenny
Thanks for your answer. I guess my description was somehow incomplete...
OnActivate from the "unauthorized" page is not called, that's surprising to me.
The user has permission to view the page in general but misses certain
functionality permissions triggered by event callback method
Hi Steve!
Why not simply use the session? If the user has to authenticate anyway?
In case you want avoid a session you can create onetime tokens. Unfortunately
checking token validity or detecting outdated tokens requires persistence
somehow...
Jens
Von meinem iPhone gesendet
> Am 24.10.2013
Hi,
just my two cents: In general coupling bean editor (and friends) tightly to
bootstrap is strange even I am aware its the de facto standard. Furthermore I
can not believe it will ever produce a layout which makes all of us happy. Is
it not possible to add a additional, optional parameter to
Hi Ben!
AFAIR you can pass a context but this value remains constant and is independent
from the selection made. So at the very end I used bind like you did. Same
problem applies to Checkboxes, so I do not know if Tapestry generally misses
something or we simply did not find it yet...
Why did
Maybe I do net get it, but why can't you make use of a service having "Request
Scope"? So Tapestry creates a new Instance per Request and you attach / inject
yor session here?
Jens
Sent from my iPhone
On 17.06.2013, at 15:50, Michael Gentry wrote:
> Could Tapestry throw an exception if you u
Hi Magnus!
I tend to believe a CMS is way to slow to combine it with Tapestry.
Furthermore if you serve pages by a CMS link you will notice a difference in
Look and Feel and linking back to the T5 app may be difficult. CMS is perfect
to allow a user (non dev) to edit pages like "about us", "we
Hi John
I use (basically) OutputRaw for something similar. You can either try to use a
regex to strip all unwanted elements from the CMS html or mark a div or
introduce a new element (easier to exactly find the content and drop the rest).
Unfortunately most work is related to "links": you have
And I forgot:
Try to make the enum static and/or set a serialuid in your page class, maybe
this helps too...
Sent from my iPhone
On 11.06.2013, at 08:23, "mailingl...@j-b-s.de" wrote:
> Hi Ilya
>
> I make a shot into the dark: you are using persist therefore an instance
Hi Ilya
I make a shot into the dark: you are using persist therefore an instance of
your enum is stored in the session. When you recompile a new class is loaded
and the two enums belong to different classes/classloaders now, thus you get a
CCE. If you move it out of your page it should work.
J
Be carefull with article names...make sure a name is unique in all supported
languages similar to the PK-ID you are using right now. From experience a name
is usually not sufficient to guarantee this, thus attributes like color or size
are required as well in your final name or as part of your A
Hi Petr!
You are really refering to a file in your src directory? When you use maven to
build it the file is copied to target/ and you access it simply by "return.txt"
using the classloader because target/resources is stripped when building the
jar/war.
Set a break point and check if you reall
Hi Petr!
Have a look at:
http://tawus.wordpress.com/2011/07/30/tapestry-jfreechart-integration/
Here you can see how to stream any kind of data.
StreamResponse was discussed here before:
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/T5-1-Return-a-file-as-response-of-a-Actio
Hi Ken!
Just a shot in the dark:
Are you sure the PKs of your hibernate beans are not null (maybe you have a
newly created bean instance which is not persited yet)? Afair the
HibernateValueEncoder requires properly filled PK fields otherwise
pk.toString() fails. Unfortunately the stacktrace i
Hi Ken!
I use bootstrap / tapestry-jquery for this. See:
http://tapestry5-jquery.com/mixins/docstooltip
Sent from my iPhone
On 13.05.2013, at 04:29, nhhockeyplayer nashua
wrote:
> Hi Folks,
>
> Is there a hover show widget? Something like what netflix does when you hover
> over a movie, it
Hi Ken!
Can you paste your onPassivate method? Maybe you always return Team.class as
context parameter instead of beanType member? I expect you want to see the
selection in the URL like: query/team right?
Than you need an proper on activate, too. So if you use your enum ReportType in
onPassiva
return mongoDB;
>}
> }
>
> About MongoDB also nothing special. The module is taken from
> https://github.com/mlusetti/tapestry-mongodb-core (look at earlier revisions).
>
>
> BR,
> Arunas
>
>
> On 18/04/2013 18:53, mailingl...@j-b-s.de wrote:
>> Ar
Are you spawning a new thread in your MongoDBImpl.java:30 which makes use of T5
services, too? From the Stacktrace you are (well T5 IOC is) building the
mongodb service right now. What happens in the ctor of your class? Can you
paste some code??
Jens
Sent from my iPhone
On 18.04.2013, at 17:
To me it sounds like you need dividing all your form parts into components and
on a per page basis you have only one form containing 1..n of your components.
I do not see the point why all your components have to be forms. The form is
just enclosing/surrounding your components. That's at least t
We use GridDataSource for paging large sets too.
getAvailableRows is the total number of entries
prepare tells you the slice to be rendered depending on grids "rows per page"
setting. Simply load the whole slice in prepare
and return the single row entity by getRowValue
Jens
Sent from m
Hi Bogdan!
Any reason why you can not use tapestry's grid component?
Jens
Sent from my iPhone
On 12.12.2012, at 15:43, bogdan_cm wrote:
> Thank you both for replying.
>
> Now that I read it after a day, my question is not very clear. Here is a
> more to the point explanation.
>
> My cust
Hi!
From an Object oriented aspect you are coupling components to particular pages,
when I understand you correctly. This is for my personal opinion a wrong
design. Can't you not just pass the additional info as parameter from your page
to your component (as Taha suggested it)?
Or are you displ
Hi Ken,
I really wonder what happens to your coach instance. Are you sure its a coach?
As I see java.lang.Object as class name I doubt it is still your coach or ever
was. Even if you assign a coach to an object variable it remains coach. Can you
check/debug what happens to your instance?
Jens
Hi!
When looking at:
http://tapestry.apache.org/assets.html
Section "Assets in Templates"
its "asset:" instead of "classpath:"
So give this a try (untested)?
Jens
Sent from my iPhone
On 28.11.2012, at 18:05, mwrohde wrote:
> Ok, thanks for the replies so far.
>
> In the tml I've got:
> <$
Try
@Inject YourService service;
In the class and call whatever method you need from
onActivate() {
service.whatEver();
}
?
Or do you want a service instance passed due to some magic url parameter? like
corsion from number to a db pojo for example?
Jens
Sent from my iPhone
On 23.10.2
I do not understand what you are trying to achieve
>
in a template is identically to right? There is no need to wrap html
elements inside outputraw within a template. Use output raw to stream html from
your page class, for example assume you have a preformated product description
Incl bold, un
I gues you want to use the foreign key pointing from comment to blog, but you
are using the "id" (autoinc pk of comment?) instead.
session.createCriteria(Comment.class).add(Restrictions.eq("id",blog)).list();
return l;
Jens
Sent from my iPhone
On 18.09.2012, at 03:02, Taha Siddiqi wrote:
>
I'll guess the question is how to use services at all...
As IOC services are usually singletons changing state via setters will affect
all threads which deal with this service thus data may creep from one session
to another and will introduce concurrency problems immediately. In case a
service i
wget ?
http://www.gnu.org/software/wget/
Sent from my iPhone
On 12.09.2012, at 01:32, Jay Ginete wrote:
> On 9/12/2012 7:07 AM, ZiciuM wrote:
>> How to download all tutorials, references, docs from apache.tapestry.org so
>> that I can work in offline mode?
>>
>>
>>
>> --
>> View this messag
What about placecing the login form in your layout page/class and surround it
by a in your layout tml and implement a "boolean
isUserLoggedIn()" method in your layout class?
See T5 doc:
Api docs/corelib/components/if
User Guide/Layout Component
Jens
Sent from my iPhone
On 03.09.2012,
I expect count to be of type MapEntry or in case getCounts() returns
cnts.values() instead it has to be of type string?
Jens
Sent from my iPhone
On 03.08.2012, at 02:40, "Angelo C." wrote:
> Hi,
>
> I'm trying to iterate a map in template with following code, but, it turns
> out that the ent
Hi Ludwig
Am I right you are always using the same page for your refinement selection? Or
is it more like a wizzard containing multiple pages?
For the first I wonder if this is really a T5 problem.. Can't you just use a
stack like object and push/pop the values you need to create/recreate the
Can you provide the tapestry page, class and interface sources?
Jens
Sent from my iPhone
On 31.07.2012, at 15:21, bigcache1 wrote:
> http://pastebin.com/s8g87ZtC Startup log
>
> Addition: Other injects are fine.
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabb
58 matches
Mail list logo