Has anyone made this to work?
I tried repackaging Stax and Woodstox so that they don't use javax.xml.stream
package. The quickstart application works in the eclipse, it fails with the
NoClassDefFoundError in the Loop component in the local AppEngine environment
like people already have posted h
The problem probably lies with the fact that many of us have learned T5
gradually while it was being developed and that is why most of the things seem
easy and natural. It might not be so when you see the T5 for the first time.
Don't get me wrong, I think everything is ok with the framework, but
Hi Ray!
The properties files should be in ascii encoding and the unicode characters
should be escaped with \u, for example "\u0161" for ลก character. JDK
comes with native2ascii tool that does the conversion.
I have seen an eclipse property editor plugin which saves properties files in
this form
; :)
>
> it is fixed in Tapestry 5.0.16
>
> g,
> kris
>
>
>
>
>
> Imants Firsts <[EMAIL PROTECTED]>
> 27.11.2008 18:14
> Bitte antworten an
> "Tapestry users"
>
>
> An
> Tapestry users
> Kopie
>
> Thema
>
tor)
> {
> config.add(locator.proxy(HibernateConfigurer.class,
> MyImplementation.class));
> // or
> config.add(locator.autobuild(MyOtherImplementation.class));
> }
>
> g,
> kris
>
>
>
>
> Imants Firsts <[EMAIL PROTECTED]>
> 27.11
Hi!
I am getting the following exception if I have a service in my application that
implements HibernateConfigurer and I contribute it to HibernateSessionSource.
org.apache.tapestry5.ioc.internal.OperationException
Service interface org.apache.tapestry5.hibernate.HibernateConfigurer is matched
If you don't mind introducing the dependency to a flash component, then look at
this:
http://www.swfupload.org/
I have successfully created a tapestry component using SWFUpload, which
supports multiple file upload and degrades to default single file upload if
Flash is not present.
Quoting Thi
If you use svn version of the tapestry you can patch the Palette.tml
temporarily by adding type="button" to button elements until the FF is fixed.
Quoting Massimo Lusetti <[EMAIL PROTECTED]>:
> On Tue, May 13, 2008 at 9:01 PM, Sven Homburg
> <[EMAIL PROTECTED]> wrote:
>
> > sorry for my less det
onse.sendError(value.getStatusCode(),
value.getMessage());
>}
> });
>}
>
> In my Index page I then use it like this:
>
>Object onActivate(Object obj) {
> return new
HttpStatusCode(HttpServletResponse.SC_NOT_FOUND);
> }
>
> This triggers i
Hello!
I changed my application to use the Index.tml instead
of Start.tml, because pagelink component for index page
renders www.mydomain.com/, which looks much better than
www.mydomain.com/start
However now there is a problem that all the invalid
tapestry URLs are rendered as my index page with
I would like to create a component, which I could add
to AppPropertyEditBlocks and would be able to edit
entity fields of type MyFile by utilizing tapestry
Upload component to upload the file.
AppPropertyEditBlocks.tml:
AppPropertyEditBlocks.java:
@Component(parameters = {"value=context.p
the form, and use
> ActionLinks with the id's of the items to be deleted?
>
> You could then have a conditional on your list
component for whether or
> not
> the column with the ActionLink is displayed.
>
> Jonathan
>
>
>
> > -Original Message
you tell
> us what you are trying to do? Then maybe someone can
offer another
> solution.
>
> Josh
>
> On Fri, Apr 4, 2008 at 3:22 PM, Imants Firsts
<[EMAIL PROTECTED]> wrote:
> > Anyone has any idea? Maybe some other solution?
> >
> >
> > Quoti
Anyone has any idea? Maybe some other solution?
Quoting Imants Firsts <[EMAIL PROTECTED]>:
> Can mixin render a component, for example TextField? I
> know that that it does not support templates and that
> it can render the tag directly.
> But I would like the mixin to add a
Can mixin render a component, for example TextField? I
know that that it does not support templates and that
it can render the tag directly.
But I would like the mixin to add a component to form,
so that it can be processed when the form is submitted.
Is something like that possible with mixins?
1) See the Binding Expressions section.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html
2) Use your property like this in the template
${prop:myMessage}, and in code define it as follows:
@Inject
private Messages _messages;
public String getMyMessage() {
return _messages
meters(writer);
> return _blockParam;
> }
>
> public void afterRender(MarkupWriter writer) {
> writer.end();
> }
> Josh
>
> On Tue, Apr 1, 2008 at 4:25 PM, Imants Firsts
<[EMAIL PROTECTED]> wrote:
> > Is it possible for component to
with accessing ComponentResources.
Is it a tapestry bug, or such combination is not
supported? What are the alternatives?
Thanks in advance,
Imants Firsts
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello!
It is quite clear how to use this event if the
component is hardcoded in the template, you just use
onSelectedFromMySubmit() method in your component.
Is it possible to handle onSelected event for
dynamically generated Submit components? I have a loop
which generates several Submit compone
For the domain objects that need access to tapestry
service I define a constructor which takes as a
parameter the needed service. In my case I only have
one such service (not separate DAOs for all domain
objects) - HibernateService.
Then I contribute the following interceptor to
Hibernate, which m
would like to be able to
disable this feature and revert to showing errors on
the top of the form.
Regarding the BeanEditor I would really appreciate the
feature you once mentioned here about supporting
ManyToOne (and probably OneToOne also) relationships
between beans.
Happy New Year!
Imants Firsts
the best way?
Merry Christmas,
Imants Firsts
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How about this?
@Inject private PersistentLocale persistentLocale;
@Inject private RequestGlobals requestGlobals;
public Locale getCurrentLocale() {
Locale locale = persistentLocale.get();
return locale != null ? locale :
requestGlobals.getRequest().getLocale();
}
Quoting Christ
After the change from .html to .tml in the SVN, my page
templates in WEB-INF were not found any more. Moving
them to the corresponding package under main/resources
like component templates solved the problem.
Imants
Quoting Christian Gruber <[EMAIL PROTECTED]>:
> I did. It's not a version thing.
Hi!
I am trying to edit a hibernate entity in a tapestry
form, and when the form is submitted the entitiy is
saved to DB, and user is redirected to a ViewEntity page.
After the submit I get an exception that entity does
not exist (entity is actually created in db), if I hit
the refresh button in
:24:58PM +0300, Imants
Firsts wrote:
> > How do I correctly set up a BeanEditForm for editing a
> > hibernate entity?
>
> I don't think I'm even close to writing idiomatic
Tapestry 5 (if such a
> thing even exists), but here is the pattern I've been
using:
>
How do I correctly set up a BeanEditForm for editing a
hibernate entity?
In T4 I would create hidden field in my form with the
id of the entity and add a listener to this field,
which would retrieve the entity from DB, before the
rest of the form is processed. Then the form would
update the fields
Hi!
I have a page (MyPage) which displays a form by
delegating the form rendering to a block in a different
page (BlockPage). MyPage renders fine, but when the
form is submitted it generates Prepare and Submit
events in the BlockPage and they are not propagated
back to MyPage.
Is there a way to r
Hi!
Is it possible to use BeanEditForm component for
editing complex beans?
I have the following classes (getters and some
irrelevant things are stripped, which might make
classes slightly odd, but they have to be this way in
my case).
public class Item {
private String name;
pr
29 matches
Mail list logo