Hi all,
i am using tapestry4.1.5
i am trying to get writer object from responsebuilder.But it always null.
cycle.getResponseBuilder().getWriter(ResponseBuilder.INITIALIZATION_SCRIPT,
ResponseBuilder.SCRIPT_TYPE) is null
cycle.getResponseBuilder().getWriter() is also null.
any ideas?
thanks in adva
dear all,
when I tried the RadioGroup component, I noticed that there are no
validate property unlike all the other form component? Is there any
reason why this property is not available for RadioGroup? Because
there are times you are required to choose when using radio input.
Thanks in advance
Upgrading from 5.0.6 to the latest snapshot, I found that all my
pagelinks and actionlinks defined in tml like this:
link
re no longer rendering with the clientid, ie.:
link
Instead, I get no id...
Same thing goes for pagelinks...
I can force the id to be rendered with:
link
but, that's k
Thanks for the response Chris. Rob Zeigler and myself dug in and
figured out a temporary workaround... by overriding (the internal and
subject to change) AjaxPartialResponseRenderer ... I didn't yet do
the elegance of making the change based on the requested Content-
Type, but that would be
Hi all,
In T5, from an Ajax request, is it possible to redirect to a different page?
What I'm trying to do is something like below:
Object onSomeAjaxRequest(){
if(some condition){
exit xhttp and jump to a different page
}
else{
return xhttp response to same page
}
}
But this doesn't
and this
http://87.193.218.134:8080/t5components/apidocs/src-html/org/apache/tapestry/commons/TapestryCommonsModule.html#line.60
2008/4/27 Sven Homburg <[EMAIL PROTECTED]>:
>
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html
>
>
> 2008/4/27 mnguyen21 <[EMAIL PROTEC
http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html
2008/4/27 mnguyen21 <[EMAIL PROTECTED]>:
>
> oops attached the wrong version. It still doesn't work with the "../"
> removed. How does Tapestry organize components? How does it know where
> t5components points to?
oops attached the wrong version. It still doesn't work with the "../"
removed. How does Tapestry organize components? How does it know where
t5components points to? In the examples I've seen/read there isn't any kind
of folder organization to the components. All t:type declarations specify
on
Sorry I didn't mean to say providing a number is illegal, but
interpreted directly as that numeric value because it can't be
interpreted as a valid bean property.
Chris Lewis wrote:
> maxthesecond wrote:
>
>> Completely right sire
>> although you have to admit than having defined the field
>>
So providing a number like '4' is illegal because it would
indicate a method get4() (valid) and a property name (a class member)
'4', which of course is illegal. T5 is just following the established
naming convention here, and this too is documented.
Chris Lewis-5 wrote:
>
>
> Thats it you get
maxthesecond wrote:
> Completely right sire
> although you have to admit than having defined the field
>
> @Parameter(required = true)
> private String _stext;
>
> 1)Ho! will go along (I declare a
> parameter of type string but...
>
> 2)Ho! will fail (I declare the
> same)
>
> In both cases
Completely right sire
although you have to admit than having defined the field
@Parameter(required = true)
private String _stext;
1)Ho! will go along (I declare a
parameter of type string but...
2)Ho! will fail (I declare the
same)
In both cases my attemt is to set up a string parameter
the following code looks not "legitimate"
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
please try without the "../"
2008/4/27 mnguyen21 <[EMAIL PROTECTED]>:
>
> Hi,
> I suppose this message s
Hi,
I suppose this message should really be directed towards Geoff Callender,
but here goes...
I'm trying to build a demo application for some colleagues using Tapestry 5.
I've run into a problem utilizing some of the components from Geoff's
Jumpstart application. I'm trying to utilize his Sl
That was one option that I wanted to get confirmation about. What if
you add another entry to the configuration element with the same name of
a previous one.. does it override or ignore or throw exception?
I tried it and it seemed to not work, but it's late here, and maybe it
was something el
Hi Steven,
Regarding c):
I was just about to respond telling you that you can return AJAXObject
or an injected block (mark up), and it will work fine, and then I
realized that even markup is wrapped in a JSON envelope. I don't think
this can be changed without changing some T5 code - even if you
Hi Fernando,
I've not tried this before, but can you just replace the one that gets
added in the TapestryModule (line 1529)? I thought there was a way to do
this, perhaps by adding yours to the configuration with the same service id.
Fernando Padilla wrote:
> Hello. I would like to disable the d
Max,
The reason is actually quite simple. When you pass in values to
component parameters, tapestry interprets their values in the context of
binding prefix. If you create your own component with parameters and do
not specify a the binding prefix under which the value is to be
interpreted, the def
Thanks Josh, I guess my approach was probably wrong to begin with, but this
looks good, will give it a try. I also agree the checkbox could do with another
attribute perhaps a context? which would make it a little easier to work with.
Thanks everyone for your responses!
Peter
- Original Me
19 matches
Mail list logo