Thanks, this work nice

On 1/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> in 1.x you cannot call getmarkupid() from the constructor, so you have to
> use an attribute modifier with imodel to retrieve the id during render time
> once all the components have been linked to their parents
>
> -igor
>
>
>
> On 1/28/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> >
> > Thanks, just try it today, I have code like:
> >
> >         dateField.setOutputMarkupId(true);
> >         final String javascript="Calendar.setup({ inputField :
> > \""+dateField.getMarkupId()+"\", ifFormat : \"%d-%b-%Y
> %H:%M\", button
> > : \"trigger\" });";
> >
> > However, the ID generated at input field is
> >
> "main_border_cust_menu_orderSearchForm_startTime_date_textfield"
> but
> > in the script I get from getMarkupId() is "date_textfield", which, is
> > the wicket:id I've specified.
> >
> > Am I need to do something else to get the generated ID ?
> >
> > On 1/27/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > Component c=...
> > > String javascript="calendar blah=new
> > > calendar(`"+c.getmarkupid()+"'`);...")
> > >
> > > new label("script",
> > > javascript).setescapemodelstrings(false);
> > > <script wicket:id="script"></script>
> > >
> > > is the easiest way for very simple javascript stings
> > >
> > > there is also PackagedTextTemplate for more complex stings that require
> > > variable replacement, as well as CssTemplate and JavasScriptTemplate.
> have a
> > > look.
> > >
> > > -igor
> > >
> > >
> > >
> > > On 1/26/07, Carfield Yim < [EMAIL PROTECTED]> wrote:
> > > >
> > > > I found a datetime picket with is more suitable for my application and
> > > > I would like to integrate that javascript to my application.
> > > >
> > > > I can get the markup id using getMarkId() method of Component. However
> > > > I don't know how to press it to that javascript. I have talk of look
> > > > of
> > >
> http://www.mail-archive.com/[email protected]/msg22608.html
> > > > and I wonder can I have similar ${backGroundElementId} at HTML
> > > > template instead of js file?
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > > your
> > > > opinions on IT & business topics through brief surveys - and earn cash
> > > >
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > [email protected]
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to