EP 6.0 SP2 Extremely flexible UI

Hi,
I would like to use KM to build up a "Mini-CMS".
I found the document "Configure the HTML Collection Renderer for the KM flexible user interface", which is very useful.
In my Scenario, I would like to have the same behavior (HTML above, KM at the bottom), but with an additional tree list on the left side for navigation purposes (like in the admin explorer).
I don't want to use the Detailed Navigation for that purpose, because it is far more easy to create a folder instead of an iView...
Does anybody have an idea, how to realize this?
Probably I need to have a corresponding Layout Controller?
Kind regards,
Stefan Schmidt
Message was edited by: Stefan Schmidt

What you would have to do is simply create the layoutcontroller you would need for your usecase. This is some 10 minute thing to do when you have your dev. environment up and running. FlexUI was meant to be totally extendable by programming -- and it really is. Releasing the necessary APIs, however, had to be delayed due to some technical constraints behind the scenes. This will change from EP6 SP2 Patch 6 on, and for NW04 SPS4 and above.
For the time being, if you can prove to be desperate enough, I'll send you a readymade layoutcontroller to plug and play and demo with it, courtesy of the FlexUI team (without any further support, however).
Another thing you could do on your own in SP2 already is write a so-called component, which is a decoration mechanism that we introduced in EP6 SP1. Component decorations are controls that are positioned around collection renderers (e.g. breadcrumbs, pagers and so forth). The IComponent-Interface is released, so you could develop an IComponent to be put on top of the right-hand list collection renderer. The next thing you would then have to do is to retrieve the required commands (IExecCommand, released) from the command factory and ask it for the appropriate event-link (getLinkAttributes()) to be rendered. This is basically what the HTML-renderer does when it encounters the special http://com.sap.cm protocol.
We will probably put this layout schema into the standard (and maybe some more variations) for NW04 SPS5 and EP6 P6++ (whatever it will be called...), since it sounds pretty useful in general. THIS IS HOWEVER NOT AN OFFICIAL COMMITMENT.
Hope this helps...

Similar Messages

  • Problems with String.split(regex)

    Hi! I'm reading from a text file. I do it like this: i read lines in a loop, then I split each line into words, and in a for loop I process ale words. Heres the code:
    BufferedReader reader = new BufferedReader(new FileReader(file));
    String line;
    while ((line = reader.readLine()) != null) {
        String[] tokens = line.split(delimiters);
        for (String key : tokens) {
    doSthToToken();
    reader.close();The problem is that if it reads an empty line, such as where is only an "\n", the tokens table has the length == 1, and it processes a string == "". I think the problem is that my regex delimiters is wrong:
    String delimiters = "\\p{Space}|\\p{Punct}";
    Could anybody tell me what to do?

    Ok, so what do you suggest?I suggest you don't worry about it.
    Or if you are worried then you need to test the two different solutions and do some timings yourself.
    And how do you know the regex lib is so slow and badly written?First of all slowness is all relative. If something takes 1 millisecond vs 4 milliseconds is the user going to notice? Of course not which is why you are wasting your time trying to optimize an equals() method.
    A general rule is that any code that is written to be extremely flexible will also be slower than any code that is written for a specific function. Regex are used for complex pattern matching. StringTokenizer was written specifically to split a string based on given delimiters. I must admit I haven't tested both in your exact scenario, but I have tested it in other simple scenarios which is where I got my number.
    By the way I was able to write my own "SimpleTokenizer" which was about 30% faster than the StringTokenizer because I was able to make some assumptions. For example I only allowed a single delimiter to be specified vs multiple delimiter handled by the StringTokenizer. Therefore my code could be very specific and efficient. Now think about the code for a complex Regex and how general it must be.

  • Getting values from dynamic items

    I've created some items on my page using APEX_ITEM. This is a really cool feature, it allows extreme flexibility. My problem is, I can not get the value out of the textbox I've created.
    It doesn't appear in session state at all. I thought this wasn't going to happen though.
    I've tried a computation to get the value into a hidden item. These items appear null upon submittal.
    I came across APEX_APPLICATION.G_F01 - but this isn't working for me either... It appears to be used to access an array and I must not be using it correctly.
    Anyone got any pointers on how to get the information out??

    Here is the formatted code (put pre and */pre* before and after blocks, replacing asterisks with matched square brackets):
      v_item_desc varchar2(4000);
      v_counter number;
      cursor v_item_cursor is
        {select statement}
    begin
      v_counter := 1;
      htp.p('< table>');
      for aRow in v_item_cursor
      loop
        select X
          into v_item_desc
          from Y
          where Z = v_counter;
        htp.p(
          '< tr>< td>< span style="line-height:25px;font-size:15px">'|| apex_item.display_and_save(v_counter, null, null, null)||v_item_desc||'< /span>< /td>');
        htp.p(
          '< td>'||apex_item.text(v_counter, null, 30, 4000, null, 'P6_SUM_SELECT_'||v_counter)|| '< /td>< /tr>');
        v_counter := v_counter + 1;
      end loop;
      htp.p('< /table>');
    end;In your after-submit process, loop over apex_application.g_f01 from 1..apex_application.g_f01.count for the array created when you used v_counter=1, etc.
    Scott

  • Support symbolic links (symlinks or Unix's 'ln -s') in the iTunes Media folder hierarchy

    As of iTunes version 12.0.1.26, iTunes has partial support for symbolic links in the iTunes Media folder hierarchy. I'd like Apple to enhance iTunes to treat any symlink or folder alias within the hierarchy the same as folders. With the Unix core under OS X, there is no clear reason to not support this feature.
    Why is this important? As more of us try to use iTunes as the single repository of all media, the library size becomes larger than is possible to hold on a single partition. The simplest and most convenient solution is to allow users to move large folders (e.g. Music, or Movies) to a different drive or partition, then put an alias or symlink in the original location within the iTunes hierarchy. Users with large collections or small partitions may need to split multiple times. Other users may want to put the bulk of their media on their home/work NAS and only keep a portion on their laptop for mobile access (think long overseas flights), but not have to constantly fiddle with iTunes.
    The point is not whether any one of these scenarios may be supported today though a crude hack or third-party tool. Support for symlinks would be relatively easy for Apple to implement and extremely flexible for advanced users.
    This is partially supported today. For example, if you do what I described above, iTunes will play all of your existing media. The part that is definitely broken is when you try to use the "Automatically Add to iTunes" folder, iTunes will not copy the file to a location under a symlink or alias. The new file will sit in the "Automatically Add to iTunes" folder and iTunes will generate multiple instances/tracks inside iTunes (e.g. movies appear in the "Unwatched" tab). While there are ways to work around this limitation, they are tedious and ultimately unnecessary if full symlink/alias support is provided.
    Best,
    Pete

    Click here and fill out the form.
    (119798)

  • Demlo - A dynamic and extensible music library organizer (in pure Lua)

    Demlo organizes your music library automatically and dynamically. It runs a chain of user-defined scripts using variables such as tags and file properties. This way it yields virtually unlimited customization power to the user.
    Use case
    As an example, consider a music library that is a a perfect definition of chaos:
    No folder structure.
    Tags are not homogeneous, some entries are filled, other not, it varies from file to file.
    Some files have bad audio quality.
    Audio codecs are not always the same. Some file are CBR/VBR, lossless/lossy, ...
    mp3's ID3 tags are a nightmare.
    Covers are sometimes embedded in tags, others are of terrible quality.
    Features
    A few scripts are already provided and they give a good example of what you can do. You can choose to use them, to rewrite them, or to write a new script from scratch. You can preview changes, and once you are done you call the program over you music library, it will process everything in one single run!
    Scripts can be chained: this feature makes Demlo extremely flexible and powerful!
    Move all files according to a unique, yet dynamic folder hierarchy. For
    instance, setting
    output.filename = table.concat {library, '/', o.artist, '/',
                     not empty (o.album) and (empty (o.date) and o.album .. '/' or o.date .. ' - ' .. o.album .. '/') or '',
                     empty (track_padded) and '' or track_padded .. ' - ',
                     o.title}
    will move "john doe - 1. intro.ogg" to
    "/home/$USER/music/John Doe/2013 - Great Album/01 - Intro.ogg" if there is an album and a date,
    "/home/$USER/music/John Doe/Great Album/01 - Intro.ogg" if there is an album and no date,
    "/home/$USER/music/John Doe/01 - Intro.ogg" if there is no album.
    Case checking: a powerful script that will turn everything to title case. It supports special cases such as Roman numerals, McDonald, etc. It also supports a list of exceptions (e.g. AC-DC, DJ, feat., etc.).
    Encoding: you can conditionally re-encode you files, so you can choose to only re-encode files with some particular encoding settings. You can set the desired bitrate, etc.
    Covers: automatically remove embedded covers, remove duplicates, remove files beyond/below a quality threshold, etc.
    Different kinds of music: classical, OST, and band songs have usually different kinds of tags and folder structures. You can manage different audio libraries easily by setting the corresponding "library" variables.
    Edit tags of a file set with your favorite text editor.
    Support for cue sheets. (Both external and embedded.)
    Demlo can be interfaced with any other program, both ways. (X calls Demlo or Demlo calls X.)
    MusicBrainz support for online tagging and cover fetching.
    Technical characteristics
    This program is completely written in Lua. Its only major dependency is FFmpeg. A few Lua modules are required, which should not eat more than a few KiB on your drive. This leads to a lightweight codebase for a portable and extensible program.
    Dependencies
    ffmpeg
    lua (>= 5.1)
    lua-dkjson
    lua-filesystem
    lua-llthreads2
    lua-penlight
    lua-socket
    slnunicode
    chromaprint (optional)
    History
    This program is based on Musish by the same author.
    The original program was written in POSIX shell but suffured from many limitations as well as performance issues. It was rewritten in Lua to circumvent all those issues while applying minor changes to the CLI options and to the variable names. The syntax of the script changed to Lua as well. Here follows a list of major changes:
    Traversing folders recursively is no longer a security issue.
    Overall performance got boosted by a factor of approx. 2.
    Scripts and configuration files are sandboxed, which means they can no longer contain harmful code. However it is no longer possible to chain scripts.
    All tags are processed dynamically, no more hard-coded tags.
    Links
    Official web page
    Arch Wiki
    AUR package
    Issue tracker: Please file bug reports there thanks!
    Last edited by Ambrevar (2015-02-20 09:22:22)

     I hoped the structure I presented was clear enough. No, all/majority of tags would be a little too much, but genre, different release types, file types and some other basic distinctions, yes and tagsfs will probably help with that. There are special folders like [Compilation], [High Voltage SID Collection] and probably others in the future, maybe with help of tagsfs. Compilations and Artists are prepended by the leading letter of 'sorted artists/albums' level. Then albums/artists are sorted/presented in the manner visible in the Picard script:
    $if($eq(%compilation%,1),
    %COMPILATION%///%FIRSTLETTER%///$if2(%ALBUM%,%NONALBUMTRACKS%,[Other]) - $if(%DATE%,[%DATE%],),
    %FIRSTLETTER%///$trim($if2(%ALBUMARTIST%,%ARTIST%),.)///$if(%DATE%,%DATE% - ,)$if2(%ALBUM%,%NONALBUMTRACKS%,[Other]) )
    $if(%RELEASETYPE%,[%RELEASETYPE%],)%BARCODE%$if(%INCOMPLETE%,[%INCOMPLETE%],)[%EXT%]///
    $if(%DISCNUMBER%,%DISCNUMBER%-,)%TRACKNUMBER%. %ARTIST% - %TITLE%
     Picard has preview examples, so copying the whole script into file naming script under options should make this definitely clear.
    Ambrevar wrote:Thinking about it, a similar feature is provided by most library managers where you can choose filters and tree structure and so on. It remains virtual though, it does not touch the filesystem. Is it really necessary to you to have that sort of view directly on your filesystem? The problem of the filesystem view seems very complex to me.
    Not all devices provide that capability. It is more pleasant to work with that approach than previous structures I used, remember that I can restructure the whole library at any time and probably copy the local one elsewhere using the new structure, but I have not looked into that yet.
     We probably have very different experiences, I see this as very comfortable and convenient. Before that I had been using folders for different file types in the main directory, but it ended up with so many entries for FLAC and MP3, that parsing that directories in a player or any maintenance using a file browser/terminal was too troublesome/slow. So I reduced the number of files, by using the alphabet and additional characters as sorting mechanism. And since that was one step away from separating compilations from albums/single releases, I did that also. Now I can access the whole library very quickly, even when one or two additional characters need to be typed.
    Ambrevar wrote:Furthermore, would you consider this to be an automated task or a manual one? Using your example, how can a program know that Lauge & Baba Gnohm is both Lauge and Baba Gnohm if no tags says so?
     Both, I want as always full control. MusicBrainz [database] relations.
    Ambrevar wrote:Hard links do not work for folders.
    Symlinks cause problems with most file browsers that do not follow them during copying.
     I do not recall writing they should link folders, the directory structure would have to be [re]build and then files [hard/sym]linked, which might pose a maintenance issue, although deleting links and empty directories not really, but "leftovers" like covers could block cleaning. *The only file browser* I would recommend is Proto from a very friendly Polish programmer named Mieszko Lassota, but it is, or at least was last time I checked, Windows only and slowly further developed, although still kills every mc, mucommander and ranger on sight, that is how I remember it. SpaceFM is bearable, but I still only use rsync to copy files and see no point using anything else.
    Ambrevar wrote:Can you elaborate on this? What are the limitations of Picard beyond symlinking? It could be interesting to know what feature you would like.
     The recursive/linking aspect it the main point here. I hope this is not too big of a disappointment. Having too long names has also been a problem in few cases, classical music if I recall correctly, but those are limitations of the file system, however even that could be overcome with Picard, but the code would not be as easily readable as it is now. The question would be what should be abbreviated/priorities, what to do when after abbreviation the directory/file names are still too long and so on. I had to do it by hand these few times. Picard does not handle covers/images well in my experience, but I used something else for that, puddletag I think. I would have to continue to organize the library to remember.
     Furthermore, not all media players/organizers do have the capability to get exactly this structure with formatting, leading letters and distinction between compilations and albums being two examples. Browsing this robust file structure with ncmpcpp is very efficient, I almost never use the library view. As long as a media player has the browsing capability, I have the same view/behavior. And other hardware also works without issues. Yes, it basically comes down to having the file system do, what media players should, however with a few exceptions I had only positive results for more than almost two years now. Do you now see benefits of having that file structure?
     Again I will take a look at your tool, when I find some time and what progandy suggested also of course. How do you save your music on the file system?
    Edit: Style. Clarification.
    Last edited by emeres (2014-09-12 13:02:34)

  • Good Software to Make a Font?

    I did a search here but the most recent thing that comes up is from 2003.
    Does anyone know of any good software that I can make fonts with? This is my first attempt and I want something free or inexpensive just to see how I like it.
    Thanks!

    You asked for something 'good' and also 'inexpensive'. In general, you
    can't have both.
    The two suggestions you've received so far include one good and
    expensive solution (Fontlab) and one poor and inexpensive (Corel Draw).
    Corel Draw's font creation process is absurd! It does one character at
    a time and has just about zero ways to select or create any other than
    a couple of default font attributes.
    An exception to the rule is FontForge, which is both good and free. It
    also has a steep learning curve, and requires a cygwin environment.
    Somewhere in between, you can find:
    Other programs from Pyrus/Fontlab, with varying costs and degrees of
    capability, including TypeTool and Scanfont. Scanfont does a
    reasonable job of vectorizing images of full character sets, but
    should really be used in conjunction with FontLab. They also own and
    sell Fontographer, an expensive old warhorse of a program that hasn't
    been updated in many many years. The Mac version is a bit newer.
    FontCreator (High-Logic Systems). Extremely flexible when vectorizing
    images of individual glyphs. It has poor defaults (such as assigning
    the copyright to High-Logic Systems and creating many hundreds of
    empty glyphs) that have to be overcome. Again, post-processing with a
    program like FontLab is recommended, but not necessary.
    CR8 Software Solutions:
    Has a free font creator, TypeLight, that has limited drawing tools,
    can't import scanned images directly, and other limitations. He also
    offers a paid version with significantly more capability, and a
    separate program CR8Trace, for vectorizing scanned images. All in all,
    not great, but you get what you pay for.

  • DVD Ripp

    *Update*
    The lastest release of MediaCoder now includes a preset for transcoding for the Zen Vision series players. The encoding used will also work with Vision:M, making it very, very easy to get any video or audio onto your Zen. It also supports transcoding from VOB files, great for converting non-copyrighted (or copy-protected) dvd's to a file suitable for your Zen.
    Also, If you are the owner of the IP (intellectual property) of a copy-protected dvd (and also of the copy-protection itself... unlikely, I know), and happen to li've outside of the United States of America, but flew into America just so you could visit the American Creative Forum; as soon as you get back to where you li've (assuming that they don't have a law equivalent to the US's DMCA), then you could go to doom9.net and get a free dvd decryptor, and then convert the resulting VOB files with MediaCoder, hypothetically speaking, of course.
    Again, do not do the above unless you are absolutely sure that it is not punishable by law in the region in which you li've. Creative Labs nor I will be held responsible for any laws that might have be broken by you while using these instructions.
    (I've got a feeling this isn't going to stay li've for very long...)
    *Update*
    The following piece of free/open source software streamlines the difficult task of transferring a DVD to your Creative portable device:Gordian Knot Rip Pack
    Note that these tools should be used for non-commercial dvds only: dvds that are your own intellectual property (or IP, for short), or that you have explicit permission from the IP owner to rip. Any other use is prohibited by law.
    But, if for some reason, you <EM>accidentely </EM>were to encrypt a family dvd that you produced solely on your own and wanted to later rip it for use on your zen product, then you could always "break" the protection by downloading thi... just kidding, I just thought I would see how many comments I got from the mods about that!
    For other essential resources (including full-scale tutorials) related to dvd ripping, go to www.doom9.org.
    Also, for the few audio/video encodings that Creative's own mediasource software fails to transcode, you can use this great (free and open-sourced) application, called Media Coder. This is my favorite application for converting between media formats.
    If it is a video (or audio for that matter) stream (.asf) from the internet that you wish to rip, than the following application will do the job with its easy-to-use wizard: VLC PLAYER. (This program is also free and open-sourced) Once you download and install the binaries for your platform of choice, just click file-wizard, then 'transcode/save to file', 'next', 'select a stream', 'choose', enter the location of the stream in the 'open' textbox, and the rest from that point is easy...
    Lastly, the following tools will allow you extreme flexibility in editing audio and/or video, both of which free and open-sourced as are all other tools listed on this post:
    Audacity, The Free, Cross-Platform Sound Editor</LI>
    Virtual Dub</LI>
    Virtual Dub Mod</LI>
    Nan Dub</LI>
    And as mentioned earlier in this post, these tools are for people with the knowledge, but don't want to pay for proprietary software. If you want to learn how to rip a DVD, then you will need to visit www.doom9.org and read up on your tutorials.
    Good Luck, and if you need any help, post your questions as a reply to this post. Thanks,advs89
    Message Edited by advs89 on <SPAN class=date_text>08-3-2006 <SPAN class=time_text>07:26 PM
    Message Edited by advs89 on <SPAN class=date_text>08-3-2006 <SPAN class=time_text>07:26 PM
    Message Edited by advs89 on <SPAN class=date_text>08-3-2006 <SPAN class=time_text>07:28 PM
    Message Edited by advs89 on 09-28-2006 08:07 PM

    hmm... I don't like your choice of the word "yet". Besides, I think you are enjoying your moderator pri'veleges a little <EM>too</EM> much. (Oh, and this whole, smileywink thing is beginning to get a little scary, I think I am going to stop using these stupid emoticons - or since we are being so extrordinarily copyright-friendly on this forum, i'll say smileys...) Ooh, I'm overusing my ellipsis. (probably misusing them too)
    <STRIKE>anyways, back on topic, I'll make sure to limit my discussion of the circumvention of dvd encryption to the fact that you <EM>can</EM> in fact, if you are a criminal, make use of a certain piece of software to be found on the popular (and not <EM>shut down</EM>) DVD transcoding enthusiast web page, doom9.org.</STRIKE>
    Now that that's taken care of, i'll get back to my overuse (and probably misuse) of ellipsis and smileywinks...
    Message Edited by advs89 on <SPAN class=date_text>08-3-2006 <SPAN class=time_text>08:07 PM
    Message Edited by advs89 on 08-3-2006 08:07 PM

  • How to insert data from file to table??

    I need to know that how can i insert data in multiple column through file. I can simply insert data in one column table but couldnt find out the way to put data in all column.
    My data store in a file
    ************************************************text.txt***************
    133, shailendra, nagina, 14/H, 45637, 9156729863
    **************************************************************my_data(table)**********
    trying to insert into below table...
    id, name, last_name, add, pin. mob
    Let me know if anything else needed..:)

    Hi Shailendra,
    Actually, in SQL Developer, you can open a connection to the target schema, right-click on the Tables node in the navigator tree view, select Import Data, then use the Data Import Wizard. It is extremely flexible. It looks like you have a comma separated variable file, so if you select Format: csv and Import Method: insert it will probably work just fine.
    To minimize the chance of errors during import, pick a preview limit value so the wizard can examine the size and data type of all columns in as many data rows as possible, then review the data type/size for each column in the next wizard page and override as necessary. For date columns it is also important to choose the appropriate format mask.
    Hope this helps,
    Gary
    SQL Developer Team

  • Extending a graphic across artboards

    CS4. I am primarily an illustrator and logo designer. I don't do booklets very often.
    I have a four-page, full bleed promotional piece to design, an outer spread (front and back cover) and an inner spread (pages 2 and 3). The inner spread will have artwork that spans left to right, across the fold. Due to printing requirements and the printer's imposition preferences, each artboard represents a page, not a spread. In other words, I have artboards for front cover, page 2, page 3 and back cover, and I'll deliver four press-ready PDF pages to the printer for his shop to assemble.
    How do I set up the artboards and the artwork to cross the fold on the inner spread? Do I abut the artboards (allowing the opposing bleed guides to overlap? Do I place the artwork on page 2 and let it overlap page 3 or do I duplicate the artwork on pages two and three?
    It's not clear how this should and will work if I'm submitting separate pages. If I place the artwork on artboard 2, then produce the four separate PDF pages, won't page 3 be blank? (I'm sure this is easy, I'm just inexperienced with it.)
    Thanks.

    Thanks again, Scott. As you probably have deduced, the nature of my work keeps me in Photoshop and Illustrator pretty exclusively. I think I've done maybe 10 jobs in InDesign and its page layout ancestors in 20 years. Even before Illustrator, I'd do the occasional multi-page job that came my way with FreeHand's extremely flexible multiple pages, even though I had PageMaker on my machines. So, like all of us, I gravitate to what's familiar.
    I appreciate your helping me out on this. Good, practical, easy to follow advice, as always.
    Shunith, nothing weird in the slightest. It's not that this printer "can't" handle artist-generated spreads. They can and they have. It's that they have some pretty impressive, modern equipment whose software does all imposing with precision and reliability. So they prefer single pages from the artist. Because they're so incredibly and consistently good, I give them exactly what they want. Thanks to Scott, I can on this job too.

  • Text2gui Swing developer tool

    Hi all,
    I'd like to announce my new product, text2gui, which makes Swing development much faster.
    text2gui lets you specify a GUI hierarchy using a syntax that is much easier to write compared to Java. Here is an example of a GUI description:
    contentPanel.layout=box axis=y
    contentPanel.contents=[
    {jscrollpane viewportView=%pictureLabel},
    %controlPanel
    pictureLabel.icon=$icon
    pictureLabel.border=etched
    pictureLabel.hAlign=center
    controlPanel.layout=box axis=x
    controlPanel.contents=[{glue},
    %indexLabel, {strut}, %indexField, {strut length=20},
    %backButton, %forwardButton, {strut length=20},
    %randomCheckBox, {glue}
    indexLabel.text=Picture Index
    indexField.dispatchType=jformattedtextfield
    indexField.value=$pictureIndex:ruw
    indexField.prefSize={width=50, height=20}
    backButton.icon.location=Back24.gif
    backButton.pressed=$back:w
    backButton.tooltip=Go to the previous picture
    Because descriptions are parsed at runtime, you don't need to recompile any code
    to change the GUI. Also, your application's GUI can be upgraded after deployment, even at runtime.
    These descriptions are stored in resource bundles, so GUI's described by text2gui are very easy to internationalize. Unlike the i18n stuff supplied with the JDK, text2gui makes every property of a component
    locale-dependent, not just strings.
    GUI descriptions can reference two types of variables: the % prefix means to reference another resource
    bundle key, and the $ prefix means to reference values in a map passed to the text2gui converter. This means that GUI's built with text2gui can have properties determined at runtime.
    GUI descriptions can also contain BeanShell scripts, so descriptions are self-contained and usually don't need compiled Java code to manage them. But text2gui is extremely flexible; you can put your own components in a hierarchy, or pull out components from the hierarchy and manage them manually.
    The Java code required to create a GUI hierarchy looks like this:
    JPanel panel = (JPanel)
    DispatchingComponentConverter.DEFAULT_INSTANCE.toComponent(
    bundle, "contentPanel", argMap);
    Once a component is created, its properties and the properties of its parent components can be updated and changes to the properties caused by user input can be watched, through a simple interface. Using this interface allows your application to be implemented using model/view/controller (MVC) architecture.
    I believe that text2gui will dramatically reduce your Swing development time and will improve the maintainability of your code, and allow you to deploy your application in multiple languages easily. So, please check out the site:
    http://www.tacosoftware.com/products/text2gui/
    text2gui is normally licensed for commercial use -- once you purchase a license, you can redistribute the library without paying royalty fees. Freeware developers can get and re-distribute the library by paying a nominal fee.
    Please try my product today -- you can download an evaluation version for free!

    gk,
    Go to Shared Components > Definition > Status. Change to "Available".
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • ITunes not seeing Windows Address Book or Outlook 2003

    When I try to sync my iPhone, it syncs the music, videos, etc, but under the Info tab in iTunes it doesn't show me any options to sync my contacts with, nor bookmarks, nor calendar, etc. I have Outlook 2003 with all the proper iTunes add-ins activated as well as Windows Address Book, but iTunes simply doesn't seem to see that I have these programs installed on my computer and that I can sync my iPhone with them! Anyone else has similar problems?

    Yep,
    the first time I got sync probs, I also researched with the root cause is syncing. I tried just everything. It turned out, that address book is just not handling the contacts with all their data entries very well. .MAC, the iPod and the address book itself have all different capabilities to work with the extremly flexible way the contacts are saved. It basicly just works good if you have typed every contact manually into the address book or if they where imported with a very basic set of parameters (e.g. just name and address). Once they are imported from a different software and every contact has a full set of data, Apples address book is overstrained immediatly. And nothing improved thru years. I am starving for a third party application which integrates as good as Apple address book and is working as it is promising to.
    When I just started with Mac, the address book probs almost made me resell my first MAC and get back to Linux or whatever.

  • Mac or pc for college

    I was wondering if a Mac or pc would be a better investment for college. I will be having a few online classes that require working with windows but I know macs can run windows now. Also if you have windows on the Mac do you still need to get Microsoft office for word etc? What's the better choice?

    In all honesty... I am a windows fan.
    When you are going through college you will be interacting with quite a bit of different software throughout your years which will usually NOT be useable on a mac.
    MACs are restricted on the software they support, but that is also a main reason they are "more reliable". But it will also limit your knowledge of a computer in my opinion.
    You can still run windows within the MAC through other software you have to purchase, such as boot camp. You will also need to purchase a fresh copy of windows as well, which really just ADDS to the cost of the already overpriced MAC machines.
    Is there a need for the MAC OS + WINDOWS OS? My opinion is no. You will benefit more throughout college with a Windows based machine and it will not hurt your pocket nearly as much. But if money is not an issue for you, then yes a MAC computer with some software to run windows would be ideal, but not worth the $$$ in my opinion although it would provide you with the flexibility and power of both operating systems.
    My opinion is just to pick a reliable PC manufacture and a good model. You will use windows a lot more frequently than MAC or it's software.
    A windows based PC can do everything a MAC can... and more, but because of that there may be a few future head aches such as software problems.
    Window based PCs are extremely flexible and changeable and thats why you hear a lot of problems and people complain because they change things without even realizing it and it sometimes does not like what you changed as it conflicts with another setting/change.
    MACs are bit restricted and thats why you do not hear about the problems nearly as much.
    Summary: Grab a Windows based computer for college. You are there to learn, might as well learn a bit about a compute aswell. They are everywhere.
    Geek Squad Agent
    Although I am currently a Best Buy employee my involvement with these boards are voluntary and on my own time. I am not representing Best Buy. My comments/posts have no affiliation with Best Buy in any way and are strictly MY OWN words & opinions.

  • XML Data Type in oracle

    I am a developer in .NET with having experience working on SQL server.
    I want to know whether there is an xml data type in oracle.
    I have an xml in my front end and want to insert record in the database for the values inside that xml. What i am doing currently is that i am retreiving the value in the xml in the .NET code and passing the values a parameter to a stored procedure in oracle. what i want to do is to pass the xml directly to stored procedure in oracle and retrieve the values there (using Xquery) and insert the records.
    This is possible with SQL server 2005. I want to know is this possible with Oracle.
    Thanks and regards,
    Sameer J Narkar

    Wonderful - a documentation question!
    You will find your answer by going to the general documentation portal at http://tahiti.oracle.com following the path to the database version of interest, and looking in the SQL Reference manual. Chapter 2 discusses all data types, including the several supported for XML.
    In addition, under the 'Books' tab, there are several XML-developer specific reference manuals.
    (Oracle's support for XML generally blows away the others. The price for the extreme flexibility is an ease-of-use hit.)
    Message was edited by:
    Hans Forbrich
    removed the punctuation from the displayed URL which resulted in an automatically included trailing comma.

  • SQL Query Data Model Question

    Hi All,
    I'm new to XMLPublisher so i'll try to explain the best i can the problem i'm having creating a Data Model for my report.
    I'm using Database XE and have installed XMLPublisher, as XE is extremely flexible in creating apps i'm having huge trouble finding a reporting solution for my applicaiton. I have created an app to track and control time and expense which i want to generate timesheet, expense sheets, invoice etc from.
    Having done some read i think XML is the best approach for me however i'm having huge troubles with my data model.
    EXAMPLE:
    I have 2 tables to start with, first table holds client information and the second table holds project information. One client can have many projects.
    When i create the Data Model using SQL i get the obvious problem that when a client has more then one project my XML structure is incorrect.
    SELECT gc.name AS CLIENT,
    gp.name AS PROJECT
    FROM gte_client gc,
    gte_project gp
    WHERE gc.client_id = gp.client_id(+)
    The above SQL creates the following XML
    - <ROWSET>
    - <ROW>
    <NAME>Symatrix Ltd</NAME>
    <NAME>Symatrix Pre-Sales</NAME>
    </ROW>
    - <ROW>
    <NAME>Aston Carter</NAME>
    <NAME>MOD</NAME>
    </ROW>
    - <ROW>
    <NAME>Symatrix Ltd</NAME>
    <NAME>Fujitsu</NAME>
    </ROW>
    </ROWSET>
    Obvious problem here is the fact that client Symatrix appears twice as there are 2 projects.
    I have tried to write SQL/XML and i think i'm beginning to understand the structure of the XML functions however XMLPublisher doesn't appear to understand the syntax when creating a SQL Query for the data model.
    I hope all this makes sense.
    Kind Regards
    Glen

    Hi All,
    Ok, so with a little searching through documents and articles on the web i found this information.
    http://blogs.oracle.com/xmlpublisher/2006/05/05#a38
    this details the exact thing i'm trying to achieve so anyone else who searches this forum with a similar problem check this out.
    Regards
    Glen

  • What is the problem here?

    Hello,
    First of all I am a beginner. But I thought it would be better to write this topic here rather than Beginner.
    I have written a simple calculator program. But I have a problem with the interface. I created a Text Field (JTextField actually). And below this text field, buttons are placed.
    The buttons consist of 4 rows and 4 colums (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, C, OK, *, +, -, /).
    The problem is: the buttons (0, 4, 8, *) are in the width of the textField. Whatever length you enter for the textField, the length of the buttons changes.
    I have used the GridBagLayout. Which one is more suitable for a job like this?
    GridBagLayout or GridLayout?
    I tried GridLayout also, which didn't work either.
    In the code below, for the JLabel I used: fill constraint. as HORIZONTAL.
    Does it make any sense? I also tried to use the fill constraint also for the textField. I used:
    cons.fill = GridBagConstraints.FIRST_LINE_START
    But it also didn't work. I am confused, I almost tried everything and couldn't get a satisfying result.
    When I use GridLayout this time all the buttons take the length of textField area.
    I used GridLayout(0,4,1,1).
    Also while using the GridLayout if the windows is maximized then the shape of buttons and the textField also changes. Is there a way to stop this?
    Here is the code:
      public void addComponentsToPane(Container pane) {
        if(LEFT_TO_RIGHT) {
          pane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        pane.setLayout(new GridBagLayout());
        GridBagConstraints cons = new GridBagConstraints();
        subtotal = 0;
        operator = new String("");
        stringvalue = new String("");
        label = new JLabel("Simple Calculator");
        cons.fill = GridBagConstraints.HORIZONTAL;
        cons.gridx = 0;
        cons.gridy = 0;
        pane.add(label, cons);
        textField = new JTextField(15);
        cons.gridx = 0;
        cons.gridy = 1;
        pane.add(textField, cons);
        zero = new JButton("0");
        zero.addActionListener(this);
        cons.gridx = 0;
        cons.gridy = 2;
        pane.add(zero, cons);
        one = new JButton("1");
        one.addActionListener(this);
        cons.gridx = 1;
        cons.gridy = 2;
        pane.add(one, cons);
        two = new JButton("2");
        two.addActionListener(this);
        cons.gridx = 2;
        cons.gridy = 2;
        pane.add(two, cons);
        three = new JButton("3");
        three.addActionListener(this);
        cons.gridx = 3;
        cons.gridy = 2;
        pane.add(three, cons);
        four = new JButton("4");
        four.addActionListener(this);
        cons.gridx = 0;
        cons.gridy = 3;
        pane.add(four, cons);
        five = new JButton("5");
        five.addActionListener(this);
        cons.gridx = 1;
        cons.gridy = 3;
      }Thanks in advance for your helps.

    Although the GridBagLayout is extremely flexible it is also more complicated to use.
    I prefer to use multiple LayoutManagers to get the effect I want. Maybe something like this:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=609795

Maybe you are looking for