Hi Yohan,
I prefer to use my own cancel button(using get instead of post)
inspired(read copied/cheated/learnt) from the chenillekit's button.
@Import(library = "cancel-form.js")
public class Cancel implements ClientElement
{
/**
* JavaScript id to be used. If id is not supplied, it will be
Yay! I'm happy I'm not the only one who's noticed this!
[T5.3-beta-1] Submit buttons with t:mode="cancel" do not submit the form
http://tapestry.markmail.org/message/5yrkjtm2nfevear5
I to, would like someone in the know to confirm whether this is
desired behaviour (I'm thinking it's not, but then
You got it right. Then I would have to save all request parameters and
re-populate the form when the user gets back to the page.
My problem-case is when the session has terminated due to inactivity
and then the bean in the session is lost as well. Maybe it's not
possible in that case.
Thanks,
Joa
oo sorry, I forgot to mention.
I'm using Tapestry 5.2.6
On Tue, Sep 6, 2011 at 11:13 AM, Yohan Yudanara wrote:
> Hi..
>
> I want to use submit button which can bypass client validation.
> Having read this documentation:
> http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/c
Hi..
I want to use submit button which can bypass client validation.
Having read this documentation:
http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Submit.html,
I was trying to use Submit component with mode="cancel" like this:
Hi Muhammad
You can use ZoneUpdater for that.
http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html
So in your select you will have
and
Object onColumnUpdate(int widthIndex){
...
return columnZone.getBody();
}
Object onRowUpdate(int heightIndex){
return rowZone.getB
Cool !!
Thanks for sharing.
2011/9/6 François Facon :
> Very Nice work.
> Felicitations.
> François
>
> 2011/9/5 Muhammad Gelbana :
>> Congrats !!
>>
>> Magnificent components, I love many of them :)
>>
>> On Mon, Sep 5, 2011 at 8:43 PM, Guerin Laurent wrote:
>>
>>> Hi everyone!
>>>
>>>
>>>
>>> W
Did I get it right? The user enters data into a form and submits. If he were
logged in, you would forward to success page. But not being logged in you
would like to do a round trip via login page and after sucessfull login
forward to success page?
You could store the values entered by the user in
Hi,
I have a ComponentRequestFilter for handling access to pages in my
application and if the user is not logged in I store the requested
page (actually I store PageRenderRequestParameters or
ComponentEventRequestParameters) in ApplicationStateManager and send
the user to the requested page after
In case someone else is in this same problem, thanks to Igor for the
solution:
PD: the test is still without content, only the scheleton, but it works!
I have a lot of work now, I do not manage very well with mocks :o)
package .biz;
import static org.easymock.EasyMock.createMock;
import
In the log you posted, messages are being logged from an "onSubmit"
method, but the code you posted has an "onSuccess" method with no logging
statements.
Are you sure the code you posted is ever reached? Can you put a breakpoint
in your onSuccess method and see if it is being invoked?
On M
Very Nice work.
Felicitations.
François
2011/9/5 Muhammad Gelbana :
> Congrats !!
>
> Magnificent components, I love many of them :)
>
> On Mon, Sep 5, 2011 at 8:43 PM, Guerin Laurent wrote:
>
>> Hi everyone!
>>
>>
>>
>> We are pleased to announce you the release 1.0.0 of our Tapestry 5 Library:
>
Congrats !!
Magnificent components, I love many of them :)
On Mon, Sep 5, 2011 at 8:43 PM, Guerin Laurent wrote:
> Hi everyone!
>
>
>
> We are pleased to announce you the release 1.0.0 of our Tapestry 5 Library:
> exanpe-t5-lib.
>
>
>
> This library aims to provide a full set of components ready
Hi everyone!
We are pleased to announce you the release 1.0.0 of our Tapestry 5 Library:
exanpe-t5-lib.
This library aims to provide a full set of components ready for use and easy
to integrate in any web application, as well as providing a new skin for
some of the most popular Tapestry 5 nat
Classification: For internal use only
Interesting - I tried rebuilding Testify against T5.3 over the weekend and it
built fine (all tests passed). If it's simple to send me a patch so I can see
what you changed, that would be great. If not, I will try to work it out from
the zip you sent.
Best
Thanks Joost, interesting, I will try your workaround as well and take a look
at your proposed workaround. This should indeed save me a ton of time.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/StreamResponse-and-inPlace-Grid-question-tp4760076p4771433.html
Sent from the
Thanks Taha -- I'll make a self running example to see if I can reproduce it.
Been a little busy lately but I should have it sometime this week. Thanks
again for taking a look.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/StreamResponse-and-inPlace-Grid-question-tp47600
I just came from my vacation yesterday and saw this mail just now. It's nice
from you to such this mail :)
Eid Mubarak :)[?]
On Wed, Aug 31, 2011 at 9:59 AM, nillehammer <
tapestry.nilleham...@winfonet.eu> wrote:
> And bon appetit ;-))
>
> -
> http://www.winfonet.eu
> --
> View this message
Sorry I forgot one more thing...
Assuming a column will be updated due to a select value is changed, each
cell in this column should have a specific attribute in it, changed to the
new value of the select field. And the same story with rows. Each cell about
to update in a row, needs to have a spe
Hi All,
I've been trying to do this for some time now but nothing worked. I searched
through this list and I still can't figure it out !!
Here is my case, I draw a table using dimensions provided in the page
activation context. So I can't predict how many rows or columns I may have.
Each header i
Hi
As the example that you have shared works for me, your issue may have
something to do with your build setup.
If you can create a sample webapp with this example and share it, I
would try to troubleshoot it for you.
On Mon, Sep 5, 2011 at 5:31 PM, hese <1024h...@gmail.com> wrote:
>
> nope, i
The following should list all services that you're able to advise (I
just tried it on T5.3 but saw no ComponentAssemblerSource):
@Advise
@Match("*")
public static void siteKeyPageCache(MethodAdviceReceiver receiver) {
System.err.println(receiver.getInterface().getName());
}
If you really
nope, i moved the class to another package, (util) and tried and that didn't
work too. Same error. I guess I'll just go with returning the file during
the reload.
Thank you all for your help!! Really appreciate it.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/redi
On Mon, 05 Sep 2011 06:58:59 -0300, jack wrote:
Hi All,
Hi!
I'm trying to advise the PageLoader service because we have some custom
page caching requirements.
It won't work. First, it's an internal service, so you shouldn't rely on
it at all. Second, and most important, PageLoader just
Hi Jens,
Thanks for your suggestions but the caching I'm referring to is the
inbuilt cache Tapestry uses for the ComponentAssemblers. Currently (or
in 5.2.6) it caches these ComponentAssemblers based on classname and
Locale.
I need to cache these based on classname, locale and another-key. T
Hi Chaps,
Opportunity to promote T5 a bit:
http://stackoverflow.com/questions/7306707/how-to-expose-an-api-to-a-tapestry-web-application
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands
Hi Jack!
I wonder what kind of page data you want to cache which is not
provideable by a service?
a) why not using a spring singleton or a plain java static?
b) You can bind a service implementation (without interface) in your app
module and inject it to your page if you're not using a spri
Hi
You have to provide an encoder parameter for the loop as the loop is
inside a form and PopupItem does not have a default encoder.
On Mon, Sep 5, 2011 at 4:14 PM, bhorvat wrote:
> Anyone?
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Form-elements-inside-a-com
Anyone?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Form-elements-inside-a-component-tp4749774p4770017.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
Hi All,
I'm trying to advise the PageLoader service because we have some custom
page caching requirements. I've tried the following but it doesn't seem
to get invoked. Is it even possible to advise this service? If so can
anyone tell me what I'm doing wrong?
@Advise(serviceInterface = Com
Check out the TestUtils [1] class. It used to create services for tests.
Here is an example:
IOrganizationDAO da0 = newMock(IOrganizationDAO.class);
IPacoService service = TestUtils.create(IPacoService.class, "orgDao",
dao);
[1]
https://builds.apache.org/job/tapestry-trunk-freestyle/javadoc/org/
Thanks,
Yes it should be easy in "plain Java) but,... As far as I do not provide a
constructor, Java will provide a default one for me. Because the default
constructor will not create the dependency because is a private variable of
the class I suposse Tapestry is doing an enhancement in the class
32 matches
Mail list logo