Hi
Im having trouble finding out how popups are actually done. It does not
look at it is setup like this:
http://developer.yahoo.com/yui/examples/calendar/popup.html
Or it's either merged deep in some of the js scripts bundled..
as this is something we critical need, i'd really be glad for a
Thanks to all for the feedback on this. I ended up solving my issue with a
combination of the two approaches. I hadn't noticed the
setEscapeModelStrings method, so I definitely appreciate you pointing it
out. Very handy.
--
Jason
Eelco Hillenius wrote:
>
>> Is it possible to render a charac
Ryan:
One thing I started considering today after your comments was to place
annotations, similar to beanprops, on the component level (e.g., Page).
Currently beanprops are associated with the Page anyway, so this would be
natural and provide type-safeness without bluring the view/model line.
I t
to state the obvious (after the replies of eelco and martijn):
you'd only use the approach i mentioned before if you don't use
CompoundPropertyModel or PropertyModel.
gerolf
On 9/16/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
>
> you have to set the model of the dropdownchoice.
> let's say you
Using the case system, putting them at top would be interesting. I'd have to
constantly reclassify. Unless of course, I were to start at say 500, and
work my way down. Thanks again.
David Bernard-2 wrote:
>
> If you use if or switch, put at the top the most used.
> Using if/else could seem l
Have you read http://wicket.apache.org/exampledropdownchoice.html ?
Martijn
On 9/16/07, chickabee <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am looking for an equivalent to:
> DropDownChoice.setSelected(Object object)
>
> I looked into API docs but can't figure it out. I have drop down with 18
> d
you have to set the model of the dropdownchoice.
let's say you initiated the drowdownchoice with a list of strings (eg. "a",
"b", "c")
and you want to pre-select "b", you call:
choice.setModelObject("b");
that's it...
the same concept applies if you have "complex" datatypes (eg a pojo).
hth,
ger
On 9/16/07, chickabee <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am looking for an equivalent to:
> DropDownChoice.setSelected(Object object)
>
> I looked into API docs but can't figure it out. I have drop down with 18
> different choices and I want to select one from either on the available
> value
Hi,
I am looking for an equivalent to:
DropDownChoice.setSelected(Object object)
I looked into API docs but can't figure it out. I have drop down with 18
different choices and I want to select one from either on the available
values based on a PageParameter received.
Help please! Thanks!!
--
> I'm really impressed with your work, and just want to impart what's worked
> *really* well for me. Good luck with whatever direction you take.
One thing Dan could consider is to abstract enough so that both
strategies could be supported. Doesn't mean he should ship annotations
support, but it m
I do control my crud list and detail pages with annotations on the
model, and it works quite nice (although I can't say the panels
constructing the data table and form belongs in the category pretty
code, at least there isn't a lot of it). I find I often use multiple
views of the same model obj
setresponsepage(searchpage.class, new pageparamters(proeprties));
-igor
On 9/16/07, chickabee <[EMAIL PROTECTED]> wrote:
>
>
> I have simple form:
> =
> private class SearchForm extends Form {
> private final ValueMap properties = new ValueMap();
> private Tex
I found one way to do it, by using:
setResponsePage(SearchPage.class, PageParameters);
This worked well, Thanks..
chickabee wrote:
>
> I have simple form:
> =
> private class SearchForm extends Form {
> private final ValueMap properties = new ValueMap();
>
Although it may blur the lines between view and model, there are a number of
reasons that it still could be the right direction.
* centralized configuration. all view configuration is in the same file as
your model code.
* leverage Java syntax instead of custom DSL. easy for users to get up and
g
I have simple form:
=
private class SearchForm extends Form {
private final ValueMap properties = new ValueMap();
private TextField querystring;
public SearchForm(String id){
super(id);
add(querystring = new TextField("querystrin
Ryan:
The WWB beanprops/metadata is a view abstraction, while your bean is a part
of the model. It's my opinion that putting view-based annotations on your
model is Not a Good Thing. It confuses the separation of concerns.
-Dan
On 9/16/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
>
> > For me data
Thanks to all. Here is what I ended up with, that is working well:
Factory Class:
public static Panel newComponent(int moduleId, String id) {
switch (moduleId) {
case 1: return new UserPanel(id);
case 2: return new SignInPanel(id);
> For me databinder helps cut the boilerplate code, just as WWB. I just add
> annotations to my domain model, and databinder does the rest. It's WWB for
> the database side of the app! Imagine putting both working together. I was
> able to create CRUD pages with the least amount of code ever. Less
Hi,
If you use if or switch, put at the top the most used.
Using if/else could seem longer than reflection, but in the case of reflection
you need to write 50+ properties.
Regards.
darrengreer wrote:
I'm going to give it a go with the switch statement, thanks to both of you.
I'll let you kno
Dan Syrstad wrote:
>
> Hi Zenrique:
>
> See below...
> -Dan
>
> On 9/15/07, Zenrique Steckelberg <[EMAIL PROTECTED]> wrote:
>>
>>
>> My suggestions to this nice compont:
>> - allow beanprops files to be reloaded while app is running. How it
>> stands
>> now I have to restart the app everytime
Thanks Dan,
I am already doing it the same way, I am just trying to avoid a database
roundtrip, if possible.
Thanks again!
Dan Syrstad wrote:
>
> In the current WWB strategy, required fields are enforced in your
> model/DAO
> layer. For example, if you click your "Save" action, the action on
Dan Syrstad wrote:
>
> Sounds like this may be a caching issue - I'm not sure. Can you send me
> your
> beanprops file directly?
> -Dan
>
Its the following, where marca field gets it options from database, and
temperaturaArmazenagem gets them from an enum:
Produtos {
actions: incluir
Yeah, you can do it but afaik it doesn't work with IE.
-Matej
On 9/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> which you can apply with css and offset the text so it looks like
> has an icon asociated with it ala jira.
>
> -igor
>
>
> On 9/16/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> >
I'm going to give it a go with the switch statement, thanks to both of you.
I'll let you know how it goes.
Of course, if you can just use numbers, then you can just use
switch()...
/Gwyn
--
View this message in context:
http://www.nabble.com/Calling-Methods-based-on-page-parameters-tf444811
which you can apply with css and offset the text so it looks like
has an icon asociated with it ala jira.
-igor
On 9/16/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
>
> Images inside drop down choices? I don't think any browser supports
> such thing. Maybe some could support background-image attr
Images inside drop down choices? I don't think any browser supports
such thing. Maybe some could support background-image attribute of
...
-Matej
On 9/16/07, bebetu <[EMAIL PROTECTED]> wrote:
>
> I am trying to embed images into options of a DropDownChoice but I haven't
> succeeded so far nor I c
My expectation would be that it wouldn't be significant/noticeable,
but it should be easy enough to knock up a test to confirm and
quantify that...
Of course, if you can just use numbers, then you can just use
switch()...
/Gwyn
On Sunday, September 16, 2007, 1:01:02 PM, darrengreer <[EMAIL PROTE
Thanks David. On implementing the first method you mention here below, I
have one follow-up question. If, at some point, I have a 50+ different
if/then statements, would there be a noticeable performance impact?
David Bernard-2 wrote:
>
> To implement the method, I see 2 ways:
> 1/ a list of
On 9/16/07, "C. Bergström" <[EMAIL PROTECTED]> wrote:
> Can we get a link from
> http://wicket.apache.org/community.html
> to
> http://cwiki.apache.org/confluence/display/WICKET/Community+meetups
Done.
Martijn
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is rel
Hi,
In the same context, how can I provide inter application session? when I
reach to new application with wicket.Link session is passing to new
application, when I try this with html link it needs signin again.
request
request
-
Yahoo! kullaniyo
Gerolf Seitz wrote:
> On 9/15/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
>
>> because it seems there can be quite a lot of people
>> i have to look around where to do it. and also what kind of day
>> because this many people then 2,3 hours in the evening is maybe a bit to
>> little time.
>>
we're just quibbling over what "stored in the session" means. if we mean
(as it seems obvious i did) "is it reachable through the wicket session on
the web node and does it take up memory on that node" then yes it is in some
sense it is "stored in the (wicket) session" (it's there in the debugge
Kent Tong wrote:
>
> Yeah, it is in there because it hasn't been serialized and deserialized.
>
If your code was like:
public class QueryDetachableModel extends LoadableDetachableModel {
public QueryDetachableModel(Object instance) {
super(instance);
}
james yong wrote:
>
> I am using IndexedParamUrlCodingStrategy. Is there is a good way to check
> the number of available parameters? Currently i have to use
> getString("0"), getString("1") etc. to check for null before I arrived at
> the size of the available parameters.
>
Have you tried:
carloc wrote:
>
> Somehow, it seems that transient objects are stored in the session.
> WHen I try to look at the session in eclipse's debug mode,
> I can actually see my User object in there even though I marked as
> transient.
>
Yeah, it is in there because it hasn't been serialized and des
35 matches
Mail list logo