Hello,
sorry for my newbie question and poor english, but i was unable to find an
answer neither in tutorials nor in this maillist.
i want my tapestry filter to process all request going to let's say
http://www.someurl.com/myapp/...
(to let requests going to root be processed by some other serv
Thiago H. de Paula Figueiredo wrote:
>
> Tapestry is a servlet filter, not a servlet, so it can be used with
> servlets without interfering with them.
>
ok, but it doesn't change the fact that if it is run not under host/... but
under host/myapp/... all urls are still translated to absolute
Thiago H. de Paula Figueiredo wrote:
>
> As far as I know, Tapestry only works if you set its URL to /* in web.xml.
>
well it does work under myapp/* , but page links are still mapped to root :(
. not big deal. thanks anyway
--
View this message in context:
http://old.nabble.com/T5%3A-Yet-ano
Is there any reason to ignore setters, returning an object itself in
beaneditor & co? I used to write classes, which can be created with chain of
setter calls e.g.
someObject.setSomeValue(value).setAnotherValue(value)
the problem is, tapestry considers such "properties" read-only. Is it
possible
Howard Lewis Ship wrote:
>
> Tapestry follows the definition of JavaBeans properties, set by Sun
>
Well, Spring3 BeanUtils.getPropertyDescriptors(User.class) returns all
property descriptions with setters even if they are not void.
Now i have to either give up using setter chaining which is ve
Howard Lewis Ship wrote:
>
> Tapestry uses the standard Introspector object to identify
> properties.
>
Can you give me a hint, how i can change this? It is a PropertyAccessImpl
class, that is doing the magic, isn't? Is it possible to replace this class
via config? Or is it the only way - t
Solved the problem with one very very nasty hack, but if somebody interested:
i commented the ioc binding for PropertyAccess implementation in
org.apache.tapestry5.ioc.services.TapestryIOCModule
// binder.bind(PropertyAccess.class, PropertyAccessImpl.class);
then i introduced an own implementat
Inge Solvoll-2 wrote:
>
> Sounds like you did a ServiceOverride without actually realizing it
> yourself
> :)
> well i was pretty sure i'm reinventing some wheels :) . of course i wanted
> to do a service override as soon as i realized that PropertyAccess is
> introduced via ioc
Inge Solvoll
well, the solution is almost perfect now. "almost" - because i have to
completely duplicate the code of PropertyAccessImpl replacing 2 calls to
Introspector.getBeanInfo buried inside private methods :)
here is a service override and final class
public static void contributeServiceOverride(Mapped
Hi,
i am very new to tapestry and must be missing some important concept, need
you help. i have a page (list of products), and one integer parameter
(category), passed to it via onActivate.
void onActivate(Integer param) {
this.param = param
}
Object onPassivate() {
return param;
}
This p
it was a terrible typo from me. misspelled t:context :(
--
View this message in context:
http://old.nabble.com/Re%3A--T5--onActivate%2C-onPassivate-and-actionlink-tp28410121p28411519.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Hi, it must be again some misunderstanding from my side. I have a form and
select
in OnSubmit i see that all other field values of the form (and also some
selects but with Enum as Model) get applied to company object except for
this select. AS SOON AS i remove
validate="required" it's get appl
Pablo dos Reis wrote:
>
> Try verify if the 'user' is null in the toClient method .
>
no, it is not null. as i said, the properly selected value gets never
submitted or doesn't survive validation (don't know what is really going on
and in which order) - but encoder gets correct value and return
Thiago H. de Paula Figueiredo wrote:
>
> Tapestry form field components don't update the edited property when a
> validation error ocurrs
>
thank you, you gave me some idea and i found a reason. my User class
overrides toString returning name+surname. when the valueencoder runs
toObject metho
Thiago H. de Paula Figueiredo wrote:
>
> You should provide your own ValueEncoder that doesn't rely on toString().
>
well if you've read my first post, you could see that my ValueEncoder
doesn't rely on toString(). It is rather Tapestry Validator, that runs
toString on User object and assumes
Thank you all for your answers. the User object is valid, because everything
i need when submitting the form is userID to save the data. that is why i'm
setting selected id to constructed object. why toString() returns "".
Because it was used to display formatted output of surname and name
somewhe
there is minor issue with current CookiesImpl.removeCookieValue
implementation.
> public void removeCookieValue(String name)
> {
> Cookie cookie = new Cookie(name, null);
> cookie.setPath(request.getContextPath() + "/");
> cookie.setMaxAge(0);
> cookie.setSecu
there is a small compilation issue - ProcessSubmission should inherit from
ComponentAction, not from ComponentAction, shouldn't it?
--
View this message in context:
http://old.nabble.com/T5%3A-LinkSubmit-should-be-generic-tp28630552p28631907.html
Sent from the Tapestry - User mailing list arch
Hi, i have a question:
what is the best approach to extend
http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent
GenericGraphComponent to output an image map along with the chart itself.
for now i have only one idea.
1) create and process chart in beginRender to obtain CharR
thanks, i just wanted to know if there is any better approach.
for now i render the chart in beginRender and store image as Byte[] in field
with FLASH Strategy. seems to work :)
--
View this message in context:
http://old.nabble.com/Rendering-Chart-and-ImageMap-on-the-page-tp28693905p28696838.
Hi Inge,
tried you code today. doesn't seem to work. maybe i'm using it incorrectly.
i have following template
>
>t:mixins="anySubmit" t:event="selected"
> t:clientEvent="change"/>
>
>
>
this part in if
if (onsubmit == undefined || onsubmit.call
very strange. well i never used LinkSubmit. but as i said, the code works as
expected (at least from my point of view :) ) only if you change the if
statement. "as is" the form never gets submitted. i know almost nothing
about js, and very little about t5. perhaps my code won't work in some
comple
your maven integration in IDEA doesn't seem to be setup properly. there is
actually an option "use maven output folder" which tells IDEA to compile
classes to the same "target" folder as maven does.
i do use idea with maven, component reloading works as expected without any
additional work when u
try to change onsubmit.call(window.document, event) to
onsubmit.call(window.document, event) == undefined
--
View this message in context:
http://old.nabble.com/LinkSubmit-doesn%27t-work-tp28813499p28814310.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Doesn't work for me either. Neither PageTester nor Testify (based on it) seem
to handle asset:context: properly. I have no other explanation, why the same
things work in tapestry itself and don't work in PageTester
--
View this message in context:
http://old.nabble.com/Testify-unable-to-locate-t
25 matches
Mail list logo