If you are already using tapestry-jquery why not use it's own Ajaxupload
component
Sent from my iPhone
On 01-Sep-2012, at 11:15 AM, Rural Hunter wrote:
> Yes, thanks. I found that tapestry-jquery in my classpath and it intercept
> the post request first sometimes. I'm wondering if there is a
Yes, thanks. I found that tapestry-jquery in my classpath and it
intercept the post request first sometimes. I'm wondering if there is
any specific order the request flows among several request filter chain
contributed into Tapestry HttpRequestHandler? From what I have seen,
seems the order is
The stream can only be read once, so if you have another request filter
running before the AjaxFileUploadDecoder you'll need to make sure that it
did not read out the stream first.
- P
On Fri, Aug 31, 2012 at 3:02 AM, Rural Hunter wrote:
> I'm using Tapestry 5.3.3 and AjaxUpload comp blogged by
Right, this is actually what we are doing.
We have the queries defined in the entity via @NamedQuery (since we
just JPA). Our generic DAO just allows me to specify the name of the
query, set the parameters and get the results back.
Auto-binding is actually what I was looking for, I just have
Correct. Taga's 3rd option fulfills what I need but I didn't catch the
difference. Thank you all.
On Fri, Aug 31, 2012 at 12:45 PM, Bob Harner wrote:
> Taha's 3rd option is refactor-safe, too. On the other hand, since Tapestry
> will complain loudly about links to non-existent pages, using strin
Not sure why its volatile here, though :)
But it definitely works without it also.
On Fri, Aug 31, 2012 at 6:02 PM, Dmitry Gusev wrote:
> I'm using field injection:
>
> @Inject
>
> private volatile Messages messages;
>
> works for me
>
> On Fri, Aug 31, 2012 at 4:44 PM, Alex Kotchnev wro
I'm using field injection:
@Inject
private volatile Messages messages;
works for me
On Fri, Aug 31, 2012 at 4:44 PM, Alex Kotchnev wrote:
> I have a service that needs access to the global message catalog.
>
> In a previous email (
>
> http://tapestry.1045711.n5.nabble.com/component-s
Thanks for your replies..
@Michael: Case technique is really a helpful one, it suits.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/if-else-if-component-tp5715941p5715947.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
I have a service that needs access to the global message catalog.
In a previous email (
http://tapestry.1045711.n5.nabble.com/component-scope-service-with-injected-messages-td4724993.html),
Howard indicated that Messages can now be injected into the service layer.
However, when I add an ioc.Messag
Thanks for the release :D
Im already using it on our latest development project and it works fine !
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-5-tp5715917p5715945.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
On Fri, 31 Aug 2012 08:17:10 -0300, Christian Riedel
wrote:
you mean this???
I really dislike this way of writing If's, as the else part is inside the
if and the indentation makes it very confusing. I recommend everyone doing
this instead:
if
I th
You could try the 'Case' technique.
http://tapestry.apache.org/switching-cases.html
On 31 August 2012 07:06, karthi wrote:
> Hi everyone,
>
> I have used if/else in tapestry, but can anyone tell me how to achieve
>
> if/else if/else if/else
>
> Thanks in advance
>
>
>
> --
> View this message i
you mean this???
Am 31.08.2012 um 13:06 schrieb karthi:
> Hi everyone,
>
> I have used if/else in tapestry, but can anyone tell me how to achieve
>
> if/else if/else if/else
>
> Thanks in advance
>
>
>
> --
> View this message in context:
> http://tapestry.104
Hi everyone,
I have used if/else in tapestry, but can anyone tell me how to achieve
if/else if/else if/else
Thanks in advance
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/if-else-if-component-tp5715941.html
Sent from the Tapestry - User mailing list archive at Nab
Taha's 3rd option is refactor-safe, too. On the other hand, since Tapestry
will complain loudly about links to non-existent pages, using strings for
page names is less risky in this case.
On Aug 31, 2012 5:26 AM, "Lance Java" wrote:
> @Inject
> private ComponentClassResolver componentClassResolve
I'm using Tapestry 5.3.3 and AjaxUpload comp blogged by Taha here:
http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/
Everything works fine but there is a strange problem. Sometimes the file
uploaded is alwasy empty(size 0). I checked
AjaxFileUploadDecoderImpl.setupUploadedFile and
@Inject
private ComponentClassResolver componentClassResolver;
public String getProbesHealthPageName() {
return
componentClassResolver.resolvePageClassNameToPageName(ProbesHealth.class.getName());
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/t5-3-4-Plugin-blocks-
But I wanted this to be refactor-safe. If that's not possible then I'll
just write in the template file as it was when I first constructed the
template.
Thank you all for the replies.
On Fri, Aug 31, 2012 at 11:03 AM, Lance Java wrote:
> Short answer: Can't you just do the following?
> Probes He
Short answer: Can't you just do the following?
Probes Health
Long Answer: Pagelink expects a String pageName and you are (incorrectly)
passing a Link. Tapestry sees the mismatch and coerces Link to String. The
resulting URL is then used as a page name which fails.
--
View this message in con
Hi
you can either do a
Probes Health
or
// Return page name.
public String getMyDynamicPageProperty(){
return "admin/probehealth";
}
or
public String getPageUrl(){
return pageLinkSource.createPageRenderLink(ProbesHealth.class);
}
You are confusing the three.
PS: Have not looke
So I'm trying to create page links using the *PageLinkResource* service
through the *createPageRenderLink* method.
public Link getProbesHealthUrl() {
> return pageLinkSource.createPageRenderLink(ProbesHealth.class);
> }
The page link component in the template is
Probes Health
>
But an error oc
21 matches
Mail list logo