Hi,
i have set a browser favicon, and masked forwards of several domains
pointing to my server. But not all forwards are showing the favicons. Any
ideas why?
e.g
www.domain1.com shows the favicon
www.domain2.com does not.
thx,
alex
--
View this message in context:
http://tapestry.1045711.
sommeralex wrote
>
> Hi!
>
> I was upgrading vom Tapestry 2.6 to 3.0 and have one issue:
>
> if(encoder == null){
> encoder = new EnumValueEncoder(enumType);
> }
> return encoder;
>
> the EnumValueEncoder does not exist anymore a
sommeralex wrote
>
> i have set a browser favicon, and masked forwards of several domains
> pointing to my server. But not all forwards are showing the favicons. Any
> ideas why?
> e.g
> www.domain1.com shows the favicon
> www.domain2.com does not.
>
I guess you have some misconfiguration in y
Hello. I'm trying to get an object from a row grid component. The object is a
very complex object that has not an id or a DAO to deal with.
View
public class Index
{
@Property
private EntityB _member;
public List getResults(){...}
thx. i also think that it is not a tapestry problem - but i thought that
there are some typical issues everybody has to cope with or handle - but
easily forgets.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/favicon-tp5687569p5687617.html
Sent from the Tapestry - User ma
thank you! Injecting the service helped.
BUT: at http://tapestry.apache.org/typecoercer-service.html
there is nothing about
@Inject
TypeCoercer typeCoercer;
So, is this information implicit? Sure, now, if i KNOW that all
blbla-service.html are able to be injected by @Inject blabla - yes. But
Thanks a lot! It works. :-)
2012/5/4 derkoe
>
> Julien Martin wrote
> >
> > Hello,
> > What is the best way to retrieve and display the currently used locale's
> > language on a page with tapestry?
> > Thanks in advance,
> > Julien.
> >
>
> In your page class:
> @Property(write=false)
> @Inject
Yep, second Geoff. That is what I am doing - using onPrepareForRender().
Say specialized form is EditPerson.tml
[various form elements]
In the corresponding EditPerson.java, this what I have:
/**
* Enables reuse of Edit as Create
*/
void onPrepareForRender()
{
if
Perhaps - persist the list (results) in your session? You could probably,
then, use Id in the grid
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/getting-the-object-in-a-row-from-a-grid-component-tp5687588p5688732.html
Sent from the Tapestry - User mailing list archive
That sounds dodgey - if the list size is 100k something is sure to break under
load.
Have a look at a ValueEncoder to translate between the client side and server
side objects. It sounds similar to what one would do when they want to set an
option for a select component.
On 06/05/2012, at 1
This?
http://tapestry.apache.org/using-select-with-a-list.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/getting-the-object-in-a-row-from-a-grid-component-tp5687588p5688802.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That is a great link, thanks for pointing it out. Is there also a page
with the same information for AJAX calls? It is mentioned but I could
not find it.
PS: What's the 'relative assets pitfall'?
Am 05.05.2012 04:59, schrieb Geoff Callender:
> Just t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> you can use the onActivate method in the following form:
>
> class MyPage { @Property String x;
>
> public onActivate(EventContext context) { if (context.getCount() >
> 0) { this.x = context.get(String.class, 0); } else { this.x =
> "default value"
maybe - i'm just throwing something out there rather than the list of x number
of objects in your session.
i think i've got ValueEncoder and BeanModel mixed up though after reading that.
the member property - can't you make some kind of unique context up?
*pseudo code*
final string delimiter =
14 matches
Mail list logo